mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-06 04:50:26 +00:00
50f75b6e8a
with my changed code. - Cleaned up DECORATE parser a little - moved the old style parsing code into its own file and rearranged a few things. - Made ProcessStates non-static so that it doesn't need to be passed as an argument to all functions in the DECORATE parser. - Moved DECORATE parser files into their own subdirectory. - Optimization: SC_GetToken no longer sets sc_name for identifiers. In most cases this creates needless overhead by adding a potentially unneeded name to the name table and looking up the name. In almost all cases where a name is needed it's as easy to assign sc_String to the name variable. - Added enum definitions to DECORATE. SVN r537 (trunk)
124 lines
2.1 KiB
Text
124 lines
2.1 KiB
Text
// Gibbed marine -----------------------------------------------------------
|
|
|
|
actor GibbedMarine 10
|
|
{
|
|
Game Doom
|
|
SpawnID 145
|
|
States
|
|
{
|
|
Spawn:
|
|
PLAY W -1
|
|
Stop
|
|
}
|
|
}
|
|
|
|
// Gibbed marine (extra copy) ----------------------------------------------
|
|
|
|
actor GibbedMarineExtra : GibbedMarine 12
|
|
{
|
|
Game Doom
|
|
}
|
|
|
|
// Dead marine -------------------------------------------------------------
|
|
|
|
actor DeadMarine 15
|
|
{
|
|
Game Doom
|
|
States
|
|
{
|
|
Spawn:
|
|
PLAY N -1
|
|
Stop
|
|
}
|
|
}
|
|
|
|
/* If it wasn't for Dehacked compatibility, the rest of these would be
|
|
* better defined as single frame states. But since Doom reused the
|
|
* dead state from the original monsters, we need to do the same.
|
|
*/
|
|
|
|
// Dead zombie man ---------------------------------------------------------
|
|
|
|
actor DeadZombieMan : ZombieMan 18
|
|
{
|
|
Skip_Super
|
|
Game Doom
|
|
DropItem None
|
|
States
|
|
{
|
|
Spawn:
|
|
Goto Super::Death+4
|
|
}
|
|
}
|
|
|
|
// Dead shotgun guy --------------------------------------------------------
|
|
|
|
actor DeadShotgunGuy : ShotgunGuy 19
|
|
{
|
|
Skip_Super
|
|
Game Doom
|
|
DropItem None
|
|
States
|
|
{
|
|
Spawn:
|
|
Goto Super::Death+4
|
|
}
|
|
}
|
|
|
|
// Dead imp ----------------------------------------------------------------
|
|
|
|
actor DeadDoomImp : DoomImp 20
|
|
{
|
|
Skip_Super
|
|
Game Doom
|
|
States
|
|
{
|
|
Spawn:
|
|
Goto Super::Death+4
|
|
}
|
|
}
|
|
|
|
// Dead demon --------------------------------------------------------------
|
|
|
|
actor DeadDemon : Demon 21
|
|
{
|
|
Skip_Super
|
|
Game Doom
|
|
States
|
|
{
|
|
Spawn:
|
|
Goto Super::Death+5
|
|
}
|
|
}
|
|
|
|
// Dead cacodemon ----------------------------------------------------------
|
|
|
|
actor DeadCacodemon : Cacodemon 22
|
|
{
|
|
Skip_Super
|
|
Game Doom
|
|
States
|
|
{
|
|
Spawn:
|
|
Goto Super::Death+5
|
|
}
|
|
}
|
|
|
|
// Dead lost soul ----------------------------------------------------------
|
|
|
|
/* [RH] Considering that the lost soul removes itself when it dies, there
|
|
* really wasn't much point in id including this thing, but they did anyway.
|
|
* (There was probably a time when it stayed around after death, and this is
|
|
* a holdover from that.)
|
|
*/
|
|
|
|
actor DeadLostSoul : LostSoul 23
|
|
{
|
|
Skip_Super
|
|
Game Doom
|
|
States
|
|
{
|
|
Spawn:
|
|
Goto Super::Death+5
|
|
}
|
|
}
|