Commit fcc9be6e authored by Jordon Moss's avatar Jordon Moss Committed by Evan Ramos
Browse files

Defs: Add T_STUB_INTEGER_STRING stubs add/delplayercolor

parent fbcb9839
......@@ -123,7 +123,7 @@ enum scripttoken_t
T_LOCALIZATION, T_STRING,
T_TILEFONT, T_CHARACTER,
T_TRUENPOT,
T_STUB_INTEGER, T_STUB_BRACES, T_STUB_STRING_BRACES,
T_STUB_INTEGER, T_STUB_INTEGER_STRING, T_STUB_BRACES, T_STUB_STRING_BRACES,
};
static int32_t lastmodelid = -1, lastvoxid = -1, modelskin = -1, lastmodelskin = -1, seenframe = 0;
......@@ -405,6 +405,8 @@ static int32_t defsparser(scriptfile *script)
// stubs for game-side tokens
{ "globalgameflags", T_STUB_INTEGER },
{ "delplayercolor", T_STUB_INTEGER }, // NetDuke32
{ "addplayercolor", T_STUB_INTEGER_STRING }, // NetDuke32
{ "music", T_STUB_BRACES },
{ "sound", T_STUB_BRACES },
{ "newgamechoices", T_STUB_BRACES },
......@@ -3850,6 +3852,19 @@ static int32_t defsparser(scriptfile *script)
break;
}
case T_STUB_INTEGER_STRING:
{
int32_t dummy;
char * dummyChar;
if (scriptfile_getnumber(script, &dummy))
break;
if (scriptfile_getstring(script, &dummyChar))
break;
break;
}
case T_STUB_BRACES:
{
char * blockend;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment