1
0
mirror of https://github.com/zeldaret/oot.git synced 2024-09-23 05:45:03 +00:00
Commit Graph

274 Commits

Author SHA1 Message Date
krimtonz
4961eb0a90
SkelAnime Updates (#78)
* update naming, minor updates

* rename postLimbUpdate to postLimbDraw

* recently decompiled actor naming update
2020-04-18 14:08:12 -04:00
Ethan Roseman
cb5a604ea7
Decompiled ovl_En_Ru1 (#72)
* Decompiled ovl_En_Ru1

* Formatting

* Actor/TransitionDrawTable struct fixes

* addressing PR comments

* addressing PR comments (2)
2020-04-18 04:50:41 -04:00
Roman971
262f6c507c
Decompile z_play.c and Match/Document some of z_view.c (#74)
* Decompile z_play.c and Match/Document some of z_view.c

Also fix the last non matching in z_sample.c and update some game state functions.

* Suggestions from PR #74

* Fix undefined reference to Gameplay_DrawOverlay

* Suggestion from PR #74 (2)

* Fix a fake argument in func_800BC450
2020-04-16 17:36:12 -04:00
Random
9ac1f8130d
Decompile jpegutils.c (#75)
* Decompile jpegutils.c

jpegutils.c : OK

* Fix a typo

* Fixes in PR #75

- Fix a type in JpegWork
- Remove clang-format off/on in z_quake.c
- Move the jpegutils rule at the end of makefile
2020-04-16 14:08:23 -04:00
Lucas Shaw
045a92d7c3
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>
2020-04-14 14:16:34 -04:00
silv3rwing07
5aef81071e
padmgr and related (#71)
* In process of moving changes over from old repo

* Merged in changes

* Finished import of padmgr changes from old repo

* Adjusted some volatile

* Improving padmgr volatile situation

* Almost matched osReadMempak

* Working on osMempakDataCRC

* Explanations and equivalents but no matches for osMempakAddrCRC and osMempakDataCRC

* OK after merge

* Matched osMempakAddrCRC and osMempakDataCRC

* Matched osReadMempak

* Updated PadMgr function names to be less like original code

* Changed variable names to make them further from original code

* Changed names and it stopped matching

* Undid clang-format steamrollering whitespace memes

* Cleaned up Input names

* More formatting changes

* Moved padmgr to z64.h, deleted padmgr.h
2020-04-14 13:17:25 -04:00
Ethan Roseman
16646aa34d
Decompiled ovl_Bg_Spot17_Funen (#67)
* First steps

* Decompiled ovl_Bg_Spot17_Funen

* static functions no more
2020-04-13 19:30:01 -04:00
Random
298abfb128
Decompile z_jpeg.c (#70)
* Decompile z_jpeg.c

- Decompile z_jpeg.c
- Move .bss variables from fault.c and fault_drawer.c into .s files to avoid bss reordering

* Rename JPEGWork to JpegWork and minor fix in Jpeg_GetU16
2020-04-13 19:03:10 -04:00
Ethan Roseman
f3c945cc82
Decompiled ovl_Bg_Bdan_Objects (#66)
* Decompiled ovl_Bg_Bdan_Objects

* Update src/overlays/actors/ovl_Bg_Bdan_Objects/z_bg_bdan_objects.c

Co-Authored-By: Roman971 <32455037+Roman971@users.noreply.github.com>

* Update src/overlays/actors/ovl_Bg_Bdan_Objects/z_bg_bdan_objects.c

Co-Authored-By: Roman971 <32455037+Roman971@users.noreply.github.com>

* Update src/overlays/actors/ovl_Bg_Bdan_Objects/z_bg_bdan_objects.c

Co-Authored-By: Roman971 <32455037+Roman971@users.noreply.github.com>

* Header update

* formatting

* Update include/z64.h

Co-Authored-By: Roman971 <32455037+Roman971@users.noreply.github.com>

* Fixing structs

Co-authored-by: Roman971 <32455037+Roman971@users.noreply.github.com>
2020-04-12 12:04:14 -04:00
fig02
a45e7920bc
Merge pull request #60 from gamestabled/ovl_En_Ani
ovl_En_Ani
2020-04-10 16:48:40 -04:00
chandler
4c8ff91da7 made suggested changes 2020-04-09 00:10:43 -04:00
Random
6975b35591 remove useless parentheses 2020-04-08 20:24:46 +02:00
Random
0c0c15018f Run format.sh 2020-04-08 18:45:50 +02:00
Random
d0cf6e153b Decompile sleep.c and printutils.c
- Decompile sleep.c (OK)
- Decompile printutils.c (OK)
- Fix 1 non-matching in z_room.c
- Get rid of some magic numbers
2020-04-08 18:36:15 +02:00
chandler
81cad9fe7d made limbIndex decimal 2020-04-07 23:50:08 -04:00
chandler
2b8bc8ce6d made suggested changes 2020-04-07 23:39:10 -04:00
chandler
8f9ea21511 cleaned up a bit 2020-04-07 19:42:33 -04:00
chandler
d852f291e4 merged from master 2020-04-07 18:00:34 -04:00
fig02
0a25ab74c4
Merge pull request #58 from gamestabled/master
Bg_Hidan_Firewall
2020-04-07 13:26:59 -04:00
chandler
2bf2cef35e small change in firewall.h 2020-04-07 11:51:12 -04:00
chandler
e14b6eefec made recently suggested changes 2020-04-07 11:03:10 -04:00
chandler
fa7874137b matching 2020-04-07 10:57:04 -04:00
dark-samus
5c5fa61d4e fix 3 non-matchings in z_demo.c 2020-04-06 18:38:31 -04:00
chandler
83caab6e68 simplified a float 2020-04-06 17:31:24 -04:00
chandler
bd23567bfd a couple more suggestions 2020-04-06 17:08:24 -04:00
chandler
9864211cdc made suggesed changes 2020-04-06 16:41:05 -04:00
chandler
0265ad21c0 merge with upstream 2020-04-06 14:38:23 -04:00
chandler
78c65878ed more fixing PR 2020-04-06 03:19:13 -04:00
chandler
553329a9e6 reverting en_ani to PR firewall (im a git noob) 2020-04-06 03:15:25 -04:00
Gamestabled
9a87ce3c04 firewall OK 2020-04-06 03:06:00 -04:00
Gamestabled
a00a8bbaeb all functions match, now learning how to do data/rodata 2020-04-06 03:05:54 -04:00
Gamestabled
dda2641082 begain work on EnAni 2020-04-06 03:05:47 -04:00
Gamestabled
e5a5f0a46d changed some names 2020-04-06 03:05:39 -04:00
Gamestabled
1eb36220e5 6 functions matching 2020-04-06 03:05:33 -04:00
glank
6b04aba0ea Tidy up known render and combine modes 2020-04-05 23:40:06 +02:00
fig02
b9ac7fdfea
Merge pull request #52 from ethteck/ovl_Bg_Spot12_Saku
Decompiled ovl_Bg_Spot12_Saku
2020-04-05 14:40:02 -04:00
Thar0
6f36c5a048 Fix recently decompiled graph.c functions, Rename gfxArr to dispRefs 2020-04-05 19:05:12 +01:00
fig02
d975d809b8
Merge pull request #51 from Thar0/z_view
Decompile z_view.c
2020-04-05 13:54:17 -04:00
Random
43acba22a9 Fixes in PR #50 (3)
- Rename Graph_OpenDisp/Graph_CloseDisp to Graph_OpenDisps/Graph_CloseDisps
- Rename gfxArr to dispRefs
2020-04-05 19:29:30 +02:00
Ethan Roseman
653f067d14
Update src/overlays/actors/ovl_Bg_Spot12_Saku/z_bg_spot12_saku.c
Co-Authored-By: Roman971 <32455037+Roman971@users.noreply.github.com>
2020-04-05 11:54:00 -04:00
Ethan Roseman
53a43cf5ed
Update src/overlays/actors/ovl_Bg_Spot12_Saku/z_bg_spot12_saku.c
Co-Authored-By: Roman971 <32455037+Roman971@users.noreply.github.com>
2020-04-05 11:53:47 -04:00
Tharo
fd38a9f2b7
Use correct VT macro
Co-Authored-By: Roman971 <32455037+Roman971@users.noreply.github.com>
2020-04-05 16:06:55 +01:00
Random
02eaaa2039 Fixes in PR #50
- Rename "sGraph_UpdateTime" to "sGraphUpdateTime"
- Rename "Graph_Ct"/"Graph_Dt" to "Graph_Init"/"Graph_Destroy"
- Change the LOG_STRING macro
- Rename "LOG_VALUE" to "LOG_NUM"
- Fix brace style
- Rename "UcodeInfo"/"UcodeDisas" to "UCodeInfo"/"UCodeDisas"
- Fix field names in "UCodeDisas"
- Fix typo in "GraphicsContext"
- Change the size of unknown fields in "GraphicsContext" to hex
- Rename "game_init_func" to "gameStateInitFunc"
2020-04-05 12:32:08 +02:00
Ethan Roseman
220a1a5840 Naming the initChain 2020-04-04 22:52:54 -04:00
Ethan Roseman
546811bba8 Decompiled ovl_Bg_Spot12_Saku 2020-04-04 22:48:30 -04:00
Thar0
00542fef56 More small cleanups, Improve legibility of func_800AAA9C by removing several unnecessary casts 2020-04-05 03:08:01 +01:00
Thar0
668d35b77f Cleanups, Use VT macros 2020-04-05 02:50:46 +01:00
Thar0
b452adfecb Remove pragma comments, convert line number args to decimal 2020-04-04 23:39:53 +01:00
Random
168d90b6b0 Add log macros
- Add log macros required to match `Graph_GetNextGameState`
2020-04-04 19:28:53 +02:00
Thar0
9b6cf8a92a Merge https://github.com/zeldaret/oot into z_view 2020-04-04 18:20:45 +01:00