summaryrefslogtreecommitdiff
path: root/libphysics/dat.h
diff options
context:
space:
mode:
authoresquizo <esquizo+noreply@esquizo.net>2026-05-31 14:48:08 -0300
committeresquizo <esquizo+noreply@esquizo.net>2026-05-31 14:48:08 -0300
commit86e64f00ad1452c0a2e528d37d169b8eb125e299 (patch)
treeca6f0c013fcc9a54c565b20af094423283f094cd /libphysics/dat.h
parent64debcd9a5108d859c96bcf58a4c17f6de3efadc (diff)
libphysics: adicionado narrow.c
Diffstat (limited to 'libphysics/dat.h')
-rw-r--r--libphysics/dat.h7
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;