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
16 #ifndef SUPERTUX_SPECIAL_H
17 #define SUPERTUX_SPECIAL_H
23 #include "collision.h"
47 extern texture_type img_bullet;
48 extern bitmask* bm_bullet;
50 void create_special_bitmasks();
52 extern texture_type img_golden_herring;
54 void upgrade_init(upgrade_type *pupgrade, float x, float y, int dir, int kind);
55 void upgrade_action(upgrade_type *pupgrade);
56 void upgrade_draw(upgrade_type *pupgrade);
57 void upgrade_collision(upgrade_type *pupgrade, void* p_c_object, int c_object);
59 void bullet_init(bullet_type* pbullet, float x, float y, float xm, int dir);
60 void bullet_action(bullet_type *pbullet);
61 void bullet_draw(bullet_type *pbullet);
62 void bullet_collision(bullet_type *pbullet, int c_object);
64 #endif /*SUPERTUX_SPECIAL_H*/