summaryrefslogtreecommitdiff
path: root/include/pso
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2023-02-16 15:44:46 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2023-02-16 15:54:16 -0400
commit6cf2a8f9e21beb917d95b388c80777ed6a194c4c (patch)
treea8f62dbaa6b7a5f8041cd5dde08d7342d0f41719 /include/pso
parent178b2d1033c29337f77e1a8602b664afb13ed3b2 (diff)
macros: Add new `TL_{}_OBJECTS` xmacros
This will be needed for later.
Diffstat (limited to 'include/pso')
-rw-r--r--include/pso/macros.h28
1 files changed, 25 insertions, 3 deletions
diff --git a/include/pso/macros.h b/include/pso/macros.h
index f10c911..8d76186 100644
--- a/include/pso/macros.h
+++ b/include/pso/macros.h
@@ -7,9 +7,30 @@
o(TMainTask)
#define TL_OBJECTS \
o(tl_su, TL_SU) \
+ TL_OBJECTS_AT_TL_00
+
+#define TL_OBJECTS_AT_TL_00 \
+ TL_00_OBJECTS \
+ TL_02_OBJECTS \
+ o(tl_particle, TL_PARTICLE) \
+ TL_PARTICLE_MODEL_OBJECTS
+
+#define TL_OBJECTS_AT_TL_00_WITHOUT_TL_PARTICLE \
+ TL_00_OBJECTS \
+ TL_02_OBJECTS \
+ TL_PARTICLE_MODEL_OBJECTS
+
+#define TL_OBJECTS_AT_TL_02 \
+ TL_02_OBJECTS \
+ o(tl_particle, TL_PARTICLE) \
+ TL_PARTICLE_MODEL_OBJECTS
+
+#define TL_00_OBJECTS \
o(tl_00, TL_00) \
o(tl_camera, TL_CAMERA) \
- o(tl_01, TL_01) \
+ o(tl_01, TL_01)
+
+#define TL_02_OBJECTS \
o(tl_02, TL_02) \
o(tl_item_equip, TL_ITEM_EQUIP) \
o(tl_03, TL_03) \
@@ -19,8 +40,9 @@
o(tl_06, TL_06) \
o(tl_07, TL_07) \
o(tl_loc_end, TL_LOC_END) \
- o(tl_window, TL_WINDOW) \
- o(tl_particle, TL_PARTICLE) \
+ o(tl_window, TL_WINDOW)
+
+#define TL_PARTICLE_MODEL_OBJECTS \
o(tl_particlemodel, TL_PARTICLEMODEL) \
o(tl_radermap, TL_RADERMAP) \
o(tl_clipout, TL_CLIPOUT) \