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:
parent
b97a21c253
commit
ab37332793
39 changed files with 197 additions and 48 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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]
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue