Commit Graph

354 Commits

Author SHA1 Message Date
petrie911
4a572e7e30
Remove assets.h from global.h, some other header adjustments (#174)
* splits

* torch

* torch again

* headers

* merges

* format
2024-03-21 17:19:38 -03:00
petrie911
df268e3bad
titania boss assets, cleanup pads, update torch, split remaining segments other than 6 (#173)
* splits

* torch

* torch again

* headers
2024-03-21 15:45:13 -03:00
Alejandro Asenjo Nitti
6c27771ff4
export configuration for ast_map (#172)
* progress

* progress

* progress

* progress

* progress

* progress

* progress

* finished?

* remove unnecessary header

* rename to map

* remove header

* rename to ast_map

* problem with torch

* Matchpoint

* take out pads and update Torch
2024-03-21 15:41:46 -03:00
petrie911
5531a140d8
matches (#170) 2024-03-18 00:23:01 -03:00
petrie911
a7aac0753d
torch update, ast_area_6 and ast_vs_player, new names (#169)
* split up

* format

* torch

* headers

* just keep going

* torch

* names and such

* format

* remove headers
2024-03-17 01:06:28 -03:00
Alejandro Asenjo Nitti
60a64d402f
export configuration for ast_enmy_space (#168)
* Matchpoint

* remove header

* remove comments

* add ENMY_SPACE_ to every symbol

* missed one
2024-03-16 20:10:21 -03:00
petrie911
11c6a8c7dc
Split headers as much as possible. add unique tags to segment 6 addresses (#167)
* split up

* format

* torch
2024-03-14 18:31:03 -03:00
petrie911
75bbe0ba6a
torch update, aquas export, some asset cleanup (#166)
* a start

* some things

* format

* hitboxes

* soon

* fixes and such

* Torch

* one fix

* torch

* formatting

* whoops the math
2024-03-14 12:43:50 -03:00
Alejandro Asenjo Nitti
206bfac9ef
export configuration for ast_landmaster & ast_training (#165)
* remove header

* Matchpoint

* remove unnecessary externs

* Matchpoint (2 blobs)

* Asset analysis complete, here it comes!

* bye bye header

* MISSION ACCOMPLISHED
2024-03-14 12:42:24 -03:00
Alejandro Javier Asenjo Nitti
66ac732861 remove header 2024-03-13 19:50:34 -03:00
petrie911
01e87f1680
Colpoly factory and Torch fixes + sonicdcer's ast_sector_X (#164)
* a start

* some things

* format

* hitboxes

* soon

* fixes and such

* Torch

* one fix
2024-03-13 18:48:03 -03:00
Lywx
976539b8c0
export configuration for ast_arwing (#163)
* Arwing completely extracted ( With Issues )

* Fixed remaining issues

* Fixed remaining issues

* Fixed last one

* Renamed D_3000000 to use blue_marine

* Fixed missing declarations on fox_hud
2024-03-13 18:47:50 -03:00
petrie911
46ce729392
Hitbox factory and minor hitbox cleanup (#162)
* a start

* some things

* format

* hitboxes
2024-03-12 23:21:47 -03:00
petrie911
036e58535b
Add Script Factory. Also some colpoly docs and vector cleanup (#161)
* a start

* some things

* format
2024-03-12 16:46:25 -03:00
petrie911
e6f62df332
Skeleton factory and more Titania assets (#160)
* skellingtons

* sort
2024-03-11 23:18:02 -03:00
Alejandro Asenjo Nitti
7c64f94d22
export configuration for ast_font_3d (#159)
* progress

* goodbye header

* Torch

* new torch

* Update Torch

* progress

* Matchpoint
2024-03-11 21:50:12 -03:00
Lywx
97d067e0f6
export configuration for ast_radio (#157)
* Extracted ast_radio

* Removed externs from sf64mesg
2024-03-11 14:54:44 -03:00
Alejandro Asenjo Nitti
db21b5e96c
export configuration for ast_7_ti_1 (#156)
* progress

* progress

* progress

* update torch

* progress

* Matchpoint

* bye header

* remove unnecessary externs

* comment

* Animation extraction

* include Animations

* a couple more animations

* clean up
2024-03-11 14:46:59 -03:00
Alejandro Asenjo Nitti
ec7ece3c61
export configuration for ast_option (#155)
* initial

* progress so far

* progress

* progress

* progress

* progress

* more progress

* more progress

* progress so far

* comment out BLOB

* comment

* D_8015DF0

* Matchpoint

* matching

* update torch again

* verbose Torch

* remove comments

* fix
2024-03-10 22:38:13 -03:00
petrie911
77959b1753
Audio_seqplayer finished (#154)
* heapsort

* suff

* load init

* split

* split data

* begone asm

* names

* names and cleanup

* let's try this

* woo macros

* general

* bgm macro

* names

* audio_thread

* Update Torch

* I think it's time to move on

* Merge remote-tracking branch 'upstream/master' into play

* playback

* bss

* it's over

---------

Co-authored-by: Alejandro Javier Asenjo Nitti <alejandro.asenjo88@gmail.com>
2024-03-10 15:30:31 -03:00
petrie911
8ccd568cc8
Audio_effects, _playback, and most of _seqplayer (#153)
* heapsort

* suff

* load init

* split

* split data

* begone asm

* names

* names and cleanup

* let's try this

* woo macros

* general

* bgm macro

* names

* audio_thread

* Update Torch

* I think it's time to move on

* Merge remote-tracking branch 'upstream/master' into play

* playback

* bss

---------

Co-authored-by: Alejandro Javier Asenjo Nitti <alejandro.asenjo88@gmail.com>
2024-03-08 18:53:53 -03:00
Alejandro Asenjo Nitti
14aa8c9db7
export configuration for ast_font (#151)
* progress

* goodbye ast_font.h

* progress

* progress

* progress

* progress

* progress

* progress

* progress

* Matchpoint

* comments

* comment

* ast_font debinarized

* add header to files

* cleanup
2024-03-08 13:18:34 -03:00
Lywx
ddf28ecd3e
"export configuration for ast_allies" by Sonic fixed (#150)
* begin

* progress

* progress

* Matchpoint

* clean up unnecessary externs

* dec

---------

Co-authored-by: Alejandro Javier Asenjo Nitti <alejandro.asenjo88@gmail.com>
2024-03-06 20:33:08 -03:00
petrie911
7e99fe712d
In my nightmares, I see audio_synthesis (#146)
* heapsort

* suff

* load init

* split

* split data

* begone asm

* names

* names and cleanup

* let's try this

* woo macros

* general

* bgm macro

* names

* audio_thread

* Update Torch

* I think it's time to move on

* Merge remote-tracking branch 'upstream/master' into play

---------

Co-authored-by: Alejandro Javier Asenjo Nitti <alejandro.asenjo88@gmail.com>
2024-03-05 19:51:52 -03:00
Alejandro Asenjo Nitti
1c204a0151
Export configuration for ast_bg_planet (#145)
* Matching

* remove unnecessary header

* fix

* add rule to extract textures as PNGs
2024-03-03 12:19:57 -03:00
Alejandro Javier Asenjo Nitti
7fa45ce716 remove unnecessary externs 2024-03-02 22:36:52 -03:00
Alejandro Javier Asenjo Nitti
ac5074a40c remove unnecessary header 2024-03-02 22:16:39 -03:00
Alejandro Javier Asenjo Nitti
5dd5534f95 MATCHPOINT! 2024-03-02 22:12:21 -03:00
petrie911
5152d504b3
audio_general, audio data import, naming lots of audio functions (#144)
* heapsort

* suff

* load init

* split

* split data

* begone asm

* names

* names and cleanup

* let's try this

* woo macros

* general

* bgm macro

* names
2024-03-01 15:57:44 -03:00
petrie911
e7fbb38c98
Decomp audio_load. Add names for audio context fields and audio_heap (#143)
* heapsort

* suff

* load init

* split

* split data

* begone asm

* names

* names and cleanup
2024-02-23 22:56:08 -03:00
Alejandro Javier Asenjo Nitti
647f0f5d2e rename ast_reward to ast_ending_expert 2024-02-22 01:02:16 -03:00
Alejandro Javier Asenjo Nitti
d8808a923c remove part of the comment for imported assets 2024-02-22 00:34:51 -03:00
Alejandro Javier Asenjo Nitti
332967f7f6 remove headers 2024-02-22 00:22:41 -03:00
Alejandro Javier Asenjo Nitti
6ab18c98b7 ast_ending_award_front & ast_ending_award_back 2024-02-22 00:21:58 -03:00
Alejandro Javier Asenjo Nitti
c8b33370a7 Antialias modes documented 2024-02-21 19:53:29 -03:00
petrie911
c651825586
Name audio files and finish splitting them (#141)
* heapsort

* suff

* load init

* split

* split data

* begone asm
2024-02-21 19:10:06 -03:00
Alejandro Asenjo Nitti
807ade8ff7
ast_blue_marine extraction (#140)
* progress so far

* progress

* progress

* progress

* matching

* revert F3DEX_MK64

* update torch

* update gitIgnore

* correction

* add src/assets to clean recipe
2024-02-21 12:52:42 -03:00
petrie911
05747b1b52
Clean up hardcoded symbols (#139)
* heapsort

* suff
2024-02-20 15:01:42 -03:00
petrie911
389ad0cd35
heapsort (#138) 2024-02-19 19:21:20 -03:00
petrie911
f227194d24
docs and such (#137) 2024-02-19 10:05:11 -03:00
Alejandro Asenjo Nitti
41698a131a
Extract ast_warp_zone (#136)
* try

* progress

* hasta la vista, baby

* ast_warp_zone matching

* remove symbols from linker

* new version of Torch

* ast_warp_zone
2024-02-18 22:34:56 -03:00
Alejandro Asenjo Nitti
e3b26ca666
sys_audio_C870.c Initial work (#135)
* func_8000BFE8

* func_8000BF6C

* func_8000BFD8

* func_8000BF94

* func_8000BFA8

* func_8000E1C4

* func_8000DBE4

* func_8000C0C0

* func_8000C1F8

* func_8000C13C

* matching

* various fixes

* AudioHeap_SearchRegularCaches

* func_8000CAF4

* func_8000DC84

* func_8000DC84

* .

* sf64 audio provisional header

* .
2024-02-18 12:43:21 -03:00
Lywx
0b13c0edef
Asset extraction (#133)
* Added torch and ast_logo yml

* Added torch into makefile

* Added torch into tools all rule

* Fixed version and removed clang-format from c header

* Reverted settings.json unrelated change

* Bump version

* Readded -s flag

* Fixed Makefile indentation
2024-02-17 23:19:18 -03:00
petrie911
9346a22c63
Asset names and headers (#131)
* assets and such

* here goes

* here goes again

* once more

* once more

* type fixing

* type fixing

* type fixing

* here goes

* here goes

* format
2024-02-16 21:58:59 -03:00
petrie911
209b929eda
Import main, context, and option bss. Refactor headers. Some enum cleanup. (#130)
* stuff

* fixes

* addrs

* new header

* its bss time

* format and such

* fake symbols begone

* whoops forgot pragmas
2024-02-16 19:04:22 -03:00
inspectredc
16cc6a411f
Titania decomp - 4 non-matching, 2 non-equiv (possibly equivalent) (#129)
* progress

* progress2

* more matches and remove warnings

* add non matching/equivs and move assets to top

* update post merge

* data

* bss

* clean up

* correct numbers

* address review
2024-02-16 14:15:58 -06:00
petrie911
234b36ebb5
match fox_sy (#128)
* match

* pointer cleanup

* more cleanup

* more cleanup
2024-02-14 20:22:37 -03:00
petrie911
f83d179ea9
improve match on i3, add scratches, some linker cleanup (#127)
* stuff

* fixes

* addrs
2024-02-14 12:33:21 -06:00
Lywx
503ec0a01b
Splitted buffers to a new file (#126)
* Splitted buffers

* Moved buffers to latest overlay

* Removed sizes and moved buffers to a new overlays segment

* Removed addrs from libultra

* Readded symbols into symbol_addrs

* rename buffers to fox_buffers

---------

Co-authored-by: Alejandro Javier Asenjo Nitti <alejandro.asenjo88@gmail.com>
2024-02-14 15:32:33 -03:00
Lywx
902dc0b829
Match Libultra (#120)
* Matched perspective, contquery, contreaddata, recvmesg and sendmesg

* Fixed libultra compilation flags

* Matched viblack

* Matched virepeatline, visetmode, visetspecial and viswapbuf

* Matched cartrominit, dpsetstat, sptask, sptaskyield, visetevent, createthread, gettime, setthreadpri, settime, settimer and starthread

* Fixed bss bs

* Matched even more libultra stuff

* Matched even more

* __osRdbSend

* Decompiled most of the functions of libultra <3

* Matched last functions

* Added a separation to libultra macros

* Removed ARRLEN from controller.h

* Fix libultra warnings

---------

Co-authored-by: Alejandro Javier Asenjo Nitti <alejandro.asenjo88@gmail.com>
2024-02-14 12:24:31 -03:00
petrie911
32ff1bf34d
format (#124) 2024-02-12 15:53:43 -03:00
petrie911
a66dbbfb0c
match fox_i6_4 (#122)
* match

* name
2024-02-10 15:10:45 -03:00
petrie911
25694f9d49
Finished Ve1, added permuter macros, fixed an error in Player struct (#121)
* format

* format

* cleanup

* offsets
2024-02-10 15:09:27 -03:00
Alejandro Javier Asenjo Nitti
650dc4778a fox_option symbols 2024-02-06 23:12:45 -03:00
Alejandro Javier Asenjo Nitti
731f363dfc fox_versus symbols 2024-02-06 21:23:57 -03:00
Alejandro Javier Asenjo Nitti
7fb19f9825 fox_hud symbols 2024-02-06 20:59:18 -03:00
Alejandro Javier Asenjo Nitti
0084ed5123 fox_enmy2 symbols 2024-02-06 20:44:02 -03:00
Alejandro Javier Asenjo Nitti
a9caa3d48d fox_enmy symbols 2024-02-06 20:13:26 -03:00
Alejandro Javier Asenjo Nitti
1d90a928ec fox_std_lib symbols 2024-02-06 17:45:24 -03:00
Alejandro Javier Asenjo Nitti
c3fe1175ea fox_edisplay symbols 2024-02-06 16:38:23 -03:00
petrie911
e941d81b7f
Finished sf_i5_4, now fox_ground (#117)
* Match func_i5_801B49D0

* Match func_i5_801B4A54

* Fix warning

* merge master

* WIP func_i5_801B4AA8

* Stack fixed func_i5_801B4AA8

* Match func_i5_801B4AA8

* Better math for the func

* Match func_i5_801B5110

* Migrate RODATA

* format

* Match func_i5_801B6AEC

* Match func_i5_801B68A8

* Translation update

* WIP func_i5_801B58AC

* header cleanup

* make format

* a start

* match

* ground

---------

Co-authored-by: Ryan Myers <ryan.p.myers@gmail.com>
2024-02-06 12:14:35 -03:00
Alejandro Asenjo Nitti
4a85ee2663
fox_end2 decompiled (#116)
* func_ending_8018CE20

* progress

* func_ending_8018D638

* func_ending_8018D814

* func_ending_8018DA0C

* func_ending_8018DCB4

* func_ending_8018E1B8

* func_ending_8018E7B8

* func_ending_8018F2A8

* func_ending_8018F64C

* func_ending_8018FC60

* func_ending_80190274

* func_ending_80190648

* func_ending_80190778

* func_ending_80190CF0

* func_ending_80191234

* func_ending_80191294

* func_ending_80191710

* func_ending_80191C7C

* func_ending_80192164

* func_ending_80192290

* func_ending_8019237C

* func_ending_801926D4

* .

* everything matches

* MISSION ACCOMPLISHED

* review

* ultratype

* LEVEL_UNK_M1
2024-02-06 12:14:05 -03:00
Alejandro Asenjo Nitti
092b8fc169
fox_bo (BOLSE) Decompiled (#115)
* func_i4_8018BD60

* func_i4_8018C158

* func_i4_8018CC60

* func_i4_8018D278

* func_i4_8018D394

* func_i4_8018D414

* func_i4_8018D454

* func_i4_8018D584

* func_i4_8018D4F0 co-authored-by @inspectredc

* func_i4_8018D874

* func_i4_80192264

* func_i4_80191ED8 co-authored-by: @petrie911

* func_i4_80191DB0

* func_i4_80191BAC

* func_i4_80191AFC

* func_i4_80191AFC

* func_i4_80191180

* func_i4_80190FE8

* func_i4_80190F58

* func_i4_80190EE4

* func_i4_80190D98

* fix fake symbol

* func_i4_8018F94C

* func_i4_8018F94C refactor

* format

* function prototypes

* v

* func_i4_8018EAEC

* func_i4_8018ECB4

* func_i4_8018EC1C

* func_i4_8018EE4C

* func_i4_8018ED44

* func_i4_8018D960

* func_i4_8018CCE8

* func_i4_8018D008

* func_i4_8018D124

* func_i4_8018E710

* func_i4_801918E4

* func_i4_80191A6C

* func_i4_801912FC

* func_i4_8018EF6C

* func_i4_8018E870

* func_i4_8018CE5C

* func_i4_8018BEF8

* refact func_i4_8018D4F0

* func_i4_8018E3FC & func_i4_8018E05C co-authored-by: @inspectredc

* func_i4_8018DE8C

* func_i4_8018D9CC co-authored-by: @petrie911

* data imported

* import bss

* dec

* clean up

* PR review

* dec

* dec

* review
2024-02-05 16:52:41 -03:00
petrie911
85da422168
fox_aq decomped, some type cleanup (#112)
* stuff

* stuff

* temps

* matched

* so complete

* merge and clean

* format

* graphics macros

* aq

* more stuff

* oh god the clam

* limbdraw

* headers?

* format, name changes

* enums

* merge and format
2024-02-02 00:05:17 -03:00
Ryan Myers
22f5d22fa0
sf_i5_4.c WIP (#113)
* Match func_i5_801B49D0

* Match func_i5_801B4A54

* Fix warning

* merge master

* WIP func_i5_801B4AA8

* Stack fixed func_i5_801B4AA8

* Match func_i5_801B4AA8

* Better math for the func

* Match func_i5_801B5110

* Migrate RODATA

* format

* Match func_i5_801B6AEC

* Match func_i5_801B68A8

* Translation update

* WIP func_i5_801B58AC

* header cleanup

* make format
2024-02-02 00:02:52 -03:00
inspectredc
3dcd59adc1
fox_ma decompiled (#111)
* progress 1

* match functions

* data

* add brackets

* bss

* cleanup

* format

* post merge fixing

* cleanup 2

* suggestions
2024-01-30 15:17:20 -03:00
petrie911
6528b2b5cf
Rand and degree macros (#110)
* half

* pm

* dtor

* pi and such

* permuter settings

* angles

* float fix

* macro

* formatting

* small thing
2024-01-28 18:27:23 -03:00
Alejandro Asenjo Nitti
a784be473a
fox_fo Decompiled & Data imported (#109)
* func_i4_80187884

* func_i4_801888C0

* func_i4_80188A48

* func_i4_80188F08

* func_i4_80188FE4

* func_i4_8018906C

* func_i4_801890EC

* strings

* func_i4_801875F0 co-authored-by: @petrie911

* func_i4_80187960

* func_i4_8018BA2C

* func_i4_8018927C

* Import Data

* unnecessary externs

* fix

* Inspect review

* Us

* dec

* dec timers

* obj.status enum

* PR REVIEW
2024-01-28 17:49:14 -03:00
Alejandro Asenjo Nitti
9f1dd5e049
SECTOR Z Decompiled: fox_sz, DATA & BSS IMPORTED (1 NON_MATCHING) (#107)
* func_i4_80199900

* func_i4_80199B18

* func_i4_80199BDC

* func_i4_8019A1D0

* func_i4_8019B48C

* func_i4_8019B568

* func_i4_8019B630

* func_i4_8019B75C

* func_i4_8019B888

* func_i4_8019DD20

* func_i4_8019E234

* func_i4_80199C60 NON_MATCHING

* func_i4_8019E454

* func_i4_8019E98C

* func_i4_8019C574

* func_i4_8019C70C

* func_i4_8019C85C

* cleanup

* cleanup 2

* func_i4_8019BA64

* func_i4_8019AB8C

* func_i4_8019AA9C

* func_i4_8019A3E8

* func_i4_8019EA68 Authored-by: @inspectredc

* merge with master

* PRINTF

* IMPORT DATA & BSS

* move data around

* obj IDs

* rename func_800BA808 to Radio_PlayMessage

* PR review

* gActors gPlayer
2024-01-25 10:43:39 -03:00
Jefferson
66bf56c2fd
Match func_i1_80192518 (#105)
* Match func_i1_80192518

* Match func_i1_8019AA4

* A bunch of small functions

* format

* Update src/overlays/ovl_i1/sf_ve1.c

Co-authored-by: Alejandro Asenjo Nitti <96613413+sonicdcer@users.noreply.github.com>

* Update src/overlays/ovl_i1/sf_ve1.c

Co-authored-by: Alejandro Asenjo Nitti <96613413+sonicdcer@users.noreply.github.com>

* Update src/overlays/ovl_i1/sf_ve1.c

Co-authored-by: Alejandro Asenjo Nitti <96613413+sonicdcer@users.noreply.github.com>

* Update src/overlays/ovl_i1/sf_ve1.c

Co-authored-by: Alejandro Asenjo Nitti <96613413+sonicdcer@users.noreply.github.com>

* fix PR

* fake variable removed

---------

Co-authored-by: Alejandro Asenjo Nitti <96613413+sonicdcer@users.noreply.github.com>
Co-authored-by: Alejandro Javier Asenjo Nitti <alejandro.asenjo88@gmail.com>
2024-01-25 00:50:42 -03:00
petrie911
c197daf499
Bonus Text, more object field names, consistent vector component names (#106)
* fixes and stuff

* filenames

* xyz
2024-01-24 11:45:55 -03:00
inspectredc
a6f627074e
Partial Sector Y decomp (#103)
* allbut2

* quick naming cleanup

* post merge warning/error cleanup

* hex, enums, extern funcs

* data

* bss

* u

* format

* review stuff

* format review stuff

* reorder externs

* suggestions
2024-01-23 13:04:12 -03:00
inspectredc
8f794a6335
sf_i6_2 decompiled (#104)
* sf_i6_2

* use macro

* suggestion macros

Co-authored-by: petrie911 <69443847+petrie911@users.noreply.github.com>

* decimal suggestion

Co-authored-by: petrie911 <69443847+petrie911@users.noreply.github.com>

* file rename

---------

Co-authored-by: petrie911 <69443847+petrie911@users.noreply.github.com>
2024-01-23 12:49:43 -03:00
petrie911
119dfa9354
Solar decompiled, some cleanup (#102)
* stuff

* stuff

* temps

* matched

* so complete

* merge and clean

* format

* graphics macros
2024-01-22 00:28:02 -03:00
petrie911
b7a36ae8ea
cleanup to object fields, some new names (#101)
* names and such

* enum

* dying
2024-01-21 14:42:06 -06:00
Alejandro Asenjo Nitti
cc970381c8
fox_hud & fox_me Decompiled (#95)
* func_80092D48

* func_800927A0

* TempComp.bin.mio0 git ignored

* func_800924E0

* func_80094D20

* func_80096A74

* func_80095604

* all functions done

* symbols for segmented addresses

* move symbols to c file for now

* failed attempt to import data

* fix

* Import data

* move data below

* ready for BSS attempt

* fix warnings

* ordering

* symbols for some segmented addresses

* rename to fox_hud

* clear mess

* .

* .

* space

* .

* func_i2_80187530

* func_i2_8018756C

* func_i2_80187650

* func_i2_801877C4

* func_i2_8018795C

* func_i2_80187B08

* func_i2_80187C68

* bss again (#98)

* func_i2_80187D08

* func_i2_80187D98

* func_i2_80187FF8

* func_i2_801881A8

* func_i2_80188228

* func_i2_80188298

* ARRAY_COUNT

* func_i2_80188344

* func_i2_80188B84

* func_i2_80188C2C

* func_i2_80188E8C

* func_i2_80188F2C

* func_i2_80188CAC

* func_i2_80189114

* func_i2_8018B7C4

* func_i2_8018C77C

* func_i2_8018C8F4

* func_i2_8018CA10

* func_i2_8018CB50

* func_i2_8018BACC co-authored-by: @inspectredc

* func_i2_8018CCF8

* func_i2_8018CB50

* func_i2_8018CD8C co-authored-by: @inspectredc & @petrie911

* func_i2_8018D9EC

* func_i2_8018DA6C

* func_i2_8018DAEC

* func_i2_8018DB6C

* func_i2_8018DBEC

* func_i2_8018DCE4

* func_i2_8018DE14

* func_i2_8018DF08 co-authored-by @inspectredc & @petrie911

* func_i2_8018E084

* func_i2_8018ED9C

* func_i2_80188088

* func_i2_801892F0

* func_i2_8018978C co-authored-by @KiritoDv & inspectredc

* fox_me DATA IMPORTED

* resolve conflicts

* func_i6_80197B30

* func_i6_80197CC4

* func_i6_80197F84

* func_i6_80198244

* merge and solve bss

* func_i6_801983E4

* PR review

---------

Co-authored-by: petrie911 <69443847+petrie911@users.noreply.github.com>
2024-01-21 13:27:47 -03:00
inspectredc
770f48bf4a
fox_ve2 decompiled (#96)
* match remaining funcs

* arg renames and cleanup pt 1

* hex pass, id to enum and some basic docs

* data, bss and format

* change file name

* commit pr suggestions
2024-01-21 09:30:53 -06:00
petrie911
2b101658fe
import bss for title and map. some adjustment to headers (#100)
* bss, a bit fake. Revisit later

* format
2024-01-21 11:00:53 -03:00
petrie911
0fb8d58334
finish overlay file renaming and split off their headers (#92)
* names

* format 1

* more names
2024-01-17 12:36:58 -03:00
inspectredc
3ce61b6d95
E9F1D0 partial (#91)
* E9F1D0 partial

* format

* unformat format
2024-01-17 08:04:59 -06:00
Alejandro Asenjo Nitti
4ba101e283
Fox hud functions (#88)
* func_80086664

* func_80086DCC

* func_80087788

* func_80087B5C

* func_80088564

* func_80088970

* func_8008A07C

* func_8008A240

* func_8008A4DC

* func_8008B774

* func_8008B774

* func_8008BD00

* func_8008C104

* review

* func_8008C6F4

* func_8008CBE4

* func_8008EA14

* func_8008FA84

* func_8008FFF0

* func_80090200

* func_800915FC

* func_80093164

* func_80092EC0
2024-01-17 06:57:31 -06:00
Ryan Myers
086cfd5e62
Rematch E05620 (#87)
* Rematch E05620

* Update src/overlays/ovl_i1/E05620.c

Co-authored-by: petrie911 <69443847+petrie911@users.noreply.github.com>

* Update src/overlays/ovl_i1/E05620.c

Co-authored-by: petrie911 <69443847+petrie911@users.noreply.github.com>

* Fix suggested changes.

---------

Co-authored-by: petrie911 <69443847+petrie911@users.noreply.github.com>
2024-01-17 06:31:29 -06:00
Alejandro Asenjo Nitti
431ae096fb
fox_ti_cs decompiled (#83)
* A few fox_ti_cs functions

* func_i5_8018769C

* actor

* space

* MISSION ACCOMPLISHED

* remove padding in data

* pass

* pr review
2024-01-16 11:15:25 -06:00
Alejandro Asenjo Nitti
1cc17481e9
File splits and names (#82)
* working file splits

* ovl_i2

* func_E08400_80187520

* working so far

* resolve conflicts

* .

* i2 working

* i1 working

* i1

* ovl_i1

* fox_i2

* i5 split

* i5 good

* ovl_i6

* split bss in ovl_menu

* so far, so good

* maaaan...

* ovl_unused

* ovl_i4 bss split

* ovl_i4

* ovl_i2

* foxmat!

* import more data and bss

* renamings
2024-01-14 01:30:21 -03:00
Lywx
cbe2ad4546
Documentation of fox_option (#80)
* Renamed functions and variables related to the option cards

* Fixed format

* Renamed OptionLabel to OptionTexture

* Added more types on fox_option

* Reverted note_data

* Renamed OptionEntryId to OptionId

* Renamed ranking menu

* Added OPTION_COUNT

* Renamed missing declarations on option cards

* Added vars on symbol_addrs_overlays

* Removed hardcoded option count

* Fixed format

* Added missing option state assingments

* Fixed fox_game format
2024-01-13 22:33:38 -03:00
petrie911
56c2bd3e10
fox_zo decomped, work buffer enums for bosses implemented, changed overlay name to i3, various docs (#78)
* zo

* more

* more stuff

* hitboxes suck

* i3 test

* i3

* names

* remove extras

* whoops symbols

* more cleaning

* oh god it comes

* one last thing
2024-01-13 22:09:13 -03:00
inspectredc
31bfc1ecdd
fox_co decomp, Object_2F4 rename to Actor with work buffers (#79)
* first few functions

* funcs so far - messy

* only large funcs left

* func_DF4260_8018F880 and func_DF4260_80191160

* func_DF4260_8018C19C

* func_DF4260_8018F880 player

* build post merge

* first cleanup pass

* add work buffers to Object_2F4

* halfway through data import

* finish data import

* cleanup and add non_matching

* bss complete

* actor rename

* post merge cleanup

* file rename

* arg rename

* other object variables rename

* hex cleanup for func_DF4260_80189058

* format

* revert note_data

* suggestions

* format suggestions
2024-01-13 19:45:37 -03:00
Ryan Myers
8e808803e2
fox_effects decompiled (#77)
* Match 5 funcs

* Match func_8007E93C

* Match func_8007EBB8

* Match func_8007ED54

* Match func_8007EE68

* 0.017453292f to M_DTOR

* format

* 3 more matches

* Match 2 more

* 2 more matches

* Match func_8007F958

* Match func_8007FBE0

* Match func_8007FD84

* Match func_8007FE88

* 5 new matches

* Match func_80080D04

* Match func_800815DC and func_8008165C

* Match func_80081BEC

* MAtch func_80081B24

* Match 2 more

* 3 more matches

* Small tweaks

* Give names to function params

* Match func_80080ACC

* MAtch func_80083D2C

* Match func_800837EC

* WIP func_80081C5C

* Add view of rodata that needs to be migrated somewhere

* Match func_80081C5C!

* Fix bss reordering, and formatting.

* Add a submodule of m2c, and a new script for generating the context for a file, and a m2c output to an ignored folder.

* Migrate rodata

* Start importing data for sf_77E40.c

* Successful data migration for sf_77E40.c

* make format

* Reorganzie data for sf_77E40.c

* Try stubbing a PRINTF, to help with RODATA strings.

* Rename sf_77E40 to fox_effect

* Rename Object_8C to Effect

* make format...

* Rename gObjects8C to gEffects
2024-01-13 10:43:04 -03:00
Alejandro Asenjo Nitti
921bceb967
[MOD] Level Select & Sound Effects Jukebox (#76)
* level select mod

* map name

* move mod to c file

* Sfx Jukebox

* fix bank boundaries

* fix

* expert modes

* co-authored-by @petrie911

* add sfx
2024-01-12 14:11:40 -03:00
Alejandro Asenjo Nitti
410a5b017b
fox_versus decompiled, introduce first_diff.py to the project, fixed fox_option NON_MATCHING build (#71)
* fox_versus functions

* more functions

* more input!

* functions so far

* fix bss reordering

* all functions matching

* fix caller addresses

* import data cleanup

* introduce first_diff to the project

* fix wrong type

* second version of bss reordering prevention header

* move versus symbols to variables.h

* BSS importing attempt (failed)
terrain is prepared for another contributor to try

* fix fox_option NON_MATCHING build

* format

* remove static keyword from fox_map data symbols

* IMPORT BSS

* rename fox_versus

* FIX ADDRESSES & SYMBOLS y fox map

* fix more addresses

* more address fixes for fox_map

* all fox_map addresses done

* fix bss build in fox_map, migration pending

* bss reorder failed attempt

* remove unused externs

* remove unnecessary config file

* remove unnecessary entries in settings.json

* comments

* move structs to fox_map header

* put static back in fox_option data

* PR review
2024-01-10 11:55:08 -06:00
petrie911
a0ec7a5516
Area 6 decomp, Object_408 -> boss, more overlay symbols in main (#70)
* 408

* more stuff

* brutal matches

* data and such

* gPlayer

* names and boss and such

* cat

* forgot something
2024-01-06 19:39:23 -03:00
Lywx
d1ae1f4891
Decompiled fox_demo (#61)
* Decompiled func_8004990C, func_8004A700, func_8004A840, func_8004C90C, func_8004D3C8 and func_8004D3D4

* Fixed format issues

* Decompiled func_8004AA84

* Decompiled func_80049A9C

* Matched func_80049B44

* Matched func_8004D738

* Matched func_8004E3D8

* Matched func_8004F798

* Matched func_80049968

* Reverted note_data

* Matched func_80048AC0

* Matched func_80049630

* Changed variable order

* Matched func_8004A52C

* Matched func_8004A888

* Matched func_8004C930

* Matched func_8004DEF8

* Matched func_8004CCC0

* Matched func_8004D828

* Matched func_80048CC4

* Matched func_8004AAF4 and func_8004FEC0

* Matched func_8004FCB8

* Swapped returns with break

* Fixed incorrect return types on externs

* Matched func_8004F8AC

* Match func_8004EBD0

* Moved code out of the if

* Matched func_80048E40 and func_800515C4

* Cleaned externs and enums

* Cleaned up and matched func_80049C0C

* Matched func_8004D440

* Matched func_8004B368

* Matched func_8004E4D4

* Matching func_8004F05C

* Fixed weird rodata

* Imported data

* Fixed PR needed changes

* PR Changes suggested

* More cleanup

* Fixed upstream issues

* Fixed warnings
2024-01-05 13:19:25 -06:00
Ryan Myers
ec3bc32c5c
sf_77e40 - Match 30 more funcs (#69)
* Match func_8007C9E0

* Match func_8007CAF0

* Match func_8007CC00

* Match func_8007CCBC

* Match func_8007CD7C

* Match func_8007CEBC

* Match func_8007CF30

* Match 4 more funcs

* Match 5 more funcs

* Match func_8007D2F4

* Match func_8007D55C

* func_8007D748

* Match several more

* Match func_8007DB70

* Match func_8007DED4

* Match func_8007E014

* Match another handful

* obj2F4->unk_0E8 -> obj2F4->vel

* Object_8C.unk_54 -> Object_8C.vel

* obj80->unk_64 -> obj80->vel

* obj408->unk_06C -> obj408->vel

* Name gravity

* obj8C names

* Run make format
2024-01-05 09:53:32 -06:00
Alejandro Asenjo Nitti
c5d9eb962b
fox_map decompiled (#68)
* func_EBFBE0_801A116C

* func_EBFBE0_801A0D14

* put some order

* func_EBFBE0_801A1528

* func_EBFBE0_801A53C8

* func_EBFBE0_801A4FC4

* func_EBFBE0_801A9448

* func_EBFBE0_801A4394

* func_EBFBE0_801A3A00

* func_EBFBE0_801A5834

* func_EBFBE0_801A89BC

* void

* dec

* cleanup

* func_EBFBE0_801A2EB8

* func_EBFBE0_801A1C14

* func_EBFBE0_801AA778

* begin importing data

* func_EBFBE0_801A2B8C

* fix

* fox_map DATA IMPORTED

* ovl_menu rename

* fix

* fix warnings

* fix build

* move symbol addresses
2024-01-04 12:53:38 -03:00
petrie911
50107c8ec3
fox_beam, more use of enum types, some cleanup (#67)
* cleaning and such

* stuff

* enum types

* format

* a touch more
2024-01-02 18:33:26 -03:00
Alejandro Asenjo Nitti
16b16ce0eb
more fox_map functions (#66)
* fix func_EBFBE0_801A2674

* func_EBFBE0_801AA1CC

* func_EBFBE0_8019F164

* func_EBFBE0_8019E99C

* func_EBFBE0_801AD11C

* gTeamShieldsMapDisplay

* func_EBFBE0_801AB978

* func_EBFBE0_801AB300

* func_EBFBE0_801AA434

* func_EBFBE0_801A6A98

* roll back gTeamShieldsMapDisplay

* func_EBFBE0_801A5E80

* func_EBFBE0_801A9A8C

* func_EBFBE0_801A2B8C

* func_EBFBE0_801A281C

* func_EBFBE0_801A25C8 enum use

* f32 func_EBFBE0_801A25C8(PlanetId);

* func_EBFBE0_801A0954
2024-01-01 19:55:06 -03:00
petrie911
89cde81114
fox_43E80 decomped, matches and data import in fox_bg, some cleanup (#63)
* tank?

* matches and data

* excess files

* another extra file
2023-12-30 11:14:06 -03:00
petrie911
c69978c5eb
fox_360 and fox_bg decompiled, two more matches, some names. (#62)
* it begins

* stuff

* remove extra

* matched

* forgot one

* small things

* more matches

* filenames
2023-12-27 17:14:13 -03:00
Alejandro Asenjo Nitti
510071802a
More fox_map functions (#60)
* func_EBFBE0_801A19A8

* func_EBFBE0_801A3550

* func_EBFBE0_801A1AE8

* func_EBFBE0_801A9910

* func_EBFBE0_801A48C0

* func_EBFBE0_801A2674

* func_EBFBE0_8019F42C

* func_EBFBE0_801A9FD4

* func_EBFBE0_801A5C90

* func_EBFBE0_801A8F40

* func_EBFBE0_801A4D7C

* func_EBFBE0_801A9224

* func_EBFBE0_801A4AE8

* func_EBFBE0_8019F600

* func_EBFBE0_801A4650

* .

* func_EBFBE0_801ACD90

* func_EBFBE0_801AC9A0

* void func_EBFBE0_801AC530(s32 index) {

* func_EBFBE0_801AC200

* func_EBFBE0_801A8738

* func_EBFBE0_801A809C

* func_EBFBE0_801A4394

* func_EBFBE0_801A2304
2023-12-26 17:55:45 -03:00
petrie911
7633af7a28
fox_play finished, lots of new names for things (#58)
* stuff

* three whole files

* format

* format and such

* a switch in time

* merge prep

* nintendo switch

* format

* the great switch statement of our time

* 43AC0 matched

* stuff

* Enums everywhere

* oh god the switch

* knakyo

* new headers

* format

* fox

* everyone hates recursion

* format

* one more thing

* one more one more thing

* renames

* matches

* matrix scale why

* names and such

* cleanup

* name back

* it just keeps going

* they don't give up

* splits

* merge going poorly

* I object

* more names

* one nonmatching

* merge time

* merge complete

* cleanup

* poor rambo

* level fix
2023-12-24 13:28:35 -06:00
Alejandro Asenjo Nitti
f76ce38ad1
fox_map functions (#56)
* func_EBFBE0_80187520

* func_EBFBE0_8019E85C

* func_EBFBE0_8019E8D0

* funcs

* func_EBFBE0_801A6A24

* func_EBFBE0_801A4D0C

* func_EBFBE0_801A62FC

* names

* func_EBFBE0_801A5770

* dec

* boolean

* func_EBFBE0_801A4A38

* func_EBFBE0_8019F83C

* func_EBFBE0_8019F910

* func_EBFBE0_8019F97C

* func_EBFBE0_8019FA1C

* comment

* func_EBFBE0_8019FC04

* func_EBFBE0_8019FD1C

* func_EBFBE0_8019FF48

* func_EBFBE0_801A01A8

* func_EBFBE0_801A05B4

* func_EBFBE0_801A07E8

* func_EBFBE0_801A655C

* func_EBFBE0_801AB284

* func_EBFBE0_801AB17C

* func_EBFBE0_801AD048

* func_EBFBE0_801A914C

* func_EBFBE0_801A9EE4

* func_EBFBE0_801A9DE8

* func_EBFBE0_801A9814

* func_EBFBE0_801A25C8

* func_EBFBE0_801A6DAC

* func_EBFBE0_801A6DAC

* func_EBFBE0_801A3440

* func_EBFBE0_801A7684

* primColor

* planetId

* func_EBFBE0_801A77B0

* func_EBFBE0_801A791C

* func_EBFBE0_801A7A84

* func_EBFBE0_801A7BEC

* func_EBFBE0_801A7BEC

* func_EBFBE0_801A7D3C

* progress script permissions

* func_EBFBE0_801A7F1C

* func_EBFBE0_801A74F4

* format

* func_EBFBE0_801A7230

* func_EBFBE0_801A6EC0

* func_EBFBE0_801AD718

* func_EBFBE0_801AD7EC

* func_EBFBE0_801AC80C

* func_EBFBE0_801ABF1C

* func_EBFBE0_801ABCDC

* scopes

* func_EBFBE0_801A68E4

* func_EBFBE0_801A6694

* func_EBFBE0_801A6480

* func_EBFBE0_801A6368

* func_EBFBE0_801A61B4

* LevelId

* LevelId

* func_EBFBE0_801A62FC

* level enum

* levelIDs

* enum
2023-12-24 10:12:09 -06:00
Ryan Myers
015ce283b4
Match over 20 new funcs in sf 77e40 (#55)
* Match func_8007B9DC and func_8007BB14

* Remove macro and add debug notices

* Fix merge diff

* Match func_8007BC7C

* Match func_8007BCE8

* Match func_8007BDE0

* Match func_8007BE54 and an audio func func_8001A500

* Match func_8007BEE8

* Match func_8007BF64

* Match func_8007BFFC

* Match func_8007C088

* Match func_8007C120

* Match func_8007C1AC

* Match func_8007C250

* Fix merge from master

* Match func_8007C3B4

* Match func_8007C484 and func_8007C50C

* Match func_8007C608 and func_8007C688

* Match func_8007C6FC and func_8007C85C

* Match func_8007C8C4

* Add a progress script WIP
2023-12-21 12:52:51 -03:00
petrie911
11197f6c28
Making the name changes discussed (#54)
* stuff

* three whole files

* format

* format and such

* a switch in time

* merge prep

* nintendo switch

* format

* the great switch statement of our time

* 43AC0 matched

* stuff

* Enums everywhere

* oh god the switch

* knakyo

* new headers

* format

* fox

* everyone hates recursion

* format

* one more thing

* one more one more thing

* renames

* matches

* matrix scale why

* names and such

* cleanup

* name back

* it just keeps going

* they don't give up

* splits

* merge going poorly

* I object

* more names
2023-12-20 16:32:50 -03:00
petrie911
8101aa8bc2
file splits, renames, more functions in play (#53)
* stuff

* three whole files

* format

* format and such

* a switch in time

* merge prep

* nintendo switch

* format

* the great switch statement of our time

* 43AC0 matched

* stuff

* Enums everywhere

* oh god the switch

* knakyo

* new headers

* format

* fox

* everyone hates recursion

* format

* one more thing

* one more one more thing

* renames

* matches

* matrix scale why

* names and such

* cleanup

* name back

* it just keeps going

* they don't give up

* splits

* merge going poorly

* I object
2023-12-19 11:54:50 -03:00
petrie911
af26374677
Match Matrix_Scale, change some file names (#52)
* stuff

* three whole files

* format

* format and such

* a switch in time

* merge prep

* nintendo switch

* format

* the great switch statement of our time

* 43AC0 matched

* stuff

* Enums everywhere

* oh god the switch

* knakyo

* new headers

* format

* fox

* everyone hates recursion

* format

* one more thing

* one more one more thing

* renames

* matches

* matrix scale why

* names and such

* cleanup

* name back
2023-12-15 17:09:49 -03:00
petrie911
89ae8dff96
fox_6B3B0 and a bunch of names for things (#50)
* stuff

* three whole files

* format

* format and such

* a switch in time

* merge prep

* nintendo switch

* format

* the great switch statement of our time

* 43AC0 matched

* stuff

* Enums everywhere

* oh god the switch

* knakyo

* new headers

* format

* fox

* everyone hates recursion

* format

* one more thing

* one more one more thing

* renames
2023-12-14 11:41:43 -03:00
Ryan Myers
2b051a0828
Match 30 more funcs in sf_77e40 (#48)
* Match func_8007A5F8

* Match func_8007A774

* Match func_8007A818

* Match func_8007A900

* Match func_8007A994

* Match func_8007AA60

* Match func_8007AB50

* Match func_8007AC0C

* Few more func matches

* remove strings

* Match func_8007AF30 and func_8007AFD0

* Match func_8007B040

* Match func_8007B0F4

* MAtch func_8007B228

* Match func_8007B3B8

* Fix todo

* 7 new matches

* Match 3 more funcs.
2023-12-13 16:48:05 -06:00
Alejandro Asenjo Nitti
e85890eb34
fox_option Data Imported (#49)
* starting the split

* you can't spell bss without bs

* matches without import

* Import data. Co-authored-by: @petrie911

* comments

---------

Co-authored-by: petrie911 <petrie911@yahoo.com>
2023-12-13 16:47:53 -06:00
petrie911
c9e58a815d
97F80, A4290, and A48B0 matching, started bss import on engine. (#47)
* stuff

* three whole files

* format

* format and such

* one cleanup
2023-12-09 15:53:24 -03:00
Ryan Myers
392305e919
Warnings Fixes (#45)
* fox_option and fox_title warnings

* Couple small warnings

* Fix all remaining warnings

* Run make format

* make tools on its own

* Fix warnings introduced in last master version

* Better use of the drawGfx union
2023-12-08 15:58:37 -06:00
petrie911
8dbe02a3b4
fox_52730 decomped, other cleanup (#46)
* objects?

* objects2?

* more stuff

* format

* even more cleanup

* RCP function names

* format

* NO U

* makerom too

* stuff

* last function

* symbols...why

* data

* cleaning

* expert mode

* foxname

* one more name

* forgot something

* one more variable cleanup

* I swear I can stop
2023-12-06 21:16:49 -03:00
Ryan Myers
80053694ea
Wip on sf_77E40 (#42)
* Match func_80077240

* Apply changes from style guide

* Match func_8007729C and style guide changes

* Further style guide changes

* Several matches courtesy of petrie911

* Match func_80077B84

* Run make format

* Match func_80078038

* Match func_800780F8

* Match func_800783C0

* Match func_80078438 and func_800784B4

* Match func_80078550

* Match func_80078604

* Match func_8007868C

* WIP func_80084194

* Rename funcs as required from merge with master.

* Match func_8007879C

* Match func_800788B0 and func_80084194

* Match func_80078A64

* Match 3 more funcs

* Match func_80078C84

* Match func_80078D60 and func_80078CE8

* Match func_80078E50

* Match func_80078EBC

* Match func_80078F78

* Add function prototypes to functions.h

* (M_PI / 180.0f) to M_DTOR

* Match func_8007905C

* Match func_800794CC

* Match func_8007953C

* Match func_80079618

* Fix changes from master

* Match func_8007968C

* Match func_800798C4

* Match func_800798F0

* return -> break

* Match func_8007A28C

* Match func_8007A3C0

* Match func_8007A4B8

* Match func_8007A568

* Match two more funcs
2023-12-06 07:29:49 -06:00
Alejandro Asenjo Nitti
3e1c0db70b
fox_option decompiled (#44)
* func_EBFBE0_8019CD54

* func_EBFBE0_8019D118

* func_EBFBE0_8019D624

* func_EBFBE0_8019DB20

* func_EBFBE0_8019E284

* importing data

* Data ready to be IMPORTED (technically),
bss split needed

* restore toolchain build init

* comments
2023-12-06 06:20:22 -06:00
petrie911
3a38f87ea5
wip on sf_A4B50 (probably fox_play), also names and cleanup (#43)
* objects?

* objects2?

* more stuff

* format

* even more cleanup

* RCP function names

* format

* NO U

* makerom too
2023-12-04 15:50:52 -03:00
Alejandro Asenjo Nitti
b035b53569
fox_option functions (#41)
* func_EBFBE0_801992C4

* func_EBFBE0_8019949C

* func_EBFBE0_80199820

* func_EBFBE0_80199EA8

* func_EBFBE0_80199FA8

* func_EBFBE0_8019A0B8

* func_EBFBE0_8019A1A8

* func_EBFBE0_8019A2E0

* func_EBFBE0_8019A4DC

* func_EBFBE0_8019A6DC

* func_EBFBE0_8019A954

* func_EBFBE0_8019AAB4

* func_EBFBE0_8019AB30

* func_EBFBE0_8019AD84

* func_EBFBE0_8019AFFC

* func_EBFBE0_8019B1F8

* func_EBFBE0_8019B3DC

* func_EBFBE0_8019B5AC

* func_EBFBE0_8019B6D8

* func_EBFBE0_8019B7D4

* func_EBFBE0_8019B8C8

* func_EBFBE0_8019B9C0

* func_EBFBE0_8019BAB8

* func_EBFBE0_8019BBA4

* func_EBFBE0_8019BC44

* func_EBFBE0_8019BDF0

* func_EBFBE0_8019BE7C

* func_EBFBE0_8019BF34

* func_EBFBE0_8019C04C

* func_EBFBE0_8019C120

* comments and member names

* func_EBFBE0_8019C418

* func_EBFBE0_8019C5A0

* func_EBFBE0_8019C8C4
2023-12-04 09:19:33 -06:00
Alejandro Asenjo Nitti
aa59b6ff69
fox_option functions (#39)
* func_EBFBE0_80195B74

* func_EBFBE0_80196894

* func_EBFBE0_8019896C

* fix

* func_EBFBE0_80194CE4

* func_EBFBE0_801952B4

* RCP_SetupDL

* format

* move data around

* space
2023-11-30 16:35:40 -06:00
petrie911
2f67ed8638
Names and such (#38)
* names and such 1

* more names

* format
2023-11-29 23:44:42 -03:00
petrie911
078a9f5897
Sf_bb360, also major data import (#35)
* all sorts of imports and such

* oops

* names and such
2023-11-28 17:03:47 -03:00
Alejandro Asenjo Nitti
be46258c0c
fox_title decompiled (#33)
* func_EBFBE0_8018C1C0

* func_EBFBE0_8018C644

* func_EBFBE0_8018CB90

* func_EBFBE0_8018CC30

* func_EBFBE0_8018CD9C

* func_EBFBE0_8018D2B8

* M_DTOR

* func_EBFBE0_8018D510

* func_EBFBE0_8018DDB8

* func_EBFBE0_8018FD08

* func_EBFBE0_8018FD08

* func_EBFBE0_801903B8

* func_EBFBE0_8018E200

* func_EBFBE0_8018E67C

* func_EBFBE0_8018EDC8

* func_EBFBE0_80192D58

* func_EBFBE0_80193C4C
2023-11-28 10:38:25 -06:00
Alejandro Asenjo Nitti
5d35055807
fox_title functions (#32)
* add recipe for context

* echo

* $(PYTHON)

* func_EBFBE0_801881FC

* func_EBFBE0_801881FC

* format

* format

* func_EBFBE0_8018994C

* func_EBFBE0_8018A644

* func_EBFBE0_8018A990

* no casting for you

* func_EBFBE0_8018ABC0

* func_EBFBE0_8018ACEC

* func_EBFBE0_8018B038

* func_EBFBE0_8018B058

* func_EBFBE0_8018B5C4

* func_EBFBE0_8018C114

* unify phony
2023-11-27 06:39:12 -06:00
petrie911
0205789a28
a bunch of graphics related functions and data importation (#31)
* graphics?

* more stuff

* missed one

* headers

* data import and such
2023-11-26 18:27:05 -03:00
Alejandro Asenjo Nitti
d6fc56adc0
fox_title (#30)
* func_EBFBE0_801919C4

* fox_title functions

* func_EBFBE0_8019C66C

* broken branch

* fix branch

* more functions

* remove unnecessary file

* sizes

* func_EBFBE0_80188010

* func_EBFBE0_801894E8

* func_EBFBE0_8018A2F8

* func_EBFBE0_8018A338
2023-11-25 14:08:39 -06:00
petrie911
d32854ced1
Proposed names for library stuff (#29)
* get this started

* linker scripts fixed

* oh god what now

* names

* the blue pill

* names, perhaps

* save

* clean out structs

* save for later again

* more names

* save, again
2023-11-24 16:11:20 -03:00
petrie911
c2a2b60871
enemy drawing routines decomped (#28)
* graphics?

* more stuff

* missed one
2023-11-22 11:56:29 -03:00
Alejandro Asenjo Nitti
4cfdc163e9
fox_option.c (#27)
* func_EBFBE0_801920C4

* func_EBFBE0_80192190

* func_EBFBE0_801924C4

* func_EBFBE0_80192598

* func_EBFBE0_80192738

* func_EBFBE0_801928BC

* func_EBFBE0_80192938

* rename to fox_option found in sf643D rom symbols

* dec

* few functions

* need input! more input!

* NO DISASSEMBLE!

* func_EBFBE0_80196E54 & func_EBFBE0_80196EFC

* func_EBFBE0_80196F9C

* func_EBFBE0_80196FC4 & func_EBFBE0_80197074

* format

* func_EBFBE0_8019715C

* fix stack

* func_EBFBE0_801973C0

* sneaky ido

* data indicates these are floats

* did i say floats? i was looking at the wrong offsets

* func_EBFBE0_8019752C

* func_EBFBE0_80197914

* func_EBFBE0_80197A3C

* func_EBFBE0_80197DE4

* func_EBFBE0_8019A214

* break

* func_EBFBE0_80199284

* func_EBFBE0_80199424

* func_EBFBE0_8019978C

* func_EBFBE0_8019A080

* func_EBFBE0_8019A298

* func_EBFBE0_8019B8A0

* func_EBFBE0_8019C824

* func_EBFBE0_8019CAE0

* func_EBFBE0_8019DF64

* func_EBFBE0_8019DE74

* func_EBFBE0_8019E030

* func_EBFBE0_8019DD44

* func_EBFBE0_8019DCE8

* func_EBFBE0_8019CBC0

* format

* func_EBFBE0_80193B04

* func_EBFBE0_801944F0

* .

* func_EBFBE0_80197F74

* more functions
2023-11-22 11:47:38 -03:00
petrie911
ca9899deed
sf_61B30 decomped (#25)
* my god it's done

* save for later
2023-11-18 12:44:33 -03:00
Alejandro Asenjo Nitti
d34a5e370a
more "hud" functions (#24)
* decompile func_80086444

* func_80084930

* func_80084B94

* decompile func_80084E78

* pr review
2023-11-17 12:17:56 -03:00
petrie911
3fbfdf01d2
names and namespaces cleaned up (#23)
* threads galore

* something's up

* try this

* I don't even

* who knows

* I can't stop it

* let's try data for fun

* ok I think I've gone far enough

* well maybe a little more

* visual assets somewhat documented

* just keeps going

* forgot formatting

* let
's try bss

* too much?

* one fix

* even more things

* one quick thing

* oh come on

* graph complete?

* format and such

* decomp and such

* small cleanup

* 6 and such

* more overlay fixes

* more of them

* again

* and done
2023-11-15 23:14:33 -03:00
Alejandro Asenjo Nitti
4fa27a34eb
sf_hud functions (#22)
* decompile func_80093310

* decompile func_8008AC54

* func_80094BBC

* func_80094BBC & func_80094954 &func_800933D8

* fix?

* fix2 ?

* fix3 (finally)

* remove commented asm

* decompile func_800869A0

* correction
2023-11-15 08:40:38 -06:00
petrie911
8f695918e3
More decomp, organization of variables.h (#21)
* threads galore

* something's up

* try this

* I don't even

* who knows

* I can't stop it

* let's try data for fun

* ok I think I've gone far enough

* well maybe a little more

* visual assets somewhat documented

* just keeps going

* forgot formatting

* let
's try bss

* too much?

* one fix

* even more things

* one quick thing

* oh come on

* graph complete?

* format and such

* decomp and such

* small cleanup
2023-11-15 00:34:10 -03:00
Alejandro Asenjo Nitti
59475cd4f6
fox_rcp (#20)
* func_800B8E14 & func_800B8DD0

* func_800B94D0

* func_800B9618

* func_800B9760

* func_800B9790

* func_800B98A8

* func_800B99C0

* func_800B99F0

* func_800B9A20

* func_800B9B38

* func_800B9C50

* func_800B9D68

* func_800B9E80

* func_800B9EB0

* func_800B9FC8

* func_800BA0E0

* func_800BA110

* func_800BA140

* func_800BA1A0

* func_800BA1D0

* func_800BA2E8

* func_800BA400

* func_800BA430

* func_800BA460

* func_800BA490

* func_800BA4C0

* func_800BA520

* func_800BA550

* func_800BA5E0

* func_800BA640

* func_800843FC

* func_80084370

* func_80084688

* gSetupDLs

* gSetupDLs

* fox_rcp

* break

* newline

* mvoe screen_width and screen_height to gfx.h

* remove space

* correct size

* clang-tidy from mm
2023-11-13 10:18:43 -06:00
petrie911
77894de848
Decomped and named Matrix functions, decomped some sf_ files, some other cleanup and naming (#19)
* threads galore

* something's up

* try this

* I don't even

* who knows

* I can't stop it

* let's try data for fun

* ok I think I've gone far enough

* well maybe a little more

* visual assets somewhat documented

* just keeps going

* forgot formatting

* let
's try bss

* too much?

* one fix

* even more things

* one quick thing

* oh come on
2023-11-12 19:49:03 -03:00
Alejandro Asenjo Nitti
a56edcf8e8
Several functions (#18)
* func_800BA760

* func_800BA7BC

* func_800B8F48 & func_800B8F78

* func_800B8FA8

* func_800B8FD8

* func_800B9120

* func_800B9150

* func_800B9298

* func_800B92F8

* func_800B9328 & func_800B9358

* func_800B94A0

* func_800B9730

* func_800BA808

* fix func_8002E4F8 args

* func_800B9388
2023-11-11 19:08:26 -06:00
petrie911
6b4015367d
Non-audio threads. Some data importation. (#17)
* threads galore

* something's up

* try this

* I don't even

* who knows

* I can't stop it

* let's try data for fun

* ok I think I've gone far enough

* well maybe a little more

* visual assets somewhat documented

* just keeps going

* forgot formatting
2023-11-07 19:32:09 -03:00
petrie911
931f589177
Fully split and name libultra, and also decomp 3404 (#16)
* libultra sorted out

* missed some things

* forgot some things

* one more thing

* not actually libultra

* also split out the data into three sections

* finer split

* parameter is a thing, apparently

* named everything in libultra

* make
2023-11-04 19:45:03 -03:00
petrie911
f2af4867e4
Identified and organized libultra (#15)
* libultra sorted out

* missed some things

* forgot some things

* one more thing

* not actually libultra

* also split out the data into three sections

* finer split

* parameter is a thing, apparently
2023-11-02 20:36:13 -03:00
petrie911
4311c670c3
Libultra headers and some decomp (#14)
* lib is ultra

* it just keeps going

* math names

* format
2023-10-29 18:19:30 -03:00
Alejandro Asenjo Nitti
854cadfa16
sf_hud functions (#13)
* decompile func_80091F00

* decompile func_80092244

* decompile func_800922F4

* decompile func_800857DC

* decompile func_80085890

* decompile func_80086110

* decompile func_800886B8

* decompile func_800953A0

* decompile func_8009546C

* decompile func_80095538

* decompile func_8009092C

* decompile func_8008D0DC

* fix warnings

* decompile func_8008E51C

* underscore in offsets

* spaces
2023-10-29 17:17:25 -03:00
Alejandro Asenjo Nitti
35ff3f1f39
sf_hud functions (#12)
* space

* decompile func_80090CCC

* unk_ format

* Rand_ZeroOne

* decompile func_80090E8C

* decompile func_800910C0

* decompile func_80091298

* decompile func_80091368

* dec

* false

* decompile func_800914FC

* decompile func_80091864

* decompile func_80091B90

* decompile func_80091CF8

* dec

* decompile func_80091DF4
2023-10-27 02:35:11 -03:00
Alejandro Asenjo Nitti
a194fd2109
sf_hud functions (#11)
* space

* decompile func_80090CCC

* unk_ format

* Rand_ZeroOne

* decompile func_80090E8C

* decompile func_800910C0

* decompile func_80091298

* decompile func_80091368

* dec

* false

* decompile func_800914FC

* decompile func_80091864

* decompile func_80091B90
2023-10-27 02:11:13 -03:00
Alejandro Asenjo Nitti
bf55772bd9
sf_hud functions (#10)
* decompile func_8008C5C8

* decompile func_8008CA44

* decompile func_8008CFB8

* decompile func_8008D250

* decompile func_8008D31C

* decompile func_8008D4F0

* trailing comma

* x and y axis

* decompile func_8008D7F4

* decompile func_8008D984

* decompile func_8008DCB0

* decompile func_8008DD78

* decompile func_8008DE68. Co-authored-by @tharo

* unnecessary parenthesis

* decompile func_8008E2C8

* decompile func_8008E620

* decompile func_8008F96C

* dec

* space

* format

* dec

* decompile func_800907C4

* fix warnings

* decompile func_80090A00 (finally)

* format
2023-10-26 16:22:08 -03:00
petrie911
b698fd3628
Header fix (#9)
* headers

* format

* format

* format again

* headers oh my

* irix is love

* irix is life

* working

* even more fixes

* format

* touching to rebuild
2023-10-23 17:02:01 -03:00
Alejandro Javier Asenjo Nitti
75778b4598 fix 2023-10-23 15:42:40 -03:00
Alejandro Javier Asenjo Nitti
4617d34d3f rename R4300.h 2023-10-23 15:34:26 -03:00
Alejandro Asenjo Nitti
fd742f93be
sf_hud functions + code organization (#8)
* decompile func_80086C08

* decompile func_80086CC8

* format

* decompile func_80088784

* preserve macros

* better match func_80005708

* format

* *arg0

* decompile func_80089670

* decompile func_80089710

* decompile func_800897B0

* decompile func_80089850

* decompile func_800898F0

* decompile func_80089994

* decompile func_80089AF4

* decompile func_80089B94

* decompile func_80089C38

* decompile func_80089D28

* space

* format

* decompile func_80089E98

* correction

* declare segmented addresses in func_80088784

* segmented addresses in undefined_syms

* correction

* Gfx type

* *arg0 + 1 in func_80005708

* roll back s32 -> Gfx

* fix

* array of Gfx pointers

* decompile func_8008AD94

* decompile func_8008AD94

* decompile func_8008B1B0

* decompile func_8008B2F0

* create structs.h

* reordering

* format

* decompile func_8008B5B0

* decompile func_8008B9E8

* decompile func_8008BAE4

* decompile func_8008C390

* fixes

* fixes

* fix warnings

* move protos to functions header

* move variables to variables.h

* roll back segmented config in header
2023-10-23 11:01:29 -05:00
petrie911
0c7c184d8a
Library split (#5)
* fixed

* and cleanup

* format

* let's all go to the library

* split

* small cleanup
2023-10-19 14:53:47 -03:00
Alejandro Javier Asenjo Nitti
59e32d05b8 func_80189208_EC18C8 matching 2023-10-18 19:54:19 -03:00
Alejandro Javier Asenjo Nitti
a6530bcfba decompile func_80187E28_EC04E8 2023-10-18 18:20:10 -03:00
Alejandro Javier Asenjo Nitti
63fe5d74e2 decompile func_80187CA8_EC0368 2023-10-18 16:32:17 -03:00
Alejandro Javier Asenjo Nitti
daf712b034 add:
AI_CONTROL_REG
AI_DACRATE_REG
AI_BITRATE_REG
2023-10-18 10:50:19 -03:00
Alejandro Javier Asenjo Nitti
5d1b103e75 add AI_LEN_REG 2023-10-18 10:42:28 -03:00
Alejandro Javier Asenjo Nitti
02784c1865 move to header 2023-10-18 10:38:09 -03:00
Alejandro Javier Asenjo Nitti
42f9ee1643 fix header include 2023-10-18 10:27:06 -03:00
Alejandro Javier Asenjo Nitti
cbcad3b503 func_800863C8 2023-10-18 09:35:05 -03:00
Alejandro Javier Asenjo Nitti
fedaa6c50e libs 2023-10-18 09:07:13 -03:00
Alejandro Javier Asenjo Nitti
511d895ec7 create string.h 2023-10-18 08:57:01 -03:00
Alejandro Javier Asenjo Nitti
85ab89eb48 guLookAt & guLookAtF matching 2023-10-17 17:43:47 -03:00
petrie911
05f38ec927 Merge branch 'master' of github.com:sonicdcer/sf64 2023-10-16 15:49:44 -05:00
petrie911
961e803117 now with more overlays 2023-10-16 15:49:24 -05:00
Alejandro Javier Asenjo Nitti
1a9167437a stdlib.h 2023-10-16 13:58:53 -03:00
Alejandro Javier Asenjo Nitti
a105c1e099 stddef.h 2023-10-16 13:58:39 -03:00
Alejandro Javier Asenjo Nitti
4985931714 decompile memcpy 2023-10-16 13:52:40 -03:00
Alejandro Javier Asenjo Nitti
003384482a format 2023-10-16 13:37:57 -03:00
Alejandro Javier Asenjo Nitti
1359630bcd decompile __osContGetInitData 2023-10-16 13:36:10 -03:00
Alejandro Javier Asenjo Nitti
7f398ed008 __OSContRequestHeader struct 2023-10-16 13:34:03 -03:00
Alejandro Javier Asenjo Nitti
742a177637 // Joybus commands 2023-10-16 13:32:30 -03:00
Alejandro Javier Asenjo Nitti
1d53ba1360 add ARRAY_COUNT macro 2023-10-16 13:32:12 -03:00
Alejandro Javier Asenjo Nitti
b5e4837005 controller header 2023-10-16 12:27:39 -03:00
petrie911
f97d418f5b stuff 2023-10-16 08:54:41 -05:00
Alejandro Javier Asenjo Nitti
5947bd9c85 func_80085740 2023-10-13 10:08:45 -03:00
Alejandro Javier Asenjo Nitti
3dc822e6f6 func_800884E4 2023-10-13 09:47:30 -03:00
Alejandro Javier Asenjo Nitti
9972a5d4ad func_800884E4 2023-10-13 09:36:43 -03:00
Alejandro Javier Asenjo Nitti
c9615b9bec func_800856C0 2023-10-13 09:03:03 -03:00
Alejandro Javier Asenjo Nitti
c6644eb0cc func_8008DC34 2023-10-13 09:00:59 -03:00
Alejandro Javier Asenjo Nitti
052f6d5131 func_80085404 2023-10-13 08:56:02 -03:00
Alejandro Javier Asenjo Nitti
5ace513b0a func_800853A4 2023-10-13 08:54:08 -03:00
Alejandro Javier Asenjo Nitti
b743063568 func_8008D1F0 2023-10-13 08:35:10 -03:00
Alejandro Javier Asenjo Nitti
09de21a431 func_80085514 2023-10-13 08:34:11 -03:00
Alejandro Javier Asenjo Nitti
db2db40225 func_80085464 2023-10-13 07:43:32 -03:00
Alejandro Javier Asenjo Nitti
e158176239 func_8008556C 2023-10-13 07:39:50 -03:00
Alejandro Javier Asenjo Nitti
8ef6c6071e func_800854BC 2023-10-13 07:38:41 -03:00
Alejandro Javier Asenjo Nitti
b0595f7a7a func_8008566C 2023-10-13 07:29:58 -03:00
Alejandro Javier Asenjo Nitti
e1e161bd19 fix common.h warning 2023-10-13 07:27:43 -03:00
Alejandro Javier Asenjo Nitti
7c4292c63e func_800855C4 2023-10-13 07:24:35 -03:00
Alejandro Javier Asenjo Nitti
4201057c36 func_80095350 2023-10-13 07:21:44 -03:00
Alejandro Javier Asenjo Nitti
9de23c85f4 func_8008CB98 2023-10-13 06:58:09 -03:00
Alejandro Javier Asenjo Nitti
611863c269 func_8008B2A4 2023-10-13 06:53:13 -03:00
Alejandro Javier Asenjo Nitti
e4e0bf93dd func_8008BCBC 2023-10-13 06:51:15 -03:00
Alejandro Javier Asenjo Nitti
e2a5bebc69 func_80091254 2023-10-13 06:29:58 -03:00
Alejandro Javier Asenjo Nitti
172c30f58f func_8008B734 2023-10-13 06:27:28 -03:00
Alejandro Javier Asenjo Nitti
2629719e8d func_8008BC80 2023-10-13 06:19:33 -03:00
Alejandro Javier Asenjo Nitti
e4865fe9b5 fix warnings 2023-10-13 06:19:10 -03:00
Alejandro Javier Asenjo Nitti
c068831444 func_8008E5E8 2023-10-13 06:13:30 -03:00
Alejandro Javier Asenjo Nitti
864279ab52 func_8008E9EC 2023-10-13 06:07:22 -03:00
Alejandro Javier Asenjo Nitti
31a230afd1 func_8008F94C 2023-10-13 06:05:38 -03:00
Alejandro Javier Asenjo Nitti
3497e09090 hud header 2023-10-13 04:53:43 -03:00
Alejandro Javier Asenjo Nitti
f2a91afe2a Libultra headers 2023-10-13 04:50:53 -03:00
Alejandro Javier Asenjo Nitti
cfcba790ef fabsf 2023-10-07 05:20:04 -03:00
Alejandro Javier Asenjo Nitti
ff116e1a5d func_80005100 2023-10-07 04:29:27 -03:00
Alejandro Javier Asenjo Nitti
76e016fad3 fix warning 2023-10-07 03:41:03 -03:00