mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-22 06:52:03 +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,7 +5,14 @@
|
|||
*/
|
||||
|
||||
#include "z_demo_ec.h"
|
||||
|
||||
#include "gfx.h"
|
||||
#include "gfx_setupdl.h"
|
||||
#include "segmented_address.h"
|
||||
#include "terminal.h"
|
||||
#include "z_lib.h"
|
||||
#include "z64play.h"
|
||||
|
||||
#include "assets/objects/object_zo/object_zo.h"
|
||||
#include "assets/objects/object_ec/object_ec.h"
|
||||
#include "assets/objects/object_ma2/object_ma2.h"
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
#define Z_DEMO_EC_H
|
||||
|
||||
#include "ultra64.h"
|
||||
#include "global.h"
|
||||
#include "z64actor.h"
|
||||
|
||||
struct DemoEc;
|
||||
|
||||
typedef void (*DemoEcInitFunc)(struct DemoEc*, PlayState*);
|
||||
typedef void (*DemoEcUpdateFunc)(struct DemoEc*, PlayState*);
|
||||
typedef void (*DemoEcDrawFunc)(struct DemoEc*, PlayState*);
|
||||
typedef void (*DemoEcInitFunc)(struct DemoEc*, struct PlayState*);
|
||||
typedef void (*DemoEcUpdateFunc)(struct DemoEc*, struct PlayState*);
|
||||
typedef void (*DemoEcDrawFunc)(struct DemoEc*, struct PlayState*);
|
||||
|
||||
typedef struct DemoEc {
|
||||
/* 0x0000 */ Actor actor;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue