diff options
Diffstat (limited to 'libphysics/dat.h')
| -rw-r--r-- | libphysics/dat.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libphysics/dat.h b/libphysics/dat.h index cabe7f5..da858c3 100644 --- a/libphysics/dat.h +++ b/libphysics/dat.h @@ -15,6 +15,11 @@ struct BlockmapNode { BlockmapNode *next; }; +typedef struct TestCollision TestCollision; +struct TestCollision { + BodyID a, b; +}; + void phxmapcollision(Body *); void phxbodycollision(Body *, Body *); @@ -28,6 +33,8 @@ int phxdeqevent(CollisionEvent *ev); void phxmakeblkmap(void); BlockmapNode *phxnodelist(float x, float y); +void __phxnarrowphase(int n, TestCollision coll[n]); + extern int phxmapwidth, phxmapheight; extern int *phxmapbuffer; |
