1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2024-11-25 09:45:02 +00:00
oot/include
snablu 4e1fc875c3
Decompiled z_en_md.c (#246)
* Decompile z_bg_haka_trap.c

* Update spec

delete old .reloc.s file

Co-authored-by: Random <28494085+Random06457@users.noreply.github.com>

* Deleted reloc.s and made style changes to function pointers and local vars

* Renamed timer field, added more useful temp names

* Implemented Roman's suggestions, including moving enum to header file, moving some static variables inside functions, removing unnecessary casts, removing unnecessary temps, and fixing a few style issues

* Commented dual purpose of unk_16A and formatted file again

* Decompiled z_en_md.c

decompiled EnMd_Init

Decompiled EnMd_Draw

Decompiled EnMd_Destroy and EnMd_Update

Decompiled func_80AAC104

Decompiled func_80AAA92C

Decompiled func_80AAA93C

Decompiled func_80AAA274

Decompiled func_80AAA308

Decompiled func_80AAA39C

Decompiled func_80AAA474

Decompiled func_80AAA508

Decompiled func_80AAA5A4

Decompiled func_80AAA638

Decompiled func_80AAA6D4

Decompiled func_80AAA768

Decompiled func_80AAA7FC

Decompiled func_80AAA890

Decompiled func_80AAA93C

Decompiled func_80AAA250

Decompiled func_80AAB874

Decompile func_80AAAA24

Decompiled func_80AABD0C

Decompiled func_80AAB8F8

Decompiled func_80AAAE94

Decompiled func_80AAACF8

Decompiled func_80AAADE0

Decompiled func_80AAAE14

Decompiled func_80AAB03C

Decompiled func_80AAB0E0

Decompiled func_80AAB370

Decompiled func_80AAB4DC

Decompiled func_80AAB5A4

Decompiled func_80AABC10

Decompiled func_80AAAC78

Decompiled func_80AABEF0

Decompiled func_80AAB158

Decompiled func_80AAAF04

Decompiled func_80AAB948

Migrated data into C file

Commented out data file (migrated data)

Removed data file from spec

about to try changing alpha type

cleaned up functions except for last two

fixed player and player2 issue

Decompiled z_en_md.c

* updated actor field names to match upstream changes

* deleted old asm nonmatchings (whoops)

* Update src/overlays/actors/ovl_En_Md/z_en_md.h

Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com>

* Update src/overlays/actors/ovl_En_Md/z_en_md.c

Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com>

* Update src/overlays/actors/ovl_En_Md/z_en_md.c

Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com>

* Update src/overlays/actors/ovl_En_Md/z_en_md.c

Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com>

* Update src/overlays/actors/ovl_En_Md/z_en_md.c

Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com>

* Update src/overlays/actors/ovl_En_Md/z_en_md.c

Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com>

* removed unnecessary forward declarations

* got rid of unnecessary temps in path functions, added names based on strong copy paste similarity with en_kz, minor formatting changes

* Update src/overlays/actors/ovl_En_Md/z_en_md.c

Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com>

* Update src/overlays/actors/ovl_En_Md/z_en_md.c

Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com>

* pass EnMd* to appropriate functions instead of Actor*

* Update src/overlays/actors/ovl_En_Md/z_en_md.c

Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com>

* Update src/overlays/actors/ovl_En_Md/z_en_md.c

Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com>

* finish renaming limb draw funcs

* inlined vector data and moved static data

* Update src/overlays/actors/ovl_En_Md/z_en_md.c

Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com>

* ran formatter and completed name change in PostLimbDraw

* removed address-of array for sAnimations

Co-authored-by: Random <28494085+Random06457@users.noreply.github.com>
Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com>
2020-07-14 15:59:45 -04:00
..
PR Matched some controller files (#178) 2020-06-17 07:16:30 -04:00
ultra64 Matched most remaining libultra files (#221) 2020-07-06 20:15:01 -04:00
alloca.h Various fixes/matches 2020-03-18 01:09:31 +01:00
bgm.h First proper commit. 2020-03-17 00:31:30 -04:00
color.h Arms_Hook OK (#210) 2020-06-17 15:44:22 -04:00
command_macros_base.h Create Macros for Cutscene Data (#63) 2020-05-20 07:37:28 -04:00
fp.h code_800FCE80 OK 2020-03-21 03:43:48 +01:00
functions.h Decompiled z_en_md.c (#246) 2020-07-14 15:59:45 -04:00
global.h First proper commit. 2020-03-17 00:31:30 -04:00
ichain.h Partially format header files 2020-03-22 22:50:15 +01:00
initvars.h Decompile most effect files in "code" (#144) 2020-05-18 14:24:00 -04:00
macro.inc First proper commit. 2020-03-17 00:31:30 -04:00
macros.h Matched most remaining libultra files (#221) 2020-07-06 20:15:01 -04:00
math.h Matched most remaining libultra files (#221) 2020-07-06 20:15:01 -04:00
regs.h Decomp game.c (#129) 2020-05-14 19:11:33 -04:00
segment_symbols.h Fix remaining rom/ram pointers (#190) 2020-06-05 17:09:43 -04:00
sfx.h Various SFX fixes (#237) 2020-07-04 23:30:21 -04:00
stdarg.h First proper commit. 2020-03-17 00:31:30 -04:00
stdbool.h Partially format header files 2020-03-22 22:50:15 +01:00
stddef.h Partially format header files 2020-03-22 22:50:15 +01:00
stdlib.h Partially format header files 2020-03-22 22:50:15 +01:00
string.h Partially format header files 2020-03-22 22:50:15 +01:00
ultra64.h Matched some controller files (#178) 2020-06-17 07:16:30 -04:00
unk.h Decompile z_play.c and Match/Document some of z_view.c (#74) 2020-04-16 17:36:12 -04:00
variables.h Decompile shrink_window.c (#232) 2020-07-08 21:54:39 -04:00
vt.h Partially format header files 2020-03-22 22:50:15 +01:00
z64.h Decompiled ovl_Shot_Sun (#236) 2020-07-12 19:03:38 -04:00
z64actor.h Decompiled ovl_Shot_Sun (#236) 2020-07-12 19:03:38 -04:00
z64animation.h Decompiles fcurve_skelanime, code_8006C510, and actor MagicWind (#135) 2020-05-19 16:27:25 -04:00
z64audio.h Improve and fix some non matchings (#148) 2020-05-19 15:55:49 -04:00
z64collision_check.h Fix offset and size comments in collision_check structs (#115) 2020-05-04 07:04:32 -04:00
z64cutscene.h Create Macros for Cutscene Data (#63) 2020-05-20 07:37:28 -04:00
z64cutscene_commands.h Disassemble more cutscenes (#241) 2020-07-12 11:38:38 -04:00
z64dma.h use clang, modify z64animation.h and z64dma.h to use open braces on newline 2020-03-24 12:16:13 -05:00
z64effect.h En_Heishi1 and Eff_Ss_Solder_Srch_Ball OK (#234) 2020-07-09 15:12:03 -04:00
z64item.h En_Kz OK (#176) 2020-05-29 17:20:00 -04:00
z64light.h Partially format header files 2020-03-22 22:50:15 +01:00
z64math.h Split remaining z_camera files (#98) 2020-04-30 10:49:11 -04:00
z64object.h Partially format header files 2020-03-22 22:50:15 +01:00
z64scene.h Various SFX fixes (#237) 2020-07-04 23:30:21 -04:00
z64transition.h Decompile a bunch of small files (#160) 2020-05-25 23:18:14 +02:00