1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-07 14:50:15 +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_En_Light
z_en_light.c

View file

@ -0,0 +1,36 @@
#include "z_en_light.h"
#define ROOM 0x00
#define FLAGS 0x00000000
void EnLight_Init(EnLight* this, GlobalContext* globalCtx);
void EnLight_Destroy(EnLight* this, GlobalContext* globalCtx);
void EnLight_Update(EnLight* this, GlobalContext* globalCtx);
void EnLight_Draw(EnLight* this, GlobalContext* globalCtx);
/*
const ActorInit En_Light_InitVars =
{
ACTOR_EN_LIGHT,
ACTORTYPE_ITEMACTION,
ROOM,
FLAGS,
OBJECT_GAMEPLAY_KEEP,
sizeof(EnLight),
(ActorFunc)EnLight_Init,
(ActorFunc)EnLight_Destroy,
(ActorFunc)EnLight_Update,
(ActorFunc)EnLight_Draw,
};
*/
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Light/EnLight_Init.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Light/EnLight_Destroy.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Light/func_80A9DD50.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Light/EnLight_Update.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Light/func_80A9E074.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Light/EnLight_Draw.s")

View file

@ -0,0 +1,15 @@
#ifndef _Z_EN_LIGHT_H_
#define _Z_EN_LIGHT_H_
#include <ultra64.h>
#include <global.h>
typedef struct
{
/* 0x0000 */ Actor actor;
/* 0x014C */ char unk_14C[0x18];
} EnLight; // size = 0x0164
extern const ActorInit En_Light_InitVars;
#endif