1
0
Fork 0
mirror of https://github.com/zeldaret/oot.git synced 2025-04-08 15:46:42 +00:00
Commit graph

772 commits

Author SHA1 Message Date
Sirius902
87b0bd73da Remove struct padding 2020-10-19 00:36:21 -07:00
Sirius902
22a4bc6792 Make D_80A7847C an array 2020-10-19 00:17:50 -07:00
Sirius902
cfe009672f Move data into func_80A75A38 2020-10-19 00:07:43 -07:00
Sirius902
12dd8045dd Move data into func_80A76E2C 2020-10-18 23:40:28 -07:00
Sirius902
704d48043d Move data to fun places 2020-10-18 23:10:58 -07:00
Sirius902
e054b14695 Cleanup forward declarations 2020-10-18 22:38:16 -07:00
Sirius902
782cad767d Update spec and remove asm 2020-10-18 22:26:48 -07:00
Sirius902
d8c54547c1 Possible fake match of func_80A75C38 2020-10-18 22:21:50 -07:00
Sirius902
dad313a14c Progress 2020-10-18 21:48:43 -07:00
Sirius902
f8f3899938 Use ACTORTYPE_ENEMY 2020-10-18 21:01:14 -07:00
Sirius902
9d717973a7 Use hex for line numbers in EnIk_PostLimbDraw1 2020-10-18 20:36:24 -07:00
Sirius902
2b32b8fbd6 EnIk_PostLimbDraw1 2020-10-18 20:33:31 -07:00
Sirius902
fdd8aea284 EnIk_PostLimbDraw2 2020-10-18 20:21:47 -07:00
Sirius902
fd51710dba Use hex for line numbers in EnIk_PostLimbDraw3 2020-10-18 19:06:15 -07:00
Sirius902
aba53c4055 EnIk_PostLimbDraw3 2020-10-18 19:04:30 -07:00
Sirius902
f7cd4e20e9 Name it prevInvincibilityTimer 2020-10-18 18:08:43 -07:00
Sirius902
011dab8cc8 Ugly match func_80A75FA0 2020-10-18 18:03:42 -07:00
Sirius902
8dd6f65756 Work a bit on func_80A75C38 2020-10-18 17:51:09 -07:00
Sirius902
2bc429161c Name stuff in func_80A76E2C 2020-10-18 12:00:22 -07:00
Sirius902
e7c24b58c1 Autocomplete sucks 2020-10-18 02:33:15 -07:00
Sirius902
88bc81daf5 Progress 2020-10-18 02:32:38 -07:00
Sirius902
e8b2417884 Progress 2020-10-15 14:24:09 -07:00
Sirius902
02e27c9502 Progress 2020-10-15 12:06:15 -07:00
Sirius902
1365f3e68b Merge branch 'master' into ovl_En_Ik 2020-10-15 00:21:28 -07:00
Sirius902
3fb19b68a4 Merge remote-tracking branch 'upstream/master' 2020-10-15 00:21:06 -07:00
Roman971
d02153707e
A few minor fixes/cleanups (#449) 2020-10-13 12:32:19 -04:00
Sirius902
2941fd3540 Merge branch 'master' into ovl_En_Ik 2020-10-12 21:16:47 -07:00
Sirius902
860297681c Merge remote-tracking branch 'upstream/master' 2020-10-12 21:16:26 -07:00
Roman971
57db7ba526
Match a few more functions (#446) 2020-10-12 23:15:42 -04:00
Ethan Roseman
08c4065a5e
Decompiled ovl_Bg_Haka_MeganeBG (#448) 2020-10-12 20:44:22 -04:00
Sirius902
5c631e3170
ovl_En_Horse_Normal (#403)
* merge upstream

* Merge upstream

* Match EnHorseNormal_Init

* Work on EnHorseNormal_Draw (probably finish depending functions first)

* func_80A6CC88

* Work on EnHorseNormal_Draw

* Clang format

* Properly use OPEN_DISPS

* Stop using thisx lol

* Use the funny angle number

* Use &D_04049AD0 because it's not a display list?

* Stop using fun macros to fix stack

* EnHorseNormal_Draw

* EnHorseNormal_Destroy

* EnHorseNormal_Update

* Use disp macros EnHorseNormal_Draw

* Correctly type D_04049AD0

* func_80A6C570

* Name some draw stuff

* Fix names

* Make if condition more readable

* func_80A6B30C and fix incorrect  pointer types

* Function prototypes

* func_80A6B250

* Add header comment

* Move skin function to functions.h

* Change to stable

* Cleanup a little

* Match some more

* Work on func_80A6BE6C (won't compile yet)

* Work on func_80A6BE6C again

* Progress

* func_80A6CAFC

* Match all but one :)

* Work on func_80A6BE6C

* Work more on func_80A6BE6C

* Multiply floating point by integer lol

* Reorder assignment to almost match

* func_80A6BE6C

* Fix warning and remove unnecessary forward declarations

* Data section

* Cleanup data a bit

* More cleanup and clang format

* Clang format is a little confused

* More cleanup

* Formatting

* Revert formatting on z_bg_spot01_objects2.c

* Name unk_14C

* Add clone comment

* Name clonePos

* Name and cleanup

* Name some animation related stuff

* Remove unnecessary assignment

* Name cloneRotY

* Use ARRAY_COUNT for sAnimations

* Add more to unknown struct layout

* Use u8 for last struct member

* Use s32 for length

* Add padding disclaimer

* Update src/overlays/actors/ovl_En_Horse_Normal/z_en_horse_normal.c

Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>

* Update src/overlays/actors/ovl_En_Horse_Normal/z_en_horse_normal.c

Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>

* Update src/overlays/actors/ovl_En_Horse_Normal/z_en_horse_normal.c

Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>

* Update src/overlays/actors/ovl_En_Horse_Normal/z_en_horse_normal.c

Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>

* Update src/overlays/actors/ovl_En_Horse_Normal/z_en_horse_normal.c

Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>

* Various suggestions

* Replace 10430.378f

* Remove padding because alignment

* Move function array out of function

* Remove struct name being present twice unecessarily

* Oops forgot the s

* Don't separate static vars from others

* Some cleanup

* Use ARRAY_COUNT(sJntSphItemsInit)

* Minor cleanup

* Rename enum members

* Oops forgot to rename enum

Co-authored-by: Dragorn421 <Dragorn421@users.noreply.github.com>
2020-10-12 18:45:16 -04:00
Tharo
fff616d2be
Decompile z_kanfont (#443)
* Decompile z_kanfont.c

* Cleanups

* off -> offset

* Kanfont -> Font , Keep so-far unused Font fields as padding, Remove MessageData sub-struct
2020-10-12 17:42:17 -04:00
fig02
ed719f3da0
Make Gamestates use thisx for entry point functions (#437)
* fix colliderinit typo

* fix initchain

* reloc

* thisx

* sample

* review

* forgot sample main
2020-10-11 21:52:50 -04:00
Random
b010db7c19
Decompile z_sram.c (#431)
* Decompile z_sram.c

* rename Sram_CalcChecksum to Sram_WriteSaveSlot

* progress

* done i think

* add original name comments

* temp substructs

* minor fixes

* review

* review 2

* fix

Co-authored-by: fig <fig02srl@gmail.com>
2020-10-11 13:45:08 -04:00
maekclena
9d35542207
ovl_En_Butte (#440)
* ovl_En_Butte

* Delete asm and inline static data

* Style

* PR review
2020-10-11 09:21:12 -04:00
i82orbom
6b3b4aa883
z_bg_gnd_soulmeiro.c OK (#439)
* Starts z_bg_gnd_soulmeiro.c

* Init

* Some more progress

* BgGndSoulmeiro_Draw

* Some more progress

* Matched

* Removes unused asm

* PR suggestions

* Update comment

Co-authored-by: i82orbom <i82orbom i82orbom@github>
2020-10-10 20:05:59 -04:00
Sirius902
558856d234 Eh early return probably makes more sense here 2020-10-06 12:50:58 -07:00
Sirius902
8046499566 Progress 2020-10-06 00:05:27 -07:00
Sirius902
37a020d139 Progress 2020-10-05 23:27:31 -07:00
Sirius902
5beac36d9e Progress 2020-10-05 22:10:31 -07:00
Sirius902
4137b6ba23 Progress 2020-10-05 21:39:26 -07:00
Sirius902
1b2beb745f func_80A74674 2020-10-05 21:10:55 -07:00
Sirius902
03ad7401bb match func_80A74BA4 2020-10-05 18:30:20 -07:00
Sirius902
a9eef3b022 Fix stack on func_80A74BA4 2020-10-05 17:56:13 -07:00
Sirius902
4920d40453 Better diff again 2020-10-05 17:53:57 -07:00
Sirius902
d824f48039 Slightly better diff 2020-10-05 17:48:38 -07:00
Sirius902
f56668c8e2 Merge branch 'master' into ovl_En_Ik 2020-10-04 12:31:32 -07:00
Sirius902
e684b35eed Merge remote-tracking branch 'upstream/master' 2020-10-04 12:28:19 -07:00
i82orbom
9bfad1ebd6
z_en_kakasi.c OK (#428)
* Starts decompiling z_en_kakasi

* Destroy

* EnKakasi_Init

* func_80A8F660

* func_80A8F75C

* func_80A8F28C

* func_80A8F320 equivalent, non matching due to regalloc

* EnKakasi_Draw

* func_80A8FBB8

* func_80A8FAA4

* func_80A8F9C8

* z_en_kakasi.c OK (1 equivalent, 1 non-matching)

* Fixed one non matching

* z_en_kakasi.c OK

* Removes unused asm

* Some fixes

* Additional fixes

* PR fixes

* Rename angle reference to yaw

* Change low rotation values to decimal

Co-authored-by: i82orbom <i82orbom i82orbom@github>
2020-10-04 12:17:54 -04:00
i82orbom
353d4d134f
z_en_kakasi2.c (#427)
* Decompiles z_en_kakasi2

- EnKakasi2_Init

* Destroy

* func_80A90264

* Finishes z_en_kakasi2

* Remove unused data/reloc

* Some hex fixes

* Some fixes

* Addresses PR comments

* Rename temp to be more generic

* More var renaming, timer modulo

* Change low rotation values to decimal

Co-authored-by: i82orbom <i82orbom i82orbom@github>
2020-10-04 12:15:01 -04:00