diff options
author | mrb0nk500 <b0nk@b0nk.xyz> | 2023-02-05 15:54:37 -0400 |
---|---|---|
committer | mrb0nk500 <b0nk@b0nk.xyz> | 2023-02-05 15:54:37 -0400 |
commit | 7dfa8bbfaf995bcf1c8561a90099db5103feaa33 (patch) | |
tree | cacc186e6f4d8f2cc9b56e12339e3d94bbdec3a5 /include | |
parent | 51b344f8b673157d42c500aef39fbbc57e98850f (diff) |
macros: Add `TL_OBJECTS` xmacro
Diffstat (limited to 'include')
-rw-r--r-- | include/pso/macros.h | 21 |
1 files changed, 21 insertions, 0 deletions
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)) |