mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-06 06:10:21 +00:00
Big actor cleanup (fixed) (#69)
* Started doing cleanup * did more work * did more migration * migrated more rodata and worked on some structs * did more work * Removal of ROOM field from initvars, some rodata migration, some string decompilation * General update * Decompiled vt strings * Tool work * Tool improvements * 270 overlay rodata files remaining * better float handling * floats * Many more floats * migrated boss_mo * assorted fixes * Migrated 10 * tool improvements * migrated 10 * 10 more * 1 more * did a few more * fixes * 10 more * more floats * Did some more, updated migrate-rodata.py to 'modify' the C file after processing in order to make to compiler process it as if it was changed. * removed changes made to script by accident * migrated largest rodata - ovl_fishing * Did some more * 114 remaining * 99 left ! * almost done migrating rodata * did some more, done for tonight * almost done, tried add support to the script for z_player * All possible rodata migrated in actor overlays * update * removed static from all overlays, ran format.sh * Removed unknown actor structs * converted a few floats * Added new lines to header files that were missing them. Removed unused asm files * Removed unused asm files * Formatting newlines Further formatting spacing .float spacing More space formatting More spacing formatting Removing .balign 4 after floats Co-authored-by: Ethan Roseman <ethteck@gmail.com>
This commit is contained in:
parent
5aef81071e
commit
045a92d7c3
10327 changed files with 33390 additions and 45661 deletions
|
@ -1,18 +1,28 @@
|
|||
/*
|
||||
* File: z_bg_dodoago.c
|
||||
* Overlay: ovl_Bg_Dodoago
|
||||
* Description: Dodongo Head Statue in Dodongo's Cavern
|
||||
*/
|
||||
|
||||
#include "z_bg_dodoago.h"
|
||||
|
||||
#define ROOM 0x00
|
||||
#define FLAGS 0x00000000
|
||||
|
||||
void BgDodoago_Init(BgDodoago* this, GlobalContext* globalCtx);
|
||||
void BgDodoago_Destroy(BgDodoago* this, GlobalContext* globalCtx);
|
||||
void BgDodoago_Update(BgDodoago* this, GlobalContext* globalCtx);
|
||||
void BgDodoago_Draw(BgDodoago* this, GlobalContext* globalCtx);
|
||||
void BgDodoago_SetupAction(BgDodoago* this, ActorFunc actionFunc);
|
||||
// void func_80871A08(Vec3f* vec, GlobalContext* globalCtx); // Not 100% sure
|
||||
void func_80871CF4(BgDodoago* this, GlobalContext* globalCtx);
|
||||
void func_80871FB8(BgDodoago* this, GlobalContext* globalCtx);
|
||||
void func_8087227C(BgDodoago* this, GlobalContext* globalCtx);
|
||||
void func_80872288(BgDodoago* this, GlobalContext* globalCtx);
|
||||
|
||||
/*
|
||||
const ActorInit Bg_Dodoago_InitVars = {
|
||||
ACTOR_BG_DODOAGO,
|
||||
ACTORTYPE_BG,
|
||||
ROOM,
|
||||
FLAGS,
|
||||
OBJECT_DDAN_OBJECTS,
|
||||
sizeof(BgDodoago),
|
||||
|
@ -22,7 +32,7 @@ const ActorInit Bg_Dodoago_InitVars = {
|
|||
(ActorFunc)BgDodoago_Draw,
|
||||
};
|
||||
*/
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Bg_Dodoago/func_80871A00.s")
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Bg_Dodoago/BgDodoago_SetupAction.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_Bg_Dodoago/func_80871A08.s")
|
||||
|
||||
|
|
|
@ -5,8 +5,9 @@
|
|||
#include <global.h>
|
||||
|
||||
typedef struct {
|
||||
/* 0x0000 */ Actor actor;
|
||||
/* 0x014C */ char unk_14C[0x104];
|
||||
/* 0x0000 */ DynaPolyActor dyna;
|
||||
/* 0x0164 */ char unk_164[0xE8];
|
||||
/* 0x024C */ ActorFunc actionFunc;
|
||||
} BgDodoago; // size = 0x0250
|
||||
|
||||
extern const ActorInit Bg_Dodoago_InitVars;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue