Commit Graph

107 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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
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
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
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
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
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
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 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
petrie911
0e74b7902a
Split game engine files and rodata, fix some rodata offsets (#4)
* fixed

* and cleanup

* format

* hud escaped

* format
2023-10-19 10:57:03 -05:00
Alejandro Javier Asenjo Nitti
8b658f46e0 update splat 2023-10-18 09:40:23 -03:00
Alejandro Javier Asenjo Nitti
f55c9b040a ldigs & udigs symbols 2023-10-18 08:57:27 -03:00
petrie911
8436688fb6
better organization (#3)
Co-authored-by: petrie911 <petrie911@Monday.localdomain>
2023-10-16 15:58:31 -05:00
petrie911
961e803117 now with more overlays 2023-10-16 15:49:24 -05:00
Alejandro Javier Asenjo Nitti
d1454570bb separate libultra symbol addresses 2023-10-14 04:49:48 -03:00
Alejandro Javier Asenjo Nitti
368c542d5d more libultra symbols 2023-10-14 04:26:09 -03:00
Alejandro Javier Asenjo Nitti
f99479e8a0 more libultra symbols 2023-10-14 04:10:34 -03:00
Alejandro Javier Asenjo Nitti
8c32a98ba6 libultra symbols 2023-10-14 04:00:11 -03:00
Alejandro Javier Asenjo Nitti
30201949e6 versus menu 2023-10-12 09:28:57 -03:00
Alejandro Javier Asenjo Nitti
bc59d8c24e C9CF0 2023-10-07 11:14:34 -03:00
Alejandro Javier Asenjo Nitti
777fa1f6fe state: building: NOT OK 2023-10-06 06:03:06 -03:00
Alejandro Javier Asenjo Nitti
0ad61e4088 pif_syms.ld 2023-10-03 04:31:55 -03:00
Alejandro Javier Asenjo Nitti
50496a895c linker things 2023-10-03 04:31:03 -03:00
Alejandro Javier Asenjo Nitti
30c1cf4b6a linker scripts 2023-10-03 04:25:46 -03:00