* 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 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
* 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
* 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>
* rename gBombKartSpawns, and fix cup ID
* Update doxygen_syms.md
* rename for gCourseIndexInCup and his constant
* rename to gCupSelectedCourseIndex
* forget a change in constant
* fix compilation issue
* 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>
* document texture of kart
* change screenPlayerId to screenId
* some documentation around object
* Revert "some documentation around object"
This reverts commit cbb39078e0.
* more rename
---------
Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
his PR cleans up segment related code in main.c.
Also cleans up the linker a bit.
Add memory pool to linker as .bss to validate that it exists properly.
Move framebuffers, gfx, and audio buffers out of racing segment and make its own segment.
Rename framebuffers.c to buffers.c as it contains more than just framebuffers.
Import asserts from sm64 to validate that code segments are not overlapping
Rename segNoload to segmentNoload
Rename 802BA370 segment to trigTables
Rename gMenuSelectionFromEndingSequence to gGotoMenu
Rename gMenuSelectionFromQuit to gGotoMode
Rename SEG_ENDING_SEQUENCES to SEG_ENDING
Rename data_821D10 to ceremonyData
Rename data_825800 to startupLogo
* Matches, add permute, and add notice to quick runners
* 80281fa0 matches, render_courses, and create defines for audio
* Renamed 80281fa0.h, func naming, and deleted data_121DA0
* Added clang format
* Matched load_surface_map
* Match func in memory.c
* Match func_80021C78
* Match func_8006E8C4
* Match func_80295BF8
* Match func_8001F980 (already matching)
* Match func_800219BC
* Match func_80022A98
* Add item defines
* Name variables related to selecting a game from the main menu
* Match a couple functions requiring jumptable
* Match func_800B4728
* Match func_800B536C, func_800B5888, func_800B5AAC, and func_800B5AD8
* Name functions related to loading and validating SaveData
* Match func_800B4CB4
* Update selected player defines
* Match func_800B5404
* Match func_800B6088
* Decompile a couple code_800AF9B0 functions
* Match func_800B34E8, func_800B44AC, and func_800B45E0
* Use sizeof in func_800B45E0 instead of hard-coded numbers
* Match func_800B4520. Separate unused function func_800B4560 into new asm file
* Match func_800B5B2C and func_800B6A68. Create new unused func_800B6AF8
* Match func_800B4874 and func_800B4A10
* Improve matched functions reading time trial records
* Match func_800B13B0. Name variables related to data menu
* Match func_800B3B58. Remove warnings due to pointer type in osEepromLongWrite calls
* Rename gStartMenuCounterForDemos to gMenuTimingCounter
* Match func_800B5F30
gNextDemoId is a little weird. If a demo is currently running that variable is the ID
of the demo that will run next. It's never "current", its always one step ahead
Signed-off-by: Taggerung <tyler.taggerung@gmail.com>