Commit Graph
1306 Commits
Author SHA1 Message Date
60604cc762 Matched func_8008F00C, and started work on some var identification (#253)
* Matched func_8008F00C, and started work on somem var identification and two more funcs

* Remove WIP funcs

Co-authored-by: Ryan Myers <foldor@gmail.com>
2022-10-20 18:41:10 -04:00
028cfd01bb Match a batch (#252)
* Squashed commit of the following:

commit 3ab4716110
Author: Fazana <52551480+FazanaJ@users.noreply.github.com>
Date:   Mon May 23 23:11:46 2022 +0100

    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

* I found the 60fps button

* match func_80052B64

* match racer_attack_handler

* match func_80048C7C

* buncha function declaring

* e

* tweak

* match func_8004DE38

oh man oh man

* Small bit of labelling

* Merge remote-tracking branch 'upstream/master' into the-many-against-the-few

* Update README.md

* Fix monumentally poor bout of misinformation in the readme

we wouldn't want to mislead the readers, would we?

* github please

* Update README.md

* requested changes

kinda funny because I knew this struct existed, and knew it was used for this, but never made the connection lol

* Update objects.c

* match racer_enter_door

A nice easy one after the pure hellscape of the last few days :)

* names

* renames

* match func_8005250C

* heehee

* Update racer.c

* identify some misc asset calls

* identify some surface types

* match func_8005492C

* Delete func_8005492C.s

* match func_80052D7C

* move some enums

* label all existing misc asset calls

granted I know what almost none of them are lmao, buut will make things slightly easier in the long run

* Update README.md

* requested changes

pain

* Update README.md

* just a bit of labelling

* labbel

* more

* Update structs.h

* file select

* file struct

* Update menu.c

* multiplayer box

* texture naming

* realised why there's 3 indices lol

* rounding

* Update menu.c

* identify textures

* pain

* fix non equiv

* Update src/menu.c

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

* Update src/unknown_078050.c

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

* Update src/menu.c

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

* more texture identification

* character select bytes

actually hate this so much

* Update menu.c

* I aged about 50 years doing this

* character select data

* fix conflicts

* match func_8007A98C

* fix video.c warnings

* rename func

* more video.c labels

* Update video.c

* blacklist windows script files

Mostly a me thing, so I can have some scripts in the root directory without them getting in the way. Since the repo operates exclusively on Linux, this shouldn't have any consequense

* fix build warnings in unknown_078050.c

* More.

* Update sched.c

* object name enum

* match gParticlePtrList_flush

* Update objects.c

* match func_8000E2B4

* Update .gitignore

* object ID enum

* match func_8000B290

* main game loop (and friends)

* Update racer.c

* match render_textured_rectangle

* match various funcs

* fix non equiv

* requested changes

Co-authored-by: Ryan Myers <ryan.p.myers@gmail.com>
2022-10-16 19:55:59 +01:00
ec98ac4c24 Bit more menu identification (#251)
* Squashed commit of the following:

commit 3ab4716110
Author: Fazana <52551480+FazanaJ@users.noreply.github.com>
Date:   Mon May 23 23:11:46 2022 +0100

    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

* I found the 60fps button

* match func_80052B64

* match racer_attack_handler

* match func_80048C7C

* buncha function declaring

* e

* tweak

* match func_8004DE38

oh man oh man

* Small bit of labelling

* Merge remote-tracking branch 'upstream/master' into the-many-against-the-few

* Update README.md

* Fix monumentally poor bout of misinformation in the readme

we wouldn't want to mislead the readers, would we?

* github please

* Update README.md

* requested changes

kinda funny because I knew this struct existed, and knew it was used for this, but never made the connection lol

* Update objects.c

* match racer_enter_door

A nice easy one after the pure hellscape of the last few days :)

* names

* renames

* match func_8005250C

* heehee

* Update racer.c

* identify some misc asset calls

* identify some surface types

* match func_8005492C

* Delete func_8005492C.s

* match func_80052D7C

* move some enums

* label all existing misc asset calls

granted I know what almost none of them are lmao, buut will make things slightly easier in the long run

* Update README.md

* requested changes

pain

* Update README.md

* just a bit of labelling

* labbel

* more

* Update structs.h

* file select

* file struct

* Update menu.c

* multiplayer box

* texture naming

* realised why there's 3 indices lol

* rounding

* Update menu.c

* identify textures

* pain

* fix non equiv

* Update src/menu.c

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

* Update src/unknown_078050.c

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

* Update src/menu.c

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

* more texture identification

* character select bytes

actually hate this so much

* Update menu.c

* I aged about 50 years doing this

* character select data

* fix conflicts

Co-authored-by: Ryan Myers <ryan.p.myers@gmail.com>
2022-10-04 16:01:27 +01:00
0458aa3f06 Identify and label a few things (#250)
* Squashed commit of the following:

commit 3ab4716110
Author: Fazana <52551480+FazanaJ@users.noreply.github.com>
Date:   Mon May 23 23:11:46 2022 +0100

    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

* I found the 60fps button

* match func_80052B64

* match racer_attack_handler

* match func_80048C7C

* buncha function declaring

* e

* tweak

* match func_8004DE38

oh man oh man

* Small bit of labelling

* Merge remote-tracking branch 'upstream/master' into the-many-against-the-few

* Update README.md

* Fix monumentally poor bout of misinformation in the readme

we wouldn't want to mislead the readers, would we?

* github please

* Update README.md

* requested changes

kinda funny because I knew this struct existed, and knew it was used for this, but never made the connection lol

* Update objects.c

* match racer_enter_door

A nice easy one after the pure hellscape of the last few days :)

* names

* renames

* match func_8005250C

* heehee

* Update racer.c

* identify some misc asset calls

* identify some surface types

* match func_8005492C

* Delete func_8005492C.s

* match func_80052D7C

* move some enums

* label all existing misc asset calls

granted I know what almost none of them are lmao, buut will make things slightly easier in the long run

* Update README.md

* requested changes

pain

* Update README.md

* just a bit of labelling

* labbel

* more

* Update structs.h

* file select

* file struct

* Update menu.c

* multiplayer box

* texture naming

* realised why there's 3 indices lol

* rounding

* Update menu.c

* identify textures

* pain

* fix non equiv

* Update src/menu.c

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

* Update src/unknown_078050.c

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

* Update src/menu.c

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

Co-authored-by: Ryan Myers <ryan.p.myers@gmail.com>
2022-10-03 18:48:25 +01:00
c8710bc97a Menu Matches, cleanup and documentation (#247)
* Match func_80097D10 and near match func_80097918

* Rename some funcs

* Decompiled 4 functions in unknown_078050

* Renamed decompiled functions.

* Cleaned up a partial match

* Match menu_file_select_loop

* Match func_8008D5F8

* Match func_8008D8BC

* Match func_8008C168

* Match func_8008C698

* Minor updates

* Near match func_80081F4C

* MAtch func_80081F4C

* Apply some constants for half screen width

* Minor code cleanup and warning fixes

* Match menu_game_select_init

* Use constants

* Fix issue from last merge

* Update progress in README

Co-authored-by: David Benepe <benepe96@gmail.com>
Co-authored-by: Ryan Myers <foldor@gmail.com>
2022-10-03 08:07:23 -04:00
David BenepeandGitHub 365f240383 Merge pull request #249 from DavidSM64/menu
Finished decompiling font.c
2022-10-02 20:52:15 -05:00
David Benepe 64f68befc6 Fixed sDialogueBoxDimensions 2022-10-02 21:51:44 -04:00
David Benepe 74da9f4ddf Used clang to fix formatting 2022-10-02 21:35:54 -04:00
David Benepe 562574b028 Fixed formatting 2022-10-02 19:20:40 -04:00
David Benepe 16b8c7edf1 Merge branch 'master' of https://github.com/DavidSM64/Diddy-Kong-Racing into menu 2022-10-02 17:31:24 -04:00
David Benepe 77efa03972 Removed font non_matchings 2022-10-02 17:22:39 -04:00
David Benepe 51bdb867cf Finished decompiling font.c 2022-10-02 17:20:43 -04:00
FazanaandGitHub f396463e95 Minor misc labelling (#246)
* Squashed commit of the following:

commit 3ab4716110
Author: Fazana <52551480+FazanaJ@users.noreply.github.com>
Date:   Mon May 23 23:11:46 2022 +0100

    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

* I found the 60fps button

* match func_80052B64

* match racer_attack_handler

* match func_80048C7C

* buncha function declaring

* e

* tweak

* match func_8004DE38

oh man oh man

* Small bit of labelling

* Merge remote-tracking branch 'upstream/master' into the-many-against-the-few

* Update README.md

* Fix monumentally poor bout of misinformation in the readme

we wouldn't want to mislead the readers, would we?

* github please

* Update README.md

* requested changes

kinda funny because I knew this struct existed, and knew it was used for this, but never made the connection lol

* Update objects.c

* match racer_enter_door

A nice easy one after the pure hellscape of the last few days :)

* names

* renames

* match func_8005250C

* heehee

* Update racer.c

* identify some misc asset calls

* identify some surface types

* match func_8005492C

* Delete func_8005492C.s

* match func_80052D7C

* move some enums

* label all existing misc asset calls

granted I know what almost none of them are lmao, buut will make things slightly easier in the long run

* Update README.md

* requested changes

pain

* Update README.md

* just a bit of labelling
2022-09-29 11:06:38 -04:00
David BenepeandGitHub e386db5483 Merge pull request #245 from DavidSM64/menu
Decompiled menu_title_screen_loop and func_8008377C
2022-09-28 16:15:11 -05:00
ed57b2aa4a Apply suggestions from code review
Co-authored-by: Ryan Myers <ryan.p.myers@gmail.com>
Co-authored-by: Fazana <52551480+FazanaJ@users.noreply.github.com>
2022-09-28 16:14:54 -05:00
David Benepe 2072a266b8 minor documentation for main_title_screen_loop 2022-09-27 22:27:04 -04:00
David Benepe 1886e87f55 slight cleanup 2022-09-27 20:24:16 -04:00
David Benepe 48905a6c9d deleted files 2022-09-27 20:22:17 -04:00
David Benepe 71936e9e7a Decompiled 2 functions in menu.c 2022-09-27 20:19:01 -04:00
David BenepeandGitHub c877c998f4 Merge pull request #244 from DavidSM64/ostask_funcs
Decompiled 4 functions in unknown_078050
2022-09-24 14:12:37 -05:00
David Benepe bbdb633c03 Renamed decompiled functions. 2022-09-24 15:11:47 -04:00
David Benepe 8dc1121888 Decompiled 4 functions in unknown_078050 2022-09-24 13:03:20 -04:00
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 3a2fa13e5c Fixed all lib file warnings (#240) 2022-08-09 13:13:33 -04:00