7 // Author: Tobias Glaesser <tobi.web@gmx.de> (C) 2003
9 // Copyright: See COPYING file that comes with this distribution
13 #ifndef SUPERTUX_BADGUY_H
14 #define SUPERTUX_BADGUY_H
22 #include "collision.h"
30 extern texture_type img_bsod_squished_left;
31 extern texture_type img_bsod_squished_right;
32 extern texture_type img_bsod_falling_left;
33 extern texture_type img_bsod_falling_right;
34 extern texture_type img_laptop_flat_left;
35 extern texture_type img_laptop_flat_right;
36 extern texture_type img_laptop_falling_left;
37 extern texture_type img_laptop_falling_right;
38 extern texture_type img_bsod_left[4];
39 extern texture_type img_bsod_right[4];
40 extern texture_type img_laptop_left[3];
41 extern texture_type img_laptop_right[3];
42 extern texture_type img_money_left[2];
43 extern texture_type img_money_right[2];
52 BadGuyKind badguykind_from_string(const std::string& str);
53 std::string badguykind_to_string(BadGuyKind kind);
61 BadGuyData(BadGuyKind kind_, int x_, int y_)
62 : kind(kind_), x(x_), y(y_) {}
65 : kind(BAD_BSOD), x(0), y(0) {}
83 void init(float x, float y, BadGuyKind kind);
97 void collision(void* p_c_object, int c_object);
100 #endif /*SUPERTUX_BADGUY_H*/