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_Magic_Wind
z_magic_wind.c

View file

@ -0,0 +1,48 @@
#include "z_magic_wind.h"
#define ROOM 0x00
#define FLAGS 0x02000010
void MagicWind_Init(MagicWind* this, GlobalContext* globalCtx);
void MagicWind_Destroy(MagicWind* this, GlobalContext* globalCtx);
void MagicWind_Update(MagicWind* this, GlobalContext* globalCtx);
void MagicWind_Draw(MagicWind* this, GlobalContext* globalCtx);
/*
const ActorInit Magic_Wind_InitVars =
{
ACTOR_MAGIC_WIND,
ACTORTYPE_ITEMACTION,
ROOM,
FLAGS,
OBJECT_GAMEPLAY_KEEP,
sizeof(MagicWind),
(ActorFunc)MagicWind_Init,
(ActorFunc)MagicWind_Destroy,
(ActorFunc)MagicWind_Update,
(ActorFunc)MagicWind_Draw,
};
*/
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Magic_Wind/func_80B8B100.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Magic_Wind/MagicWind_Init.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Magic_Wind/MagicWind_Destroy.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Magic_Wind/func_80B8B2A8.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Magic_Wind/func_80B8B3C8.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Magic_Wind/func_80B8B468.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Magic_Wind/func_80B8B4B4.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Magic_Wind/func_80B8B500.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Magic_Wind/func_80B8B564.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Magic_Wind/MagicWind_Update.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Magic_Wind/func_80B8B5F4.s")
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Magic_Wind/MagicWind_Draw.s")

View file

@ -0,0 +1,15 @@
#ifndef _Z_MAGIC_WIND_H_
#define _Z_MAGIC_WIND_H_
#include <ultra64.h>
#include <global.h>
typedef struct
{
/* 0x0000 */ Actor actor;
/* 0x014C */ char unk_14C[0x28];
} MagicWind; // size = 0x0174
extern const ActorInit Magic_Wind_InitVars;
#endif