summaryrefslogtreecommitdiffhomepage
path: root/src/bullet.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/bullet.h')
-rw-r--r--src/bullet.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/bullet.h b/src/bullet.h
index e335d7d..7bb8d6c 100644
--- a/src/bullet.h
+++ b/src/bullet.h
@@ -21,6 +21,12 @@ init_bullets(void);
void
deinit_bullets(void);
+#define bullets_init_do() \
+ mrodeo_defer_do( \
+ init_bullets(), \
+ deinit_bullets() \
+ )
+
bullet_t *
spawn_bullet(
float x,