2021-12-27 19:23:03 +00:00
|
|
|
#pragma once
|
2022-02-12 19:50:06 +00:00
|
|
|
struct ObjectContext;
|
|
|
|
struct GlobalContext;
|
|
|
|
struct GameState;
|
|
|
|
struct TransitionActorContext;
|
|
|
|
struct RomFile;
|
2021-12-27 19:23:03 +00:00
|
|
|
|
|
|
|
extern s16 gLinkObjectIds[2];
|
|
|
|
extern RomFile gObjectTable[OBJECT_ID_MAX];
|
|
|
|
extern u32 gObjectTableSize;
|
|
|
|
|
|
|
|
s32 Object_GetIndex(ObjectContext* objectCtx, s32 objectId);
|
|
|
|
void Object_InitBank(GlobalContext* globalCtx, ObjectContext* objectCtx);
|
|
|
|
s32 Object_IsLoaded(ObjectContext* objectCtx, s32 bankIndex);
|
|
|
|
void Object_UpdateBank(ObjectContext* objectCtx);
|
|
|
|
s32 Scene_ExecuteCommands(GlobalContext* globalCtx, SceneCmd* sceneCmd);
|
|
|
|
void TransitionActor_InitContext(GameState* state, TransitionActorContext* transiActorCtx);
|
|
|
|
void func_800981B8(ObjectContext* objectCtx);
|