mirror of
https://github.com/ZDoom/acc.git
synced 2025-02-07 06:11:02 +00:00
- Added Grubber's GetPlayerInfo ACS function.
SVN r276 (trunk)
This commit is contained in:
parent
a4879364bb
commit
ae59218dba
3 changed files with 4 additions and 1 deletions
1
pcode.c
1
pcode.c
|
@ -436,6 +436,7 @@ static char *PCDNames[PCODE_COMMAND_COUNT] =
|
|||
"PCD_RSWORLDARRAY",
|
||||
"PCD_RSGLOBALARRAY",
|
||||
//[MW] end my p-codes
|
||||
"PCD_GETPLAYERINFO",
|
||||
|
||||
};
|
||||
|
||||
|
|
1
pcode.h
1
pcode.h
|
@ -386,6 +386,7 @@ typedef enum
|
|||
PCD_RSWORLDARRAY,
|
||||
PCD_RSGLOBALARRAY,
|
||||
//[MW] end my p-codes
|
||||
PCD_GETPLAYERINFO,
|
||||
|
||||
PCODE_COMMAND_COUNT
|
||||
} pcd_t;
|
||||
|
|
3
symbol.c
3
symbol.c
|
@ -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 }
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue