1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-23 07:21:19 +00:00

Reduce overlay dependencies on global.h (5) (#2466)

* remove global.h dependency from all actors

* fix compiler error

* fix another build issue

* fix bss
This commit is contained in:
mzxrules 2025-02-12 15:50:46 -05:00 committed by GitHub
parent 1d2c912fbb
commit 494aecc9fc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
437 changed files with 2743 additions and 506 deletions

View file

@ -1,5 +1,17 @@
#include "z_en_sa.h"
#include "overlays/actors/ovl_En_Elf/z_en_elf.h"
#include "attributes.h"
#include "gfx.h"
#include "segmented_address.h"
#include "sfx.h"
#include "sys_matrix.h"
#include "z_lib.h"
#include "z64play.h"
#include "z64player.h"
#include "global.h"
#include "assets/objects/object_sa/object_sa.h"
#include "assets/scenes/overworld/spot04/spot04_scene.h"
#include "assets/scenes/overworld/spot05/spot05_scene.h"

View file

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