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 */
26 int rectcollision(base_type* one, base_type* two);
27 int rectcollision_offset(base_type* one, base_type* two, float off_x, float off_y);
28 int collision_swept_object_map(base_type* old, base_type* current);
29 int collision_object_map(base_type* object);
31 /* Checks for all possible collisions.
32 And calls the collision_handlers, which the collision_objects provide for this case (or not). */
33 void collision_handler();
35 #endif /*SUPERTUX_COLLISION_H*/