Commit Graph

145 Commits

Author SHA1 Message Date
David
c25396c59b Updated generate_ctx script 2023-01-07 11:29:54 -06:00
Fazana
b74f340fe3 Match and label some track functions (#354)
* match render_scene and render_level_segment

* improve accuracy of a name

* labbie

* disregard libultra in documentation score

* Start on triangle batch flags

* Q

* more tracks.c stuff

* Update src/unknown_0255E0.c

Co-authored-by: Ryan Myers <ryan.p.myers@gmail.com>

* Update unknown_0255E0.c

Co-authored-by: Ryan Myers <ryan.p.myers@gmail.com>
2023-01-06 19:39:37 +00:00
Fazana
c6351af6c3 lots of matching involving misc racers (#346)
* match func_8005E4C0

* label vehicle enums

* prelim

* match func_800B1130

* match func_8005F310

* prelim

* match func_8005C364

* rename and warning fix

* another wave of particle cleanup

* match func_8005E204

* fixed warnings

though it's just a plaster

* Update objects.c

* match func_8005D0D0

* macros

* some labels

* match func_8005D820

* reorganise boss headers

* stuff that I don't really feel like describing it's just lots of dumb stuff lol

* add collision.c

* one more

* some racer documentation

* fix blacklist bug in score.py

* more.

* nonequiv func_800314DC

* Update collision.c

* Update unknown_0255E0.h

* document two camera funcs

* Update racer.c

* quick fixes

* Update src/vehicle_tricky.c

Co-authored-by: David Benepe <benepe96@gmail.com>

* Update src/vehicle_smokey.c

Co-authored-by: David Benepe <benepe96@gmail.com>

* Update src/vehicle_misc.h

Co-authored-by: David Benepe <benepe96@gmail.com>

* Update src/particles.h

Co-authored-by: David Benepe <benepe96@gmail.com>

* Update src/vehicle_bluey.c

Co-authored-by: David Benepe <benepe96@gmail.com>

* requested changes

* Update vehicle_smokey.c

* oops missed one

* Update object_functions.c

* Update racer.c

Co-authored-by: David Benepe <benepe96@gmail.com>
2022-12-30 14:14:53 +00:00
Fazana
26483725eb we defeated tictoc (#327)
* Update score.py

* match func_80001FB8

* :)

* match func_8000232C

* label func

* match play_sound_global

* match func_800BF524

* match func_80061C0C

* match func_800BFE98

* match func_800BF3E4

* match func_800B8134

* match func_800BBE08

* match obj_loop_wavepower

* match func_800BFC54

* Update src/waves.c

Co-authored-by: David Benepe <benepe96@gmail.com>

* Update src/waves.c

Co-authored-by: David Benepe <benepe96@gmail.com>

* Update src/object_models.c

Co-authored-by: David Benepe <benepe96@gmail.com>

* Update src/object_models.c

Co-authored-by: David Benepe <benepe96@gmail.com>

* Update src/audio.c

Co-authored-by: David Benepe <benepe96@gmail.com>

* nonmatch

* label Taj's state behaviour

* taj updates

* match obj_loop_stopwatchman

* rename struct field

* Update m2ctx.py

* revert some names

* Update structs.h

* Update object_functions.h

* Update src/object_functions.c

Co-authored-by: David Benepe <benepe96@gmail.com>

* Update src/object_functions.c

Co-authored-by: David Benepe <benepe96@gmail.com>

* Update src/object_functions.c

Co-authored-by: David Benepe <benepe96@gmail.com>

* Update src/object_functions.c

Co-authored-by: David Benepe <benepe96@gmail.com>

* Update src/object_functions.c

Co-authored-by: David Benepe <benepe96@gmail.com>

* Update src/object_functions.c

Co-authored-by: David Benepe <benepe96@gmail.com>

* Update src/object_functions.c

Co-authored-by: David Benepe <benepe96@gmail.com>

Co-authored-by: David Benepe <benepe96@gmail.com>
2022-12-07 20:48:14 +00:00
Fazana
f135d0f3ec Update score.py (#319) 2022-12-04 19:52:37 +00:00
David Benepe
d897ac2bc4 Fixed score script 2022-12-01 16:37:37 -05:00
Fazana
e47fc4b0ef Couple matches (#270)
* match func_80077268

* Update borders.c

* Update borders.h

* game.c labels

* rename border

* match func_80068BF4 and func_80069484

* Update camera.c

* camera.c labels

* more camera.c documentation

oh god this is gonna be another one of THOSE PR's again isn't it?

* Update camera.c

* destruction

* nonmatching func_80002DF8

* make clean now removes the linker

* Update unknown_003260.c

* match func_800A0EB4

* match render_background

* fix warnings

* style fixes

* label indicator arrows in the UI

* requested changes

* struct renames

* match func_800A7B68

* Update README.md

* match func_800A5A64

* Fix unforgivable typo

sorry im not a fake fan I sware on me nan

* Update README.md

* more detailed documentation of game_ui

* match func_800A01A0

* prelim changes

* oh no

* nonmatching func_80024D54

* labbel

* fix build

* fix context warnings

* match func_800A7520

* fixes

* requested changes
2022-10-30 19:58:59 +00:00
David Benepe
e0acb62ac2 Merge pull request #264 from DavidSM64/gen_ctx
Improved generate_ctx.sh
2022-10-30 07:23:02 -05:00
tonyspumoni
cb0e975836 fix trailing spaces in generated score (#266) 2022-10-29 16:51:36 -06:00
David Benepe
d5aa658ea9 Added suggestion for find command 2022-10-29 13:09:25 -04:00
David Benepe
cb38d0cc81 Fixed mips2c issues hopefully. 2022-10-28 18:35:16 -04:00
David Benepe
1bc714e08d Added suggestions, also fixed a couple of regex warnings 2022-10-28 15:15:32 -04:00
David Benepe
761063abc0 Improved generate_ctx 2022-10-28 13:51:47 -04:00
Ryan Myers
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 Myers
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 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
David Benepe
3e416d33dd Decompiled 4 functions from unknown_0ABDF0 2022-04-06 19:58:23 -04:00
David Benepe
b601228245 Lets do this again. 2022-03-18 18:35:32 -04:00
David Benepe
e970ecaf0e Renamed all files in unknown_0348C0 2022-02-13 08:33:50 -05:00
Ryan Myers
b87fc3a47a Update diff.py 2022-02-08 11:30:50 -05:00
Ryan Myers
0c114f958f Update the score to show NON_EQUIVALENT as well 2022-02-08 11:28:44 -05:00
David Benepe
d53a548ebc Fixed up minor issues with fix_regional_names.py script 2022-02-07 12:48:48 -05:00
David Benepe
f3040ce30b Filtering out symbols should happen instantly now. 2022-02-07 12:05:10 -05:00