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"
33 typedef struct bad_guy_type
55 extern texture_type img_bsod_squished_left, img_bsod_squished_right,
56 img_bsod_falling_left, img_bsod_falling_right,
57 img_laptop_flat_left, img_laptop_flat_right,
58 img_laptop_falling_left, img_laptop_falling_right;
59 extern texture_type img_bsod_left[4], img_bsod_right[4],
60 img_laptop_left[3], img_laptop_right[3],
61 img_money_left[2], img_money_right[2];
63 extern bitmask *bm_bsod;
65 void badguy_create_bitmasks();
67 void badguy_init(bad_guy_type* pbad, float x, float y, int kind);
68 void badguy_action(bad_guy_type* pbad);
69 void badguy_draw(bad_guy_type* pbad);
70 void badguy_collision(bad_guy_type* pbad, void* p_c_object, int c_object);
72 #endif /*SUPERTUX_BADGUY_H*/