Skip to content

Commit

Permalink
- get rid of more ANIMATOR declarations.
Browse files Browse the repository at this point in the history
  • Loading branch information
coelckers committed May 28, 2023
1 parent 4e53721 commit 280d685
Show file tree
Hide file tree
Showing 10 changed files with 0 additions and 40 deletions.
1 change: 0 additions & 1 deletion source/games/sw/src/ai.cpp
Expand Up @@ -40,7 +40,6 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms

BEGIN_SW_NS

ANIMATOR InitActorRunToward;
bool DropAhead(DSWActor* actor, double min_height);

VMFunction* ChooseAction(DECISION decision[]);
Expand Down
2 changes: 0 additions & 2 deletions source/games/sw/src/bunny.cpp
Expand Up @@ -725,8 +725,6 @@ ACTOR_ACTION_SET BunnyWhiteActionSet =

int SetupBunny(DSWActor* actor)
{
ANIMATOR DoActorDecide;

if (!(actor->spr.cstat & CSTAT_SPRITE_RESTORE))
{
SpawnUser(actor, BUNNY_RUN_R0, s_BunnyRun[0]);
Expand Down
2 changes: 0 additions & 2 deletions source/games/sw/src/coolg.cpp
Expand Up @@ -37,8 +37,6 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms

BEGIN_SW_NS

ANIMATOR DoCoolgCircle,InitCoolgCircle;

const int COOLG_BOB_AMT = 8;

DECISION CoolgBattle[] =
Expand Down
2 changes: 0 additions & 2 deletions source/games/sw/src/coolie.cpp
Expand Up @@ -37,8 +37,6 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms

BEGIN_SW_NS

ANIMATOR InitCoolieCharge;

DECISION CoolieBattle[] =
{
{700, AF(InitCoolieCharge ) },
Expand Down
5 changes: 0 additions & 5 deletions source/games/sw/src/hornet.cpp
Expand Up @@ -37,9 +37,6 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms

BEGIN_SW_NS

ANIMATOR DoHornetCircle, InitHornetCircle;


DECISION HornetBattle[] =
{
{50, AF(InitHornetCircle ) },
Expand Down Expand Up @@ -86,8 +83,6 @@ DECISION HornetCloseRange[] =
{1024, AF(InitActorReposition) }
};

ANIMATOR InitHornetSting;

DECISION HornetTouchTarget[] =
{
{500, AF(InitHornetCircle) },
Expand Down
2 changes: 0 additions & 2 deletions source/games/sw/src/ripper.cpp
Expand Up @@ -38,8 +38,6 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms

BEGIN_SW_NS

ANIMATOR InitRipperHang;

DECISION RipperBattle[] =
{
{748, AF(InitActorMoveCloser)},
Expand Down
2 changes: 0 additions & 2 deletions source/games/sw/src/ripper2.cpp
Expand Up @@ -37,8 +37,6 @@ Prepared for public release: 03/28/2005 - Charlie Wiederhold, 3D Realms

BEGIN_SW_NS

ANIMATOR InitRipper2Hang, InitRipper2Charge;

DECISION Ripper2Battle[] =
{
{879, AF(InitRipper2Charge)},
Expand Down
1 change: 0 additions & 1 deletion source/games/sw/src/sector.cpp
Expand Up @@ -58,7 +58,6 @@ enum
SINE_SLOPED = BIT(3),
};

ANIMATOR DoGrating;
void DoPlayerBeginForceJump(PLAYER*);

sectortype* FindNextSectorByTag(sectortype* sect, int tag);
Expand Down
21 changes: 0 additions & 21 deletions source/games/sw/src/sprite.cpp
Expand Up @@ -228,7 +228,6 @@ STATE* s_Key[] =
#define RED_COIN_RATE 10
#define YELLOW_COIN_RATE 8
#define GREEN_COIN_RATE 6
ANIMATOR DoCoin;
STATE s_RedCoin[] =
{
{Red_COIN + 0, RED_COIN_RATE, AF(DoCoin), &s_RedCoin[1]},
Expand Down Expand Up @@ -266,9 +265,6 @@ STATE s_GreenCoin[] =
{Green_COIN + 7, GREEN_COIN_RATE, AF(DoCoin), &s_GreenCoin[0]},
};

ANIMATOR DoFireFly;


STATE s_FireFly[] =
{
{FIRE_FLY0, FIRE_FLY_RATE * 4, AF(DoFireFly), &s_FireFly[0]}
Expand Down Expand Up @@ -1929,23 +1925,6 @@ void SpriteSetup(void)
break;
}

#if 0
case SECT_DEBRIS_SEWER:
{
ANIMATOR DoGenerateSewerDebris;

SpawnUser(actor, 0, nullptr);

ASSERT(actor->hasU());
actor->user.__legacyState.RotNum = 0;
actor->user.WaitTics = actor->spr.lotag * 120;

actor->user.__legacyState.ActorActionFunc = DoGenerateSewerDebris;

change_actor_stat(actor, STAT_NO_STATE);
break;
}
#endif

case SECT_VATOR:
{
Expand Down
2 changes: 0 additions & 2 deletions source/games/sw/src/sumo.cpp
Expand Up @@ -51,8 +51,6 @@ bool bosswasseen[3];
DSWActor* BossSpriteNum[3];


ANIMATOR InitSumoCharge;

DECISION SumoBattle[] =
{
{690, AF(InitActorMoveCloser) },
Expand Down

0 comments on commit 280d685

Please sign in to comment.