mirror of
https://github.com/zeldaret/oot.git
synced 2025-08-08 15:30:14 +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,52 @@
|
|||
/*
|
||||
* File: z_en_test.c
|
||||
* Overlay: ovl_En_Test
|
||||
* Description: Stalfos
|
||||
*/
|
||||
|
||||
#include "z_en_test.h"
|
||||
|
||||
#define ROOM 0x00
|
||||
#define FLAGS 0x00000015
|
||||
|
||||
void EnTest_Init(EnTest* this, GlobalContext* globalCtx);
|
||||
void EnTest_Destroy(EnTest* this, GlobalContext* globalCtx);
|
||||
void EnTest_Update(EnTest* this, GlobalContext* globalCtx);
|
||||
void EnTest_Draw(EnTest* this, GlobalContext* globalCtx);
|
||||
void EnTest_SetupAction(EnTest* this, ActorFunc actionFunc);
|
||||
void func_8085F938(EnTest* this, GlobalContext* globalCtx);
|
||||
void func_8085FAB0(EnTest* this, GlobalContext* globalCtx);
|
||||
void func_8085FE48(EnTest* this, GlobalContext* globalCtx);
|
||||
void func_8085FF9C(EnTest* this, GlobalContext* globalCtx);
|
||||
void func_80860318(EnTest* this, GlobalContext* globalCtx);
|
||||
void func_808603CC(EnTest* this, GlobalContext* globalCtx);
|
||||
void func_80863360(EnTest* this, GlobalContext* globalCtx);
|
||||
void func_808600EC(EnTest* this, GlobalContext* globalCtx);
|
||||
void func_808604FC(EnTest* this, GlobalContext* globalCtx);
|
||||
void func_80860C24(EnTest* this, GlobalContext* globalCtx);
|
||||
void func_80860F84(EnTest* this, GlobalContext* globalCtx);
|
||||
void func_8086149C(EnTest* this, GlobalContext* globalCtx);
|
||||
void func_808615F4(EnTest* this, GlobalContext* globalCtx);
|
||||
void func_80861898(EnTest* this, GlobalContext* globalCtx);
|
||||
void func_808619EC(EnTest* this, GlobalContext* globalCtx);
|
||||
void func_80861C40(EnTest* this, GlobalContext* globalCtx);
|
||||
void func_80861DC8(EnTest* this, GlobalContext* globalCtx);
|
||||
void func_80861F80(EnTest* this, GlobalContext* globalCtx);
|
||||
void func_8086209C(EnTest* this, GlobalContext* globalCtx);
|
||||
void func_808621D4(EnTest* this, GlobalContext* globalCtx);
|
||||
void func_80862418(EnTest* this, GlobalContext* globalCtx);
|
||||
void func_80862650(EnTest* this, GlobalContext* globalCtx);
|
||||
void func_808628C8(EnTest* this, GlobalContext* globalCtx);
|
||||
void func_80862E6C(EnTest* this, GlobalContext* globalCtx);
|
||||
void func_80863044(EnTest* this, GlobalContext* globalCtx);
|
||||
void func_8086318C(EnTest* this, GlobalContext* globalCtx);
|
||||
void func_80863294(EnTest* this, GlobalContext* globalCtx);
|
||||
s32 func_80863AB8(GlobalContext* globalCtx, s32 limbIndex, Gfx** dList, Vec3f* pos, Vec3s* rot, EnTest* this);
|
||||
void func_80863CC4(GlobalContext* globalCtx, s32 limbIndex, Gfx** dList, Vec3s* rot, EnTest* this);
|
||||
|
||||
/*
|
||||
const ActorInit En_Test_InitVars = {
|
||||
ACTOR_EN_TEST,
|
||||
ACTORTYPE_ENEMY,
|
||||
ROOM,
|
||||
FLAGS,
|
||||
OBJECT_SK2,
|
||||
sizeof(EnTest),
|
||||
|
@ -22,7 +56,8 @@ const ActorInit En_Test_InitVars = {
|
|||
(ActorFunc)EnTest_Draw,
|
||||
};
|
||||
*/
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Test/func_8085F650.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Test/EnTest_SetupAction.s")
|
||||
|
||||
#pragma GLOBAL_ASM("asm/non_matchings/overlays/actors/ovl_En_Test/EnTest_Init.s")
|
||||
|
||||
|
|
|
@ -6,7 +6,14 @@
|
|||
|
||||
typedef struct {
|
||||
/* 0x0000 */ Actor actor;
|
||||
/* 0x014C */ char unk_14C[0x7DC];
|
||||
/* 0x014C */ char unk_14C[0x03C];
|
||||
/* 0x0188 */ SkelAnime skelAnime_188;
|
||||
/* 0x01CC */ Vec3s actorDrawTbl_1CC[61];
|
||||
/* 0x033A */ Vec3s transitionTbl_16E[61];
|
||||
/* 0x04A8 */ SkelAnime skelAnime_4A8;
|
||||
/* 0x04EC */ Vec3s actorDrawTbl_4EC[61];
|
||||
/* 0x065A */ Vec3s transitionTbl_65A[61];
|
||||
/* 0x07C8 */ char unk_7C8[0x160];
|
||||
} EnTest; // size = 0x0928
|
||||
|
||||
extern const ActorInit En_Test_InitVars;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue