mirror of
https://github.com/zeldaret/oot.git
synced 2025-06-08 17:41:56 +00:00
Move macros to header
This commit is contained in:
parent
5546b08fd3
commit
a52a5eb5cc
2 changed files with 3 additions and 3 deletions
|
@ -32,9 +32,6 @@
|
|||
|
||||
#define FLAGS (ACTOR_FLAG_ATTENTION_ENABLED | ACTOR_FLAG_UPDATE_CULLING_DISABLED | ACTOR_FLAG_CAN_PRESS_SWITCHES)
|
||||
|
||||
#define ENRU1_SWITCH_FLAG(thisx) PARAMS_GET_U((thisx)->params, 8, 8)
|
||||
#define ENRU1_TYPE(thisx) PARAMS_GET_U((thisx)->params, 0, 8)
|
||||
|
||||
void EnRu1_Init(Actor* thisx, PlayState* play);
|
||||
void EnRu1_Destroy(Actor* thisx, PlayState* play);
|
||||
void EnRu1_Update(Actor* thisx, PlayState* play);
|
||||
|
|
|
@ -7,6 +7,9 @@
|
|||
#include "overlays/actors/ovl_Bg_Bdan_Objects/z_bg_bdan_objects.h"
|
||||
#include "overlays/actors/ovl_Door_Warp1/z_door_warp1.h"
|
||||
|
||||
#define ENRU1_SWITCH_FLAG(thisx) PARAMS_GET_U((thisx)->params, 8, 8)
|
||||
#define ENRU1_TYPE(thisx) PARAMS_GET_U((thisx)->params, 0, 8)
|
||||
|
||||
struct EnRu1;
|
||||
|
||||
typedef void (*EnRu1ActionFunc)(struct EnRu1*, struct PlayState*);
|
||||
|
|
Loading…
Add table
Reference in a new issue