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
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
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
ChiefFruitcake
04097806a5
code_8008C1D0 part 2 ( #138 )
...
* Matching more functions in code_8008C1D0
* More matches
* Incorporate review comments. Match a few more functions
2022-01-15 20:17:50 -07:00
ChiefFruitcake
162b4c256d
code_8008C1D0 - player struct functions ( #135 )
...
* Match functions in code_8008C1D0
2022-01-11 05:47:57 -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
Maciek Baron
20d9e8afba
Relabel/identify more variables and functions based on current knowledge ( #127 )
...
* Update labels and names based on current knowledge
* Create gChatacterSelections/gCharacterGridSelections distinction
2022-01-02 17:30:23 -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
CoderStig
1ca7ea1061
Imported remaining .text undefined syms
2021-12-05 03:24:28 -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
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
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
58fb53c2a4
Controller/Player struct data/bss in C ( #37 )
...
* Controller/player structs ok
2021-10-18 13:48:48 -06:00
CoderStig
61ead1dd9c
Decomped some of code_8008C1D0 ( #30 )
...
* Decomped some of code_8008C1D0.s
2021-09-22 01:06:41 -06:00