summaryrefslogtreecommitdiffhomepage
path: root/src/wall.h
diff options
context:
space:
mode:
authorrealtradam <[email protected]>2023-05-29 22:42:36 -0400
committerrealtradam <[email protected]>2023-05-29 22:42:36 -0400
commit53cd72592c3b900175ac069708f4937c83dea37c (patch)
tree9df89ffdbf595f64846b5a95aaf2e4371440f07b /src/wall.h
parent3b821ced9b6e9e363996b2aee0e497a2de204b44 (diff)
downloadTOJam2023-53cd72592c3b900175ac069708f4937c83dea37c.tar.gz
TOJam2023-53cd72592c3b900175ac069708f4937c83dea37c.zip
better init and deinit of systems
Diffstat (limited to 'src/wall.h')
-rw-r--r--src/wall.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/wall.h b/src/wall.h
index 07990fa..945bc46 100644
--- a/src/wall.h
+++ b/src/wall.h
@@ -6,6 +6,12 @@ init_wall(void);
void
deinit_wall(void);
+#define wall_init_do() \
+ mrodeo_defer_do( \
+ init_wall(), \
+ deinit_wall() \
+ )
+
rodeo_collision_2d_world_t *
get_wall_world(void);