mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
CON parser cleanup: make labeltype be an int32_t* instead of an intptr_t*.
git-svn-id: https://svn.eduke32.com/eduke32@2151 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
fabbcdcf56
commit
0b7c08ce0e
2 changed files with 3 additions and 2 deletions
|
@ -9231,7 +9231,7 @@ static void G_CompileScripts(void)
|
||||||
|
|
||||||
label = (char *)&sprite[0]; // V8: 16384*44/64 = 11264 V7: 4096*44/64 = 2816
|
label = (char *)&sprite[0]; // V8: 16384*44/64 = 11264 V7: 4096*44/64 = 2816
|
||||||
labelcode = (intptr_t *)§or[0]; // V8: 4096*40/4 = 40960 V7: 1024*40/4 = 10240
|
labelcode = (intptr_t *)§or[0]; // V8: 4096*40/4 = 40960 V7: 1024*40/4 = 10240
|
||||||
labeltype = (intptr_t *)&wall[0]; // V8: 16384*32/4 = 131072 V7: 8192*32/4 = 65536
|
labeltype = (int32_t *)&wall[0]; // V8: 16384*32/4 = 131072 V7: 8192*32/4 = 65536
|
||||||
|
|
||||||
Bcorrectfilename(g_scriptNamePtr,0);
|
Bcorrectfilename(g_scriptNamePtr,0);
|
||||||
// if we compile for a V7 engine wall[] should be used for label names since it's bigger
|
// if we compile for a V7 engine wall[] should be used for label names since it's bigger
|
||||||
|
|
|
@ -112,7 +112,8 @@ int32_t screenpeek;
|
||||||
char ready2send;
|
char ready2send;
|
||||||
int32_t vel, svel, angvel, horiz, ototalclock, g_actorRespawnTime=768, g_itemRespawnTime=768, g_groupFileHandle;
|
int32_t vel, svel, angvel, horiz, ototalclock, g_actorRespawnTime=768, g_itemRespawnTime=768, g_groupFileHandle;
|
||||||
|
|
||||||
intptr_t *g_scriptPtr,*insptr,*labelcode,*labeltype;
|
intptr_t *g_scriptPtr,*insptr,*labelcode;
|
||||||
|
int32_t *labeltype;
|
||||||
int32_t g_numLabels,g_numDefaultLabels;
|
int32_t g_numLabels,g_numDefaultLabels;
|
||||||
intptr_t *actorscrptr[MAXTILES],*g_parsingActorPtr;
|
intptr_t *actorscrptr[MAXTILES],*g_parsingActorPtr;
|
||||||
char *label;
|
char *label;
|
||||||
|
|
Loading…
Reference in a new issue