mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-08 15:30:14 +00:00
More actor cleanup Part 2 (#116)
* Change all main actor functions to take a 'Actor* thisx' argument * Change all actor callbacks to also take a 'Actor* thisx' argument
This commit is contained in:
parent
8efddb0fe0
commit
f114df8929
429 changed files with 3689 additions and 2523 deletions
|
@ -2,10 +2,12 @@
|
|||
|
||||
#define FLAGS 0x02000010
|
||||
|
||||
void OceffSpot_Init(OceffSpot* this, GlobalContext* globalCtx);
|
||||
void OceffSpot_Destroy(OceffSpot* this, GlobalContext* globalCtx);
|
||||
void OceffSpot_Update(OceffSpot* this, GlobalContext* globalCtx);
|
||||
void OceffSpot_Draw(OceffSpot* this, GlobalContext* globalCtx);
|
||||
#define THIS ((OceffSpot*)thisx)
|
||||
|
||||
void OceffSpot_Init(Actor* thisx, GlobalContext* globalCtx);
|
||||
void OceffSpot_Destroy(Actor* thisx, GlobalContext* globalCtx);
|
||||
void OceffSpot_Update(Actor* thisx, GlobalContext* globalCtx);
|
||||
void OceffSpot_Draw(Actor* thisx, GlobalContext* globalCtx);
|
||||
|
||||
/*
|
||||
const ActorInit Oceff_Spot_InitVars = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue