MegaMech
0c10beae0e
Matches in 80281fa0, render_courses, and create defines for sound cues. ( #276 )
...
* Matches, add permute, and add notice to quick runners
* 80281fa0 matches, render_courses, and create defines for audio
* Renamed 80281fa0.h, func naming, and deleted data_121DA0
* Added clang format
* Matched load_surface_map
* Match func in memory.c
2022-11-21 04:06:12 -07:00
Tyler McGavran
4647cdcd7e
Assorted, unrelated matches ( #267 )
...
* Assorted matches
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
2022-11-01 15:07:35 -06:00
Tyler McGavran
cc4b5bfcd2
Some matches and m2c refreshing for code_80027D00 ( #264 )
...
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
2022-10-09 18:08:15 -07:00
Tyler McGavran
b7e7b34998
A bunch of unrelated, assorted changes ( #263 )
...
Couple matches functions, an update to a struct, a bunch of header
files adjustments, and some mips_to_c regenerations
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
2022-09-30 22:48:59 -06:00
MegaMech
82b53f5928
Player struct member naming and matched a few funcs ( #262 )
...
* Player struct member naming
* Matched a few funcs
2022-09-26 12:59:41 -07:00
coco875
32358c30fd
Change a variety of constants to defines ( #257 )
...
* Change a variety of constants to defines
* Add notes regarding menu columns
* Change unknown type to known types
2022-09-18 21:54:14 -06:00
Tyler McGavran
2c57c81f3a
Match the rest of actors.h ( #254 )
...
* Matched rest of actors and more
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
2022-09-08 16:19:53 -07:00
Tyler McGavran
1897d232a6
Add lots of headers ( #252 )
...
* Add a lot of header files
Did my best to move all relevant function prototypes and external
variable declarations into the header files too.
Matched a few functions in the process
* Updated progress.py
Some of the listed files/folders have been deleted/renamed,
so I reflected those changes in progress.py
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
2022-08-25 17:57:58 -07:00
MegaMech
e9383d1b7a
code_8001F980 decomp + profiler doc + more ( #250 )
2022-08-01 16:32:20 -07:00
MegaMech
7042a3eab5
Document game state related logic ( #244 )
...
* Document game state logic
* More namings
2022-07-15 00:44:33 -07:00
MegaMech
fd7941e841
Split out some unused asm and documented main.c ( #242 )
...
* Splitting out unused asm
* Documented main.c
2022-07-11 00:02:41 -07:00
Tyler McGavran
f2eef3b82e
Identify some stuff in the Camera struct ( #238 )
...
Make a header file for all the camera stuff, refresh a lot of
mips_to_c output
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
2022-07-06 17:36:27 -07:00
Tyler McGavran
a8e5c0f212
Match several functions in code_80005FD0 ( #230 )
...
Introduce waypoint struct, which code_80005FD0 seems to be
involved with.
Updated several mips_to_c outputs as well.
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
2022-07-01 13:14:20 -07:00
Tyler McGavran
491f37be4d
Match code_8003DC40 ( #223 )
...
Matched its rodata too
Required making a minor adjustment to the Player struct, which
required updating a couple of other files
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
2022-06-14 22:28:10 -07:00
MegaMech
43fd723266
Match dma funcs in 80027040.c ( #209 )
...
* Match dma funcs
* Decrement file count decomped by one in readme
2022-05-24 03:04:28 -07:00
Tyler McGavran
84cb46c0e5
Update and add some header files ( #205 )
...
* Update header files for main, memory and math_util
* Required updating func_802A82E4 to keep the match
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
2022-05-20 18:51:56 -07:00
MegaMech
489e897147
Update gitignore & match more actor funcs ( #206 )
...
* import random_u16 to sm64
* rand math decomp
* Match func_80298AC0
* Match some actor funcs
* Renames
* update gitignore for .bin textures
* update player struct member 34 to Vec3f
* Named and documented actor destroy funcs
2022-05-19 13:20:39 -07:00
MegaMech
bcf65f3883
import random_u16 to sm64, match random_s32, and match actor func ( #203 )
...
* import random_u16 and atans from sm64
* rand math decomp
* Match func_80298AC0
2022-05-19 01:39:18 -07:00
Tyler McGavran
ecb085b291
Add some more actor types, match a function ( #191 )
...
* Add some more actor types, match a function
* Identify the boundBox member of the Player struct
Note that while the `flag` members are signed, they should be understood as just a group of bits.
Based on some googling around (see https://stackoverflow.com/a/11644749 ) the operation `thing.flag |= 0x8000`
is NOT undefined behaviour, even though that is setting the sign bit.
The numerical interpretation of the result as a signed number is implementation defined, while the
actual operation acts on the bit representation of the number.
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
2022-05-06 21:56:43 -07:00
MegaMech
2f8a1bfcb6
Actor decomp ( #183 )
...
* Actor decomp
2022-04-26 15:48:36 -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
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
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
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
Maciek Baron
1bbc7674ff
Identify active screen mode, relabel accordingly ( #141 )
2022-01-17 06:44:14 -07:00
Tyler McGavran
d6cbf56537
Add a couple header files, add some mips_to_c of some previously un-decomped functions ( #132 )
...
* Add a couple header files
These files contain function prototypes for matches functions, NON_MATCHING functions,
and functions used by matched functions.
At this point in time those headers may contain prototypes for functions defined in
unrelated files, but fixing that will have take time
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
2022-01-04 19:57:16 -07:00
Tyler McGavran
c669d792a2
Match the other move_towards functions ( #125 )
...
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
2022-01-01 18:22:31 -07:00
Maciek Baron
7df6d01ef3
Add player and controller labels, rename function ( #123 )
...
* Add player labels, rename function
* Relabel controller vars to improve readability
2022-01-01 13:06:21 -07:00
ChiefFruitcake
1b40669f0d
Menu selection global variable ( #113 )
...
* Rename D_800E86A0 to gMenuSelection. Add menu selection options to defines.h
* Other namings
2021-12-24 20:43:17 -07:00
Maciek Baron
7a0280f0e3
Add gPlayerIsAccelerating, gPlayerBalloonCount and update related code ( #105 )
...
* Add balloon count
* Add gPlayerIsThrottleActive
2021-12-20 04:22:04 -07:00
CoderStig
632512ada9
Imported funcs from sm64 to code_80004740.c and trig_tables.inc.c ( #68 )
...
* fixed float issue brought over from zeldaret
* Import trig_tables.inc.c
* Delete game_data_802BA370.s
* Import two funcs from sm64 into code_80004740.c
2021-11-28 15:42:03 -07:00
Tyler McGavran
3e0bed79d3
Add defines for cup selection ( #66 )
...
* Add defines for cup selection
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Change BATTTLE (3 T's) to BATTLE (2 T's)
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
2021-11-23 21:19:21 -07:00
CoderStig
bd6c82588a
Added gamemode and CC defines ( #64 )
...
* Added gamemode and CC defines
2021-11-23 13:34:54 -07:00
CoderStig
f88c578b98
Added defines for Player->unk_000 bitfields ( #63 )
2021-11-23 04:24:12 -07:00
Tyler McGavran
a2dc62ccf8
Jump Table Related Disassembly ( #60 )
...
* Part 1, Commit 1 of 24
audio/effects
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 1, Commit 2 of 24
audio/external
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 1, Commit 3 of 24
audio/heap
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 1, Commit 4 of 24
audio/port_eu
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 1, Commit 5 of 24
audio/seqplayer
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 1, Commit 6 of 24
code_80005FD0
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 1, Commit 7 of 24
code_8001C4D0
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 1, Commit 8 of 24
code_80027D00
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 1, Commit 9 of 24
code_800393C0
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 1, Commit 10 of 24
code_8003DC40
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 1, Commit 11 of 24
code_800431B0
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 1, Commit 12 of 24
code_80057C60
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 1, Commit 13 of 24
code_8006E9C0
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 1, Commit 14 of 24
code_80071F00
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 1, Commit 15 of 24
code_80086E70
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 1, Commit 16 of 24
code_8008C1D0
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 1, Commit 17 of 24
code_80091750
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 1, Commit 18 of 24
code_800AF9B0
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 1, Commit 19 of 24
code_8028DF00
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 1, Commit 20 of 24
code_80290C20
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 1, Commit 21 of 24
code_802B0210
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 1, Commit 22 of 24
code_actors
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 1, Commit 23 of 24
memory
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 1, Commit 24 of 24
os/__osException
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 2, Commit 1 of 20
audio/effects.c
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 2, Commit 2 of 20
audio/external.c
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 2, Commit 3 of 24
audio/heap.c
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 2, Commit 4 of 20
audio/port_eu.c
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 2, Commit 5 of 20
audio/seqplayer.c
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 2, Commit 6 of 20
code_80005FD0.c
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 2, Commit 7 of 20
code_8001C4D0.c
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 2, Commit 8 of 20
code_80027D00.c
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 2, Commit 9 of 20
code_8003DC40.c
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 2, Commit 10 of 20
code_800431B0.c
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 2, Commit 11 of 20
code_80057C60.c
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 2, Commit 12 of 20
code_8006E9C0.c
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 2, Commit 13 of 20
code_80071F00.c
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 2, Commit 14 of 20
code_80086E70.c
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 2, Commit 15 of 20
code_80091750.c
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 2, Commit 16 of 20
code_800AF9B0.c
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 2, Commit 17 of 20
code_80290C20.c
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 2, Commit 18 of 20
code_802B0210.c
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 2, Commit 19 of 20
code_80296A50.c
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 2, Commit 20 of 20
memory.c
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 3, Commit 1 of 4
code_8008C1D0
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 3, Commit 2 of 4
code_8028DF00
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 3, Commit 3 of 4
math_util
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Part 3, Commit 4 of 4
crash_screen
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
* Recreated disassemblies with a context file
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
2021-11-23 01:47:54 -08:00
Tyler McGavran
f6a11c734a
Found the variable that tracks the CC type selected. ( #57 )
...
Added some comments for the possible values of Mode and CC
selection
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
2021-11-16 12:37:58 -07:00
Tyler McGavran
62aa193922
[kart] Variety of changes related to kart hop physics ( #56 )
...
Gave some Player struct members proper names, mostly related to kart hop physics.
Renamed a couple of tables in kart_attributes to make their purpose and nature more obvious
Matched func_8002AAC0 with its assembly representation
Matched func_800225CC with its assembly representation
Signed-off-by: Taggerung <tyler.taggerung@gmail.com >
2021-11-16 12:26:40 -07:00
CoderStig
f959f03184
Matched some memory.c and other ( #55 )
...
* Matched some memory.c
* And more
2021-11-16 02:39:33 -07:00
CoderStig
8ab4557b39
Split asm using autodecompiler ( #49 )
...
* Split asm using autodecompiler
* Placed libultra bss and linked more C
2021-11-05 05:17:09 -06:00