C-CON: Add getpv and setpv as short forms for get/setplayervar, and #include as an alternate for include.

git-svn-id: https://svn.eduke32.com/eduke32@5531 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
hendricks266 2016-01-08 01:33:43 +00:00
parent f403d6234c
commit d4dc72bac4

View file

@ -127,6 +127,7 @@ typedef struct {
const tokenmap_t altkeyw [] = const tokenmap_t altkeyw [] =
{ {
{ "#define", CON_DEFINE }, { "#define", CON_DEFINE },
{ "#include", CON_INCLUDE },
{ "al", CON_ADDLOGVAR }, { "al", CON_ADDLOGVAR },
{ "var", CON_GAMEVAR }, { "var", CON_GAMEVAR },
{ "array", CON_GAMEARRAY }, { "array", CON_GAMEARRAY },
@ -158,6 +159,7 @@ const tokenmap_t altkeyw [] =
{ "abs", CON_KLABS }, { "abs", CON_KLABS },
{ "getp", CON_GETPLAYER }, { "getp", CON_GETPLAYER },
{ "getpv", CON_GETPLAYERVAR },
{ "gets", CON_GETSECTOR }, { "gets", CON_GETSECTOR },
{ "geta", CON_GETACTOR }, { "geta", CON_GETACTOR },
{ "getav", CON_GETACTORVAR }, { "getav", CON_GETACTORVAR },
@ -166,6 +168,7 @@ const tokenmap_t altkeyw [] =
{ "geti", CON_GETINPUT }, { "geti", CON_GETINPUT },
{ "setp", CON_SETPLAYER }, { "setp", CON_SETPLAYER },
{ "setpv", CON_SETPLAYERVAR },
{ "sets", CON_SETSECTOR }, { "sets", CON_SETSECTOR },
{ "seta", CON_SETACTOR }, { "seta", CON_SETACTOR },
{ "setav", CON_SETACTORVAR }, { "setav", CON_SETACTORVAR },