1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-06-08 17:41:56 +00:00

Reduce overlay dependencies on global.h (2) (#2442)

* reduce overlay dependencies on global.h

* merge cleanup

* more missed headers
This commit is contained in:
mzxrules 2025-01-27 12:17:50 -05:00 committed by GitHub
parent bb55be60fe
commit 7dd3a83313
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
111 changed files with 734 additions and 118 deletions

View file

@ -1,6 +1,7 @@
#ifndef Z64INTERFACE_H #ifndef Z64INTERFACE_H
#define Z64INTERFACE_H #define Z64INTERFACE_H
#include "ultra64.h"
#include "z64dma.h" #include "z64dma.h"
#include "z64view.h" #include "z64view.h"

View file

@ -1,6 +1,7 @@
#ifndef Z64VIEW_H #ifndef Z64VIEW_H
#define Z64VIEW_H #define Z64VIEW_H
#include "ultra64.h"
#include "z64math.h" #include "z64math.h"
struct GraphicsContext; struct GraphicsContext;

View file

@ -1,5 +1,8 @@
#include "global.h" #include "ultra64.h"
#include "libu64/debug.h"
#include "attributes.h"
#include "line_numbers.h" #include "line_numbers.h"
#include "global.h"
#pragma increment_block_number "gc-eu:128 gc-eu-mq:128 gc-jp:128 gc-jp-ce:128 gc-jp-mq:128 gc-us:128 gc-us-mq:128" \ #pragma increment_block_number "gc-eu:128 gc-eu-mq:128 gc-jp:128 gc-jp-ce:128 gc-jp-mq:128 gc-us:128 gc-us-mq:128" \
"pal-1.1:128" "pal-1.1:128"

View file

@ -7,9 +7,16 @@
#include "z_arrow_fire.h" #include "z_arrow_fire.h"
#include "overlays/actors/ovl_En_Arrow/z_en_arrow.h" #include "overlays/actors/ovl_En_Arrow/z_en_arrow.h"
#include "libu64/debug.h"
#include "gfx.h"
#include "gfx_setupdl.h"
#include "ichain.h"
#include "sfx.h"
#include "sys_matrix.h"
#include "z_lib.h"
#include "z64play.h" #include "z64play.h"
#include "global.h" #include "z64.h"
#define FLAGS (ACTOR_FLAG_UPDATE_CULLING_DISABLED | ACTOR_FLAG_UPDATE_DURING_OCARINA) #define FLAGS (ACTOR_FLAG_UPDATE_CULLING_DISABLED | ACTOR_FLAG_UPDATE_DURING_OCARINA)

View file

@ -7,9 +7,16 @@
#include "z_arrow_ice.h" #include "z_arrow_ice.h"
#include "overlays/actors/ovl_En_Arrow/z_en_arrow.h" #include "overlays/actors/ovl_En_Arrow/z_en_arrow.h"
#include "libu64/debug.h"
#include "gfx.h"
#include "gfx_setupdl.h"
#include "ichain.h"
#include "sfx.h"
#include "sys_matrix.h"
#include "z_lib.h"
#include "z64play.h" #include "z64play.h"
#include "global.h" #include "z64.h"
#define FLAGS (ACTOR_FLAG_UPDATE_CULLING_DISABLED | ACTOR_FLAG_UPDATE_DURING_OCARINA) #define FLAGS (ACTOR_FLAG_UPDATE_CULLING_DISABLED | ACTOR_FLAG_UPDATE_DURING_OCARINA)

View file

@ -7,9 +7,16 @@
#include "z_arrow_light.h" #include "z_arrow_light.h"
#include "overlays/actors/ovl_En_Arrow/z_en_arrow.h" #include "overlays/actors/ovl_En_Arrow/z_en_arrow.h"
#include "libu64/debug.h"
#include "gfx.h"
#include "gfx_setupdl.h"
#include "ichain.h"
#include "sfx.h"
#include "sys_matrix.h"
#include "z_lib.h"
#include "z64play.h" #include "z64play.h"
#include "global.h" #include "z64.h"
#define FLAGS (ACTOR_FLAG_UPDATE_CULLING_DISABLED | ACTOR_FLAG_UPDATE_DURING_OCARINA) #define FLAGS (ACTOR_FLAG_UPDATE_CULLING_DISABLED | ACTOR_FLAG_UPDATE_DURING_OCARINA)

View file

@ -5,6 +5,12 @@
*/ */
#include "z_bg_bombwall.h" #include "z_bg_bombwall.h"
#include "libc64/qrand.h"
#include "ichain.h"
#include "sfx.h"
#include "z_lib.h"
#include "z64play.h"
#include "assets/objects/gameplay_field_keep/gameplay_field_keep.h" #include "assets/objects/gameplay_field_keep/gameplay_field_keep.h"
#define FLAGS ACTOR_FLAG_IGNORE_POINT_LIGHTS #define FLAGS ACTOR_FLAG_IGNORE_POINT_LIGHTS

View file

@ -2,11 +2,11 @@
#define Z_BG_BOMBWALL_H #define Z_BG_BOMBWALL_H
#include "ultra64.h" #include "ultra64.h"
#include "global.h" #include "z64actor.h"
struct BgBombwall; struct BgBombwall;
typedef void (*BgBombwallActionFunc)(struct BgBombwall*, PlayState*); typedef void (*BgBombwallActionFunc)(struct BgBombwall*, struct PlayState*);
typedef struct BgBombwall { typedef struct BgBombwall {
/* 0x0000 */ DynaPolyActor dyna; /* 0x0000 */ DynaPolyActor dyna;

View file

@ -5,6 +5,19 @@
*/ */
#include "z_bg_breakwall.h" #include "z_bg_breakwall.h"
#include "libc64/qrand.h"
#include "gfx.h"
#include "gfx_setupdl.h"
#include "ichain.h"
#include "rand.h"
#include "regs.h"
#include "sfx.h"
#include "sys_matrix.h"
#include "z_lib.h"
#include "z64play.h"
#include "z64player.h"
#include "assets/scenes/dungeons/ddan/ddan_scene.h" #include "assets/scenes/dungeons/ddan/ddan_scene.h"
#include "assets/objects/object_bwall/object_bwall.h" #include "assets/objects/object_bwall/object_bwall.h"
#include "assets/objects/object_kingdodongo/object_kingdodongo.h" #include "assets/objects/object_kingdodongo/object_kingdodongo.h"

View file

@ -2,11 +2,11 @@
#define Z_BG_BREAKWALL_H #define Z_BG_BREAKWALL_H
#include "ultra64.h" #include "ultra64.h"
#include "global.h" #include "z64actor.h"
struct BgBreakwall; struct BgBreakwall;
typedef void (*BgBreakwallActionFunc)(struct BgBreakwall*, PlayState*); typedef void (*BgBreakwallActionFunc)(struct BgBreakwall*, struct PlayState*);
typedef struct BgBreakwall { typedef struct BgBreakwall {
/* 0x0000 */ DynaPolyActor dyna; /* 0x0000 */ DynaPolyActor dyna;

View file

@ -5,6 +5,14 @@
*/ */
#include "z_bg_ddan_jd.h" #include "z_bg_ddan_jd.h"
#include "ichain.h"
#include "one_point_cutscene.h"
#include "rand.h"
#include "sfx.h"
#include "z_lib.h"
#include "z64play.h"
#include "assets/objects/object_ddan_objects/object_ddan_objects.h" #include "assets/objects/object_ddan_objects/object_ddan_objects.h"
#define FLAGS (ACTOR_FLAG_UPDATE_CULLING_DISABLED | ACTOR_FLAG_DRAW_CULLING_DISABLED) #define FLAGS (ACTOR_FLAG_UPDATE_CULLING_DISABLED | ACTOR_FLAG_DRAW_CULLING_DISABLED)

View file

@ -2,11 +2,11 @@
#define Z_BG_DDAN_JD_H #define Z_BG_DDAN_JD_H
#include "ultra64.h" #include "ultra64.h"
#include "global.h" #include "z64actor.h"
struct BgDdanJd; struct BgDdanJd;
typedef void (*BgDdanJdActionFunc)(struct BgDdanJd*, PlayState*); typedef void (*BgDdanJdActionFunc)(struct BgDdanJd*, struct PlayState*);
typedef struct BgDdanJd { typedef struct BgDdanJd {
/* 0x0000 */ DynaPolyActor dyna; /* 0x0000 */ DynaPolyActor dyna;

View file

@ -5,6 +5,16 @@
*/ */
#include "z_bg_ddan_kd.h" #include "z_bg_ddan_kd.h"
#include "libc64/qrand.h"
#include "ichain.h"
#include "one_point_cutscene.h"
#include "rand.h"
#include "rumble.h"
#include "sfx.h"
#include "z_lib.h"
#include "z64play.h"
#include "assets/objects/object_ddan_objects/object_ddan_objects.h" #include "assets/objects/object_ddan_objects/object_ddan_objects.h"
#define FLAGS ACTOR_FLAG_UPDATE_CULLING_DISABLED #define FLAGS ACTOR_FLAG_UPDATE_CULLING_DISABLED

View file

@ -2,11 +2,11 @@
#define Z_BG_DDAN_KD_H #define Z_BG_DDAN_KD_H
#include "ultra64.h" #include "ultra64.h"
#include "global.h" #include "z64actor.h"
struct BgDdanKd; struct BgDdanKd;
typedef void (*BgDdanKdActionFunc)(struct BgDdanKd*, PlayState*); typedef void (*BgDdanKdActionFunc)(struct BgDdanKd*, struct PlayState*);
typedef struct BgDdanKd { typedef struct BgDdanKd {
/* 0x0000 */ DynaPolyActor dyna; /* 0x0000 */ DynaPolyActor dyna;

View file

@ -6,6 +6,20 @@
#include "z_bg_dodoago.h" #include "z_bg_dodoago.h"
#include "overlays/actors/ovl_En_Bom/z_en_bom.h" #include "overlays/actors/ovl_En_Bom/z_en_bom.h"
#include "gfx.h"
#include "gfx_setupdl.h"
#include "ichain.h"
#include "macros.h"
#include "one_point_cutscene.h"
#include "rand.h"
#include "rumble.h"
#include "sfx.h"
#include "sys_matrix.h"
#include "z_lib.h"
#include "z64effect.h"
#include "z64play.h"
#include "assets/objects/object_ddan_objects/object_ddan_objects.h" #include "assets/objects/object_ddan_objects/object_ddan_objects.h"
#define FLAGS 0 #define FLAGS 0

View file

@ -2,7 +2,7 @@
#define Z_BG_DODOAGO_H #define Z_BG_DODOAGO_H
#include "ultra64.h" #include "ultra64.h"
#include "global.h" #include "z64actor.h"
typedef enum BgDodoagoEye { typedef enum BgDodoagoEye {
/* 0 */ BGDODOAGO_EYE_LEFT, /* 0 */ BGDODOAGO_EYE_LEFT,
@ -11,7 +11,7 @@ typedef enum BgDodoagoEye {
struct BgDodoago; struct BgDodoago;
typedef void (*BgDodoagoActionFunc)(struct BgDodoago*, PlayState*); typedef void (*BgDodoagoActionFunc)(struct BgDodoago*, struct PlayState*);
typedef struct BgDodoago { typedef struct BgDodoago {
/* 0x0000 */ DynaPolyActor dyna; /* 0x0000 */ DynaPolyActor dyna;

View file

@ -5,10 +5,25 @@
*/ */
#include "z_bg_dy_yoseizo.h" #include "z_bg_dy_yoseizo.h"
#include "assets/objects/object_dy_obj/object_dy_obj.h" #include "overlays/actors/ovl_Demo_Effect/z_demo_effect.h"
#include "libc64/qrand.h"
#include "gfx.h"
#include "gfx_setupdl.h"
#include "one_point_cutscene.h"
#include "rand.h"
#include "regs.h"
#include "segmented_address.h"
#include "sfx.h"
#include "sys_matrix.h"
#include "terminal.h" #include "terminal.h"
#include "versions.h" #include "versions.h"
#include "overlays/actors/ovl_Demo_Effect/z_demo_effect.h" #include "z_lib.h"
#include "z64ocarina.h"
#include "z64play.h"
#include "z64player.h"
#include "assets/objects/object_dy_obj/object_dy_obj.h"
#include "assets/scenes/indoors/yousei_izumi_yoko/yousei_izumi_yoko_scene.h" #include "assets/scenes/indoors/yousei_izumi_yoko/yousei_izumi_yoko_scene.h"
#include "assets/scenes/indoors/daiyousei_izumi/daiyousei_izumi_scene.h" #include "assets/scenes/indoors/daiyousei_izumi/daiyousei_izumi_scene.h"

View file

@ -2,13 +2,13 @@
#define Z_BG_DY_YOSEIZO_H #define Z_BG_DY_YOSEIZO_H
#include "ultra64.h" #include "ultra64.h"
#include "global.h" #include "z64actor.h"
#include "overlays/actors/ovl_En_Dy_Extra/z_en_dy_extra.h" #include "overlays/actors/ovl_En_Dy_Extra/z_en_dy_extra.h"
#include "overlays/actors/ovl_En_Ex_Item/z_en_ex_item.h" #include "overlays/actors/ovl_En_Ex_Item/z_en_ex_item.h"
struct BgDyYoseizo; struct BgDyYoseizo;
typedef void (*BgDyYoseizoActionFunc)(struct BgDyYoseizo*, PlayState*); typedef void (*BgDyYoseizoActionFunc)(struct BgDyYoseizo*, struct PlayState*);
#define BG_DY_YOSEIZO_EFFECT_COUNT 200 #define BG_DY_YOSEIZO_EFFECT_COUNT 200

View file

@ -6,7 +6,18 @@
#include "z_bg_ganon_otyuka.h" #include "z_bg_ganon_otyuka.h"
#include "overlays/actors/ovl_Boss_Ganon/z_boss_ganon.h" #include "overlays/actors/ovl_Boss_Ganon/z_boss_ganon.h"
#include "gfx.h"
#include "gfx_setupdl.h"
#include "ichain.h"
#include "rand.h"
#include "sfx.h"
#include "sys_matrix.h"
#include "terminal.h" #include "terminal.h"
#include "z_lib.h"
#include "z64effect.h"
#include "z64play.h"
#include "z64player.h"
#define FLAGS (ACTOR_FLAG_UPDATE_CULLING_DISABLED | ACTOR_FLAG_DRAW_CULLING_DISABLED) #define FLAGS (ACTOR_FLAG_UPDATE_CULLING_DISABLED | ACTOR_FLAG_DRAW_CULLING_DISABLED)

View file

@ -2,7 +2,7 @@
#define Z_BG_GANON_OTYUKA_H #define Z_BG_GANON_OTYUKA_H
#include "ultra64.h" #include "ultra64.h"
#include "global.h" #include "z64actor.h"
#define OTYUKA_SIDE_EAST (1 << 0) #define OTYUKA_SIDE_EAST (1 << 0)
#define OTYUKA_SIDE_WEST (1 << 1) #define OTYUKA_SIDE_WEST (1 << 1)
@ -12,7 +12,7 @@
struct BgGanonOtyuka; struct BgGanonOtyuka;
typedef void (*BgGanonOtyukaActionFunc)(struct BgGanonOtyuka*, PlayState*); typedef void (*BgGanonOtyukaActionFunc)(struct BgGanonOtyuka*, struct PlayState*);
typedef struct BgGanonOtyuka { typedef struct BgGanonOtyuka {
/* 0x0000 */ DynaPolyActor dyna; /* 0x0000 */ DynaPolyActor dyna;

View file

@ -5,8 +5,16 @@
*/ */
#include "z_bg_gate_shutter.h" #include "z_bg_gate_shutter.h"
#include "assets/objects/object_spot01_matoyab/object_spot01_matoyab.h"
#include "gfx.h"
#include "gfx_setupdl.h"
#include "sfx.h"
#include "sys_matrix.h"
#include "terminal.h" #include "terminal.h"
#include "z_lib.h"
#include "z64play.h"
#include "assets/objects/object_spot01_matoyab/object_spot01_matoyab.h"
#define FLAGS 0 #define FLAGS 0

View file

@ -2,11 +2,11 @@
#define Z_BG_GATE_SHUTTER_H #define Z_BG_GATE_SHUTTER_H
#include "ultra64.h" #include "ultra64.h"
#include "global.h" #include "z64actor.h"
struct BgGateShutter; struct BgGateShutter;
typedef void (*BgGateShutterActionFunc)(struct BgGateShutter*, PlayState*); typedef void (*BgGateShutterActionFunc)(struct BgGateShutter*, struct PlayState*);
typedef struct BgGateShutter { typedef struct BgGateShutter {
/* 0x0000 */ DynaPolyActor dyna; /* 0x0000 */ DynaPolyActor dyna;

View file

@ -5,6 +5,15 @@
*/ */
#include "z_bg_gjyo_bridge.h" #include "z_bg_gjyo_bridge.h"
#include "gfx.h"
#include "gfx_setupdl.h"
#include "ichain.h"
#include "segmented_address.h"
#include "sys_matrix.h"
#include "z64play.h"
#include "z64player.h"
#include "assets/objects/object_gjyo_objects/object_gjyo_objects.h" #include "assets/objects/object_gjyo_objects/object_gjyo_objects.h"
#include "assets/scenes/overworld/ganon_tou/ganon_tou_scene.h" #include "assets/scenes/overworld/ganon_tou/ganon_tou_scene.h"

View file

@ -2,11 +2,11 @@
#define Z_BG_GJYO_BRIDGE_H #define Z_BG_GJYO_BRIDGE_H
#include "ultra64.h" #include "ultra64.h"
#include "global.h" #include "z64actor.h"
struct BgGjyoBridge; struct BgGjyoBridge;
typedef void (*BgGjyoBridgeActionFunc)(struct BgGjyoBridge*, PlayState*); typedef void (*BgGjyoBridgeActionFunc)(struct BgGjyoBridge*, struct PlayState*);
typedef struct BgGjyoBridge { typedef struct BgGjyoBridge {
/* 0x0000 */ DynaPolyActor dyna; /* 0x0000 */ DynaPolyActor dyna;

View file

@ -5,6 +5,12 @@
*/ */
#include "z_bg_gnd_darkmeiro.h" #include "z_bg_gnd_darkmeiro.h"
#include "gfx.h"
#include "sfx.h"
#include "z_lib.h"
#include "z64play.h"
#include "assets/objects/object_demo_kekkai/object_demo_kekkai.h" #include "assets/objects/object_demo_kekkai/object_demo_kekkai.h"
#define FLAGS (ACTOR_FLAG_UPDATE_CULLING_DISABLED | ACTOR_FLAG_DRAW_CULLING_DISABLED) #define FLAGS (ACTOR_FLAG_UPDATE_CULLING_DISABLED | ACTOR_FLAG_DRAW_CULLING_DISABLED)

View file

@ -2,11 +2,11 @@
#define Z_BG_GND_DARKMEIRO_H #define Z_BG_GND_DARKMEIRO_H
#include "ultra64.h" #include "ultra64.h"
#include "global.h" #include "z64actor.h"
struct BgGndDarkmeiro; struct BgGndDarkmeiro;
typedef void (*BgGndDarkmeiroUpdateFunc)(struct BgGndDarkmeiro*, PlayState*); typedef void (*BgGndDarkmeiroUpdateFunc)(struct BgGndDarkmeiro*, struct PlayState*);
typedef struct BgGndDarkmeiro { typedef struct BgGndDarkmeiro {
/* 0x0000 */ DynaPolyActor dyna; /* 0x0000 */ DynaPolyActor dyna;

View file

@ -5,6 +5,15 @@
*/ */
#include "z_bg_gnd_firemeiro.h" #include "z_bg_gnd_firemeiro.h"
#include "gfx.h"
#include "gfx_setupdl.h"
#include "sfx.h"
#include "sys_matrix.h"
#include "z_lib.h"
#include "z64play.h"
#include "z64player.h"
#include "assets/objects/object_demo_kekkai/object_demo_kekkai.h" #include "assets/objects/object_demo_kekkai/object_demo_kekkai.h"
#define FLAGS (ACTOR_FLAG_UPDATE_CULLING_DISABLED | ACTOR_FLAG_DRAW_CULLING_DISABLED) #define FLAGS (ACTOR_FLAG_UPDATE_CULLING_DISABLED | ACTOR_FLAG_DRAW_CULLING_DISABLED)

View file

@ -2,11 +2,11 @@
#define Z_BG_GND_FIREMEIRO_H #define Z_BG_GND_FIREMEIRO_H
#include "ultra64.h" #include "ultra64.h"
#include "global.h" #include "z64actor.h"
struct BgGndFiremeiro; struct BgGndFiremeiro;
typedef void (*BgGndFiremeiroActionFunc)(struct BgGndFiremeiro*, PlayState*); typedef void (*BgGndFiremeiroActionFunc)(struct BgGndFiremeiro*, struct PlayState*);
typedef struct BgGndFiremeiro { typedef struct BgGndFiremeiro {
/* 0x0000 */ DynaPolyActor dyna; /* 0x0000 */ DynaPolyActor dyna;

View file

@ -5,6 +5,17 @@
*/ */
#include "z_bg_gnd_iceblock.h" #include "z_bg_gnd_iceblock.h"
#include "libc64/qrand.h"
#include "libu64/debug.h"
#include "ichain.h"
#include "rand.h"
#include "sfx.h"
#include "z_lib.h"
#include "z64effect.h"
#include "z64play.h"
#include "z64player.h"
#include "assets/objects/object_demo_kekkai/object_demo_kekkai.h" #include "assets/objects/object_demo_kekkai/object_demo_kekkai.h"
#define FLAGS (ACTOR_FLAG_UPDATE_CULLING_DISABLED | ACTOR_FLAG_DRAW_CULLING_DISABLED) #define FLAGS (ACTOR_FLAG_UPDATE_CULLING_DISABLED | ACTOR_FLAG_DRAW_CULLING_DISABLED)

View file

@ -2,11 +2,11 @@
#define Z_BG_GND_ICEBLOCK_H #define Z_BG_GND_ICEBLOCK_H
#include "ultra64.h" #include "ultra64.h"
#include "global.h" #include "z64actor.h"
struct BgGndIceblock; struct BgGndIceblock;
typedef void (*BgGndIceblockActionFunc)(struct BgGndIceblock*, PlayState*); typedef void (*BgGndIceblockActionFunc)(struct BgGndIceblock*, struct PlayState*);
typedef struct BgGndIceblock { typedef struct BgGndIceblock {
/* 0x0000 */ DynaPolyActor dyna; /* 0x0000 */ DynaPolyActor dyna;

View file

@ -5,6 +5,9 @@
*/ */
#include "z_bg_gnd_nisekabe.h" #include "z_bg_gnd_nisekabe.h"
#include "z64play.h"
#include "assets/objects/object_demo_kekkai/object_demo_kekkai.h" #include "assets/objects/object_demo_kekkai/object_demo_kekkai.h"
#define FLAGS ACTOR_FLAG_UPDATE_CULLING_DISABLED #define FLAGS ACTOR_FLAG_UPDATE_CULLING_DISABLED

View file

@ -2,7 +2,7 @@
#define Z_BG_GND_NISEKABE_H #define Z_BG_GND_NISEKABE_H
#include "ultra64.h" #include "ultra64.h"
#include "global.h" #include "z64actor.h"
struct BgGndNisekabe; struct BgGndNisekabe;

View file

@ -5,8 +5,19 @@
*/ */
#include "z_bg_gnd_soulmeiro.h" #include "z_bg_gnd_soulmeiro.h"
#include "libc64/qrand.h"
#include "gfx.h"
#include "gfx_setupdl.h"
#include "ichain.h"
#include "rand.h"
#include "sfx.h"
#include "sys_matrix.h"
#include "z_lib.h"
#include "z64effect.h"
#include "z64play.h"
#include "assets/objects/object_demo_kekkai/object_demo_kekkai.h" #include "assets/objects/object_demo_kekkai/object_demo_kekkai.h"
#include "global.h"
#define FLAGS 0 #define FLAGS 0

View file

@ -2,11 +2,11 @@
#define Z_BG_GND_SOULMEIRO_H #define Z_BG_GND_SOULMEIRO_H
#include "ultra64.h" #include "ultra64.h"
#include "global.h" #include "z64actor.h"
struct BgGndSoulmeiro; struct BgGndSoulmeiro;
typedef void (*BgGndSoulmeiroActionFunc)(struct BgGndSoulmeiro*, PlayState*); typedef void (*BgGndSoulmeiroActionFunc)(struct BgGndSoulmeiro*, struct PlayState*);
typedef struct BgGndSoulmeiro { typedef struct BgGndSoulmeiro {
/* 0x0000 */ Actor actor; /* 0x0000 */ Actor actor;

View file

@ -5,6 +5,16 @@
*/ */
#include "z_bg_haka.h" #include "z_bg_haka.h"
#include "gfx.h"
#include "gfx_setupdl.h"
#include "ichain.h"
#include "sfx.h"
#include "sys_matrix.h"
#include "z_lib.h"
#include "z64play.h"
#include "z64player.h"
#include "assets/objects/object_haka/object_haka.h" #include "assets/objects/object_haka/object_haka.h"
#define FLAGS 0 #define FLAGS 0

View file

@ -2,11 +2,11 @@
#define Z_BG_HAKA_H #define Z_BG_HAKA_H
#include "ultra64.h" #include "ultra64.h"
#include "global.h" #include "z64actor.h"
struct BgHaka; struct BgHaka;
typedef void (*BgHakaActionFunc)(struct BgHaka*, PlayState*); typedef void (*BgHakaActionFunc)(struct BgHaka*, struct PlayState*);
typedef struct BgHaka { typedef struct BgHaka {
/* 0x0000 */ DynaPolyActor dyna; /* 0x0000 */ DynaPolyActor dyna;

View file

@ -5,6 +5,18 @@
*/ */
#include "z_bg_haka_gate.h" #include "z_bg_haka_gate.h"
#include "libc64/qrand.h"
#include "gfx.h"
#include "gfx_setupdl.h"
#include "ichain.h"
#include "one_point_cutscene.h"
#include "sfx.h"
#include "sys_matrix.h"
#include "z_lib.h"
#include "z64play.h"
#include "z64player.h"
#include "assets/objects/gameplay_keep/gameplay_keep.h" #include "assets/objects/gameplay_keep/gameplay_keep.h"
#include "assets/objects/object_haka_objects/object_haka_objects.h" #include "assets/objects/object_haka_objects/object_haka_objects.h"

View file

@ -2,11 +2,11 @@
#define Z_BG_HAKA_GATE_H #define Z_BG_HAKA_GATE_H
#include "ultra64.h" #include "ultra64.h"
#include "global.h" #include "z64actor.h"
struct BgHakaGate; struct BgHakaGate;
typedef void (*BgHakaGateActionFunc)(struct BgHakaGate*, PlayState*); typedef void (*BgHakaGateActionFunc)(struct BgHakaGate*, struct PlayState*);
typedef struct BgHakaGate { typedef struct BgHakaGate {
/* 0x0000 */ DynaPolyActor dyna; /* 0x0000 */ DynaPolyActor dyna;

View file

@ -5,9 +5,20 @@
*/ */
#include "z_bg_haka_huta.h" #include "z_bg_haka_huta.h"
#include "assets/objects/object_hakach_objects/object_hakach_objects.h"
#include "overlays/actors/ovl_En_Rd/z_en_rd.h" #include "overlays/actors/ovl_En_Rd/z_en_rd.h"
#include "libc64/qrand.h"
#include "ichain.h"
#include "one_point_cutscene.h"
#include "quake.h" #include "quake.h"
#include "sfx.h"
#include "sys_matrix.h"
#include "z_lib.h"
#include "z64effect.h"
#include "z64play.h"
#include "z64player.h"
#include "assets/objects/object_hakach_objects/object_hakach_objects.h"
#define FLAGS ACTOR_FLAG_UPDATE_CULLING_DISABLED #define FLAGS ACTOR_FLAG_UPDATE_CULLING_DISABLED

View file

@ -2,11 +2,11 @@
#define Z_BG_HAKA_HUTA_H #define Z_BG_HAKA_HUTA_H
#include "ultra64.h" #include "ultra64.h"
#include "global.h" #include "z64actor.h"
struct BgHakaHuta; struct BgHakaHuta;
typedef void (*BgHakaHutaActionFunc)(struct BgHakaHuta*, PlayState*); typedef void (*BgHakaHutaActionFunc)(struct BgHakaHuta*, struct PlayState*);
typedef struct BgHakaHuta { typedef struct BgHakaHuta {
/* 0x0000 */ DynaPolyActor dyna; /* 0x0000 */ DynaPolyActor dyna;

View file

@ -5,6 +5,12 @@
*/ */
#include "z_bg_haka_megane.h" #include "z_bg_haka_megane.h"
#include "ichain.h"
#include "z64play.h"
#include "z64.h"
#include "assets/objects/object_hakach_objects/object_hakach_objects.h" #include "assets/objects/object_hakach_objects/object_hakach_objects.h"
#include "assets/objects/object_haka_objects/object_haka_objects.h" #include "assets/objects/object_haka_objects/object_haka_objects.h"

View file

@ -2,11 +2,11 @@
#define Z_BG_HAKA_MEGANE_H #define Z_BG_HAKA_MEGANE_H
#include "ultra64.h" #include "ultra64.h"
#include "global.h" #include "z64actor.h"
struct BgHakaMegane; struct BgHakaMegane;
typedef void (*BgHakaMeganeActionFunc)(struct BgHakaMegane*, PlayState*); typedef void (*BgHakaMeganeActionFunc)(struct BgHakaMegane*, struct PlayState*);
typedef struct BgHakaMegane { typedef struct BgHakaMegane {
/* 0x0000 */ DynaPolyActor dyna; /* 0x0000 */ DynaPolyActor dyna;

View file

@ -5,6 +5,13 @@
*/ */
#include "z_bg_haka_meganebg.h" #include "z_bg_haka_meganebg.h"
#include "ichain.h"
#include "one_point_cutscene.h"
#include "sfx.h"
#include "z_lib.h"
#include "z64play.h"
#include "assets/objects/object_haka_objects/object_haka_objects.h" #include "assets/objects/object_haka_objects/object_haka_objects.h"
#define FLAGS 0 #define FLAGS 0

View file

@ -2,11 +2,11 @@
#define Z_BG_HAKA_MEGANEBG_H #define Z_BG_HAKA_MEGANEBG_H
#include "ultra64.h" #include "ultra64.h"
#include "global.h" #include "z64actor.h"
struct BgHakaMeganeBG; struct BgHakaMeganeBG;
typedef void (*BgHakaMeganeBGActionFunc)(struct BgHakaMeganeBG*, PlayState*); typedef void (*BgHakaMeganeBGActionFunc)(struct BgHakaMeganeBG*, struct PlayState*);
typedef struct BgHakaMeganeBG { typedef struct BgHakaMeganeBG {
/* 0x0000 */ DynaPolyActor dyna; /* 0x0000 */ DynaPolyActor dyna;

View file

@ -5,6 +5,14 @@
*/ */
#include "z_bg_haka_sgami.h" #include "z_bg_haka_sgami.h"
#include "ichain.h"
#include "sfx.h"
#include "z_lib.h"
#include "z64effect.h"
#include "z64play.h"
#include "z64player.h"
#include "assets/objects/object_haka_objects/object_haka_objects.h" #include "assets/objects/object_haka_objects/object_haka_objects.h"
#include "assets/objects/object_ice_objects/object_ice_objects.h" #include "assets/objects/object_ice_objects/object_ice_objects.h"

View file

@ -2,11 +2,11 @@
#define Z_BG_HAKA_SGAMI_H #define Z_BG_HAKA_SGAMI_H
#include "ultra64.h" #include "ultra64.h"
#include "global.h" #include "z64actor.h"
struct BgHakaSgami; struct BgHakaSgami;
typedef void (*BgHakaSgamiActionFunc)(struct BgHakaSgami*, PlayState*); typedef void (*BgHakaSgamiActionFunc)(struct BgHakaSgami*, struct PlayState*);
typedef struct BgHakaSgami { typedef struct BgHakaSgami {
/* 0x0000 */ Actor actor; /* 0x0000 */ Actor actor;

View file

@ -5,6 +5,17 @@
*/ */
#include "z_bg_haka_ship.h" #include "z_bg_haka_ship.h"
#include "gfx.h"
#include "gfx_setupdl.h"
#include "ichain.h"
#include "one_point_cutscene.h"
#include "sfx.h"
#include "sys_matrix.h"
#include "z_lib.h"
#include "z64play.h"
#include "z64skin_matrix.h"
#include "assets/objects/object_haka_objects/object_haka_objects.h" #include "assets/objects/object_haka_objects/object_haka_objects.h"
#define FLAGS (ACTOR_FLAG_UPDATE_CULLING_DISABLED | ACTOR_FLAG_DRAW_CULLING_DISABLED) #define FLAGS (ACTOR_FLAG_UPDATE_CULLING_DISABLED | ACTOR_FLAG_DRAW_CULLING_DISABLED)

View file

@ -2,11 +2,11 @@
#define Z_BG_HAKA_SHIP_H #define Z_BG_HAKA_SHIP_H
#include "ultra64.h" #include "ultra64.h"
#include "global.h" #include "z64actor.h"
struct BgHakaShip; struct BgHakaShip;
typedef void (*BgHakaShipActionFunc)(struct BgHakaShip*, PlayState*); typedef void (*BgHakaShipActionFunc)(struct BgHakaShip*, struct PlayState*);
typedef struct BgHakaShip { typedef struct BgHakaShip {
/* 0x0000 */ DynaPolyActor dyna; /* 0x0000 */ DynaPolyActor dyna;

View file

@ -5,6 +5,17 @@
*/ */
#include "z_bg_haka_trap.h" #include "z_bg_haka_trap.h"
#include "ichain.h"
#include "rand.h"
#include "sfx.h"
#include "sys_matrix.h"
#include "z_lib.h"
#include "z64effect.h"
#include "z64play.h"
#include "z64player.h"
#include "z64skin_matrix.h"
#include "assets/objects/object_haka_objects/object_haka_objects.h" #include "assets/objects/object_haka_objects/object_haka_objects.h"
#define FLAGS 0 #define FLAGS 0

View file

@ -2,7 +2,7 @@
#define Z_BG_HAKA_TRAP_H #define Z_BG_HAKA_TRAP_H
#include "ultra64.h" #include "ultra64.h"
#include "global.h" #include "z64actor.h"
typedef enum HakaTrapType { typedef enum HakaTrapType {
/* 0x00 */ HAKA_TRAP_GUILLOTINE_SLOW, /* 0x00 */ HAKA_TRAP_GUILLOTINE_SLOW,
@ -15,7 +15,7 @@ typedef enum HakaTrapType {
struct BgHakaTrap; struct BgHakaTrap;
typedef void (*BgHakaTrapActionFunc)(struct BgHakaTrap*, PlayState*); typedef void (*BgHakaTrapActionFunc)(struct BgHakaTrap*, struct PlayState*);
typedef struct BgHakaTrap { typedef struct BgHakaTrap {
/* 0x0000 */ DynaPolyActor dyna; /* 0x0000 */ DynaPolyActor dyna;

View file

@ -5,6 +5,19 @@
*/ */
#include "z_bg_haka_tubo.h" #include "z_bg_haka_tubo.h"
#include "libc64/qrand.h"
#include "gfx.h"
#include "gfx_setupdl.h"
#include "ichain.h"
#include "sfx.h"
#include "sys_matrix.h"
#include "z_lib.h"
#include "z64effect.h"
#include "z64play.h"
#include "global.h"
#include "assets/objects/gameplay_keep/gameplay_keep.h" #include "assets/objects/gameplay_keep/gameplay_keep.h"
#include "assets/objects/object_haka_objects/object_haka_objects.h" #include "assets/objects/object_haka_objects/object_haka_objects.h"

View file

@ -2,11 +2,11 @@
#define Z_BG_HAKA_TUBO_H #define Z_BG_HAKA_TUBO_H
#include "ultra64.h" #include "ultra64.h"
#include "global.h" #include "z64actor.h"
struct BgHakaTubo; struct BgHakaTubo;
typedef void (*BgHakaTuboActionFunc)(struct BgHakaTubo*, PlayState*); typedef void (*BgHakaTuboActionFunc)(struct BgHakaTubo*, struct PlayState*);
typedef struct BgHakaTubo { typedef struct BgHakaTubo {
/* 0x0000 */ DynaPolyActor dyna; /* 0x0000 */ DynaPolyActor dyna;

View file

@ -5,6 +5,15 @@
*/ */
#include "z_bg_haka_water.h" #include "z_bg_haka_water.h"
#include "gfx.h"
#include "gfx_setupdl.h"
#include "ichain.h"
#include "sfx.h"
#include "sys_matrix.h"
#include "z_lib.h"
#include "z64play.h"
#include "assets/objects/object_hakach_objects/object_hakach_objects.h" #include "assets/objects/object_hakach_objects/object_hakach_objects.h"
#define FLAGS (ACTOR_FLAG_UPDATE_CULLING_DISABLED | ACTOR_FLAG_DRAW_CULLING_DISABLED) #define FLAGS (ACTOR_FLAG_UPDATE_CULLING_DISABLED | ACTOR_FLAG_DRAW_CULLING_DISABLED)

View file

@ -2,11 +2,11 @@
#define Z_BG_HAKA_WATER_H #define Z_BG_HAKA_WATER_H
#include "ultra64.h" #include "ultra64.h"
#include "global.h" #include "z64actor.h"
struct BgHakaWater; struct BgHakaWater;
typedef void (*BgHakaWaterActionFunc)(struct BgHakaWater*, PlayState*); typedef void (*BgHakaWaterActionFunc)(struct BgHakaWater*, struct PlayState*);
typedef struct BgHakaWater { typedef struct BgHakaWater {
/* 0x0000 */ Actor actor; /* 0x0000 */ Actor actor;

View file

@ -5,6 +5,16 @@
*/ */
#include "z_bg_haka_zou.h" #include "z_bg_haka_zou.h"
#include "libc64/qrand.h"
#include "ichain.h"
#include "one_point_cutscene.h"
#include "rand.h"
#include "sfx.h"
#include "z_lib.h"
#include "z64effect.h"
#include "z64play.h"
#include "assets/objects/object_hakach_objects/object_hakach_objects.h" #include "assets/objects/object_hakach_objects/object_hakach_objects.h"
#include "assets/objects/object_haka_objects/object_haka_objects.h" #include "assets/objects/object_haka_objects/object_haka_objects.h"

View file

@ -2,11 +2,11 @@
#define Z_BG_HAKA_ZOU_H #define Z_BG_HAKA_ZOU_H
#include "ultra64.h" #include "ultra64.h"
#include "global.h" #include "z64actor.h"
struct BgHakaZou; struct BgHakaZou;
typedef void (*BgHakaZouActionFunc)(struct BgHakaZou*, PlayState*); typedef void (*BgHakaZouActionFunc)(struct BgHakaZou*, struct PlayState*);
typedef struct BgHakaZou { typedef struct BgHakaZou {
/* 0x0000 */ DynaPolyActor dyna; /* 0x0000 */ DynaPolyActor dyna;

View file

@ -5,10 +5,25 @@
*/ */
#include "z_bg_heavy_block.h" #include "z_bg_heavy_block.h"
#include "global.h"
#include "assets/objects/object_heavy_object/object_heavy_object.h" #include "libu64/debug.h"
#include "gfx.h"
#include "gfx_setupdl.h"
#include "ichain.h"
#include "one_point_cutscene.h"
#include "quake.h" #include "quake.h"
#include "rand.h"
#include "rumble.h"
#include "sfx.h"
#include "sys_math.h"
#include "sys_matrix.h"
#include "terminal.h" #include "terminal.h"
#include "z_lib.h"
#include "z64effect.h"
#include "z64play.h"
#include "z64player.h"
#include "assets/objects/object_heavy_object/object_heavy_object.h"
#define FLAGS 0 #define FLAGS 0

View file

@ -5,6 +5,16 @@
*/ */
#include "z_bg_hidan_curtain.h" #include "z_bg_hidan_curtain.h"
#include "libc64/qrand.h"
#include "gfx.h"
#include "gfx_setupdl.h"
#include "one_point_cutscene.h"
#include "sfx.h"
#include "sys_matrix.h"
#include "z_lib.h"
#include "z64play.h"
#include "assets/objects/gameplay_keep/gameplay_keep.h" #include "assets/objects/gameplay_keep/gameplay_keep.h"
#define FLAGS ACTOR_FLAG_UPDATE_CULLING_DISABLED #define FLAGS ACTOR_FLAG_UPDATE_CULLING_DISABLED

View file

@ -2,11 +2,11 @@
#define Z_BG_HIDAN_CURTAIN_H #define Z_BG_HIDAN_CURTAIN_H
#include "ultra64.h" #include "ultra64.h"
#include "global.h" #include "z64actor.h"
struct BgHidanCurtain; struct BgHidanCurtain;
typedef void (*BgHidanCurtainActionFunc)(struct BgHidanCurtain*, PlayState*); typedef void (*BgHidanCurtainActionFunc)(struct BgHidanCurtain*, struct PlayState*);
typedef struct BgHidanCurtain { typedef struct BgHidanCurtain {
/* 0x0000 */ Actor actor; /* 0x0000 */ Actor actor;

View file

@ -5,6 +5,16 @@
*/ */
#include "z_bg_hidan_dalm.h" #include "z_bg_hidan_dalm.h"
#include "libc64/qrand.h"
#include "ichain.h"
#include "sfx.h"
#include "sys_matrix.h"
#include "z_lib.h"
#include "z64effect.h"
#include "z64play.h"
#include "z64player.h"
#include "assets/objects/object_hidan_objects/object_hidan_objects.h" #include "assets/objects/object_hidan_objects/object_hidan_objects.h"
#define FLAGS 0 #define FLAGS 0

View file

@ -2,11 +2,11 @@
#define Z_BG_HIDAN_DALM_H #define Z_BG_HIDAN_DALM_H
#include "ultra64.h" #include "ultra64.h"
#include "global.h" #include "z64actor.h"
struct BgHidanDalm; struct BgHidanDalm;
typedef void (*BgHidanDalmActionFunc)(struct BgHidanDalm*, PlayState*); typedef void (*BgHidanDalmActionFunc)(struct BgHidanDalm*, struct PlayState*);
typedef struct BgHidanDalm { typedef struct BgHidanDalm {
/* 0x0000 */ DynaPolyActor dyna; /* 0x0000 */ DynaPolyActor dyna;

View file

@ -5,6 +5,16 @@
*/ */
#include "z_bg_hidan_firewall.h" #include "z_bg_hidan_firewall.h"
#include "gfx.h"
#include "gfx_setupdl.h"
#include "segmented_address.h"
#include "sfx.h"
#include "sys_matrix.h"
#include "z_lib.h"
#include "z64play.h"
#include "z64player.h"
#include "assets/objects/object_hidan_objects/object_hidan_objects.h" #include "assets/objects/object_hidan_objects/object_hidan_objects.h"
#define FLAGS 0 #define FLAGS 0

View file

@ -2,11 +2,11 @@
#define Z_BG_HIDAN_FIREWALL_H #define Z_BG_HIDAN_FIREWALL_H
#include "ultra64.h" #include "ultra64.h"
#include "global.h" #include "z64actor.h"
struct BgHidanFirewall; struct BgHidanFirewall;
typedef void (*BgHidanFirewallActionFunc)(struct BgHidanFirewall*, PlayState*); typedef void (*BgHidanFirewallActionFunc)(struct BgHidanFirewall*, struct PlayState*);
typedef struct BgHidanFirewall { typedef struct BgHidanFirewall {
/* 0x0000 */ Actor actor; /* 0x0000 */ Actor actor;

View file

@ -5,6 +5,12 @@
*/ */
#include "z_bg_hidan_fslift.h" #include "z_bg_hidan_fslift.h"
#include "ichain.h"
#include "sfx.h"
#include "z_lib.h"
#include "z64play.h"
#include "assets/objects/object_hidan_objects/object_hidan_objects.h" #include "assets/objects/object_hidan_objects/object_hidan_objects.h"
#define FLAGS ACTOR_FLAG_UPDATE_CULLING_DISABLED #define FLAGS ACTOR_FLAG_UPDATE_CULLING_DISABLED

View file

@ -2,11 +2,11 @@
#define Z_BG_HIDAN_FSLIFT_H #define Z_BG_HIDAN_FSLIFT_H
#include "ultra64.h" #include "ultra64.h"
#include "global.h" #include "z64actor.h"
struct BgHidanFslift; struct BgHidanFslift;
typedef void (*BgHidanFsliftActionFunc)(struct BgHidanFslift*, PlayState*); typedef void (*BgHidanFsliftActionFunc)(struct BgHidanFslift*, struct PlayState*);
typedef struct BgHidanFslift { typedef struct BgHidanFslift {
/* 0x0000 */ DynaPolyActor dyna; /* 0x0000 */ DynaPolyActor dyna;

View file

@ -6,6 +6,18 @@
*/ */
#include "z_bg_hidan_fwbig.h" #include "z_bg_hidan_fwbig.h"
#include "ichain.h"
#include "gfx.h"
#include "gfx_setupdl.h"
#include "one_point_cutscene.h"
#include "segmented_address.h"
#include "sfx.h"
#include "sys_matrix.h"
#include "z_lib.h"
#include "z64play.h"
#include "z64player.h"
#include "assets/objects/gameplay_keep/gameplay_keep.h" #include "assets/objects/gameplay_keep/gameplay_keep.h"
#include "assets/objects/object_hidan_objects/object_hidan_objects.h" #include "assets/objects/object_hidan_objects/object_hidan_objects.h"

View file

@ -2,11 +2,11 @@
#define Z_BG_HIDAN_FWBIG_H #define Z_BG_HIDAN_FWBIG_H
#include "ultra64.h" #include "ultra64.h"
#include "global.h" #include "z64actor.h"
struct BgHidanFwbig; struct BgHidanFwbig;
typedef void (*BgHidanFwbigActionFunc)(struct BgHidanFwbig*, PlayState*); typedef void (*BgHidanFwbigActionFunc)(struct BgHidanFwbig*, struct PlayState*);
typedef struct BgHidanFwbig { typedef struct BgHidanFwbig {
/* 0x0000 */ Actor actor; /* 0x0000 */ Actor actor;

View file

@ -5,9 +5,21 @@
*/ */
#include "z_bg_hidan_hamstep.h" #include "z_bg_hidan_hamstep.h"
#include "versions.h"
#include "assets/objects/object_hidan_objects/object_hidan_objects.h" #include "gfx.h"
#include "gfx_setupdl.h"
#include "ichain.h"
#include "one_point_cutscene.h"
#include "quake.h" #include "quake.h"
#include "regs.h"
#include "rumble.h"
#include "sfx.h"
#include "sys_matrix.h"
#include "versions.h"
#include "z_lib.h"
#include "z64play.h"
#include "assets/objects/object_hidan_objects/object_hidan_objects.h"
#define FLAGS 0 #define FLAGS 0

View file

@ -2,11 +2,11 @@
#define Z_BG_HIDAN_HAMSTEP_H #define Z_BG_HIDAN_HAMSTEP_H
#include "ultra64.h" #include "ultra64.h"
#include "global.h" #include "z64actor.h"
struct BgHidanHamstep; struct BgHidanHamstep;
typedef void (*BgHidanHamstepActionFunc)(struct BgHidanHamstep*, PlayState*); typedef void (*BgHidanHamstepActionFunc)(struct BgHidanHamstep*, struct PlayState*);
typedef struct BgHidanHamstep { typedef struct BgHidanHamstep {
/* 0x0000 */ DynaPolyActor dyna; /* 0x0000 */ DynaPolyActor dyna;

View file

@ -5,6 +5,13 @@
*/ */
#include "z_bg_hidan_hrock.h" #include "z_bg_hidan_hrock.h"
#include "ichain.h"
#include "rumble.h"
#include "sfx.h"
#include "z_lib.h"
#include "z64play.h"
#include "assets/objects/object_hidan_objects/object_hidan_objects.h" #include "assets/objects/object_hidan_objects/object_hidan_objects.h"
#define FLAGS 0 #define FLAGS 0

View file

@ -2,11 +2,11 @@
#define Z_BG_HIDAN_HROCK_H #define Z_BG_HIDAN_HROCK_H
#include "ultra64.h" #include "ultra64.h"
#include "global.h" #include "z64actor.h"
struct BgHidanHrock; struct BgHidanHrock;
typedef void (*BgHidanHrockActionFunc)(struct BgHidanHrock*, PlayState*); typedef void (*BgHidanHrockActionFunc)(struct BgHidanHrock*, struct PlayState*);
typedef struct BgHidanHrock { typedef struct BgHidanHrock {
/* 0x0000 */ DynaPolyActor dyna; /* 0x0000 */ DynaPolyActor dyna;

View file

@ -5,6 +5,16 @@
*/ */
#include "z_bg_hidan_kousi.h" #include "z_bg_hidan_kousi.h"
#include "gfx.h"
#include "gfx_setupdl.h"
#include "ichain.h"
#include "one_point_cutscene.h"
#include "sfx.h"
#include "sys_matrix.h"
#include "z_lib.h"
#include "z64play.h"
#include "assets/objects/object_hidan_objects/object_hidan_objects.h" #include "assets/objects/object_hidan_objects/object_hidan_objects.h"
#define FLAGS ACTOR_FLAG_UPDATE_CULLING_DISABLED #define FLAGS ACTOR_FLAG_UPDATE_CULLING_DISABLED

View file

@ -2,11 +2,11 @@
#define Z_BG_HIDAN_KOUSI_H #define Z_BG_HIDAN_KOUSI_H
#include "ultra64.h" #include "ultra64.h"
#include "global.h" #include "z64actor.h"
struct BgHidanKousi; struct BgHidanKousi;
typedef void (*BgHidanKousiActionFunc)(struct BgHidanKousi*, PlayState*); typedef void (*BgHidanKousiActionFunc)(struct BgHidanKousi*, struct PlayState*);
typedef struct BgHidanKousi { typedef struct BgHidanKousi {
/* 0x0000 */ DynaPolyActor dyna; /* 0x0000 */ DynaPolyActor dyna;

View file

@ -5,8 +5,19 @@
*/ */
#include "z_bg_hidan_kowarerukabe.h" #include "z_bg_hidan_kowarerukabe.h"
#include "assets/objects/gameplay_dangeon_keep/gameplay_dangeon_keep.h"
#include "overlays/effects/ovl_Effect_Ss_Kakera/z_eff_ss_kakera.h" #include "overlays/effects/ovl_Effect_Ss_Kakera/z_eff_ss_kakera.h"
#include "libc64/qrand.h"
#include "gfx.h"
#include "gfx_setupdl.h"
#include "ichain.h"
#include "sfx.h"
#include "sys_matrix.h"
#include "z_lib.h"
#include "z64effect.h"
#include "z64play.h"
#include "assets/objects/gameplay_dangeon_keep/gameplay_dangeon_keep.h"
#include "assets/objects/object_hidan_objects/object_hidan_objects.h" #include "assets/objects/object_hidan_objects/object_hidan_objects.h"
#define FLAGS 0 #define FLAGS 0

View file

@ -2,7 +2,7 @@
#define Z_BG_HIDAN_KOWARERUKABE_H #define Z_BG_HIDAN_KOWARERUKABE_H
#include "ultra64.h" #include "ultra64.h"
#include "global.h" #include "z64actor.h"
struct BgHidanKowarerukabe; struct BgHidanKowarerukabe;

View file

@ -5,6 +5,19 @@
*/ */
#include "z_bg_hidan_rock.h" #include "z_bg_hidan_rock.h"
#include "gfx.h"
#include "gfx_setupdl.h"
#include "ichain.h"
#include "rumble.h"
#include "segmented_address.h"
#include "sfx.h"
#include "sys_matrix.h"
#include "z_lib.h"
#include "z64play.h"
#include "z64player.h"
#include "z64skin_matrix.h"
#include "assets/objects/object_hidan_objects/object_hidan_objects.h" #include "assets/objects/object_hidan_objects/object_hidan_objects.h"
#define FLAGS 0 #define FLAGS 0

View file

@ -2,11 +2,11 @@
#define Z_BG_HIDAN_ROCK_H #define Z_BG_HIDAN_ROCK_H
#include "ultra64.h" #include "ultra64.h"
#include "global.h" #include "z64actor.h"
struct BgHidanRock; struct BgHidanRock;
typedef void (*BgHidanRockActionFunc)(struct BgHidanRock*, PlayState*); typedef void (*BgHidanRockActionFunc)(struct BgHidanRock*, struct PlayState*);
typedef struct BgHidanRock { typedef struct BgHidanRock {
/* 0x0000 */ DynaPolyActor dyna; /* 0x0000 */ DynaPolyActor dyna;

View file

@ -5,6 +5,16 @@
*/ */
#include "z_bg_hidan_rsekizou.h" #include "z_bg_hidan_rsekizou.h"
#include "gfx.h"
#include "gfx_setupdl.h"
#include "ichain.h"
#include "segmented_address.h"
#include "sfx.h"
#include "sys_matrix.h"
#include "z_lib.h"
#include "z64play.h"
#include "assets/objects/object_hidan_objects/object_hidan_objects.h" #include "assets/objects/object_hidan_objects/object_hidan_objects.h"
#define FLAGS 0 #define FLAGS 0

View file

@ -2,7 +2,7 @@
#define Z_BG_HIDAN_RSEKIZOU_H #define Z_BG_HIDAN_RSEKIZOU_H
#include "ultra64.h" #include "ultra64.h"
#include "global.h" #include "z64actor.h"
struct BgHidanRsekizou; struct BgHidanRsekizou;

View file

@ -5,6 +5,17 @@
*/ */
#include "z_bg_hidan_sekizou.h" #include "z_bg_hidan_sekizou.h"
#include "gfx.h"
#include "gfx_setupdl.h"
#include "ichain.h"
#include "segmented_address.h"
#include "sfx.h"
#include "sys_matrix.h"
#include "z_lib.h"
#include "z64play.h"
#include "z64player.h"
#include "assets/objects/object_hidan_objects/object_hidan_objects.h" #include "assets/objects/object_hidan_objects/object_hidan_objects.h"
#define FLAGS 0 #define FLAGS 0

View file

@ -2,11 +2,11 @@
#define Z_BG_HIDAN_SEKIZOU_H #define Z_BG_HIDAN_SEKIZOU_H
#include "ultra64.h" #include "ultra64.h"
#include "global.h" #include "z64actor.h"
struct BgHidanSekizou; struct BgHidanSekizou;
typedef void (*BgHidanSekizouUpdateFunc)(struct BgHidanSekizou*, PlayState*); typedef void (*BgHidanSekizouUpdateFunc)(struct BgHidanSekizou*, struct PlayState*);
typedef struct BgHidanSekizou { typedef struct BgHidanSekizou {
/* 0x0000 */ DynaPolyActor dyna; /* 0x0000 */ DynaPolyActor dyna;

View file

@ -5,6 +5,16 @@
*/ */
#include "z_bg_spot08_iceblock.h" #include "z_bg_spot08_iceblock.h"
#include "libc64/math64.h"
#include "libc64/qrand.h"
#include "ichain.h"
#include "sys_math3d.h"
#include "sys_matrix.h"
#include "z_lib.h"
#include "z64play.h"
#include "z64player.h"
#include "assets/objects/object_spot08_obj/object_spot08_obj.h" #include "assets/objects/object_spot08_obj/object_spot08_obj.h"
#define FLAGS 0 #define FLAGS 0

View file

@ -2,11 +2,11 @@
#define Z_BG_SPOT08_ICEBLOCK_H #define Z_BG_SPOT08_ICEBLOCK_H
#include "ultra64.h" #include "ultra64.h"
#include "global.h" #include "z64actor.h"
struct BgSpot08Iceblock; struct BgSpot08Iceblock;
typedef void (*BgSpot08IceblockActionFunc)(struct BgSpot08Iceblock*, PlayState*); typedef void (*BgSpot08IceblockActionFunc)(struct BgSpot08Iceblock*, struct PlayState*);
typedef struct BgSpot08Iceblock { typedef struct BgSpot08Iceblock {
/* 0x0000 */ DynaPolyActor dyna; /* 0x0000 */ DynaPolyActor dyna;

View file

@ -1,10 +1,32 @@
#include "z_boss_ganon.h" #include "z_boss_ganon.h"
#include "versions.h"
#include "assets/overlays/ovl_Boss_Ganon/ovl_Boss_Ganon.h"
#include "overlays/actors/ovl_En_Ganon_Mant/z_en_ganon_mant.h" #include "overlays/actors/ovl_En_Ganon_Mant/z_en_ganon_mant.h"
#include "overlays/actors/ovl_En_Zl3/z_en_zl3.h" #include "overlays/actors/ovl_En_Zl3/z_en_zl3.h"
#include "overlays/actors/ovl_Bg_Ganon_Otyuka/z_bg_ganon_otyuka.h" #include "overlays/actors/ovl_Bg_Ganon_Otyuka/z_bg_ganon_otyuka.h"
#include "overlays/actors/ovl_En_Bom/z_en_bom.h" #include "overlays/actors/ovl_En_Bom/z_en_bom.h"
#include "libc64/math64.h"
#include "libc64/qrand.h"
#include "attributes.h"
#include "gfx.h"
#include "gfx_setupdl.h"
#include "ichain.h"
#include "rand.h"
#include "rumble.h"
#include "segmented_address.h"
#include "seqcmd.h"
#include "sequence.h"
#include "sfx.h"
#include "sys_math.h"
#include "sys_matrix.h"
#include "versions.h"
#include "z_lib.h"
#include "z64effect.h"
#include "z64play.h"
#include "z64player.h"
#include "global.h"
#include "assets/overlays/ovl_Boss_Ganon/ovl_Boss_Ganon.h"
#include "assets/objects/object_ganon/object_ganon.h" #include "assets/objects/object_ganon/object_ganon.h"
#include "assets/objects/object_ganon_anime1/object_ganon_anime1.h" #include "assets/objects/object_ganon_anime1/object_ganon_anime1.h"
#include "assets/objects/object_ganon_anime2/object_ganon_anime2.h" #include "assets/objects/object_ganon_anime2/object_ganon_anime2.h"

View file

@ -2,11 +2,11 @@
#define Z_BOSS_GANON_H #define Z_BOSS_GANON_H
#include "ultra64.h" #include "ultra64.h"
#include "global.h" #include "z64actor.h"
struct BossGanon; struct BossGanon;
typedef void (*BossGanonActionFunc)(struct BossGanon*, PlayState*); typedef void (*BossGanonActionFunc)(struct BossGanon*, struct PlayState*);
typedef enum GanondorfLimb { typedef enum GanondorfLimb {
/* 0 */ GANONDORF_LIMB_NONE, /* 0 */ GANONDORF_LIMB_NONE,

View file

@ -1,8 +1,26 @@
#include "z_boss_ganon2.h" #include "z_boss_ganon2.h"
#include "versions.h"
#include "overlays/actors/ovl_Boss_Ganon/z_boss_ganon.h" #include "overlays/actors/ovl_Boss_Ganon/z_boss_ganon.h"
#include "overlays/actors/ovl_Demo_Gj/z_demo_gj.h" #include "overlays/actors/ovl_Demo_Gj/z_demo_gj.h"
#include "overlays/actors/ovl_En_Zl3/z_en_zl3.h" #include "overlays/actors/ovl_En_Zl3/z_en_zl3.h"
#include "libc64/qrand.h"
#include "attributes.h"
#include "gfx.h"
#include "gfx_setupdl.h"
#include "rand.h"
#include "rumble.h"
#include "segmented_address.h"
#include "seqcmd.h"
#include "sequence.h"
#include "sfx.h"
#include "sys_math.h"
#include "sys_matrix.h"
#include "versions.h"
#include "z_lib.h"
#include "z64effect.h"
#include "z64play.h"
#include "z64player.h"
#include "assets/objects/object_ganon/object_ganon.h" #include "assets/objects/object_ganon/object_ganon.h"
#include "assets/objects/object_ganon2/object_ganon2.h" #include "assets/objects/object_ganon2/object_ganon2.h"
#include "assets/objects/object_ganon_anime3/object_ganon_anime3.h" #include "assets/objects/object_ganon_anime3/object_ganon_anime3.h"

View file

@ -2,11 +2,11 @@
#define Z_BOSS_GANON2_H #define Z_BOSS_GANON2_H
#include "ultra64.h" #include "ultra64.h"
#include "global.h" #include "z64actor.h"
struct BossGanon2; struct BossGanon2;
typedef void (*BossGanon2ActionFunc)(struct BossGanon2*, PlayState*); typedef void (*BossGanon2ActionFunc)(struct BossGanon2*, struct PlayState*);
typedef enum GanonLimb { typedef enum GanonLimb {
/* 0 */ GANON_LIMB_NONE, /* 0 */ GANON_LIMB_NONE,

View file

@ -1,6 +1,26 @@
#include "z_demo_effect.h" #include "z_demo_effect.h"
#include "libc64/math64.h"
#include "libc64/qrand.h"
#include "attributes.h"
#include "gfx.h"
#include "gfx_setupdl.h"
#include "rand.h"
#include "segmented_address.h"
#include "sequence.h"
#include "sfx.h"
#include "sys_math.h"
#include "sys_matrix.h"
#include "terminal.h" #include "terminal.h"
#include "versions.h" #include "versions.h"
#include "z_lib.h"
#include "z64audio.h"
#include "z64curve.h"
#include "z64effect.h"
#include "z64play.h"
#include "global.h"
#include "assets/objects/gameplay_keep/gameplay_keep.h" #include "assets/objects/gameplay_keep/gameplay_keep.h"
#include "assets/objects/object_efc_crystal_light/object_efc_crystal_light.h" #include "assets/objects/object_efc_crystal_light/object_efc_crystal_light.h"
#include "assets/objects/object_efc_fire_ball/object_efc_fire_ball.h" #include "assets/objects/object_efc_fire_ball/object_efc_fire_ball.h"

View file

@ -2,11 +2,12 @@
#define Z_DEMO_EFFECT_H #define Z_DEMO_EFFECT_H
#include "ultra64.h" #include "ultra64.h"
#include "global.h" #include "z64actor.h"
#include "z64curve.h"
struct DemoEffect; struct DemoEffect;
typedef void (*DemoEffectFunc)(struct DemoEffect*, PlayState*); typedef void (*DemoEffectFunc)(struct DemoEffect*, struct PlayState*);
typedef struct DemoEffectFireBall { typedef struct DemoEffectFireBall {
/* 0x00 */ u8 timer; /* 0x00 */ u8 timer;

View file

@ -5,8 +5,23 @@
*/ */
#include "z_demo_gj.h" #include "z_demo_gj.h"
#include "assets/objects/object_gj/object_gj.h"
#include "libc64/math64.h"
#include "gfx.h"
#include "gfx_setupdl.h"
#include "ichain.h"
#include "regs.h"
#include "sfx.h"
#include "sys_matrix.h"
#include "terminal.h" #include "terminal.h"
#include "z_lib.h"
#include "z64effect.h"
#include "z64play.h"
#include "z64player.h"
#include "global.h"
#include "assets/objects/object_gj/object_gj.h"
#define FLAGS (ACTOR_FLAG_UPDATE_CULLING_DISABLED | ACTOR_FLAG_DRAW_CULLING_DISABLED) #define FLAGS (ACTOR_FLAG_UPDATE_CULLING_DISABLED | ACTOR_FLAG_DRAW_CULLING_DISABLED)

View file

@ -2,7 +2,7 @@
#define Z_DEMO_GJ_H #define Z_DEMO_GJ_H
#include "ultra64.h" #include "ultra64.h"
#include "global.h" #include "z64actor.h"
#include "overlays/actors/ovl_Boss_Ganon2/z_boss_ganon2.h" #include "overlays/actors/ovl_Boss_Ganon2/z_boss_ganon2.h"

View file

@ -1,4 +1,18 @@
#include "z_door_warp1.h" #include "z_door_warp1.h"
#include "gfx.h"
#include "gfx_setupdl.h"
#include "ichain.h"
#include "one_point_cutscene.h"
#include "seqcmd.h"
#include "sequence.h"
#include "sfx.h"
#include "sys_matrix.h"
#include "z_lib.h"
#include "z64light.h"
#include "z64play.h"
#include "z64player.h"
#include "assets/objects/object_warp1/object_warp1.h" #include "assets/objects/object_warp1/object_warp1.h"
#define FLAGS 0 #define FLAGS 0

View file

@ -2,7 +2,8 @@
#define Z_DOOR_WARP1_H #define Z_DOOR_WARP1_H
#include "ultra64.h" #include "ultra64.h"
#include "global.h" #include "z64actor.h"
#include "z64light.h"
struct DoorWarp1; struct DoorWarp1;
@ -31,7 +32,7 @@ typedef enum DoorWarp1RutoState {
/* 5 */ WARP_BLUE_RUTO_STATE_WARPING // set by warp, after closing dialog /* 5 */ WARP_BLUE_RUTO_STATE_WARPING // set by warp, after closing dialog
} DoorWarp1RutoState; } DoorWarp1RutoState;
typedef void (*DoorWarp1ActionFunc)(struct DoorWarp1*, PlayState*); typedef void (*DoorWarp1ActionFunc)(struct DoorWarp1*, struct PlayState*);
typedef struct DoorWarp1 { typedef struct DoorWarp1 {
/* 0x0000 */ Actor actor; /* 0x0000 */ Actor actor;

View file

@ -5,8 +5,17 @@
*/ */
#include "z_en_dy_extra.h" #include "z_en_dy_extra.h"
#include "assets/objects/object_dy_obj/object_dy_obj.h"
#include "gfx.h"
#include "gfx_setupdl.h"
#include "segmented_address.h"
#include "sfx.h"
#include "sys_matrix.h"
#include "terminal.h" #include "terminal.h"
#include "z_lib.h"
#include "z64play.h"
#include "assets/objects/object_dy_obj/object_dy_obj.h"
#define FLAGS (ACTOR_FLAG_UPDATE_CULLING_DISABLED | ACTOR_FLAG_DRAW_CULLING_DISABLED) #define FLAGS (ACTOR_FLAG_UPDATE_CULLING_DISABLED | ACTOR_FLAG_DRAW_CULLING_DISABLED)

View file

@ -2,11 +2,11 @@
#define Z_EN_DY_EXTRA_H #define Z_EN_DY_EXTRA_H
#include "ultra64.h" #include "ultra64.h"
#include "global.h" #include "z64actor.h"
struct EnDyExtra; struct EnDyExtra;
typedef void (*EnDyExtraActionFunc)(struct EnDyExtra*, PlayState*); typedef void (*EnDyExtraActionFunc)(struct EnDyExtra*, struct PlayState*);
typedef struct EnDyExtra { typedef struct EnDyExtra {
/* 0x0000 */ Actor actor; /* 0x0000 */ Actor actor;

View file

@ -1,7 +1,18 @@
#include "z_en_encount2.h" #include "z_en_encount2.h"
#include "overlays/actors/ovl_En_Fire_Rock/z_en_fire_rock.h" #include "overlays/actors/ovl_En_Fire_Rock/z_en_fire_rock.h"
#include "libc64/qrand.h"
#include "attributes.h"
#include "gfx.h"
#include "quake.h" #include "quake.h"
#include "rand.h"
#include "sfx.h"
#include "sys_matrix.h"
#include "terminal.h" #include "terminal.h"
#include "z_lib.h"
#include "z64play.h"
#include "z64player.h"
#include "assets/objects/object_efc_star_field/object_efc_star_field.h" #include "assets/objects/object_efc_star_field/object_efc_star_field.h"
#define FLAGS (ACTOR_FLAG_UPDATE_CULLING_DISABLED | ACTOR_FLAG_DRAW_CULLING_DISABLED) #define FLAGS (ACTOR_FLAG_UPDATE_CULLING_DISABLED | ACTOR_FLAG_DRAW_CULLING_DISABLED)

View file

@ -2,11 +2,11 @@
#define Z_EN_ENCOUNT2_H #define Z_EN_ENCOUNT2_H
#include "ultra64.h" #include "ultra64.h"
#include "global.h" #include "z64actor.h"
struct EnEncount2; struct EnEncount2;
typedef void (*EnEncount2ActionFunc)(struct EnEncount2*, PlayState*); typedef void (*EnEncount2ActionFunc)(struct EnEncount2*, struct PlayState*);
#define EN_ENCOUNT2_EFFECT_COUNT 50 #define EN_ENCOUNT2_EFFECT_COUNT 50

View file

@ -1,6 +1,21 @@
#include "z_en_fire_rock.h" #include "z_en_fire_rock.h"
#include "overlays/actors/ovl_En_Encount2/z_en_encount2.h" #include "overlays/actors/ovl_En_Encount2/z_en_encount2.h"
#include "attributes.h"
#include "gfx.h"
#include "gfx_setupdl.h"
#include "rand.h"
#include "regs.h"
#include "sfx.h"
#include "sys_matrix.h"
#include "terminal.h" #include "terminal.h"
#include "z_lib.h"
#include "z64effect.h"
#include "z64play.h"
#include "z64player.h"
#include "global.h"
#include "assets/objects/object_efc_star_field/object_efc_star_field.h" #include "assets/objects/object_efc_star_field/object_efc_star_field.h"
#define FLAGS (ACTOR_FLAG_UPDATE_CULLING_DISABLED | ACTOR_FLAG_DRAW_CULLING_DISABLED) #define FLAGS (ACTOR_FLAG_UPDATE_CULLING_DISABLED | ACTOR_FLAG_DRAW_CULLING_DISABLED)

View file

@ -2,7 +2,7 @@
#define Z_EN_FIRE_ROCK_H #define Z_EN_FIRE_ROCK_H
#include "ultra64.h" #include "ultra64.h"
#include "global.h" #include "z64actor.h"
#include "overlays/actors/ovl_En_Encount2/z_en_encount2.h" #include "overlays/actors/ovl_En_Encount2/z_en_encount2.h"
@ -17,7 +17,7 @@ typedef enum EnFireRockType {
struct EnFireRock; struct EnFireRock;
typedef void (*EnFireRockActionFunc)(struct EnFireRock*, PlayState*); typedef void (*EnFireRockActionFunc)(struct EnFireRock*, struct PlayState*);
typedef struct EnFireRock { typedef struct EnFireRock {
/* 0x0000 */ Actor actor; /* 0x0000 */ Actor actor;

View file

@ -5,6 +5,15 @@
*/ */
#include "z_en_ganon_mant.h" #include "z_en_ganon_mant.h"
#include "gfx.h"
#include "rand.h"
#include "segmented_address.h"
#include "sys_math.h"
#include "sys_matrix.h"
#include "z_lib.h"
#include "z64play.h"
#include "overlays/actors/ovl_Boss_Ganon/z_boss_ganon.h" #include "overlays/actors/ovl_Boss_Ganon/z_boss_ganon.h"
#define FLAGS (ACTOR_FLAG_UPDATE_CULLING_DISABLED | ACTOR_FLAG_DRAW_CULLING_DISABLED) #define FLAGS (ACTOR_FLAG_UPDATE_CULLING_DISABLED | ACTOR_FLAG_DRAW_CULLING_DISABLED)

Some files were not shown because too many files have changed in this diff Show more