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:
helixhorned 2014-02-08 14:37:59 +00:00
parent a9fb9e6356
commit eec27960ea
4 changed files with 8 additions and 4 deletions

View file

@ -761,7 +761,6 @@ EXTERN int16_t sintable[2048];
EXTERN uint8_t palette[768]; EXTERN uint8_t palette[768];
EXTERN int16_t numshades; EXTERN int16_t numshades;
EXTERN char *palookup[MAXPALOOKUPS]; EXTERN char *palookup[MAXPALOOKUPS];
EXTERN char *blendtable[MAXBLENDTABS];
EXTERN uint8_t **basepaltableptr; EXTERN uint8_t **basepaltableptr;
EXTERN char showinvisibility; EXTERN char showinvisibility;
EXTERN int32_t g_visibility, parallaxvisibility; EXTERN int32_t g_visibility, parallaxvisibility;

View file

@ -2470,6 +2470,7 @@ char palfadedelta = 0;
// Internal Engine Functions // Internal Engine Functions
// //
static char *blendtable[MAXBLENDTABS];
#define getblendtab(blend) (blendtable[blend]) #define getblendtab(blend) (blendtable[blend])
static void setpalettefade_calc(uint8_t offset); static void setpalettefade_calc(uint8_t offset);
@ -14694,7 +14695,7 @@ void setblendtab(int32_t blend, const char *tab)
{ {
if (blendtable[blend] == NULL) if (blendtable[blend] == NULL)
{ {
blendtable[blend] = Bmalloc(256*256); blendtable[blend] = (char *)Bmalloc(256*256);
if (blendtable[blend] == NULL) if (blendtable[blend] == NULL)
exit(1); exit(1);
} }

View file

@ -66,9 +66,11 @@ clipmovex;
rotatesprite_; rotatesprite_;
setaspect; setaspect;
getclosestcol; getclosestcol_lim;
palookup; palookup;
palette; palette;
getblendtab;
setblendtab;
setpalookup; setpalookup;
kopen4load; kopen4load;

View file

@ -66,9 +66,11 @@ clipmovex;
rotatesprite_; rotatesprite_;
setaspect; setaspect;
getclosestcol; getclosestcol_lim;
palookup; palookup;
palette; palette;
getblendtab;
setblendtab;
setpalookup; setpalookup;
kopen4load; kopen4load;