1 // C Interface: collision
6 // Author: Tobias Glaesser <tobi.web@web.de>, (C) 2004
8 // Copyright: See COPYING file that comes with this distribution
12 #ifndef SUPERTUX_COLLISION_H
13 #define SUPERTUX_COLLISION_H
17 /* Collision objects */
31 bool rectcollision(base_type* one, base_type* two);
32 bool rectcollision_offset(base_type* one, base_type* two, float off_x, float off_y);
33 void collision_swept_object_map(base_type* old, base_type* current);
34 bool collision_object_map(base_type* object);
36 /* Checks for all possible collisions.
37 And calls the collision_handlers, which the collision_objects provide for this case (or not). */
38 void collision_handler();
40 #endif /*SUPERTUX_COLLISION_H*/