1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-08-06 14:20:11 +00:00

Decompile DemoEc 1 non matching (#479)

* Fixed upstream

* Migrate data and Decomp Init

* Decomp a few more functions

* Small change before starting

* Back to this file

* Match action func chains, func_8096DE94, func_8096DF9C, func_8096E0A4

* Match all except 1 function in first back of actionFuncs

* matched a bunch in bank D_8097053C

* Match the first few draw functions

* match a few more draws and start one

* All matched but one.  All equivalent

* Name setup funcs

* finish naming functions

* Fix Gfx stuff

* Remove 'expectedc'

* General clean up

* fix

* progress

* cleanup

* remove reloc

* review 2

* fix awful function pointer thing

Co-authored-by: fig <fig02srl@gmail.com>
This commit is contained in:
louist103 2020-12-05 21:02:55 -05:00 committed by GitHub
parent 2ca9c78838
commit 736ebc7cca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
119 changed files with 1400 additions and 3697 deletions

File diff suppressed because it is too large Load diff

View file

@ -6,9 +6,20 @@
struct DemoEc;
typedef void (*DemoEcInitFunc)(struct DemoEc*, GlobalContext*);
typedef void (*DemoEcUpdateFunc)(struct DemoEc*, GlobalContext*);
typedef void (*DemoEcDrawFunc)(struct DemoEc*, GlobalContext*);
typedef struct DemoEc {
/* 0x0000 */ Actor actor;
/* 0x014C */ char unk_14C[0x5C];
/* 0x014C */ SkelAnime skelAnime;
/* 0x0190 */ s16 eyeTexIndex;
/* 0x0192 */ s16 blinkTimer;
/* 0x0194 */ s32 updateMode;
/* 0x0198 */ s32 drawConfig;
/* 0x019C */ s32 npcAction;
/* 0x01A0 */ s32 drawObjBankIndex;
/* 0x01A4 */ s32 animObjBankIndex;
} DemoEc; // size = 0x01A8
extern const ActorInit Demo_Ec_InitVars;