1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-08 15:30:14 +00:00

First proper commit.

This commit is contained in:
Jack Walker 2020-03-17 00:31:30 -04:00
parent be78236d36
commit 087f561f77
14086 changed files with 1200489 additions and 1 deletions

View file

@ -0,0 +1,2 @@
ovl_Oceff_Spot
z_oceff_spot.c

View file

@ -0,0 +1,40 @@
#include "z_oceff_spot.h"
#define ROOM 0x00
#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);
/*
const ActorInit Oceff_Spot_InitVars =
{
ACTOR_OCEFF_SPOT,
ACTORTYPE_ITEMACTION,
ROOM,
FLAGS,
OBJECT_GAMEPLAY_KEEP,
sizeof(OceffSpot),
(ActorFunc)OceffSpot_Init,
(ActorFunc)OceffSpot_Destroy,
(ActorFunc)OceffSpot_Update,
(ActorFunc)OceffSpot_Draw,
};
*/
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Oceff_Spot/func_80BA6070.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Oceff_Spot/OceffSpot_Init.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Oceff_Spot/OceffSpot_Destroy.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Oceff_Spot/func_80BA6260.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Oceff_Spot/func_80BA6370.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Oceff_Spot/func_80BA63AC.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Oceff_Spot/OceffSpot_Update.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Oceff_Spot/OceffSpot_Draw.s")

View file

@ -0,0 +1,15 @@
#ifndef _Z_OCEFF_SPOT_H_
#define _Z_OCEFF_SPOT_H_
#include <ultra64.h>
#include <global.h>
typedef struct
{
/* 0x0000 */ Actor actor;
/* 0x014C */ char unk_14C[0x34];
} OceffSpot; // size = 0x0180
extern const ActorInit Oceff_Spot_InitVars;
#endif