Commit Graph

102 Commits

Author SHA1 Message Date
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