Tyler McGavran
d4a0f7ab8f
Add types for shell and triple shell parent ( #190 )
...
Match a function and refresh m2c output for functions that handle
(triple) shells
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
2022-05-04 21:49:11 -07:00
Tyler McGavran
6ed26d9786
Match a couple functions in code_80281FA0 ( #189 )
...
* Match a couple functions in code_80281FA0 and add a header file
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
2022-05-01 03:53:47 -07:00
MegaMech
2b6dc2cb0b
Create .gitattributes to auto parse out clrf line endings. ( #187 )
...
* Create .gitattributes
2022-04-27 22:44:24 -07:00
someone2639
5ca8e07a4d
fix matching on Arch/maybe Fedora ( #186 )
...
authored-by: Faris Awan <farisawan.2000@gmail.com >
2022-04-27 12:08:35 -06:00
MegaMech
c29ae8d069
More actor decomp ( #184 )
...
* More actor decomp
2022-04-26 22:16:52 -07:00
MegaMech
2f8a1bfcb6
Actor decomp ( #183 )
...
* Actor decomp
2022-04-26 15:48:36 -07:00
MegaMech
626513f90a
Update framebuffers.h ( #181 )
2022-04-21 02:30:43 -07:00
Tyler McGavran
581977a010
Match func_8002AB70 ( #180 )
...
* Match func_8002AB70
* Added a header for another file, which required adjusting
a couple other files
* Matched a couple more functions
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
2022-04-20 21:38:44 -07:00
Tyler McGavran
044e056fbe
Match assorted functions in code_80027D00 ( #179 )
...
Also refresh a couple mips_to_c outputs
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
2022-04-19 13:31:08 -06:00
Tyler McGavran
45354a149b
Mostly match a few functions in memory.c ( #178 )
...
* Match a few functions in memory.c
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
2022-04-18 08:04:46 -06:00
MegaMech
73662905b4
Delete func_80027A20.s ( #177 )
2022-04-16 23:23:03 -07:00
MegaMech
e4e5f91be5
audio load.c decomp ( #176 )
2022-04-16 23:11:40 -07:00
Tyler McGavran
13a11f0ffa
Match dma_copy functions ( #175 )
...
* Match dma funcs in code_80091750.c
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
2022-04-16 16:31:44 -07:00
Tyler McGavran
fe810f8d1f
Match 3 functions in code_80027D00 ( #172 )
...
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
2022-04-16 16:13:09 -07:00
Tyler McGavran
2dd77a35a0
Update header for code_8008C1D0 ( #173 )
...
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
2022-04-16 15:51:59 -07:00
Tyler McGavran
ac39d14729
Match func_80032D94 ( #171 )
...
* Match func_80032D94
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
2022-04-15 01:17:16 -07:00
Tyler McGavran
8d9ad9e098
Match func_80030FC8 ( #170 )
...
* Match func_80030FC8
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
2022-04-14 20:05:09 -07:00
MegaMech
ed708bad6e
Merge branch 'audiofix' into master
2022-03-04 22:15:25 -08:00
CoderStig
afaa857c9c
Merge branch 'audiofix' of https://github.com/MegaMech/mk64 into audiofix
2022-03-04 23:13:47 -07:00
CoderStig
345cbd4f19
Fix remaining pointers for shifting
2022-03-04 23:10:21 -07:00
MegaMech
614ae13215
fix audio pointers allowing rom shifts again ( #169 )
...
* fix audio pointers allowing rom shifts again
2022-03-03 21:21:06 -07:00
MegaMech
d25926eae4
Update code_8028DF00.c
2022-03-03 19:26:16 -07:00
MegaMech
fc4411edea
Update bss_8028DF00.s
2022-03-03 19:24:44 -07:00
CoderStig
c1114ebb6b
fix audio pointers allowing rom shifts again
2022-03-03 18:51:25 -07:00
MegaMech
2cc06e8a46
Update README.md ( #165 )
2022-02-22 17:29:58 -07:00
Tyler McGavran
33cb23c483
Name arrays of character animations ( #168 )
...
* Character animation naming
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
2022-02-22 17:29:29 -07:00
Tyler McGavran
a47e49249a
Match a few functions ( #167 )
...
They appear to be related to the textures used on the controller
pak menu
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
2022-02-22 16:33:01 -07:00
Tyler McGavran
4e4339126e
Match func_80091AC0 ( #166 )
...
* Match func_80091AC0
* Match func_8009A6D4
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
2022-02-22 11:45:29 -07:00
Tyler McGavran
a4e6192030
Match one function, update mips_to_c of 2 others ( #164 )
...
There's a function that appears to use continued fractions
to approximate the value of tanh(x/2), which is super weird.
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
2022-02-14 23:40:33 -07:00
Tyler McGavran
3403482de3
Match the other D_80189DE0 search functions ( #163 )
...
* Match the other D_80189DE0 search functions
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
2022-02-13 22:04:03 -07:00
Tyler McGavran
af8ca42a0c
Match several functions ( #162 )
...
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
2022-02-13 01:12:06 -07:00
Tyler McGavran
5205b09751
Name functions that search for 8018D9E0 entries ( #161 )
...
* Name functions that search for 8018D9E0 entries
The one with "_dupe" in its name is the one that has the potential hard lock
laying around
* Add comment for bug in find_8018D9E0_entry_dupe
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
2022-02-13 00:17:34 -07:00
Tyler McGavran
5badb9e49c
Replace mk_Vtx_Flag type with GBI provided Vtx ( #160 )
...
There's no reason to have our own special type when it exactly matches a GBI type.
This required updating some inc.c data as the old mk_Vtx_Flag type had the 'flag'
member in the incorrect location.
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
2022-02-13 00:04:43 -07:00
Tyler McGavran
aa47c86fe5
Mips2c refresh ( #159 )
...
* Match 3 functions
* Refresh a ton mips_2_c outputs
* Add a header file for data_segment2
Update a couple mips_2_c outputs based on the contents of the new header file
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
2022-02-07 22:39:14 -07:00
Tyler McGavran
64e8934b30
Break out some credit text stuff into a C file ( #157 )
...
* Break out some credit text stuff into a C file
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Add some comments for better clarity
Also delete the asm file for a function that was matched in the
previous commit
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
2022-02-03 21:06:30 -07:00
Tyler McGavran
2f6c87f14f
Identify a credits related struct ( #156 )
...
Move some structs around, place them in more meaningful headers
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
2022-02-02 13:19:51 -07:00
MegaMech
42fa90ff7a
Match OS funcs ( #152 )
...
* Matched osSyncPrintf.c
* Matched contramread.c
* Matched contramwrite.c
* Matched osPfsInit and osPfsGetStatus
2022-01-30 23:31:43 -07:00
Tyler McGavran
04052ba259
Fix the match for guPerspectiveF ( #155 )
...
Most of the work had been done long ago, only had to fix some rodata
issues
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
2022-01-28 23:35:24 -07:00
Tyler McGavran
b28dd3898d
Named "*_step_*_towards" functions ( #154 )
...
Also redefined a Lights1 variable in terms of GBI macros.
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
2022-01-28 21:27:32 -07:00
Tyler McGavran
a5e945b233
Add struct for D_8018CA70 ( #153 )
...
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
2022-01-27 17:29:33 -07:00
ChiefFruitcake
226a557d8c
Match functions in code_80071F00 related to D_80165C18 ( #151 )
...
* Match some functions in code_80071F00
* More matching in code_80071F00
* And more matches in code_80071F00
* Fix typos in struct_80165C18_entry
2022-01-27 01:21:04 -07:00
MegaMech
5fd2a88a3f
decomped some of 800431B0.c ( #148 )
...
* Decomped some funcs in code_800431B0.c
* Split a few ununused funcs
2022-01-25 02:56:31 -07:00
Tyler McGavran
e371625acb
Add in a struct for surface map entires ( #150 )
...
Sourced from https://github.com/micro500/mariokart64/wiki/Surface-Map ,
only minor adjustments were made.
Updated the bounding box corner struct a little based on information from
the surface map struct.
Refreshed several mips_to_c outputs
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
2022-01-24 21:22:05 -07:00
ChiefFruitcake
f0e40cb746
More function matching in code_80057C60 ( #149 )
2022-01-24 20:22:43 -07:00
Tyler McGavran
78681aa5ba
Variety of changes ( #147 )
...
* Update player struct with lap count and rank
Also rename some arrays to better reflect what they are tracking
* Add bounding box corner struct and surface type enum
* Create a .h file and move stuff into it
See https://github.com/DeadHamster35/Tarmac64/wiki/Surface-Types and
https://github.com/micro500/mariokart64/wiki/Surface-Map for reference
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
2022-01-22 22:46:07 -07:00
ChiefFruitcake
a8713d2078
code_80057C60 ( #146 )
...
* Match func_8006E058. Fix compiler warnings in code_80057C60.c
* Match functions in code_80057C60
* Undo comments in Camera struct
2022-01-21 20:23:34 -07:00
Tyler McGavran
72553e5194
Fix a small discrepancy with kart_attributes ( #145 )
...
Some of the variables defined in kart_attributes.c had they're type wrong when
being used in other files.
This means that some previously defined variable no longer exist, however
that's fine as they were never directly referenced. Their existence was
almost certainly a decomp artifact.
For example, D_800E2404 was never "real". Instead it was likely a compiler
artifact caused by accessing D_800E2400 at the hard coded index of 1.
I've updated kart_attributes.h to reflect these changes
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
Co-authored-by: MegaMech <MegaMech@users.noreply.github.com >
2022-01-18 05:59:54 -07:00
Tyler McGavran
e413e2ec00
Match 4 functions in math_util, do some tidying up of imports for math_util ( #144 )
...
* Match func_802B5450, func_802B5F00, func_802B71CC
* Match func_802B4FF8
Also do some import fixing
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
2022-01-18 05:46:58 -07:00
ChiefFruitcake
5e577b8999
code_8008C1D0 part 3 ( #143 )
...
* More matches in code_8008C1D0
* Matching continued
* Create struct for Player struct 0x258 field
2022-01-18 01:22:35 -07:00
Tyler McGavran
dac4698b5c
Move texture data from asm to C ( #142 )
...
* Move texture data from asm to C
Required dropping a couple typedefs since they no longer had a purpose
Regenerated a couple mips_to_c outputs based on the updated types
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
2022-01-18 00:44:11 -07:00