mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-24 13:01:42 +00:00
43 lines
556 B
Text
43 lines
556 B
Text
class DukeAtomicHealth : DukeActor
|
|
{
|
|
default
|
|
{
|
|
pic "ATOMICHEALTH";
|
|
}
|
|
|
|
override void Initialize()
|
|
{
|
|
commonItemSetup();
|
|
self.cstat |= CSTAT_SPRITE_YCENTER;
|
|
}
|
|
|
|
override bool animate(tspritetype t)
|
|
{
|
|
t.pos.Z -= 4;
|
|
t.shade = -127;
|
|
return false;
|
|
}
|
|
}
|
|
|
|
class RedneckGoogooCluster : DukeActor
|
|
{
|
|
default
|
|
{
|
|
pic "ATOMICHEALTH";
|
|
}
|
|
|
|
override void Initialize()
|
|
{
|
|
commonItemSetup((0.125, 0.125));
|
|
self.cstat |= CSTAT_SPRITE_YCENTER;
|
|
}
|
|
|
|
override bool animate(tspritetype t)
|
|
{
|
|
t.pos.Z -= 4;
|
|
t.shade = -127;
|
|
return false;
|
|
}
|
|
|
|
}
|
|
|