mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-24 10:40:46 +00:00
small additions and fixes
git-svn-id: https://svn.eduke32.com/eduke32@1501 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
293367e844
commit
1d6058ecef
4 changed files with 4 additions and 3 deletions
|
@ -191,7 +191,7 @@ extern vec3_t pos;
|
|||
extern int16_t ang;
|
||||
extern int32_t horiz;
|
||||
extern int16_t cursectnum;
|
||||
extern int32_t searchx;
|
||||
extern int32_t searchx, searchy;
|
||||
/*
|
||||
extern int16_t searchstat;
|
||||
extern int16_t searchwall;
|
||||
|
|
|
@ -3087,6 +3087,7 @@ static void C_AddDefaultDefinitions(void)
|
|||
C_AddDefinition("MAXSECTORS", MAXSECTORS, LABEL_DEFINE);
|
||||
C_AddDefinition("MAXWALLS", MAXWALLS, LABEL_DEFINE);
|
||||
C_AddDefinition("MAXTILES", MAXTILES, LABEL_DEFINE);
|
||||
C_AddDefinition("MAXSTATUS", MAXSTATUS, LABEL_DEFINE);
|
||||
|
||||
// keys
|
||||
C_AddDefinition("KEY_SPACE", KEYSC_SPACE, LABEL_DEFINE);
|
||||
|
|
|
@ -1536,7 +1536,7 @@ badindex:
|
|||
|
||||
X_ERROR_INVALIDSPRI(daspritenum);
|
||||
ret = deletesprite(daspritenum);
|
||||
Gv_SetVarX(g_iReturnVarID, ret);
|
||||
g_iReturnVar = ret;
|
||||
if (ret==0)
|
||||
numsprites--;
|
||||
}
|
||||
|
|
|
@ -558,7 +558,7 @@ static void Gv_AddSystemVars(void)
|
|||
Gv_NewVar("cursectnum",(intptr_t)&cursectnum, GAMEVAR_READONLY | GAMEVAR_SHORTPTR | GAMEVAR_SYSTEM);
|
||||
|
||||
Gv_NewVar("searchx",(intptr_t)&searchx, GAMEVAR_READONLY | GAMEVAR_INTPTR | GAMEVAR_SYSTEM);
|
||||
Gv_NewVar("searchy",(intptr_t)&searchx, GAMEVAR_READONLY | GAMEVAR_INTPTR | GAMEVAR_SYSTEM);
|
||||
Gv_NewVar("searchy",(intptr_t)&searchy, GAMEVAR_READONLY | GAMEVAR_INTPTR | GAMEVAR_SYSTEM);
|
||||
Gv_NewVar("searchstat",(intptr_t)&searchstat, GAMEVAR_READONLY | GAMEVAR_SHORTPTR | GAMEVAR_SYSTEM);
|
||||
Gv_NewVar("searchwall",(intptr_t)&searchwall, GAMEVAR_READONLY | GAMEVAR_SHORTPTR | GAMEVAR_SYSTEM);
|
||||
Gv_NewVar("searchsector",(intptr_t)&searchsector, GAMEVAR_READONLY | GAMEVAR_SHORTPTR | GAMEVAR_SYSTEM);
|
||||
|
|
Loading…
Reference in a new issue