1 2 #ifndef _OMEGA_H 3 #define _OMEGA_H 4 #include "../../object.h" 5 #include "../../stageboss.h" 6 7 class OmegaBoss : public StageBoss 8 { 9 public: 10 void OnMapEntry(); 11 void OnMapExit(); 12 13 void Run(); 14 15 private: 16 Object *pieces[4]; 17 18 struct 19 { 20 int timer; 21 int animtimer; 22 23 int movedir, movetime; 24 int nextstate; 25 26 int form; 27 28 int firefreq, startfiring, stopfiring, endfirestate, shotxspd; 29 int firecounter; 30 31 int leg_descend; 32 33 int orgx, orgy; 34 35 int shaketimer; 36 int lasthp; 37 38 bool defeated; 39 } omg; 40 }; 41 42 void ondeath_omega_body(Object *o); 43 void ai_omega_shot(Object *o); 44 45 #endif 46