From 7dfa8bbfaf995bcf1c8561a90099db5103feaa33 Mon Sep 17 00:00:00 2001 From: mrb0nk500 Date: Sun, 5 Feb 2023 15:54:37 -0400 Subject: macros: Add `TL_OBJECTS` xmacro --- include/pso/macros.h | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'include') diff --git a/include/pso/macros.h b/include/pso/macros.h index b98028f..a814e12 100644 --- a/include/pso/macros.h +++ b/include/pso/macros.h @@ -5,6 +5,27 @@ #define OBJECT_NAMES \ o(TObject) \ o(TMainTask) +#define TL_OBJECTS \ + o(tl_su, TL_SU) \ + o(tl_00, TL_00) \ + o(tl_camera, TL_CAMERA) \ + o(tl_01, TL_01) \ + o(tl_02, TL_02) \ + o(tl_item_equip, TL_ITEM_EQUIP) \ + o(tl_03, TL_03) \ + o(tl_loc_start, TL_LOC_START) \ + o(tl_04, TL_04) \ + o(tl_05, TL_05) \ + 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_particlemodel, TL_PARTICLEMODEL) \ + o(tl_radermap, TL_RADERMAP) \ + o(tl_clipout, TL_CLIPOUT) \ + o(tl_fade, TL_FADE) \ + o(tl_fadeafter, TL_FADEAFTER) #define FOREACH_NODE(type, first, varname) for (type *varname = (type *)(first); varname != NULL; varname = (type *)(varname->next)) #define FOREACH_NODE_NODECL(type, first, varname) for (varname = (type *)(first); varname != NULL; varname = (type *)(varname->next)) -- cgit v1.2.3-13-gbd6f