- replaced YES/NO with true/false
[supertux.git] / src / special.h
index e7b9eb5..379979d 100644 (file)
@@ -35,12 +35,14 @@ typedef struct upgrade_type
   {
     int kind;
     base_type base;
+    base_type old_base;
   }
 upgrade_type;
 
 typedef struct bullet_type
   {
     base_type base;
+    base_type old_base;
   }
 bullet_type;
 
@@ -51,7 +53,7 @@ void create_special_bitmasks();
 
 extern texture_type img_golden_herring;
 
-void upgrade_init(upgrade_type *pupgrade, float x, float y, int kind);
+void upgrade_init(upgrade_type *pupgrade, float x, float y, int dir, int kind);
 void upgrade_action(upgrade_type *pupgrade);
 void upgrade_draw(upgrade_type *pupgrade);
 void upgrade_collision(upgrade_type *pupgrade, void* p_c_object, int c_object);