Commit Graph

290 Commits

Author SHA1 Message Date
Tyler McGavran 9c661125be
Small matches, nothing super special (#400)
Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-09-05 15:49:55 -06:00
MegaMech 7f7ecc5854
assorted matches (#399)
* assorted matches
2023-09-05 15:00:15 -06:00
Joshua Peisach 67fbcac9ec
Match func_8006B7E4, func_8006EEE8, func_80071A20 (#395)
* Match func_8006B7E4, func_8006EEE8, func_80071A20

* Fix missing extern void call
2023-09-05 14:38:40 -06:00
Tyler McGavran 8a2fdc21f5
Got a couple matches and a few non matchings (#397)
Also got rid of a couple asm files for functions that were matched
 a long, long time ago (thank you ItzSwirlz for finding them)

Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-09-04 19:19:24 -06:00
MegaMech 23cfd1ca02
Match funcs in player_controller.c (#398)
* Match funcs in player_controller.c
2023-09-04 18:57:16 -06:00
Tyler McGavran 9663a66dd2
Matched a bunch of functions in code_80091750 (#396)
Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-09-02 19:43:04 -06:00
MegaMech 19a056591a
Match func in player_controller.c (#394)
* Match func

* Rename to player_controller.c
2023-08-31 21:55:01 -06:00
Tyler McGavran 1646344907
Move ro/data for code_80091750 into the appropriate c/asm files (#393)
* Migrated data and rodata for code_80091750

And it even matches when built!

Minor annoyances:

There are some EUC-JP strings in `func_800A6E94` and `func_800A69C8`
 that are currently in byte form. The asm files don't get put
 through `icnov` so we can't have them as strings until they're
 parent functions are matched.

`func_8009F5E0` has the symbol `D_800E7594` replaced with the
 actual number `0x800e7594`. The symbol in question is almost
 certainly fake, but I can't figure out what its meant to be.
 So I've hardcoded it for the time being to make the migration
 possible.

* Fully match all the NEEDS_RODATA functions

Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-08-31 21:18:13 -06:00
Joshua Peisach c4c00f1598
more audio/external stuff (#392)
* audio/external: 800C3478

* audio/external: Match func_800C98B8, func_800C9DB0

* Fix build
2023-08-31 20:28:49 -06:00
MegaMech 6562421673
some matches (#391) 2023-08-30 22:45:51 -06:00
Joshua Peisach d08a8b6b29
audio/external: 800C5384 (#390) 2023-08-30 20:59:06 -06:00
MegaMech 05d3636835
Label memory allocation with proper size (#388)
* Renamed D_8015F734 to FreeMemoryResetAnchor
2023-08-28 12:14:19 -06:00
Tyler McGavran 31d3ac14ec
Put `void` in several function prototypes (#387)
I have historically made prototypes for argument-less functions
 with just plain `()` for the argument list. This has caused some
 minor pains when using `m2c` and is, pendatically, incorrect.

So I have changed all argument-less function protoypes to instead
 have `(void)` as the argument list. This required a couple small
 fixes here and there.
2023-08-26 12:48:45 -06:00
Joshua Peisach b9b1d2f0c1
audio/external: func_800C357C func_800C9D0C (#386)
Signed-off-by: Joshua Peisach <itzswirlz2020@outlook.com>
2023-08-26 11:46:54 -06:00
MegaMech 0e85b1acb1
Some matches in 80027D00 (#385) 2023-08-25 22:14:08 -06:00
Tyler McGavran a755428b20
Some matches in in code_80086E70 (#384)
I really, really don't like a couple of the matches because of
 the handling of the `unk_80` member of the object struct. But
 if it matches it matches.

Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-08-25 21:37:59 -06:00
Joshua Peisach 965d1e85b4
code_80086E70: Match 8008ACE0 (#382)
Co-authored-by: MegaMech <MegaMech@users.noreply.github.com>
2023-08-25 21:27:49 -06:00
Tyler McGavran 0d9396b631
Make some adjustments to the SaveData struct (#381)
Also get rid of some fake variables from a bss file.

Matched a couple functions too.

Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-08-25 18:02:37 -06:00
Tyler McGavran a915dfcc73
3 matches in math_util.c (#380)
Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-08-24 13:45:13 -06:00
MegaMech 6e3f6aee63
Matched some funcs (#378)
* Matched code
2023-08-22 19:12:51 -06:00
Joshua Peisach 6e56638950
code_80086E70: match 8008AA3C, 8008ADD0 (#377) 2023-08-22 18:29:16 -06:00
Tyler McGavran 63f97bbfa3
Some matches in code_80005FD0 (#376)
Got set_places matched which feels nice. That was a big functions.

Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-08-22 18:21:01 -06:00
Tyler McGavran df3c435ac8
Versus mode Bomb Kart stuff (#375)
Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-08-20 22:23:57 -06:00
Tyler McGavran 070cb2d501
A couple matches in code_80027D00 (#374)
Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-08-20 21:58:18 -06:00
Tyler McGavran 70c082d303
Update some header files (#373)
Also moved a lot of extern variable declarations into the
 their appropriate header file(s)

Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-08-20 21:15:07 -06:00
Joshua Peisach c124377253
Push more matching! Primarily audio (#372)
* Push more matching! Primarily audio
2023-08-19 21:33:59 -06:00
Tyler McGavran 2b0d20a84f
Migrate audio/port_eu data (#370)
* All work done in audio

* Migrate audio/port_eu data

* Refereshed m2c

* Got the bss segment matching too

Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-08-15 13:40:01 -06:00
MegaMech 27af470a46
Bumped Total Progress Script by 1.04% (#371)
* Matched camera.c
2023-08-15 13:07:23 -06:00
Tyler McGavran 119b7121bf
All but one function matched code_8001F980 (#368)
Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-08-12 15:34:30 -06:00
MegaMech 569bafc48b
Various cleanup and matching (#369)
* More podium_ceremony_actors documentation

* Updated progress script

* Various matches and cleanup
2023-08-12 15:19:57 -06:00
MegaMech e57133e59f
Matched staff_ghosts.c and doc for podium_ceremony_actors.c (#365)
* Matched staff_ghosts.c

* More podium_ceremony_actors documentation
2023-08-11 13:21:17 -06:00
Tyler McGavran da33557296
More matches for code_80071F00 (#364)
Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-08-11 10:12:00 -06:00
MegaMech baaa2f930d
Match Segment 3 -> Matched code_80280650.c (#363)
* Match & doc code_80280650.c

* Update readme
2023-08-10 20:54:11 -06:00
Tyler McGavran 04e9e00227
Some matches in code_80086E70 (#361)
Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-08-09 19:16:00 -06:00
MegaMech de5c688e42
Add crash screen enhancement (#360)
* Add crash screen enhancement
2023-08-09 18:51:37 -06:00
Joshua Peisach 727ceadfb4
audio/external: match 800C5CB8, 800C3448, 800CB2C4, 800C35E8 (#359)
* Match funcs in audio/external.c
2023-08-09 18:36:24 -06:00
MegaMech 870c39ad77
Matched code_80091440.c and named gDemoMode variable (#358)
* matched code_80091440.c

* Named gDemoMode

* Remove asm for matching func

* Matched and namings for random_u16_credits func in code_80280650.c
2023-08-09 14:53:55 -06:00
Tyler McGavran ccd33e9e10
Finished matching code_8008C1D0 (#357)
* Matched code_8008C1D0.c

Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-08-08 20:58:36 -06:00
Matthew 21a5645e12
More matches in code_80057C60 (#351)
* Some matchings for code_80057C60

* Remove matched assembly
2023-08-08 13:05:58 -06:00
tomas cf9841d39f
small changes. One matching func, Two nonmatching funcs (#355)
* Various decomp and non_matchings.
2023-08-08 12:41:17 -06:00
Tyler McGavran a240af0693
Run iconv as part of build (#354)
* Run iconv as part of build

That way files that need to be in EUC-JP encoding can still be
 worked on in UTF-8

Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-08-08 11:54:57 -06:00
Joshua Peisach fe36d4a738
audio/external: Match 800CAD40/800CAFC0/800CAC60 (#350)
* audio/external: Match 800CAD40/800CAFC0

* Match func_800CAC60, mark unused arg0's as UNUSED
2023-08-08 11:40:30 -06:00
Tyler McGavran e7632b3227
Some mathes and some non-matchings in code_80057C60 (#352)
* Some matches and some non-matchings in code_80057C60

* Mirgrate code_80057C60 rw data


Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-08-06 11:07:09 -06:00
Tyler McGavran 87297bc3b4
Lots of code_80071F00 matches (#347)
* Lots of code_80071F00 matches

Also removed a bunch of fake variables related to the object list.

Also gave names to some of the members of the object list type

Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-08-04 15:05:13 -06:00
tomas 9d716d921a
very cool debug display list (#348)
* added a very cool debug display list ^^ (prints variables to screen)

* Decompiled various functions
2023-08-04 13:04:49 -06:00
Tyler McGavran ce15ceac10
Assorted matches (#346)
Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-07-17 20:06:10 -04:00
Tyler McGavran 93117587c1
Finalize matches in code_80004740 (#342)
Since the animation stuff was merged, I'm finalizing the matching
 of the 3 functions in code_80004740

Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-07-14 21:36:24 -06:00
Tyler McGavran ab86bf2d7b
Add some structs related to model animation (#331)
* Add some structs related to model animation

Also reorder some of the data in the course files that have model
 animation.

Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-07-11 23:21:13 -06:00
Tyler McGavran 890aaee162
Move plan data for code_8008C1D0 into asm files (#340)
Had to create a new file in order to get stuff matching right,
 even though making a separate file for just 3 functions is
 incredibly silly.

Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-07-11 12:54:39 -06:00
Tyler McGavran 04b9d5b4b8
Move some data into kart_dma.c (#338)
* Move texture data into kart_dma.c
Signed-off-by: Taggerung <tyler.taggerung@email.com>
2023-07-11 12:42:33 -06:00