* rename some texture
* ok document drifting effect and player particle
* continue rename
* push more rename
* more documentation
* minor rename test
* continue rename texture
* continue rename
* some rename
* more rename
* other fix
* fix comment
* fix a missing I
* fix a mistake
---------
Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
* unk_044 initial documentation
* Define player.unk_044 magic values
* Turns more than 5 degrees
* Lakitu Effects
* UNK_0B6 (effect graphics) documentation
* UNK_002 documentation
* Document UNK_0DE and define magic values
* Use defined player types
* Rename `player->unk_0CA` to `lakitu_props`
* rename `player->unk_0B6` to `kart_graphics`
* Rename `player->unk_0DE` to `oobProps`
* rename `player->unk_044` to kartProps
* Formatting updates
* Use camelCase instead of snake_case for player properties
* Fix reference to wrong attribute in comment
* Rename `PRESS_A` to `THROTTLE`
Rename `PRESS_A` to `THROTTLE` to describe the Kart state, which may be slightly different than just pressing A.
* Labeling particle related code
* More labeling. Naming pass on what was labeled last commit
* Stick X clamped with deadzone
* Renaming TyreParticle to Particle
* Matching coco's names and renaming some already labeled to keep style consistent
* Minor extra particle labeling
* Small extra labeling. Restoring some removed newlines
* One last newline adjustment
---------
Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
* update clang and add action
* try clang on course folder only
* forget two file
* Update course_displaylists.inc.c
* forget few other file
* Update course_vertices.inc.c
* format all code while get it match
* second pass
* format other dir
* disable clang format on bad ido code
* fix some tabulation
* revert format on tool dir
* Update clang-format.yml
* ignore gbi.h
* add some read me instruction
* fix error
* format and fixing error
* Update README.md
---------
Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
* start doc collision
* fix merge
* finish rename fonction related to vehicle
* document around waypoint of vehicle
* make some modification
* make some change and rename one
* copy_ to oldPos
* doc smoke ferry and train
* some rename
* fix some renaming
* precise index
* rename a funciton
* simplify waypoint_vehicles
* change some name
* change some name
* rename move_to_point_direction
* fix some conflict
* Update code_80005FD0.c
* Update code_80005FD0.h
---------
Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
* Lots of code_80071F00 matches
Also removed a bunch of fake variables related to the object list.
Also gave names to some of the members of the object list type
Signed-off-by: Taggerung <tyler.taggerung@email.com>
* Matches and m2c refreshing for code_80057C60
* Convert some Vtx's into a Mtx
Based on the usage of D_0D008E98, it seems like it should be a
Mtx. So this commit changes some Vtx's into a Mtx
Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
Couple matches functions, an update to a struct, a bunch of header
files adjustments, and some mips_to_c regenerations
Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
* Add a lot of header files
Did my best to move all relevant function prototypes and external
variable declarations into the header files too.
Matched a few functions in the process
* Updated progress.py
Some of the listed files/folders have been deleted/renamed,
so I reflected those changes in progress.py
Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
* Match a lot of functions, add header for objects
* Refreshed a TON of functions and created/added to several
header files
* Add header for code_800431B0, address comments
Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
* Fix some of the memory allocation in framebuffers
Also includes a the questionable change of undoing a previously
made match for func_80027A20. The changes made here remove an
AVOID_UB usage and (I would argue) is therefore more "correct",
but undoing a byte-for-byte match is admittedly bad.
Also adds in some header files and updates some not-quite-right
decomps to be slighly more accurate.
Signed-off-by: Taggerung <tyler.taggerung@gmail.com>