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"
52 extern texture_type img_bsod_squished_left;
53 extern texture_type img_bsod_squished_right;
54 extern texture_type img_bsod_falling_left;
55 extern texture_type img_bsod_falling_right;
56 extern texture_type img_laptop_flat_left;
57 extern texture_type img_laptop_flat_right;
58 extern texture_type img_laptop_falling_left;
59 extern texture_type img_laptop_falling_right;
60 extern texture_type img_bsod_left[4];
61 extern texture_type img_bsod_right[4];
62 extern texture_type img_laptop_left[3];
63 extern texture_type img_laptop_right[3];
64 extern texture_type img_money_left[2];
65 extern texture_type img_money_right[2];
67 extern bitmask *bm_bsod;
69 void badguy_create_bitmasks();
71 void badguy_init(bad_guy_type* pbad, float x, float y, BadGuyKind kind);
73 void badguy_action(bad_guy_type* pbad);
74 void badguy_draw(bad_guy_type* pbad);
76 void badguy_action_bsod(bad_guy_type* pbad);
77 void badguy_action_laptop(bad_guy_type* pbad);
78 void badguy_action_money(bad_guy_type* pbad);
80 void badguy_draw_bsod(bad_guy_type* pbad);
81 void badguy_draw_laptop(bad_guy_type* pbad);
82 void badguy_draw_money(bad_guy_type* pbad);
84 void badguy_collision(bad_guy_type* pbad, void* p_c_object, int c_object);
86 #endif /*SUPERTUX_BADGUY_H*/