Commit Graph

371 Commits

Author SHA1 Message Date
MegaMech 89fb420555
Match Mario Kart 64 (#709)
* 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
2025-05-11 18:03:50 -06:00
AloXado320 30fef62f81
Fix EU build and related cleanup and fixes (#710)
* 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
2025-05-11 18:00:37 -06:00
Revo 1f9e0d7e6a
Square is a Bad Company (#708)
* square is a bad company
2025-05-08 20:26:51 -06:00
MegaMech 6d900d30ac
PR Matching func_80086074 (#707)
* Commit unpr'd matches

* fix compile

* Commit matching func_80086074
2025-05-08 16:03:42 -06:00
MegaMech daab4f501f
PR Matches (#706)
* Commit unpr'd matches

* fix compile
2025-05-08 15:00:53 -06:00
inspectredc 5dbcf42e95
Misc matches (#704)
* couple of matches

* match func_800C4FE4

* match func_800C284C

* match func_800C2A2C

* match func_800C3724

* match func_800C4398

* format

* format2

* remove asms
2025-04-30 10:36:02 -06:00
coco875 731b24eabf
Doc code 80005fd0 (#697)
* Document code_80005FD0.c
2025-01-18 17:24:09 -07:00
coco875 5e1ce53a4c
the big code_80091750.c rename (#684)
* 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>
2025-01-03 17:44:23 -07:00
coco875 8901f82f5a
some rename and allow change the course engine (#691)
* some rename and allow change the course engine

* fix comment

* add more comment

* rename and change description
2024-10-20 17:24:37 -06:00
AloXado320 0e0345f96d
Label menus.c and small documentation (#690)
* Label menus.c and small documentation

* remove test

* save.h

* BACK_OUT -> GO_BACK
2024-10-05 15:15:47 -06:00
MegaMech cb0e7678bf
Match func_800A66A8 (#686)
* Update code_80091750.c

* Delete asm/non_matchings/code_80091750/func_800A66A8.s

* Update code_80091750.c

* Update code_80091750.c

* Update code_80091750.c
2024-09-25 08:11:19 -06:00
coco875 93aebabaa3
Rename Object Timing Related Code (#673)
* 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>
2024-09-15 15:03:40 -06:00
AloXado320 c9b9c2d7c8
Fix label variables used in menus (#675)
* Fix label variables used in menus

* split D_800F2BDC and clang format menu.c

---------

Co-authored-by: coco875 <pereira.jannin@gmail.com>
2024-09-06 12:18:57 -06:00
coco875 b3aa6eceda
some rename for torch (#588)
* 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
2024-08-31 08:34:52 -06:00
MegaMech 8ebae23080
Label a save info loop (#645)
* save info

* more gcc progress
2024-08-22 23:59:04 -06:00
coco875 7025ff0ca1
update libultra asm (#648)
* update libultra asm

* fix gcc __osThreadTail

---------

Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
2024-08-22 23:31:24 -06:00
MegaMech 3d7cdcee8a
Collision Documentation (#640)
* Collision related renames
2024-06-26 19:22:38 -06:00
MegaMech bbf45b44de
Renames for screenId and other changes (#636)
* screenId renames
2024-06-15 12:01:58 -06:00
MegaMech f5d8147d4b
Update Attempts and cleanup synthesis_process_notes (#633)
* Update code_80005FD0.c
2024-05-01 19:19:02 -06:00
inspectredc d04a5dcdda
Match func_800AFE00 (#631)
* Match func_800AFE00
2024-04-23 17:43:51 -06:00
MegaMech 911c4ee956
Match funcs (#627)
* Match funcs
2024-04-23 11:36:24 -06:00
MegaMech 43fc4e7792
Match two funcs (#623) 2024-04-21 22:58:57 -06:00
MegaMech 85a8c6bd61
Update attempts (#622) 2024-04-21 19:08:30 -06:00
MegaMech cda6a508fd
Match func_8007C4A4 & func_80095AE0 (#618)
* Match funcs

* Add ub fix
2024-04-20 21:56:02 -06:00
Tyler McGavran d65aa8729d
Update some attempts (#595)
* Update some attempts

* Matched a func
2024-04-19 20:06:26 -06:00
zestydevy b2ffbda43f
match func_8007C360 (#613)
* match func_8007C360

* Delete asm/non_matchings/update_objects/func_8007C360.s
2024-04-17 20:44:14 -06:00
John Liljegren e05474030f
Matched func_800B69BC (#597)
* Matched func_800B69BC

* Delete asm/non_matchings/save/func_800B69BC.s
2024-04-17 11:21:41 -06:00
MegaMech d9c1ebb626
Initial gcc Support (#568)
* Added GCC
2024-04-15 10:53:58 -06:00
MegaMech 3da5a4f343
Add ymls for Torch code generator (#497)
* Add torch

* update jenkinsfile
2024-04-09 21:29:57 -06:00
coco875 2b66867af1
Rename cpu behaviour related symbols (#586)
* Rename cpu related symbols
2024-04-06 11:35:13 -06:00
coco875 12f332614e
move actors code in actors folder and rename thing related to actor (#584)
* Move actors into their folders

* Renamings and documentation
2024-04-03 12:44:44 -06:00
Matthew 705fb6d915
Match func_8009A374 (#592)
* Match func_8009A374

* Clean up func_8009A478
2024-04-03 11:25:07 -06:00
Tyler McGavran 6af653ad3d
Update some attempts, got a couple matches (#591)
* Update some attempts, got a couple matches

* More matches and updates

Signed-off-by: Taggerung <tyler.taggerung@email.com>
2024-04-02 13:00:35 -06:00
Tyler McGavran 893ecbe838
Turn D_802BFB80 into a union (#582)
* Turn D_802BFB80 into a union

As much as I hate it, it does make more matches possible

Got a few more, unrelated matches

Signed-off-by: Taggerung <tyler.taggerung@email.com>

* Update based on comment

Signed-off-by: Taggerung <tyler.taggerung@email.com>

* Update to address comment

Signed-off-by: Taggerung <tyler.taggerung@email.com>

---------

Signed-off-by: Taggerung <tyler.taggerung@email.com>
Co-authored-by: Taggerung <tyler.taggerung@email.com>
2024-03-25 13:25:13 -04:00
Tyler McGavran 6f4decf6b3
Update StarSpawn to StarCloudData (#578)
* Update StarSpawn to StarCloudData

Add and better specify the struct used to control how stars and
 clouds are handled in various courses.
2024-03-04 19:28:31 -07:00
Matthew 0ac8284fb2
Match func_802B5B14 (#581)
* Match func_802B5B14
2024-03-04 11:03:41 -07:00
Tyler McGavran 18e7c8939b
Matches in code_80005FD0 (#580)
Signed-off-by: Taggerung <tyler.taggerung@email.com>
Co-authored-by: Taggerung <tyler.taggerung@email.com>
2024-03-04 11:26:36 -05:00
coco875 f99e242d97
Document render/update objects (#565)
* Document objects related code.
  * Including render/update objects code
* Various renamings
2024-03-04 09:02:45 -07:00
Tyler McGavran 5c698ffffc
More matches in code_80091750 (#575)
* More matches in code_80091750

Fixed some missing balign directives in some assembly files.

A lot of these matches are dependent on flattening a bunch of
 arrays, which feels icky but makes matching possible.

Signed-off-by: Taggerung <tyler.taggerung@email.com>

* Matched another function

Updated the attempts for a couple others

Signed-off-by: Taggerung <tyler.taggerung@email.com>

---------

Signed-off-by: Taggerung <tyler.taggerung@email.com>
Co-authored-by: Taggerung <tyler.taggerung@email.com>
2024-02-22 12:43:10 -05:00
Tyler McGavran 91e881c107
Matches in audio/external (#570)
Also deleted an unused .c file, its current name is `effects.c`

Signed-off-by: Taggerung <tyler.taggerung@email.com>
Co-authored-by: Taggerung <tyler.taggerung@email.com>
2024-02-22 12:33:39 -05:00
Tyler McGavran b0653d7416
A couple matches in code_80057C60 (#569)
Signed-off-by: Taggerung <tyler.taggerung@email.com>
Co-authored-by: Taggerung <tyler.taggerung@email.com>
2024-02-22 12:15:52 -05:00
Tyler McGavran 49ab41f0c5
A match in code_8006E9C0 (#573)
Also updated ctx_includes to match the current state of the
 repository (primarily fixing the trig_table include location)

Signed-off-by: Taggerung <tyler.taggerung@email.com>
Co-authored-by: Taggerung <tyler.taggerung@email.com>
2024-02-14 19:16:54 -05:00
Tyler McGavran 811e05c297
Some matches in code_80091750 (#567)
Signed-off-by: Taggerung <tyler.taggerung@email.com>
Co-authored-by: Taggerung <tyler.taggerung@email.com>
2024-02-14 18:50:16 -05:00
coco875 d6663422b0
fix warning, type and document audio (#559)
* Document audio

* Update external.h

* fix warnings

* put a do while on one line
2024-02-13 07:27:58 -07:00
MegaMech 19410f2825
Code Segments Shiftable (#566)
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
2024-02-05 17:08:29 -07:00
MegaMech c2d7f1077c
Match (#562) 2024-02-05 17:07:30 -07:00
Tyler McGavran e63ea937d2
Match a couple functions (#558)
The matches in code_80057C60 required changes to several other
 function signatures. Thankfully that didn't cause any problems
2024-01-21 19:11:13 -07:00
coco875 a86b3b0a2e
document player and cpu (#534)
* document player and cpu

* cpu_descisions_branch_item to cpu_decisions_branch_item
2024-01-17 16:19:54 -07:00
coco875 6716570e2a
Rename some Object related function and property (#531)
* rename some variables
2024-01-17 15:10:26 -07:00
coco875 eb69ec2493
rename some texture (#530)
* rename some texture

* format common_texture
2024-01-16 19:07:37 -07:00