From eed1fe5ff63c9dee7a6799b42090b27d62f60773 Mon Sep 17 00:00:00 2001 From: Tom Overton Date: Mon, 17 Jan 2022 00:33:08 -0800 Subject: [PATCH] Split tokeidai into separate files --- assets/xml/objects/object_obj_tokeidai.xml | 41 ++++++++++++++----- spec | 12 +++++- .../actors/ovl_Obj_Tokeidai/z_obj_tokeidai.c | 11 ++++- 3 files changed, 52 insertions(+), 12 deletions(-) diff --git a/assets/xml/objects/object_obj_tokeidai.xml b/assets/xml/objects/object_obj_tokeidai.xml index 09e0702540..a79cc3e74b 100644 --- a/assets/xml/objects/object_obj_tokeidai.xml +++ b/assets/xml/objects/object_obj_tokeidai.xml @@ -1,6 +1,6 @@  - + @@ -31,46 +31,67 @@ + - + + + + + + - + + + - + + + - + + + - + + + - + + + - + + + + - + + - + + diff --git a/spec b/spec index 20c127ac26..a6c59ec7a5 100644 --- a/spec +++ b/spec @@ -7382,7 +7382,17 @@ beginseg compress romalign 0x1000 number 6 - include "build/assets/objects/object_obj_tokeidai/object_obj_tokeidai.o" + include "build/assets/objects/object_obj_tokeidai/textures.o" + include "build/assets/objects/object_obj_tokeidai/termina_field_walls.o" + include "build/assets/objects/object_obj_tokeidai/counterweight.o" + include "build/assets/objects/object_obj_tokeidai/exterior_gear.o" + include "build/assets/objects/object_obj_tokeidai/clock_center_and_hand.o" + include "build/assets/objects/object_obj_tokeidai/sun_and_moon_panel.o" + include "build/assets/objects/object_obj_tokeidai/minute_ring.o" + include "build/assets/objects/object_obj_tokeidai/unused_tower_wall.o" + include "build/assets/objects/object_obj_tokeidai/staircase_to_rooftop.o" + include "build/assets/objects/object_obj_tokeidai/clock_tower_clock_face.o" + include "build/assets/objects/object_obj_tokeidai/wall_clock_clock_face.o" endseg beginseg diff --git a/src/overlays/actors/ovl_Obj_Tokeidai/z_obj_tokeidai.c b/src/overlays/actors/ovl_Obj_Tokeidai/z_obj_tokeidai.c index ef53d67dba..67207ad6e8 100644 --- a/src/overlays/actors/ovl_Obj_Tokeidai/z_obj_tokeidai.c +++ b/src/overlays/actors/ovl_Obj_Tokeidai/z_obj_tokeidai.c @@ -30,7 +30,16 @@ */ #include "z_obj_tokeidai.h" -#include "objects/object_obj_tokeidai/object_obj_tokeidai.h" +#include "objects/object_obj_tokeidai/termina_field_walls.h" +#include "objects/object_obj_tokeidai/counterweight.h" +#include "objects/object_obj_tokeidai/exterior_gear.h" +#include "objects/object_obj_tokeidai/clock_center_and_hand.h" +#include "objects/object_obj_tokeidai/sun_and_moon_panel.h" +#include "objects/object_obj_tokeidai/minute_ring.h" +#include "objects/object_obj_tokeidai/unused_tower_wall.h" +#include "objects/object_obj_tokeidai/staircase_to_rooftop.h" +#include "objects/object_obj_tokeidai/clock_tower_clock_face.h" +#include "objects/object_obj_tokeidai/wall_clock_clock_face.h" #define FLAGS 0x00000030