Tyler McGavran
494c36bdb1
Match assorted functions and identify a variable ( #122 )
...
Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
2021-12-31 13:30:55 -07:00
Tyler McGavran
2263234e58
Match function related to the podium scene text ( #120 )
...
Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
2021-12-27 16:36:27 -07:00
Tyler McGavran
ae7451596a
Texture related structs and some controller pak menu stuff ( #116 )
...
Some of this is identifying some functions and structs related to the Controller
pak menu
Some of it is related to structs concerning textures and "animations" and their
associated functions
* Match draw_box, func_80098C18, func_80098FC8
Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
2021-12-26 16:10:11 -07:00
MegaMech
dd0b6e2ff2
decomp more 80057C60.c to reach 20 percent ( #118 )
2021-12-26 00:14:52 -07:00
MegaMech
f069034c37
Merge branch 'decomp' into master
2021-12-25 18:19:53 -07:00
CoderStig
d6e9866399
Decomped some of 80057C60 & 800431B0
2021-12-25 18:12:52 -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
MegaMech
b7f8765d72
Decomped more crash_screen, code_80280650, fixed import shortcut ( #115 )
...
* Decomped more crash_screen, code_80280650, fixed import shortcut
2021-12-24 20:31:54 -07:00
CoderStig
5a151c1457
Decomped more crash_screen, code_80280650, fixed import shortcut
2021-12-24 20:19:58 -07:00
Tyler McGavran
7b7725b62a
Match swap_values ( #111 )
...
Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
2021-12-20 23:07:18 -07:00
Tyler McGavran
8aca5f519e
Match exp_by_squaring function ( #110 )
...
Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
2021-12-20 22:56:24 -07:00
Tyler McGavran
cdb3ca63aa
Change some "char" terminology to "glyph" ( #107 )
...
This matches more closely with similar functions in SM64
Identified a LUT for the segmented address of each glyph's texture
CharWidthMap is more accurately called GlyphDisplayWidthMap. The values in
the map don't exactly match the texture width for the given glyph. They
likely have more to do with how the glyph is drawn on screen rather than
being a measure of its true width.
There are other LUT-like entries in data_0DD0A0_2 that clearly contain
glyph textures, but it's not clear how they differ from the "main"
LUT.
Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
2021-12-20 14:49:37 -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
Tyler McGavran
37d249c681
Match a couple functions related to text color ( #96 )
...
* Match a couple functions related to text color
Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
2021-12-19 15:47:00 -07:00
Tyler McGavran
d587580bd5
Rename a couple variables ( #93 )
...
* Rename a couple variables
Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
2021-12-14 20:40:38 -07:00
Tyler McGavran
66d9a4fe88
Identify a couple debug related variables and match a couple debug related functions ( #94 )
...
* Identified some debug mode specific variables
* Matched a couple debug related functions
Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
2021-12-13 22:13:28 -07:00
Tyler McGavran
12be6a8824
Identified variables related to title screen demos ( #92 )
...
gNextDemoId is a little weird. If a demo is currently running that variable is the ID
of the demo that will run next. It's never "current", its always one step ahead
Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
2021-12-13 14:16:35 -07:00
Tyler McGavran
d324dd7f3b
Identified some variables related to sound mode ( #90 )
...
* Identified some variables related to sound mode
Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
2021-12-11 23:14:25 -07:00
Tyler McGavran
7648ec12a7
Match functions for Grand Prix save data access ( #88 )
...
* Match grand prix save data funcs
Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
2021-12-11 00:34:07 -07:00
Tyler McGavran
8fb383cd65
Match some functions related to printing text on screen ( #80 )
...
* Match some functions related to printing text on screen
Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
2021-12-09 14:11:25 -07:00
CoderStig
46247502ad
Decomped gfx setup code & changed player pos coords to array ( #84 )
...
* Decomped gfx setup code and changed player pos coords to array
2021-12-09 14:10:39 -07:00
CoderStig
251de29124
Merge branch 'sym' into master
2021-12-05 03:36:51 -07:00
CoderStig
1ca7ea1061
Imported remaining .text undefined syms
2021-12-05 03:24:28 -07:00
CoderStig
5ef9bc3675
Imported remaining undefined_syms ( #79 )
2021-12-04 04:36:25 -07:00
CoderStig
a4c7c620e7
Imported remaining undefined_syms
2021-12-04 03:58:20 -07:00
Tyler McGavran
6d70872c5b
Identification of some race related varaibles ( #78 )
...
* Renamed time/race related variables
Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
2021-12-04 00:04:07 -07:00
CoderStig
3f670579cf
Fixed progress.py, moved non_matching OS to `asm/os/non_matchings/` ( #77 )
...
* Fixed progress.py
* Moved non_matching OS asm to `asm/os/non_matchings/`
2021-12-03 04:33:36 -07:00
Tyler McGavran
5fe0f55e6d
Match a couple functions concerning string display width ( #73 )
...
* Match a couple string related functions
Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
2021-12-01 14:24:07 -07:00
Tyler McGavran
11031f8b1c
Match some functions that convert numbers into ASCII ( #71 )
...
* Match some functions that convert numbers into ASCII
Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
2021-11-29 23:04:56 -07:00
Tyler McGavran
6451db9e40
Text Color defines ( #70 )
...
* Text Color defines
Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
* Updates based on comments
Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
2021-11-28 18:39:50 -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
7387724509
Give names to some Grand Prix related variables ( #67 )
...
* Give names to some Grand Prix related variables
Namely variables related to points and standings
Also added some observational comments to a function
or two
Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
* Add defines for character IDs
Signed-off-by: Taggerung <tyler.taggerung@gmail.com>
2021-11-26 17:22:39 -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
CoderStig
70504fb93a
Decomped 8028DF00.c ( #61 )
2021-11-21 00:32:04 -07: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
17648067f8
Audfix ( #54 )
...
* Fixed last PR
2021-11-06 04:03:36 -06:00
CoderStig
964344abb0
Split audio funcs ( #53 )
...
* Split audio funcs
2021-11-06 03:49:37 -06: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
CoderStig
dc1525c157
main.c full match ( #46 )
...
* main.c full match
2021-10-29 23:26:43 -06:00
CoderStig
6155f1bb92
Math util fix fix ( #45 )
...
* Update func_80296D10.s
* Update code_802B0210.s
2021-10-27 14:25:41 -06:00
CoderStig
43229c00cb
Decompiled some math_util.c ( #43 )
2021-10-27 14:13:08 -06:00
CoderStig
8ec9fb8b88
Start of audio decompilation ( #42 )
...
* Start of audio decomp
2021-10-27 13:48:44 -06:00
CoderStig
f3788f7ac4
Decompiled staff_ghosts.c (Plus lots more) ( #39 )
...
* Decompiled staff_ghosts.c
* started on 80296A50.c
* Matched some of main.c
* Added framebuffers.c
* Added structs such as Camera
2021-10-26 11:55:42 -06:00
CoderStig
caaea76c42
Matched func_8028DF00, added bss to code_8028DF00.c ( #38 )
...
* matched func_8028DF00
2021-10-24 16:47:56 -06:00
CoderStig
58fb53c2a4
Controller/Player struct data/bss in C ( #37 )
...
* Controller/player structs ok
2021-10-18 13:48:48 -06:00
iProgramInCpp
4c4efd28f8
Match `func_80000D3C` (renamed) and `thread5_game_logic` ( #35 )
...
* match func_80000D3C + some renames
* Improved matching for init_game().
* Match thread5_game_logic
* Added osViModeTable and osCreateViManager from libultra
2021-10-16 15:18:38 -06:00
CoderStig
3129da2f1c
Renamed hand-written asm file and updated readme ( #34 )
...
* Rename code_80040030.s to unused_mio0_decode.s
* Handwritten asm appears similar to mio0 decode.
Called by 802A8348 and 802A841C neither of which are called.
* Updated readme
2021-10-09 12:40:26 -07:00
CoderStig
61ead1dd9c
Decomped some of code_8008C1D0 ( #30 )
...
* Decomped some of code_8008C1D0.s
2021-09-22 01:06:41 -06:00