Commit Graph

343 Commits

Author SHA1 Message Date
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
Tyler McGavran 34aaf7808e
Some matches in code_80091750 (#535)
* Some matches in code_80091750

Found a couple functions that had not been split out properly

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

* More matches

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-01-10 18:36:52 -05:00
Tyler McGavran 4429c49062
Match a function, add some comments for some NON_MATCHING functions (#528)
Signed-off-by: Taggerung <tyler.taggerung@email.com>
2024-01-05 16:03:45 -07:00
MegaMech b923157c67
Match func_8000BBD8 (#526)
* Renames

* match func
2024-01-02 15:45:46 -07:00
coco875 7c44252daa
Finish bss (#527)
* Finish importing bss
2024-01-02 14:53:51 -07:00
Tyler McGavran 2727a5e5dd
Turn loop unrolling back on for code_8006E9C0 (#523)
Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-12-31 19:04:30 -07:00
Tyler McGavran c3975f2865
Cleanup some references to fake variables (#520)
* Cleanup some references to fake variables

* Some matches, header stuff, and updated a BSS file

Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-12-30 20:07:04 -07:00
MegaMech efd984fb62
Match func_8006F008 (#519) 2023-12-30 16:04:04 -07:00
coco875 e5a215cb7c
Add bss render player and spawn player (#518)
* finish render_player

* finish normally spawn_player bss
2023-12-30 15:46:05 -07:00
Tyler McGavran a38d338bf0
Some matches in code_80005FD0 (#517)
Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-12-29 10:54:39 -07:00
Tyler McGavran c89b4f6fe7
Match the BSS segment for code_80005FD0 (#516)
Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-12-28 21:39:35 -07:00
coco875 7597ee4ea8
add bss variable to camera.c (#514)
* add bss variable to camera.c

* Rename bss_8001C4D0.s to bss_80164AB0.s
2023-12-25 08:57:38 -07:00
MegaMech 68347c23c5
Match func_8001A588 (#513)
* Match func_8001A588

* Update doxygen_symbol_gen.py
2023-12-25 07:06:10 -07:00
coco875 3638f19145
some rename in code_8006e9c0 (#512)
* some basic function renames

* Renaming player hud related variables.
2023-12-25 06:43:47 -07:00
Tyler McGavran 371516f918
Some matches in code_80091750 (#511)
Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-12-24 19:57:02 -07:00
coco875 670a930f31
Rename code_8001F980 to render_player and code_800B45E0 to save (#507)
* Update and rename code_8001F980.c to render_player.c

* Rename code_8001F980.h to render_player.h

* rename import file to render_player

* Update and rename code_80004740.c to save.c

* Rename code_80004740.h to save.h
2023-12-24 15:52:09 -07:00
Tyler McGavran 96b209a753
Lots of matches in hud_renderer (#503)
Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-12-24 14:51:16 -07:00
Tyler McGavran b7b494f9d8
More matches in code_80005FD0 (#502)
Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-12-18 21:02:13 -07:00
Tyler McGavran 6b9f36bbb0
Some matches in code_80005FD0 (#501)
Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-12-17 22:29:01 -07:00
Matthew f4658efbba
Matches, near-matches, and fixed warnings in code_800B45E0 (#498) 2023-11-25 17:01:58 -07:00
Tyler McGavran 8b2bca8268
Some matches in code_80071F00 (#496)
Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-11-25 13:24:25 -07:00
Joshua Peisach a4b64d540c
Import some code_80071F00 matches (#495)
* Import some code_80071F00 matches
2023-11-24 19:11:37 -07:00
VDavid003 58d3f26f47
Match some D_8018E7AC related functions in code_80091750.c (#492) 2023-11-08 16:00:29 -07:00
Tyler McGavran cbe41239d7
More audio stuff (#488)
* Match create_next_audio_frame_task

Required some variable renaming and other changes

* Match synthesis_execute

I'm not entirly sure about the way we have stuff ifdef'd in
 PR/abi.h. I feel like we're doing something slightly wrong there


* Match synthesis_do_one_audio_update

There's something super fucked with the way our ifdef's work in
 abi.h. It is going to demand a lot more attention sometime in the
 future.

* Rename a couple functions

Also had to hack up the ABI file a bit. I'm convinced that we
 don't need nor want to have the EU/Shindou/US split thing the
 SM64 code does. There's probably just the 1 ABI version being
 used and we need to figure out what it looks like

Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-11-07 20:38:25 -07:00
MegaMech f75460cb8b
Matches in code_80005D0 (#487)
* Variety of matches
2023-11-07 20:17:28 -07:00
Tyler McGavran b6abd829d2
Give names to a lot of object spawn locations (#486)
Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-11-07 17:02:21 -07:00
AloXado320 893380da09
Match func_800C2474 (EU) and trim spaces in external.c (#485) 2023-11-05 23:57:22 -07:00
Tyler McGavran 80caf9a74a
Single match in math_util.c (#484)
Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-11-05 16:10:54 -07:00
Tyler McGavran 596fa15e8d
Matched the last in collisions.c (#481)
Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-11-02 22:31:19 -06:00