mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00: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 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;
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
|
@ -66,9 +66,11 @@ clipmovex;
|
||||||
rotatesprite_;
|
rotatesprite_;
|
||||||
setaspect;
|
setaspect;
|
||||||
|
|
||||||
getclosestcol;
|
getclosestcol_lim;
|
||||||
palookup;
|
palookup;
|
||||||
palette;
|
palette;
|
||||||
|
getblendtab;
|
||||||
|
setblendtab;
|
||||||
setpalookup;
|
setpalookup;
|
||||||
|
|
||||||
kopen4load;
|
kopen4load;
|
||||||
|
|
|
@ -66,9 +66,11 @@ clipmovex;
|
||||||
rotatesprite_;
|
rotatesprite_;
|
||||||
setaspect;
|
setaspect;
|
||||||
|
|
||||||
getclosestcol;
|
getclosestcol_lim;
|
||||||
palookup;
|
palookup;
|
||||||
palette;
|
palette;
|
||||||
|
getblendtab;
|
||||||
|
setblendtab;
|
||||||
setpalookup;
|
setpalookup;
|
||||||
|
|
||||||
kopen4load;
|
kopen4load;
|
||||||
|
|
Loading…
Reference in a new issue