mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-18 01:51:40 +00:00
8c2f651bdb
- After doing some tests with state label scopes I had to conclude that using '.' both for separating sub-state-labels and scope resolution identifiers does not work reliably unless all actor class names were prohibited from being used as state labels. Since that is undesirable the only solution is to change the scope resolution operator. Fortunately no WADs so far have used it so implementing such a breaking change isn't a major issue. Now it uses '::', like C++ for this purpose. - Converted Revenant, Mancubus and Pain Elemental to DECORATE. SVN r375 (trunk)
123 lines
2.1 KiB
Text
123 lines
2.1 KiB
Text
// Gibbed marine -----------------------------------------------------------
|
|
|
|
actor GibbedMarine 10
|
|
{
|
|
Game Doom
|
|
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
|
|
}
|
|
}
|