mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-05 05:40:19 +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 0x00000030
|
||||
|
||||
void DemoGt_Init(DemoGt* this, GlobalContext* globalCtx);
|
||||
void DemoGt_Destroy(DemoGt* this, GlobalContext* globalCtx);
|
||||
void DemoGt_Update(DemoGt* this, GlobalContext* globalCtx);
|
||||
void DemoGt_Draw(DemoGt* this, GlobalContext* globalCtx);
|
||||
#define THIS ((DemoGt*)thisx)
|
||||
|
||||
void DemoGt_Init(Actor* thisx, GlobalContext* globalCtx);
|
||||
void DemoGt_Destroy(Actor* thisx, GlobalContext* globalCtx);
|
||||
void DemoGt_Update(Actor* thisx, GlobalContext* globalCtx);
|
||||
void DemoGt_Draw(Actor* thisx, GlobalContext* globalCtx);
|
||||
|
||||
/*
|
||||
const ActorInit Demo_Gt_InitVars = {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue