Commit Graph

306 Commits

Author SHA1 Message Date
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
Tyler McGavran 0f3bc7ca1a
3 matches in code_80057C60 (#480)
Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-11-02 22:09:47 -06:00
MegaMech a1f432e9dc
match func_8000F628 and add NUM_PLAYERS define (#479)
* Match two funcs and add NUM_PLAYERS define
2023-10-28 12:39:32 -06:00
Tyler McGavran c17d5c76c9
Linkage for the ceremony_data file (#478)
* Linkage for the ceremony_data file

Cleaned up all but 1 undefined symbol from the 0x0B range. The one
 leftover may be something from texture_tkmk00. Or atleast, that's
 what I think. Can't say for certain

* Startup logo linkage

Cleaned up a bunch of unused items from assets.json too

Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-10-27 22:18:20 -06:00
AloXado320 6e9f0ae130
Fix EU build and match func_800C76C0 (eu) (#476)
* fix eu build and match func_800C76C0

* fix missing pointer
2023-10-20 15:42:43 -06:00
MegaMech 76dc587a34
EU 1.0 OK (#265)
* EU 1.0 ok

* EU 1.1 ok

Co-authored-by: AloXado320 <david.albujar.s.30@gmail.com>
2023-10-19 23:37:21 -06:00
Tyler McGavran 291c1d40d6
Lots of mcathes in audio/external (#473)
Required making some changes to a the signatures of a couple
 functions in other files

Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-10-19 17:26:14 -06:00
Tyler McGavran 318bf3a6c2
Match audio/external.c BSS segment (#470)
* Match audio/external.c BSS segment

Also fix a misnamed function found in audio/heap, used in
 audio/load

* Match audio/seqplayer .data section

* Match func_800C76C0

That was the last function referencing some fake variables, so it
 should be possible to match audio/external's .data section as
 well

* Match audio/external's .data section

The only thing in src/audio left to be matched is audio/external's
 .text section.

There's probably some beautifying that could be done to data/sound_data,
 but that is a future problem

Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-10-19 12:31:33 -06:00
Joshua Peisach ac17d943be
hud_renderer stuff (#468)
* hud_renderer func_800534A4

* hud_renderer func_8004ED40
2023-10-19 11:31:23 -06:00
Tyler McGavran a870180a2c
Couple matches (#466)
Removed some things from variables.h and functions.h

Added headers for some src/data files
2023-10-18 23:19:07 -06:00
MegaMech 53f84286d6
match a few funcs and add compiler option (#465)
* match a few funcs and add compiler option
2023-10-18 13:56:26 -06:00
Joshua Peisach 03a5550a94
Rename bomb kart structs (#464)
Signed-off-by: Joshua Peisach <itzswirlz2020@outlook.com>
2023-10-14 21:08:15 -06:00
AloXado320 77241ead94
Revamp progress script, change file structure and remove unused asm (#459)
* Revamp progress script, change file structure and remove unused asm

* Add text when there's no GLOBAL_ASM remaining (100%)
2023-10-14 12:07:09 -06:00
Tyler McGavran aa720db51a
A few matches across a couple files, although mostly code_80005FD0 (#460)
Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-10-13 22:09:18 -06:00
coco875 10e0e61731
rename in code_8001F980.c (#456)
* some renames

* Update code_8001F980.c
2023-10-13 20:55:46 -06:00
AloXado320 364f0776c6
Match __osLeoInterrupt.c (#457)
* Match __osLeoInterrupt.c

* fix formatting

---------

Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
2023-10-11 19:00:21 -06:00
MegaMech 7f14bf80df
Rename wayPoint to waypoint (#448)
* Rename wayPoint to waypoint

* other
2023-10-09 20:46:56 -06:00
AloXado320 41a0471605
Match func_80026B4C and fix D_802F1F80 (#447)
* Match func_80026B4C and fix D_802F1F80 with AVOID_UB
2023-10-07 17:51:11 -06:00
coco875 d8cfed9491
Various Naming (#445)
* Mass renames
2023-10-07 16:31:48 -06:00
MegaMech 2b74bbbcef
Doc setup_game_memory, label syms, add osSyncPrintf support, match funcs (#444)
* Doc setup_game_memory and label syms

* match func_800132F4

* match func label defines

* fix some fake ptrs

* match more code

* Matches

* Add osSyncPrintf support and matches

* Add func equiv to draw_square and add comment to is_debug
2023-10-06 00:19:09 -06:00
Joshua Peisach 274fc21ffa
Taggerung's match of func_8005E6C (#441)
* Taggerung's match of func_8005E6C
2023-09-30 19:31:13 -06:00
coco875 ab2be40711
Function renaming for math_utils and math_utils_2 (#440)
* Renaming functions in math_utils
2023-09-27 14:42:14 -06:00
Tyler McGavran 7d2fe91598
Couple matches in code_80091750 (#430)
Required fixing a problem relating to rodata. There was a missing
 balign directive causing some issues when trying to match
 func_800A9A98

Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-09-20 11:44:36 -06:00
AloXado320 9f2330e259
Migrate some rodata files to C, for files in NEEDS_RODATA state (#427)
* Migrate some rodata files to C, for file on NEEDS_RODATA state

* clarify odd texture variable, split unused vertices

* Remove unused file
2023-09-20 11:24:43 -06:00
coco875 378144b35b
some renaming (#419)
* Renames
2023-09-19 12:23:12 -06:00
MegaMech 91fc8ea473
Some train decomp and move seg2 files to ending (#423)
* Some train decomp

* Move seg2 to ending/

* move racing code files into racing folder

* Fix progress

* Rename segments
2023-09-17 16:57:18 -06:00
AloXado320 3f221d6f25
Label mtx variables in GfxPool (#424) 2023-09-17 16:39:25 -06:00
Joshua Peisach 78a7d02b87
Match func_800CA730, func_800518F8 and some code_80091750 stuff (#421)
* Match func_800CA730, func_800518F8

* a few more random code_80091750 matches
2023-09-17 07:04:46 -06:00
Tyler McGavran 8233fa2aab
More audio matches (#420)
Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-09-15 21:50:27 -06:00
Tyler McGavran 86c86c8bcd
Lots of matches in the audio code (#417)
* Lots of audio matches

Fully matched heap.c, lots of load.c and some stuff in seqplayer.c

Matched heap.c's BSS segement and moved some BSS stuff out of
 load.c into data.c, since that where it appears to belong
 according to SM64.

Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-09-13 22:36:27 -06:00
MegaMech 4ee09e005f
Import bss for audio and elsewhere (#416) 2023-09-12 19:43:54 -06:00
Tyler McGavran ccfe604719
Assorted matches in audio/external (#413)
Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-09-09 23:50:03 -06:00
Joshua Peisach b0ca74ff0d
Audio/external matches (#412)
* Match func_800C8920, func_800C8AE4, and..

Introduce struct Unk_800E9F7C and cleanup existing code

* Match func_800C40F0, add the likely other pos vars in the unk struct

* func_800C8CCC
2023-09-09 22:27:40 -06:00
MegaMech 70207db13b
Various cleanup (#410) 2023-09-09 18:01:01 -06:00
Tyler McGavran 7afffb63f5
Cleanup undefined_syms for all the course data (#407)
* Update building of packed_dl files

* Expose course_data symbols to linker.

* Remove undefined_syms for course data

* Update ctx_includes

Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-09-08 22:56:49 -06:00
MegaMech 208fecdd28
Match bss for code_800029B0 and clean headers (#406)
* Match bss for code_800029B0 and clean headers

* Fix dvdl and a warning
2023-09-08 13:39:13 -06:00
Joshua Peisach b723c1be14
a few matches (#404)
* code_8006E9C0: match func_80071818

* Match 800C8F80, 800917B0, 800AEF14
2023-09-08 10:08:47 -06:00
MegaMech bba223ffa4
Match bss in podium ceremony (#403) 2023-09-07 11:44:13 -06:00