mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-28 12:30:46 +00:00
- removed Blood's loadboard replacement hook.
It never calls engineLoadBoard but always its own map loading function directly.
This commit is contained in:
parent
fdbc4d0e67
commit
43a9be0ad0
3 changed files with 0 additions and 6 deletions
|
@ -88,7 +88,6 @@ void HookReplaceFunctions(void)
|
||||||
deletesprite_replace = qdeletesprite;
|
deletesprite_replace = qdeletesprite;
|
||||||
changespritesect_replace = qchangespritesect;
|
changespritesect_replace = qchangespritesect;
|
||||||
changespritestat_replace = qchangespritestat;
|
changespritestat_replace = qchangespritestat;
|
||||||
loadboard_replace = qloadboard;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
END_BLD_NS
|
END_BLD_NS
|
||||||
|
|
|
@ -1044,7 +1044,6 @@ extern int32_t(*insertsprite_replace)(int16_t sectnum, int16_t statnum);
|
||||||
extern int32_t(*deletesprite_replace)(int16_t spritenum);
|
extern int32_t(*deletesprite_replace)(int16_t spritenum);
|
||||||
extern int32_t(*changespritesect_replace)(int16_t spritenum, int16_t newsectnum);
|
extern int32_t(*changespritesect_replace)(int16_t spritenum, int16_t newsectnum);
|
||||||
extern int32_t(*changespritestat_replace)(int16_t spritenum, int16_t newstatnum);
|
extern int32_t(*changespritestat_replace)(int16_t spritenum, int16_t newstatnum);
|
||||||
extern int32_t(*loadboard_replace)(const char *filename, char flags, vec3_t *dapos, int16_t *daang, int16_t *dacursectnum);
|
|
||||||
#ifdef USE_OPENGL
|
#ifdef USE_OPENGL
|
||||||
extern void(*PolymostProcessVoxels_Callback)(void);
|
extern void(*PolymostProcessVoxels_Callback)(void);
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -2080,8 +2080,6 @@ static void check_sprite(int32_t i)
|
||||||
|
|
||||||
#include "md4.h"
|
#include "md4.h"
|
||||||
|
|
||||||
int32_t(*loadboard_replace)(const char *filename, char flags, vec3_t *dapos, int16_t *daang, int16_t *dacursectnum) = NULL;
|
|
||||||
|
|
||||||
// flags: 1, 2: former parameter "fromwhere"
|
// flags: 1, 2: former parameter "fromwhere"
|
||||||
// 4: don't call polymer_loadboard
|
// 4: don't call polymer_loadboard
|
||||||
// 8: don't autoexec <mapname>.cfg
|
// 8: don't autoexec <mapname>.cfg
|
||||||
|
@ -2093,8 +2091,6 @@ int32_t(*loadboard_replace)(const char *filename, char flags, vec3_t *dapos, int
|
||||||
int32_t engineLoadBoard(const char *filename, char flags, vec3_t *dapos, int16_t *daang, int16_t *dacursectnum)
|
int32_t engineLoadBoard(const char *filename, char flags, vec3_t *dapos, int16_t *daang, int16_t *dacursectnum)
|
||||||
{
|
{
|
||||||
inputState.ClearAllInput();
|
inputState.ClearAllInput();
|
||||||
if (loadboard_replace)
|
|
||||||
return loadboard_replace(filename, flags, dapos, daang, dacursectnum);
|
|
||||||
int32_t i;
|
int32_t i;
|
||||||
int16_t numsprites;
|
int16_t numsprites;
|
||||||
const char myflags = flags&(~3);
|
const char myflags = flags&(~3);
|
||||||
|
|
Loading…
Reference in a new issue