1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-21 22:41:14 +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,6 +5,19 @@
*/
#include "z_mir_ray.h"
#include "libu64/debug.h"
#include "gfx.h"
#include "gfx_setupdl.h"
#include "ichain.h"
#include "sfx.h"
#include "sys_math3d.h"
#include "sys_matrix.h"
#include "z_lib.h"
#include "z64light.h"
#include "z64play.h"
#include "z64player.h"
#include "assets/objects/object_mir_ray/object_mir_ray.h"
#define FLAGS (ACTOR_FLAG_UPDATE_CULLING_DISABLED | ACTOR_FLAG_DRAW_CULLING_DISABLED)

View file

@ -2,7 +2,8 @@
#define Z_MIR_RAY_H
#include "ultra64.h"
#include "global.h"
#include "z64actor.h"
#include "z64light.h"
struct MirRay;
@ -22,7 +23,7 @@ typedef struct MirRayDataEntry {
typedef struct MirRayShieldReflection {
/* 0x00 */ Vec3f pos;
/* 0x0C */ MtxF mtx;
/* 0x4C */ CollisionPoly* reflectionPoly;
/* 0x4C */ struct CollisionPoly* reflectionPoly;
/* 0x50 */ u8 opacity;
} MirRayShieldReflection; // size = 0x54