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