- added UseInventory/UseActorInventory ACS functions.

SVN r636 (trunk)
This commit is contained in:
Christoph Oelckers 2007-12-25 08:44:13 +00:00
parent cb1d2e5e99
commit 98502afc24
3 changed files with 6 additions and 0 deletions

View file

@ -446,6 +446,8 @@ static char *PCDNames[PCODE_COMMAND_COUNT] =
"PCD_PRINTBIND",
"PCD_SETACTORSTATE",
"PCD_THINGDAMAGE2",
"PCD_USEINVENTORY",
"PCD_USEACTORINVENTORY",
};
// CODE --------------------------------------------------------------------

View file

@ -396,6 +396,8 @@ typedef enum
PCD_PRINTBIND,
PCD_SETACTORSTATE,
PCD_THINGDAMAGE2,
PCD_USEINVENTORY,
PCD_USEACTORINVENTORY,
PCODE_COMMAND_COUNT
} pcd_t;

View file

@ -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 }
};