mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-12-25 03:00:46 +00:00
new special purpose gamevar flag
git-svn-id: https://svn.eduke32.com/eduke32@7816 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
66032defbb
commit
3a1e4a445f
2 changed files with 2 additions and 0 deletions
|
@ -5981,6 +5981,7 @@ static void C_AddDefaultDefinitions(void)
|
||||||
{ "GAMEVAR_NORESET", GAMEVAR_NORESET },
|
{ "GAMEVAR_NORESET", GAMEVAR_NORESET },
|
||||||
{ "GAMEVAR_PERACTOR", GAMEVAR_PERACTOR },
|
{ "GAMEVAR_PERACTOR", GAMEVAR_PERACTOR },
|
||||||
{ "GAMEVAR_PERPLAYER", GAMEVAR_PERPLAYER },
|
{ "GAMEVAR_PERPLAYER", GAMEVAR_PERPLAYER },
|
||||||
|
{ "GAMEVAR_SERIALIZE", GAMEVAR_SERIALIZE },
|
||||||
|
|
||||||
{ "MAX_WEAPONS", MAX_WEAPONS },
|
{ "MAX_WEAPONS", MAX_WEAPONS },
|
||||||
{ "MAXSPRITES", MAXSPRITES },
|
{ "MAXSPRITES", MAXSPRITES },
|
||||||
|
|
|
@ -53,6 +53,7 @@ enum GamevarFlags_t
|
||||||
GAMEVAR_SPECIAL = 0x00040000, // flag for structure member shortcut vars
|
GAMEVAR_SPECIAL = 0x00040000, // flag for structure member shortcut vars
|
||||||
GAMEVAR_NOMULTI = 0x00080000, // don't attach to multiplayer packets
|
GAMEVAR_NOMULTI = 0x00080000, // don't attach to multiplayer packets
|
||||||
GAMEVAR_Q16PTR = 0x00100000, // plValues is a pointer to a q16.16
|
GAMEVAR_Q16PTR = 0x00100000, // plValues is a pointer to a q16.16
|
||||||
|
GAMEVAR_SERIALIZE = 0x00200000, // write into permasaves
|
||||||
|
|
||||||
GAMEVAR_RAWQ16PTR = GAMEVAR_Q16PTR | GAMEVAR_SPECIAL, // plValues is a pointer to a q16.16 but we don't want conversion
|
GAMEVAR_RAWQ16PTR = GAMEVAR_Q16PTR | GAMEVAR_SPECIAL, // plValues is a pointer to a q16.16 but we don't want conversion
|
||||||
GAMEVAR_PTR_MASK = GAMEVAR_INT32PTR | GAMEVAR_INT16PTR | GAMEVAR_Q16PTR | GAMEVAR_RAWQ16PTR,
|
GAMEVAR_PTR_MASK = GAMEVAR_INT32PTR | GAMEVAR_INT16PTR | GAMEVAR_Q16PTR | GAMEVAR_RAWQ16PTR,
|
||||||
|
|
Loading…
Reference in a new issue