2 // C Interface: special
7 // Author: Tobias Glaesser <tobi.web@gmx.de>, (C) 2004
9 // Copyright: See COPYING file that comes with this distribution
13 #define BULLET_STARTING_YM 1
17 #ifndef SUPERTUX_SPECIAL_H
18 #define SUPERTUX_SPECIAL_H
23 #include "collision.h"
25 typedef struct upgrade_type
40 typedef struct bullet_type
54 texture_type img_bullet;
57 void create_special_bitmasks();
59 texture_type img_golden_herring;
61 void upgrade_init(upgrade_type *pupgrade);
62 void upgrade_action(upgrade_type *pupgrade);
63 void upgrade_draw(upgrade_type *pupgrade);
64 void upgrade_collision(upgrade_type *pupgrade, void* p_c_object, int c_object);
66 void bullet_init(bullet_type *pbullet);
67 void bullet_action(bullet_type *pbullet);
68 void bullet_draw(bullet_type *pbullet);
69 void bullet_collision(bullet_type *pbullet, int c_object);
71 #endif /*SUPERTUX_SPECIAL_H*/