#include "badguy/yeti.hpp"
#include "audio/sound_manager.hpp"
#include "badguy/bouncing_snowball.hpp"
#include "badguy/yeti_stalactite.hpp"
#include "object/camera.hpp"
#include "object/player.hpp"
#include "sprite/sprite.hpp"
#include "supertux/object_factory.hpp"
#include "supertux/sector.hpp"
#include <float.h>
#include <math.h>
Go to the source code of this file.
Variables | |
const float | JUMP_DOWN_VX = 250 |
horizontal speed while jumping off the dais | |
const float | JUMP_DOWN_VY = -250 |
vertical speed while jumping off the dais | |
const float | RUN_VX = 350 |
horizontal speed while running | |
const float | JUMP_UP_VX = 350 |
horizontal speed while jumping on the dais | |
const float | JUMP_UP_VY = -700 |
vertical speed while jumping on the dais | |
const float | STOMP_VY = -300 |
const float | LEFT_STAND_X = 80 |
vertical speed while stomping on the dais x-coordinate of left dais' end position | |
const float | RIGHT_STAND_X = 1280-LEFT_STAND_X-60 |
x-coordinate of right dais' end position | |
const float | LEFT_JUMP_X = LEFT_STAND_X+448 |
x-coordinate of from where to jump on the left dais | |
const float | RIGHT_JUMP_X = RIGHT_STAND_X-448 |
x-coordinate of from where to jump on the right dais | |
const float | STOMP_WAIT = .5 |
time we stay on the dais before jumping again | |
const float | SAFE_TIME = .5 |
the time we are safe when tux just hit us | |
const int | INITIAL_HITPOINTS = 5 |
number of hits we can take | |
const float | YETI_SQUISH_TIME = 5 |
const int INITIAL_HITPOINTS = 5 [static] |
const float JUMP_DOWN_VX = 250 [static] |
horizontal speed while jumping off the dais
Definition at line 33 of file yeti.cpp.
Referenced by Yeti::active_update(), and Yeti::jump_down().
const float JUMP_DOWN_VY = -250 [static] |
vertical speed while jumping off the dais
Definition at line 34 of file yeti.cpp.
Referenced by Yeti::jump_down().
const float JUMP_UP_VX = 350 [static] |
horizontal speed while jumping on the dais
Definition at line 38 of file yeti.cpp.
Referenced by Yeti::active_update(), and Yeti::jump_up().
const float JUMP_UP_VY = -700 [static] |
vertical speed while jumping on the dais
Definition at line 39 of file yeti.cpp.
Referenced by Yeti::jump_up().
const float LEFT_JUMP_X = LEFT_STAND_X+448 [static] |
x-coordinate of from where to jump on the left dais
Definition at line 45 of file yeti.cpp.
Referenced by Yeti::active_update().
const float LEFT_STAND_X = 80 [static] |
vertical speed while stomping on the dais x-coordinate of left dais' end position
Definition at line 43 of file yeti.cpp.
Referenced by Yeti::active_update().
const float RIGHT_JUMP_X = RIGHT_STAND_X-448 [static] |
x-coordinate of from where to jump on the right dais
Definition at line 46 of file yeti.cpp.
Referenced by Yeti::active_update().
const float RIGHT_STAND_X = 1280-LEFT_STAND_X-60 [static] |
x-coordinate of right dais' end position
Definition at line 44 of file yeti.cpp.
Referenced by Yeti::active_update().
const float RUN_VX = 350 [static] |
horizontal speed while running
Definition at line 36 of file yeti.cpp.
Referenced by Yeti::active_update(), and Yeti::run().
const float SAFE_TIME = .5 [static] |
the time we are safe when tux just hit us
Definition at line 48 of file yeti.cpp.
Referenced by Yeti::take_hit().
const float STOMP_VY = -300 [static] |
const float STOMP_WAIT = .5 [static] |
time we stay on the dais before jumping again
Definition at line 47 of file yeti.cpp.
Referenced by Yeti::be_angry(), and Yeti::collision_solid().
const float YETI_SQUISH_TIME = 5 [static] |