1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-07 23:10:22 +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_Elf_Msg
z_elf_msg.c

View file

@ -0,0 +1,44 @@
#include "z_elf_msg.h"
#define ROOM 0x00
#define FLAGS 0x00000010
void ElfMsg_Init(ElfMsg* this, GlobalContext* globalCtx);
void ElfMsg_Destroy(ElfMsg* this, GlobalContext* globalCtx);
void ElfMsg_Update(ElfMsg* this, GlobalContext* globalCtx);
void ElfMsg_Draw(ElfMsg* this, GlobalContext* globalCtx);
/*
const ActorInit Elf_Msg_InitVars =
{
ACTOR_ELF_MSG,
ACTORTYPE_ITEMACTION,
ROOM,
FLAGS,
OBJECT_GAMEPLAY_KEEP,
sizeof(ElfMsg),
(ActorFunc)ElfMsg_Init,
(ActorFunc)ElfMsg_Destroy,
(ActorFunc)ElfMsg_Update,
(ActorFunc)ElfMsg_Draw,
};
*/
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Elf_Msg/func_809ACB20.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Elf_Msg/func_809ACB28.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Elf_Msg/ElfMsg_Init.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Elf_Msg/ElfMsg_Destroy.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Elf_Msg/func_809ACDCC.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Elf_Msg/func_809ACDF8.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Elf_Msg/func_809ACEC8.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Elf_Msg/func_809ACF18.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Elf_Msg/ElfMsg_Update.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Elf_Msg/ElfMsg_Draw.s")

View file

@ -0,0 +1,15 @@
#ifndef _Z_ELF_MSG_H_
#define _Z_ELF_MSG_H_
#include <ultra64.h>
#include <global.h>
typedef struct
{
/* 0x0000 */ Actor actor;
/* 0x014C */ char unk_14C[0x4];
} ElfMsg; // size = 0x0150
extern const ActorInit Elf_Msg_InitVars;
#endif