1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-15 03:20:35 +00:00

Reduce overlay dependencies on global.h (1) (#2438)

* Reduce actor dependencies on global.h

* move dependency on z64play.h into the .c files

* add some missing dependencies
This commit is contained in:
mzxrules 2025-01-23 14:39:23 -05:00 committed by GitHub
parent b97a21c253
commit ab37332793
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
39 changed files with 197 additions and 48 deletions

View file

@ -5,6 +5,9 @@
*/
#include "z_eff_ss_dead_sound.h"
#include "sfx.h"
#include "z64effect.h"
#include "z64play.h"
#define rSfxId regs[10]
#define rRepeatMode regs[11] // sound is replayed every update. unused in the original game

View file

@ -2,7 +2,7 @@
#define Z_EFF_SS_DEAD_SOUND_H
#include "ultra64.h"
#include "global.h"
#include "z64math.h"
typedef struct EffectSsDeadSoundInitParams {
/* 0x00 */ Vec3f pos;

View file

@ -5,6 +5,16 @@
*/
#include "z_eff_ss_hahen.h"
#include "libc64/qrand.h"
#include "gfx.h"
#include "gfx_setupdl.h"
#include "segmented_address.h"
#include "sys_matrix.h"
#include "z64effect.h"
#include "z64play.h"
#include "z64player.h"
#include "assets/objects/gameplay_keep/gameplay_keep.h"
#define rPitch regs[0]

View file

@ -2,7 +2,7 @@
#define Z_EFF_SS_HAHEN_H
#include "ultra64.h"
#include "global.h"
#include "z64math.h"
typedef struct EffectSsHahenInitParams {
/* 0x00 */ Vec3f pos;