The actions defined in the header are not used consistently but mixed with GEGNER actions.
|
#define SK_PAUSE 0 // Short Pause |
|
#define SK_AUSGANG 1 // Starting position at the top left |
|
#define SK_AUSHOLEN 2 // Going out for headbanging |
|
#define SK_BANGEN 3 // Headbanging, in other words, banging head to the right |
|
#define SK_CHASING 4 // Track player |
|
#define SK_TURBINE 5 // Prepare for turbine suction |
|
#define SK_WACKELN 6 // Head wobbles up and down and hits the ceiling |
|
#define SK_SPUCKEN 7 // Head spits fireballs from the turbine |
|
// FIXME |
|
// Akt is initialized to SK_AUSGANG |
|
// and then only assigned values GEGNER::OEFFNEN, GEGNER::SCHLIESSEN and GEGNER::SCHIESSEN |
|
// Something's broken here... |
|
if (Akt == SK_BANGEN) { |
|
if (KieferPos < 60.0f) |
|
KieferPos += Timer.sync(5.0f); |
|
else |
|
KieferPos = 60.0f; |
|
} |
The actions defined in the header are not used consistently but mixed with GEGNER actions.
Hurrican/Hurrican/src/bosses/Boss_MetalHead.hpp
Lines 14 to 21 in 9792ffc
Hurrican/Hurrican/src/bosses/Boss_MetalHead.cpp
Lines 741 to 750 in 9792ffc