Shipwright/soh/src/overlays/actors/ovl_En_OE2/z_en_oe2.c
Garrett Cox 99260acaf1
Use PlayState instead of GlobalContext (#1927)
* Use PlayState instead of GlobalContext
- GlobalContext -> PlayState
- globalCtx -> play
- GlobalCtx -> PlayState
- globalContext -> playState

* Find and replace Gameplay_ with Play_

* Correct some misnamed argument cases
2022-11-06 09:24:34 +01:00

52 lines
1.1 KiB
C

/*
* File: z_en_oe2.c
* Overlay: ovl_En_Oe2
* Description: Blue Navi Target Spot
*/
#include "z_en_oe2.h"
#define FLAGS (ACTOR_FLAG_0 | ACTOR_FLAG_3)
void EnOE2_Init(Actor* thisx, PlayState* play);
void EnOE2_Destroy(Actor* thisx, PlayState* play);
void EnOE2_Update(Actor* thisx, PlayState* play);
void EnOE2_Draw(Actor* thisx, PlayState* play);
void EnOE2_DoNothing(EnOE2* this, PlayState* play);
const ActorInit En_OE2_InitVars = {
ACTOR_EN_OE2,
ACTORCAT_NPC,
FLAGS,
OBJECT_OE2,
sizeof(EnOE2),
(ActorFunc)EnOE2_Init,
(ActorFunc)EnOE2_Destroy,
(ActorFunc)EnOE2_Update,
(ActorFunc)EnOE2_Draw,
NULL,
};
void EnOE2_SetupAction(EnOE2* this, EnOE2ActionFunc actionFunc) {
this->actionFunc = actionFunc;
}
void EnOE2_Init(Actor* thisx, PlayState* play) {
EnOE2* this = (EnOE2*)thisx;
EnOE2_SetupAction(this, EnOE2_DoNothing);
}
void EnOE2_Destroy(Actor* thisx, PlayState* play) {
}
void EnOE2_DoNothing(EnOE2* this, PlayState* play) {
}
void EnOE2_Update(Actor* thisx, PlayState* play) {
}
void EnOE2_Draw(Actor* thisx, PlayState* play) {
}