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:
parent
be78236d36
commit
087f561f77
14086 changed files with 1200489 additions and 1 deletions
2
src/overlays/actors/ovl_En_Light/overlay.cfg
Normal file
2
src/overlays/actors/ovl_En_Light/overlay.cfg
Normal file
|
@ -0,0 +1,2 @@
|
|||
ovl_En_Light
|
||||
z_en_light.c
|
36
src/overlays/actors/ovl_En_Light/z_en_light.c
Normal file
36
src/overlays/actors/ovl_En_Light/z_en_light.c
Normal 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")
|
15
src/overlays/actors/ovl_En_Light/z_en_light.h
Normal file
15
src/overlays/actors/ovl_En_Light/z_en_light.h
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue