mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-21 22:41:14 +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:
parent
1d2c912fbb
commit
494aecc9fc
437 changed files with 2743 additions and 506 deletions
|
@ -5,8 +5,18 @@
|
|||
*/
|
||||
|
||||
#include "z_demo_go.h"
|
||||
#include "assets/objects/object_oF1d_map/object_oF1d_map.h"
|
||||
|
||||
#include "gfx.h"
|
||||
#include "gfx_setupdl.h"
|
||||
#include "regs.h"
|
||||
#include "segmented_address.h"
|
||||
#include "sfx.h"
|
||||
#include "terminal.h"
|
||||
#include "z_lib.h"
|
||||
#include "z64play.h"
|
||||
#include "z64skin_matrix.h"
|
||||
|
||||
#include "assets/objects/object_oF1d_map/object_oF1d_map.h"
|
||||
|
||||
#define FLAGS ACTOR_FLAG_UPDATE_CULLING_DISABLED
|
||||
|
||||
|
|
|
@ -2,12 +2,12 @@
|
|||
#define Z_DEMO_GO_H
|
||||
|
||||
#include "ultra64.h"
|
||||
#include "global.h"
|
||||
#include "z64actor.h"
|
||||
|
||||
struct DemoGo;
|
||||
|
||||
typedef void (*DemoGoActionFunc)(struct DemoGo*, PlayState*);
|
||||
typedef void (*DemoGoDrawFunc)(struct DemoGo*, PlayState*);
|
||||
typedef void (*DemoGoActionFunc)(struct DemoGo*, struct PlayState*);
|
||||
typedef void (*DemoGoDrawFunc)(struct DemoGo*, struct PlayState*);
|
||||
|
||||
typedef struct DemoGo {
|
||||
/* 0x0000 */ Actor actor;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue