1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-22 06:52:03 +00:00

Reduce overlay dependencies on global.h (4) (#2456)

* remove more global.h references

* .bss
This commit is contained in:
mzxrules 2025-02-08 19:30:24 -05:00 committed by GitHub
parent 03a2612246
commit 130ac11458
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
163 changed files with 920 additions and 157 deletions

View file

@ -5,7 +5,28 @@
*/
#include "z_en_elf.h"
#include "overlays/actors/ovl_Elf_Msg/z_elf_msg.h"
#include "libc64/qrand.h"
#include "libu64/debug.h"
#include "attributes.h"
#include "gfx.h"
#include "gfx_setupdl.h"
#include "ichain.h"
#include "rand.h"
#include "regs.h"
#include "sfx.h"
#include "sys_math.h"
#include "sys_matrix.h"
#include "z_lib.h"
#include "z64audio.h"
#include "z64effect.h"
#include "z64light.h"
#include "z64play.h"
#include "z64player.h"
#include "global.h"
#include "assets/objects/gameplay_keep/gameplay_keep.h"
#define FLAGS (ACTOR_FLAG_UPDATE_CULLING_DISABLED | ACTOR_FLAG_DRAW_CULLING_DISABLED | ACTOR_FLAG_UPDATE_DURING_OCARINA)

View file

@ -4,7 +4,6 @@
#include "ultra64.h"
#include "z64actor.h"
#include "z64light.h"
#include "overlays/actors/ovl_Elf_Msg/z_elf_msg.h"
struct EnElf;
@ -23,7 +22,7 @@ typedef struct EnElf {
/* 0x0278 */ LightInfo lightInfoNoGlow;
/* 0x0288 */ LightNode* lightNodeNoGlow;
/* 0x028C */ Vec3f unk_28C;
/* 0x0298 */ ElfMsg* elfMsg;
/* 0x0298 */ struct ElfMsg* elfMsg;
/* 0x029C */ f32 unk_29C;
/* 0x02A0 */ f32 unk_2A0;
/* 0x02A4 */ f32 unk_2A4;