- Added Grubber's GetPlayerInfo ACS function.

SVN r276 (trunk)
This commit is contained in:
Christoph Oelckers 2006-07-30 22:56:20 +00:00
parent a4879364bb
commit ae59218dba
3 changed files with 4 additions and 1 deletions

View file

@ -436,6 +436,7 @@ static char *PCDNames[PCODE_COMMAND_COUNT] =
"PCD_RSWORLDARRAY",
"PCD_RSGLOBALARRAY",
//[MW] end my p-codes
"PCD_GETPLAYERINFO",
};

View file

@ -386,6 +386,7 @@ typedef enum
PCD_RSWORLDARRAY,
PCD_RSGLOBALARRAY,
//[MW] end my p-codes
PCD_GETPLAYERINFO,
PCODE_COMMAND_COUNT
} pcd_t;

View file

@ -171,7 +171,8 @@ static internFuncDef_t InternalFunctions[] =
{ "spawnprojectile", PCD_NOP, PCD_SPAWNPROJECTILE, 7, 0, 0, NO, NO },
{ "getsectorlightlevel", PCD_NOP, PCD_GETSECTORLIGHTLEVEL, 1, 0, 0, YES, NO },
{ "playerclass", PCD_NOP, PCD_PLAYERCLASS, 1, 0, 0, YES, NO },
{ "getplayerinfo", PCD_NOP, PCD_GETPLAYERINFO, 2, 0, 0, YES, NO },
{ NULL, PCD_NOP, PCD_NOP, 0, 0, 0, NO, NO }
};