* small adjustement
* adjust some naming and other just two other in link with time trial
---------
Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
* Document projection matrix function
Document function for computing a projection matrix. Used for camera and graphics.
* Fix loop index bug
Fix straightforward loop index bug introduced in last commit
* Style guide updates
Changes to match style recommendations
* Update function variables to camelCase
* Use dOxygen tags
* Use block comment
* Document math functions
* Give all functions in src\racing\math_util.c descriptive names
* Improve documentation for math_util
Improves a number of functions by giving descriptive argument names and comments
* Additional merge
* Fix style issues
update variables / parameters to use camelCase instead of snakeCase
* doxygen and other documentation
* Add doxygen documentation
* Rename mat -> mtx for consistency among matrices
* Theta -> Angle for angles
* Give some arguments more descriptive names
* Partial documentation for calculate_orientation_matrix
Documentation for when cosAxisY is 1 and observations that things break when if it does not equal 1.
* Rename functions
Renamed multiple functions for accuracy or clarity
* doxygen whitespace alignment
Improve readability of doxygen info by aligning text
* Make format check
Formatting updates suggested by make format
* Make skyboxes static
* Change function name
angle_from_coords -> get_angle_between_coords
* Math values renamed
Functions:
render_distance_squared -> distance_if_visible
mtxf_rotation_zxy_translate -> mtxf_rotate_zxy_translate
Arguments:
vecTrans -> translate
* Document many effects
Define effects for
* Braking
* Drifting
* Spinning out (driving and bananas)
* Mini turbos
* Losing at GP
* Tumbling on terrain
* CPU rubberbanding
And substitute some pre-existing defined effect names in place of bit flags
* Replace effect magic numbers with defined values
* Separate effect bit-flags into components
* Document more effects
* Rename some effects
* Replace effect bit_flags with defined values
* Formatting fixes
---------
Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
* Document time trial input replay system
Documents how the input replay system works in time trials. This is used for
* Course ghosts (on the raceways)
* Player ghosts
* Replays
* Rename ghosts/replays and minor cleanup
Refer to staff and player ghosts in time trials as replays.
Refer to the basic replay as a "post time trial replay"
Change variable / function names to reflect terminology change
* Define replay magic values
* Rename staff_ghosts files to replays
Renames staff_ghosts files to replays, since they also deal with player ghosts and post time trial replays.
Also, changes staff_ghosts_loop -> replays_loop
* REPLAY_NOT_FRAME_COUNTER -> REPLAY_CLEAR_FRAME_COUNTER
* Add replays header and format
* Update replays.c
* Name load replay functions
---------
Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
* Document projection matrix function
Document function for computing a projection matrix. Used for camera and graphics.
* Fix loop index bug
Fix straightforward loop index bug introduced in last commit
* Style guide updates
Changes to match style recommendations
* Update function variables to camelCase
* Use dOxygen tags
* Use block comment
* Document math functions
* Give all functions in src\racing\math_util.c descriptive names
* Improve documentation for math_util
Improves a number of functions by giving descriptive argument names and comments
* Additional merge
* Fix style issues
update variables / parameters to use camelCase instead of snakeCase
* doxygen and other documentation
* Add doxygen documentation
* Rename mat -> mtx for consistency among matrices
* Theta -> Angle for angles
* Give some arguments more descriptive names
* Partial documentation for calculate_orientation_matrix
Documentation for when cosAxisY is 1 and observations that things break when if it does not equal 1.
* Rename functions
Renamed multiple functions for accuracy or clarity
* doxygen whitespace alignment
Improve readability of doxygen info by aligning text
* Make format check
Formatting updates suggested by make format
* Make skyboxes static
* Change function name
angle_from_coords -> get_angle_between_coords
* Math values renamed
Functions:
render_distance_squared -> distance_if_visible
mtxf_rotation_zxy_translate -> mtxf_rotate_zxy_translate
Arguments:
vecTrans -> translate
---------
Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
* 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>
* Shiftability fix and documentation
* Allow setting `AVOID_UB=1` directly while building
* Set `AVOID_UB` when building with DEBUG.
* Document options for enabling shiftability
* Document `make clean`
* Delete HTML file
* Update compiling.md
---------
Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
* Document projection matrix function
Document function for computing a projection matrix. Used for camera and graphics.
* Fix loop index bug
Fix straightforward loop index bug introduced in last commit
* Style guide updates
Changes to match style recommendations
* Update function variables to camelCase
* Use dOxygen tags
* Use block comment
---------
Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
* Document various functions and variables
* Fix code changes
* Rename function based on discussion
* Identify global table of player speeds
* Improve names of functions
* Label further things related to playerIndex
* Label further balloon related things
* Document further balloon related things
* Use STAR_DURATION
* Update vars
* Fix missing arg
* Commit unpr'd matches
* fix compile
* Commit matching func_80086074
* More matches
* Fix missed labelling
* menus.c formatting
* More matches
* Match update_player_path_completion
* Formatting
* Match func_80050E34
* Match EU Audio init
* Match func_800C16E8
* Match synthesis_process_note
* Match func_80009B60
* Match
* Match cpu_use_item_strategy
* Match render_menus
* match last func
* Fix EU build and eu-final offsets
* Fix instrument align and bring EU matches
* Fix EU trig table segment
* Label audio_init
* Simplify float comments
* Proper EU name version defines
* couple of matches
* match func_800C4FE4
* match func_800C284C
* match func_800C2A2C
* match func_800C3724
* match func_800C4398
* format
* format2
* remove asms
* some rename
* type menu
* continue rename and place const
* Renames and doc
* more
* buffer vars
* clang format
* continue rename
* some rename and get it compile (but don't match for obscure reason)
* get it match again and fix some warning
* fix all warning
* Match 6 functions
* continue rename
* load img renames and first step or label menu items
* MenuItem struct names and some rename
* rename around
* rename code_80091750 to menu_item
* clean up a little
* Update menu_item.h
* document waypoint and more
* Revert "document waypoint and more"
This reverts commit 5e6eb4fbcc.
* apply review
* Update menu_item.c
* fix some review
* rename func_8009E620 to clear_menus
* do a rename
* apply review
* finish rename normally
* more small rename
* few fix of name
* few more fix
* minor fix
* Update menus.c
* last rename normally
* Update render_menus.s
* Update menu_items.c
* Renames seg2 textures.c
* MENU_ITEMtype --> MENU_ITEM_TYPE
* remove a useless parameter
* func_80099110 --> clear_menu_textures
---------
Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
Co-authored-by: AloXado320 <david.albujar.s.30@gmail.com>
* start making models extraction with blender
* finishing extract model
* Update fast64
* extract course
* Update fast64
* Update fast64
* simplify import of course_displaylists and course_textures and remplace adress with texture
* Update fast64
* change data format and simplify the thread queue
* move in a blender folder
* remove fast64
* re add fast64
* add model_extract and fast64_blender in makefile
* multithread with make file split the models into multiple json and add course segment
* Update fast64
* remove old model_extract
* remove the error when he don't find blender
* start rename around course section
* update submodule fast64
* fix compilation issue and add some model to extract
* Update fast64
* remove fast64
* re add fast64
* update submodule
* fix compilation issue
* add other collision gfx and prepare reorganise file
* re arrange json
* Create README.MD
* Update README.MD
* Update README.MD
* update fast64
---------
Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
* start making models extraction with blender
* finishing extract model
* Update fast64
* extract course
* Update fast64
* Update fast64
* simplify import of course_displaylists and course_textures and remplace adress with texture
* Update fast64
* change data format and simplify the thread queue
* move in a blender folder
* remove fast64
* re add fast64
* add model_extract and fast64_blender in makefile
* multithread with make file split the models into multiple json and add course segment
* Update fast64
* remove old model_extract
* remove the error when he don't find blender
* start rename around course section
* rename around object
* update submodule fast64
* fix compilation issue and add some model to extract
* Update fast64
* remove fast64
* re add fast64
* update submodule
* fix compilation issue
* add other collision gfx and prepare reorganise file
* re arrange json
* Create README.MD
* Update README.MD
* Update README.MD
* update fast64
* rename to initiate_next_state
* Revert "Merge branch '3d-objects' into general-object"
This reverts commit f5347b38cc, reversing
changes made to a353c4d954.
* revert the revert...
* revert 3d-models PR
* finish some revert
* Update code_80005FD0.c
* fix code_80091750.c
* Update code_80091750.c
* rename isTimerRunning to isTimerActive and set_object_timer_running to set_object_timer_state
* rename to initialize_next_state
* rename to object_next_state
---------
Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>