SVN r241 (trunk)

This commit is contained in:
Christoph Oelckers 2006-07-09 20:15:38 +00:00
parent 25848cd9b3
commit 4e9a15c606
3 changed files with 15 additions and 0 deletions

11
pcode.c
View file

@ -388,6 +388,17 @@ static char *PCDNames[PCODE_COMMAND_COUNT] =
"PCD_GRABINPUT",
"PCD_SETMOUSEPOINTER",
"PCD_MOVEMOUSEPOINTER"
"PCD_SPAWNPROJECTILE",
"PCD_GETSECTORLIGHTLEVEL",
"PCD_GETACTORCEILINGZ",
"PCD_SETACTORPOSITION",
"PCD_CLEARACTORINVENTORY",
"PCD_GIVEACTORINVENTORY",
"PCD_TAKEACTORINVENTORY",
"PCD_CHECKACTORINVENTORY",
"PCD_THINGCOUNTNAME",
"PCD_SPAWNSPOTFACING",
};
// CODE --------------------------------------------------------------------

View file

@ -346,6 +346,8 @@ typedef enum
PCD_GIVEACTORINVENTORY,
PCD_TAKEACTORINVENTORY,
PCD_CHECKACTORINVENTORY,
PCD_THINGCOUNTNAME,
PCD_SPAWNSPOTFACING,
PCODE_COMMAND_COUNT
} pcd_t;

View file

@ -59,6 +59,7 @@ static internFuncDef_t InternalFunctions[] =
{ "delay", PCD_DELAYDIRECT, PCD_DELAY, 1, 0, 0, NO, YES },
{ "random", PCD_RANDOMDIRECT, PCD_RANDOM, 2, 0, 0, YES, NO },
{ "thingcount", PCD_THINGCOUNTDIRECT, PCD_THINGCOUNT, 2, 0, 0, YES, NO },
{ "thingcountname", PCD_NOP, PCD_THINGCOUNTNAME, 2, 0, 0, YES, NO },
{ "changefloor", PCD_CHANGEFLOORDIRECT, PCD_CHANGEFLOOR, 2, 0, 0, NO, NO },
{ "changeceiling", PCD_CHANGECEILINGDIRECT, PCD_CHANGECEILING, 2, 0, 0, NO, NO },
{ "lineside", PCD_NOP, PCD_LINESIDE, 0, 0, 0, YES, NO },
@ -113,6 +114,7 @@ static internFuncDef_t InternalFunctions[] =
{ "checkactorinventory", PCD_NOP, PCD_CHECKACTORINVENTORY, 2, 0, 0, YES, NO },
{ "spawn", PCD_SPAWNDIRECT, PCD_SPAWN, 6, 16|32, 0, YES, NO },
{ "spawnspot", PCD_SPAWNSPOTDIRECT, PCD_SPAWNSPOT, 4, 4|8, 0, YES, NO },
{ "spawnspotfacing", PCD_NOP, PCD_SPAWNSPOTFACING, 3, 4, 0, YES, NO },
{ "setmusic", PCD_SETMUSICDIRECT, PCD_SETMUSIC, 3, 2|4, 0, NO, NO },
{ "localsetmusic", PCD_LOCALSETMUSICDIRECT, PCD_LOCALSETMUSIC, 3, 2|4, 0, NO, NO },
{ "setstyle", PCD_SETSTYLEDIRECT, PCD_SETSTYLE, 1, 0, 0, NO, NO },