- replaced YES/NO with true/false
[supertux.git] / src / collision.h
index 3836871..2105594 100644 (file)
@@ -23,8 +23,10 @@ enum
   CO_PLAYER
 };
 
-int rectcollision(itop_type* one, itop_type* two);
-int rectcollision_offset(itop_type* one, itop_type* two, float off_x, float off_y);
+bool rectcollision(base_type* one, base_type* two);
+bool rectcollision_offset(base_type* one, base_type* two, float off_x, float off_y);
+void collision_swept_object_map(base_type* old, base_type* current);
+bool collision_object_map(base_type* object);
 
 /* Checks for all possible collisions.
    And calls the collision_handlers, which the collision_objects provide for this case (or not). */