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
437 changed files with 2743 additions and 506 deletions
-1
View File
@@ -32,7 +32,6 @@
#include "z64math.h"
#include "z64map_mark.h"
#include "z64message.h"
#include "z64olib.h"
#include "one_point_cutscene.h"
#include "z64pause.h"
#include "z64play.h"
+2
View File
@@ -732,6 +732,8 @@ typedef struct NpcInteractInfo {
#define TRANSITION_ACTOR_PARAMS_INDEX_SHIFT 10
#define GET_TRANSITION_ACTOR_INDEX(actor) PARAMS_GET_NOMASK((u16)(actor)->params, 10)
extern Gfx D_80116280[];
void ActorShape_Init(ActorShape* shape, f32 yOffset, ActorShadowFunc shadowDraw, f32 shadowScale);
void ActorShadow_DrawCircle(Actor* actor, struct Lights* lights, struct PlayState* play);
void ActorShadow_DrawWhiteCircle(Actor* actor, struct Lights* lights, struct PlayState* play);