summaryrefslogtreecommitdiff
path: root/dat.h
diff options
context:
space:
mode:
authoresquizo <esquizo+noreply@esquizo.net>2026-05-02 11:48:02 -0300
committeresquizo <esquizo+noreply@esquizo.net>2026-05-02 11:48:02 -0300
commitb2a58e06b885c5801814943669d383f0141ddabb (patch)
tree03a1dd27f3e3ef567a95af6fc005580162cdadbd /dat.h
parent865764b50eb97bf43f5b37fc212b79aceb809ffe (diff)
organizada updates das entidades
Diffstat (limited to 'dat.h')
-rw-r--r--dat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/dat.h b/dat.h
index 18c8964..b3abc1b 100644
--- a/dat.h
+++ b/dat.h
@@ -13,6 +13,7 @@ typedef struct {
EPLAYER,
EGHOST,
EBULLET,
+ LASTEntity,
} type;
bool active;
@@ -26,6 +27,7 @@ typedef struct {
} EntityCollision;
typedef void (EntityCollisionProc)(Entity *self, Entity *other);
+typedef void (EntityUpdateProc)(Entity *self, float delta);
void entphysics(float delta);