Hunde.
[hackover2013-badge-firmware.git] / badge / jumpnrun / collision.h
index 2ae4e10..65016e9 100644 (file)
@@ -1,21 +1,20 @@
 #ifndef INCLUDED_COLLISION_H
 #define INCLUDED_COLLISION_H
 
 #ifndef INCLUDED_COLLISION_H
 #define INCLUDED_COLLISION_H
 
+#include "moveable.h"
 #include "jumpnrun.h"
 #include "../util/rectangle.h"
 #include <stdbool.h>
 
 #include "jumpnrun.h"
 #include "../util/rectangle.h"
 #include <stdbool.h>
 
-void collision_displace(vec2d           *desired_pos,
-                       rectangle const *current,
-                       rectangle const *obstacle,
-                       vec2d           *inertia_mod,
-                       bool            *touching_ground);
+void collision_displace(vec2d             *desired_pos,
+                       jumpnrun_moveable *current,
+                       rectangle   const *obstacle,
+                       vec2d             *inertia_mod);
 
 void collisions_tiles_displace(vec2d                     *desired_position,
 
 void collisions_tiles_displace(vec2d                     *desired_position,
-                              rectangle           const *current,
+                              jumpnrun_moveable         *thing,
                               jumpnrun_level      const *level,
                               jumpnrun_tile_range const *visible_tiles,
                               jumpnrun_level      const *level,
                               jumpnrun_tile_range const *visible_tiles,
-                              vec2d                     *inertia_mod,
-                              bool                      *touching_ground);
+                              vec2d                     *inertia_mod);
 
 #endif
 
 #endif
This page took 0.02246 seconds and 4 git commands to generate.