mirror of
https://github.com/ZDoom/acc.git
synced 2025-03-03 07:21:03 +00:00
- added UseInventory/UseActorInventory ACS functions.
SVN r636 (trunk)
This commit is contained in:
parent
cb1d2e5e99
commit
98502afc24
3 changed files with 6 additions and 0 deletions
2
pcode.c
2
pcode.c
|
@ -446,6 +446,8 @@ static char *PCDNames[PCODE_COMMAND_COUNT] =
|
|||
"PCD_PRINTBIND",
|
||||
"PCD_SETACTORSTATE",
|
||||
"PCD_THINGDAMAGE2",
|
||||
"PCD_USEINVENTORY",
|
||||
"PCD_USEACTORINVENTORY",
|
||||
};
|
||||
|
||||
// CODE --------------------------------------------------------------------
|
||||
|
|
2
pcode.h
2
pcode.h
|
@ -396,6 +396,8 @@ typedef enum
|
|||
PCD_PRINTBIND,
|
||||
PCD_SETACTORSTATE,
|
||||
PCD_THINGDAMAGE2,
|
||||
PCD_USEINVENTORY,
|
||||
PCD_USEACTORINVENTORY,
|
||||
|
||||
PCODE_COMMAND_COUNT
|
||||
} pcd_t;
|
||||
|
|
2
symbol.c
2
symbol.c
|
@ -181,6 +181,8 @@ static internFuncDef_t InternalFunctions[] =
|
|||
{ "setactorpitch", PCD_NOP, PCD_SETACTORPITCH, 2, 0, 0, NO, NO },
|
||||
{ "setactorstate", PCD_NOP, PCD_SETACTORSTATE, 3, 4, 0, YES, NO },
|
||||
{ "thing_damage2", PCD_NOP, PCD_THINGDAMAGE2, 3, 0, 0, YES, NO },
|
||||
{ "useinventory", PCD_NOP, PCD_USEINVENTORY, 1, 0, 0, YES, NO },
|
||||
{ "useactorinventory", PCD_NOP, PCD_USEACTORINVENTORY, 2, 0, 0, YES, NO },
|
||||
|
||||
{ NULL, PCD_NOP, PCD_NOP, 0, 0, 0, NO, NO }
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue