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:
parent
be78236d36
commit
087f561f77
14086 changed files with 1200489 additions and 1 deletions
2
src/overlays/actors/ovl_Elf_Msg2/overlay.cfg
Normal file
2
src/overlays/actors/ovl_Elf_Msg2/overlay.cfg
Normal file
|
@ -0,0 +1,2 @@
|
|||
ovl_Elf_Msg2
|
||||
z_elf_msg2.c
|
44
src/overlays/actors/ovl_Elf_Msg2/z_elf_msg2.c
Normal file
44
src/overlays/actors/ovl_Elf_Msg2/z_elf_msg2.c
Normal file
|
@ -0,0 +1,44 @@
|
|||
#include "z_elf_msg2.h"
|
||||
|
||||
#define ROOM 0x00
|
||||
#define FLAGS 0x00000010
|
||||
|
||||
void ElfMsg2_Init(ElfMsg2* this, GlobalContext* globalCtx);
|
||||
void ElfMsg2_Destroy(ElfMsg2* this, GlobalContext* globalCtx);
|
||||
void ElfMsg2_Update(ElfMsg2* this, GlobalContext* globalCtx);
|
||||
void ElfMsg2_Draw(ElfMsg2* this, GlobalContext* globalCtx);
|
||||
|
||||
/*
|
||||
const ActorInit Elf_Msg2_InitVars =
|
||||
{
|
||||
ACTOR_ELF_MSG2,
|
||||
ACTORTYPE_BG,
|
||||
ROOM,
|
||||
FLAGS,
|
||||
OBJECT_GAMEPLAY_KEEP,
|
||||
sizeof(ElfMsg2),
|
||||
(ActorFunc)ElfMsg2_Init,
|
||||
(ActorFunc)ElfMsg2_Destroy,
|
||||
(ActorFunc)ElfMsg2_Update,
|
||||
(ActorFunc)ElfMsg2_Draw,
|
||||
};
|
||||
*/
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Elf_Msg2/func_809AD700.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Elf_Msg2/func_809AD708.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Elf_Msg2/ElfMsg2_Init.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Elf_Msg2/ElfMsg2_Destroy.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Elf_Msg2/func_809AD968.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Elf_Msg2/func_809AD978.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Elf_Msg2/func_809AD9F4.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Elf_Msg2/func_809ADA28.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Elf_Msg2/ElfMsg2_Update.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Elf_Msg2/ElfMsg2_Draw.s")
|
15
src/overlays/actors/ovl_Elf_Msg2/z_elf_msg2.h
Normal file
15
src/overlays/actors/ovl_Elf_Msg2/z_elf_msg2.h
Normal file
|
@ -0,0 +1,15 @@
|
|||
#ifndef _Z_ELF_MSG2_H_
|
||||
#define _Z_ELF_MSG2_H_
|
||||
|
||||
#include <ultra64.h>
|
||||
#include <global.h>
|
||||
|
||||
typedef struct
|
||||
{
|
||||
/* 0x0000 */ Actor actor;
|
||||
/* 0x014C */ char unk_14C[0x4];
|
||||
} ElfMsg2; // size = 0x0150
|
||||
|
||||
extern const ActorInit Elf_Msg2_InitVars;
|
||||
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue