petrie911
3ab050421e
use array count for collision headers ( #222 )
...
* lights fix
* names
* remove header
* so many names
* format
* more docs
* makefile
* colheaders
* it's gone too far
* torch
2024-04-25 19:01:25 -03:00
Alejandro Javier Asenjo Nitti
a6b80a5825
some spaces, corrections and TeamId Enum usages
2024-04-25 01:00:23 -03:00
petrie911
81291a0c44
More docs and renames, fox_bg now mostly figured out ( #220 )
...
* lights fix
* names
* remove header
* so many names
* format
2024-04-22 23:51:20 -03:00
petrie911
b3929bea72
Docs update, added list of all SFX Ids used in the game. ( #217 )
...
* docs
* format
* format plz
* stuff
* more stuff
* more names and such
* torch update
2024-04-20 16:18:31 -03:00
petrie911
0e54a13433
Docs relating to fox_360. Also a UB fix in audio_load. ( #215 )
...
* docs
* format
* format plz
2024-04-15 20:38:19 -03:00
petrie911
c532f31e24
Script and hitbox docs, update torch ( #210 )
...
* script2
* more docs and such
* torch update
2024-04-11 13:55:32 -03:00
petrie911
52e1b6cb17
Further docs on script, various other things ( #204 )
...
* stuff
* too much
* Torch commit
* torch again
* names and such
* names
* even more stuff
* format
* enums
* whoops on the gbi
2024-04-08 19:25:56 -03:00
petrie911
126a55aa0e
Event Actor docs that kind of ballooned into a bunch of stuff ( #200 )
...
* stuff
* too much
* Torch commit
* torch again
2024-04-05 17:11:36 -03:00
Alejandro Javier Asenjo Nitti
5f2b690a2b
fix s32 <=> bool inconsistencies
2024-04-03 02:18:35 -03:00
petrie911
988a36d03f
Name functions after their files, also global variables in engine and ovl_i1-6 ( #196 )
...
* cleanup
* mass rename
* forgot some
2024-04-02 20:20:08 -03:00
petrie911
2938919f6f
WIP on script documentation, some cleanup ( #194 )
...
* gfx
* script
* Torch
* headers
* format
2024-04-01 19:04:22 -03:00
petrie911
97f544c557
Improved match for fox_ti, add custom gbi macro, some cleanup ( #178 )
...
* splits
* torch
* torch again
* headers
* merges
* format
* matches
* commit
* colpoly
* SY
2024-03-27 17:06:28 -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
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
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
petrie911
234b36ebb5
match fox_sy ( #128 )
...
* match
* pointer cleanup
* more cleanup
* more cleanup
2024-02-14 20:22:37 -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
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
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
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
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
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