mirror of
https://github.com/ZDoom/acc.git
synced 2025-03-13 03:42:17 +00:00
- Generalized Hexen's class-based spawning to be a property of the player class
so now it is available in all games. - Replaced the call to A_FlameSnd in the HereticPlayer's burn death sequence with A_FireScream and defined *burndeath for Heretic. - Added Grubber's custom player class support. SVN r250 (trunk)
This commit is contained in:
parent
4e9a15c606
commit
4c94a58e95
3 changed files with 3 additions and 0 deletions
1
pcode.c
1
pcode.c
|
@ -398,6 +398,7 @@ static char *PCDNames[PCODE_COMMAND_COUNT] =
|
||||||
"PCD_CHECKACTORINVENTORY",
|
"PCD_CHECKACTORINVENTORY",
|
||||||
"PCD_THINGCOUNTNAME",
|
"PCD_THINGCOUNTNAME",
|
||||||
"PCD_SPAWNSPOTFACING",
|
"PCD_SPAWNSPOTFACING",
|
||||||
|
"PCD_PLAYERCLASS",
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
1
pcode.h
1
pcode.h
|
@ -348,6 +348,7 @@ typedef enum
|
||||||
PCD_CHECKACTORINVENTORY,
|
PCD_CHECKACTORINVENTORY,
|
||||||
PCD_THINGCOUNTNAME,
|
PCD_THINGCOUNTNAME,
|
||||||
PCD_SPAWNSPOTFACING,
|
PCD_SPAWNSPOTFACING,
|
||||||
|
PCD_PLAYERCLASS,
|
||||||
|
|
||||||
PCODE_COMMAND_COUNT
|
PCODE_COMMAND_COUNT
|
||||||
} pcd_t;
|
} pcd_t;
|
||||||
|
|
1
symbol.c
1
symbol.c
|
@ -170,6 +170,7 @@ static internFuncDef_t InternalFunctions[] =
|
||||||
{ "setactorangle", PCD_NOP, PCD_SETACTORANGLE, 2, 0, 0, NO, NO },
|
{ "setactorangle", PCD_NOP, PCD_SETACTORANGLE, 2, 0, 0, NO, NO },
|
||||||
{ "spawnprojectile", PCD_NOP, PCD_SPAWNPROJECTILE, 7, 0, 0, NO, NO },
|
{ "spawnprojectile", PCD_NOP, PCD_SPAWNPROJECTILE, 7, 0, 0, NO, NO },
|
||||||
{ "getsectorlightlevel", PCD_NOP, PCD_GETSECTORLIGHTLEVEL, 1, 0, 0, YES, NO },
|
{ "getsectorlightlevel", PCD_NOP, PCD_GETSECTORLIGHTLEVEL, 1, 0, 0, YES, NO },
|
||||||
|
{ "playerclass", PCD_NOP, PCD_PLAYERCLASS, 1, 0, 0, YES, NO },
|
||||||
|
|
||||||
{ NULL, PCD_NOP, PCD_NOP, 0, 0, 0, NO, NO }
|
{ NULL, PCD_NOP, PCD_NOP, 0, 0, 0, NO, NO }
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue