24 #ifndef HADESCH_MONSTER_H 25 #define HADESCH_MONSTER_H 31 kCyclopsShootingEyeOpenMidAnim = 1015001,
32 kCyclopsShootingEyeClosedMidAnim = 1015002,
33 kHitReceived = 1015003
53 void handleEvent(
int ev);
55 void makeFlightParams(
int xmomentum);
63 int getProjectileFlightLength(
int level);
64 int getProjectileHitChance();
72 bool _isFlightFinished;
86 int getNumOfProjectiles();
87 void launchProjectile(
int startScale,
Common::Point startPoint,
int xmomentum);
98 void stopProjectiles();
106 void handleEvent(
int eventId);
107 void enterTyphoon(
int level);
110 void hideHead(
int idx);
112 void schedule15154();
113 int typhonGetNumAliveHeads();
115 void showHeadNormal(
int idx);
117 static void stopAnims();
118 static void disableHotzones();
120 bool _headIsAlive[18];
121 bool _playingTyphoonRespawnSound;
122 bool _playingTyphoonDieSound;
130 void handleEvent(
int eventId);
132 void enterCyclops(
int level);
137 unsigned getSquareOfPrecision();
138 void cyclopsState0();
139 void cyclopsState1();
140 void cyclopsState2();
141 void cyclopsState3();
142 void cyclopsState4();
143 void cyclopsState5();
144 void cyclopsState6();
147 bool _cyclopsIsHiding;
148 int _cyclopsProximityCheckCountdown;
149 int _currentCyclopsState;
156 void launch(
int level);
167 void makeFlightParams();
175 int _flightCounterMs;
176 int _flightShootAnimFrame;
177 int _flightShootProjectileFrame;
178 int _flightShootEndFrame;
193 void handleEvent(
int eventId);
196 void enterIllusion(
int level);
198 static void stopAnims();
205 bool _illusionIsKilled;
211 #endif // HADESCH_MONSTER_H
Definition: noncopyable.h:39
Definition: monster.h:152
Definition: monster.h:104
Definition: monster.h:190
Definition: monster.h:127