mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 02:30:46 +00:00
Lunatic: update dynsymlists. Move blendtable[] from build.h to engine.c.
BUILD_LUNATIC. git-svn-id: https://svn.eduke32.com/eduke32@4309 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
a9fb9e6356
commit
eec27960ea
4 changed files with 8 additions and 4 deletions
|
@ -761,7 +761,6 @@ EXTERN int16_t sintable[2048];
|
|||
EXTERN uint8_t palette[768];
|
||||
EXTERN int16_t numshades;
|
||||
EXTERN char *palookup[MAXPALOOKUPS];
|
||||
EXTERN char *blendtable[MAXBLENDTABS];
|
||||
EXTERN uint8_t **basepaltableptr;
|
||||
EXTERN char showinvisibility;
|
||||
EXTERN int32_t g_visibility, parallaxvisibility;
|
||||
|
|
|
@ -2470,6 +2470,7 @@ char palfadedelta = 0;
|
|||
// Internal Engine Functions
|
||||
//
|
||||
|
||||
static char *blendtable[MAXBLENDTABS];
|
||||
#define getblendtab(blend) (blendtable[blend])
|
||||
|
||||
static void setpalettefade_calc(uint8_t offset);
|
||||
|
@ -14694,7 +14695,7 @@ void setblendtab(int32_t blend, const char *tab)
|
|||
{
|
||||
if (blendtable[blend] == NULL)
|
||||
{
|
||||
blendtable[blend] = Bmalloc(256*256);
|
||||
blendtable[blend] = (char *)Bmalloc(256*256);
|
||||
if (blendtable[blend] == NULL)
|
||||
exit(1);
|
||||
}
|
||||
|
|
|
@ -66,9 +66,11 @@ clipmovex;
|
|||
rotatesprite_;
|
||||
setaspect;
|
||||
|
||||
getclosestcol;
|
||||
getclosestcol_lim;
|
||||
palookup;
|
||||
palette;
|
||||
getblendtab;
|
||||
setblendtab;
|
||||
setpalookup;
|
||||
|
||||
kopen4load;
|
||||
|
|
|
@ -66,9 +66,11 @@ clipmovex;
|
|||
rotatesprite_;
|
||||
setaspect;
|
||||
|
||||
getclosestcol;
|
||||
getclosestcol_lim;
|
||||
palookup;
|
||||
palette;
|
||||
getblendtab;
|
||||
setblendtab;
|
||||
setpalookup;
|
||||
|
||||
kopen4load;
|
||||
|
|
Loading…
Reference in a new issue