Commit Graph

430 Commits

Author SHA1 Message Date
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
Tyler McGavran 716b926260
Place variables from data_0DD0A0 to code_800029B0 (#477)
They match when placed there, although its not immediately clear
 that they truly belong there. But a match is a match.

Also cleaned up a bunch of .h files that had references to the
 newly matched variables.

Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-10-27 20:00:52 -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 a0f451f2a2
Allow course geography to shift (#475)
* Remove course vertex and packed from undefined syms
2023-10-19 23:46:23 -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
coco875 134e126cd9
some define comment and replace number by const (#469) 2023-10-19 12:06:12 -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
coco875 c71395bc59
Textures doc (#467)
* add few description

* Update Doxyfile

* remove space

* Update player_controller.c
2023-10-19 10:44:00 -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
MegaMech 5b397234bf
Readme note update (#463)
* Update README.md
2023-10-14 12:22:42 -06:00
MegaMech e4d1967f4f
Fix readme formatting (#462)
* Update README.md
2023-10-14 12:16:58 -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 d71e1c7b70
finish setup doxygen (#458)
* update and setup doxygen file

* move to docs/html

* Readme - Add link to the documentation
2023-10-13 21:04:33 -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 740efaa303
Add Enhancements and Flycam Enhancement (#452)
* Add flycam
2023-10-10 11:25:16 -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
Joshua Peisach 26923a31e9
Add Doxyfile (#434) 2023-09-27 14:02:11 -06:00
coco875 2f583fdb42
cleaning camera, kart_dma, menu, math_util (#436)
* cleaning camera.h

* cleaning math_utils.h and remove space

* cleaning kart_dma

* cleaning menu.h
2023-09-22 22:00:30 -06:00
coco875 3a4b8c5a34
removing space and unused fonction (#433) 2023-09-20 17:30:22 -06:00
MegaMech 81a9c346d4
Delete courses/cup folders and rename course related files (#432)
* Move course folders

* Rename model to vertices

* Rename packed to displaylists

* Rename displaylists to course_displaylists.inc.c

* rename vertices to course_vertices

* makefile cleanup

* Rename trophy_model to ceremony_data

* move ceremony_data.inc.c to ending folder
2023-09-20 17:17:24 -06:00
coco875 f4fc23bada
Header & General Cleanup (#431)
* Header cleanup
2023-09-20 11:59:55 -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 b97b57cd8a
Update ctx_includes.c (#429) 2023-09-20 11:11:25 -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
AloXado320 4e583c6fd1
Fix castle ceremony pointers (#418) 2023-09-14 16:11:01 -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
MegaMech f20221fab6
Fix comment white-space (#415)
* Update main.c
2023-09-11 15:08:40 -06:00
MegaMech a5b7f975d2
Update main.c (#414) 2023-09-11 15:06:59 -06:00
Tyler McGavran c85a333a3f
Add new utility to calculate packed dl end and vertex count (#411)
* Add new utility to calculate packed dl end and vertex count

Requires changing a bunch of actual references to packed dl lists
 with raw numbers. Which feels extremely bad but it doesn't match
 otherwise.

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

* Hard code array lenghts in appropriate headers

Use macros to generate the vertex counts and packed dl end points

Heavily dependent on the array lengths being accurate. If they
 aren't stuff will break.

Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-09-10 14:21:16 -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 233e9217e7
Remove undefined_syms for common_textures (#409)
* Remove undefined_syms for common_textures

Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-09-09 11:33:20 -06:00