Commit Graph
175 Commits
Author SHA1 Message Date
37e2fecf7e Split out functions in unknown_070110, and do some documenting on the… (#243)
* Split out functions in unknown_070110, and do some documenting on them. Also fixes the scoring script to include UNUSED funcs

* Match func_80021400

* Match unused func_800B3678

* Commit suggestions

* Match func_80009AB4

* Fix breaking NON_EQUIVALENT builds when I changed the LevelHeader struct

* I swear I fixed this before the last push, but oh well. Here's the proper fix

* Match func_80007FA4

* Add suggestions for PR, and do a NON_EQUIVALENT but near match of func_8005F310

* Add offsets to the sound_ids, and set them up in some arrays that are a list of sounds to play.

* Update a few variables to floats to match func_800699E4

* Fix NON_EQUIVALENT

* Nearly match func_80011134

* Match func_8001B668 and do some more documenting

* Match func_80069A40

* Do a NON_EQUIVALENT, possible NON_MATHCING match of func_8005CB680

* Do NON_MATCHING of func_8005C364 +  update diff.py

* WIP func_8005A6F0

* Remove unk8004F77C struct as it's just Object_Racer

* Match func_8005A6F0

* Match func_8002263C

* WIP func_8005B818

* WIP func_80011570 and match catmull_rom_interpolation

* Match func_80011570

* Remove some extra function declarations from C files, and used the .h files instead.

* Better matches for the catmull math funcs

* Get obj_loop_effectbox a little closer to matching

* Match obj_loop_goldenballoon

* Fix some minor whitespace issues.

Co-authored-by: Ryan Myers <foldor@gmail.com>
2022-09-20 09:42:30 -04:00
Ryan MyersandGitHub 3dd6118172 Matches, Cleanup, and function splitting (#242)
* Minor labeling during some investigation

* Match func_8006CCF0

* func_80093A40

* Match func_80094170

* Match func_80004A60

* Get func_80093D40 a little closer to matching

* Match menu_track_select_loop

* Match some for loops that were weird before. They needed to be one liners

* Match debug_print_fixed_matrix_values

* Match func_800867D4 and combine two structs into one

* Fixed warnings in load_screen

* Fix multiple funcs being in one file, and match them.

* Split functions out of func_80069A40, and match.

* Fix previous commit by matching func_80069ACC

* Split a function out of func_800A718C, and match it. Then do a near match of func_80085B9C.

* Split and match func_800B61E0

* Split and match 2 funcs from func_800048D8

* Split functions out of setupOSTasks

* Split out a few more funcs, and match an empty one

* Split out more functions

* Splitting more funcs again

* Split more funcs out, and match a couple on the wa

* Update score

* Update progress script to include unmatched lib funcs, and fix the shield output.

* Fix progress.py counting labels as unique functions, and kind of match update_spatial_audio_position

* Apply suggestions

* Missed a change
2022-08-28 07:02:05 -04:00
Ryan MyersandGitHub dd92c90fc1 Match func_800C4DA0, and get near matches for two more in font.c. Also made char's unsigned by default which should match the original compiler settings. char is used when it's a string, and u8 is when it's just an integer (#237) 2022-07-29 07:32:47 -04:00
911fd3daac Matched a few functions, and updated some names / types of variables and other functions (#236)
* Identify the controller pak menu, and get give it a bit more details

* Remove argument for two functions that don't use it. This still matches.

* Match render_controller_pak_ui and do some renaming of some other funcs

* Use more of the enum values for menu text

* Match func_8008832C

* Do some more documenting

* Match menu_controller_pak_loop

* Do some minor documentation for fun

* Match s32_to_string

* Match unload_font

* Match load_font

* Match func_800C4318 and nearly match render_dialogue_text

* Update src/font.c

Co-authored-by: AntonioCastelli <aatcastelli@gmail.com>

* Update src/game_text.c

Co-authored-by: AntonioCastelli <aatcastelli@gmail.com>

* Update src/menu.c

Co-authored-by: AntonioCastelli <aatcastelli@gmail.com>

* Update src/menu.c

Co-authored-by: AntonioCastelli <aatcastelli@gmail.com>

* Update src/menu.c

Co-authored-by: AntonioCastelli <aatcastelli@gmail.com>

* Made some suggested changes

Co-authored-by: Ryan Myers <foldor@gmail.com>
Co-authored-by: AntonioCastelli <aatcastelli@gmail.com>
2022-07-26 13:55:30 -04:00
FazanaandGitHub 3ab4716110 Mostly misc labelling, but also weather too (#232)
* bit more labelling

* identify some weather stuff

* Update sound_ids.h

* yum

* more random identification

* last weather stuff for now

* Update README.md

* Update README.md

* Fix non equivalent
2022-05-23 23:11:46 +01:00
Ryan Myers f3418b26ce Update diff.py and mips_to_c script to the latest versions 2022-05-09 21:58:58 -04:00
David Benepe 1ff698f437 Fixed score script. 2022-04-29 16:59:02 -04:00
Fazana 2a035eb98a rename traction checksum 2022-04-28 19:31:38 +01:00
Antonio 0783d9eda0 Clean up dkr_assets_tool.cpp. 2022-04-10 22:46:11 -07:00
25b77e53af Apply suggestions from code review
Co-authored-by: AntonioCastelli <aatcastelli@gmail.com>
2022-04-10 20:51:24 -05:00
David Benepe 18a05050ac Fixed extractor deadlock 2022-04-10 16:52:42 -04:00
David Benepe 05f080ca44 Decompiled 2 functions & hopefully fix build issue. 2022-04-10 14:39:01 -04:00
David Benepe 3e416d33dd Decompiled 4 functions from unknown_0ABDF0 2022-04-06 19:58:23 -04:00
David Benepe c82abb074b Made AssetCompiler::merge_output a lot faster by getting rid of vector::erase 2022-04-04 13:01:08 -04:00
David Benepe 646f184f10 Minor fix for raspberry pi 2022-04-03 14:42:55 -04:00
David Benepe b367e1e229 Fixed minor issue with compiler 2022-04-02 18:58:40 -04:00
David Benepe 12b3b00656 Improvements for the compiler. 2022-04-02 18:15:49 -04:00
David Benepe 98fed578cf Fixed up menutext 2022-03-31 13:54:17 -04:00
David Benepe 5fe59a2a54 Split up fonts/fonts.json into different files so each font can have a string ID. 2022-03-31 12:50:31 -04:00
David Benepe ab91bcf963 Added support for building gametext textboxes, also fixed an issue with multithreaded extracting 2022-03-30 17:16:21 -04:00
David Benepe 7c13bdbdc8 Changed level property from integer to id string 2022-03-29 09:23:35 -04:00
David Benepe 02d7eef0ad Added distclean rule to makefiles 2022-03-26 17:20:19 -04:00
David Benepe 77f165b999 Fixed minor build issue on rpi 2022-03-26 15:47:33 -04:00
David Benepe 8049d7df7e Packages can now be .zip files 2022-03-26 13:47:11 -04:00
David Benepe 2e2ef0f1f5 Removed unecessary files. Added zip_file lib to dkr_assets_tool 2022-03-25 18:36:17 -04:00