Commit Graph

955 Commits

Author SHA1 Message Date
KiritoDv
304a0a5288 Fixed more even things 2024-11-10 09:07:58 -06:00
KiritoDv
ecc6a49f90 Even more changes 2024-11-10 01:01:31 -06:00
KiritoDv
cd48d2cefa Updated audio 2024-11-09 20:45:31 -06:00
KiritoDv
4acc13fb36 Doing some more fixes 2024-11-04 01:02:27 -06:00
KiritoDv
40ffb3d0b4 Code cleanup 2024-11-03 11:17:04 -06:00
KiritoDv
6393690103 Removed 32 bit structs 2024-11-03 10:56:53 -06:00
KiritoDv
2a8ac4891e Its loading without issues finally! But its still broken 2024-11-03 01:07:44 -06:00
KiritoDv
94bc6486eb Added some fun cracking 2024-11-02 18:33:33 -06:00
KiritoDv
5f1a34d9c9 Trying to reimplement the original functions 2024-11-02 08:49:29 -06:00
Lywx
128acb8997
Fixed missing cast 2024-10-30 07:54:43 -06:00
KiritoDv
2ee034b16e Increased samples per frame and readded malloc system 2024-10-29 08:12:39 -06:00
KiritoDv
9c9aca051d Added load seq 2024-10-29 08:02:25 -06:00
KiritoDv
52d3eca421 We are so fucking close omg 2024-10-29 02:06:14 -06:00
KiritoDv
2354ee76a3 Another attempt at this thing 2024-10-25 22:39:32 -06:00
Sonic Dreamcaster
adc561891a some tags and hit64 cheats 2024-10-23 11:22:44 -03:00
Sonic Dreamcaster
520d49705e OTRConvertHUDXToScreenX 2024-10-23 11:21:03 -03:00
Sonic Dreamcaster
ba6f9f0f4c fix wrong dlist 2024-10-21 21:47:45 -03:00
Sonic Dreamcaster
d6d9452df4 increase draw distance for certain object types 2024-10-18 01:58:27 -03:00
Sonic Dreamcaster
e9bf0030ae d-pad control & option arwing interpolation 2024-10-18 01:41:53 -03:00
Sonic Dreamcaster
08724d6dac add AllRange debug option 2024-10-18 01:41:00 -03:00
Sonic Dreamcaster
0e12e06407 background fixes 2024-10-18 01:39:42 -03:00
Sonic Dreamcaster
f337dc17b6 title widescreen and interpolation fixes 2024-10-17 23:47:03 -03:00
Sonic Dreamcaster
af68d637e0 fix Popping 2024-10-17 21:19:56 -03:00
Sonic Dreamcaster
d537d3761a map tagging 2024-10-17 21:05:25 -03:00
Sonic Dreamcaster
f33af0fc9a move Speed Control to debug menu 2024-10-17 13:32:45 -03:00
Sonic Dreamcaster
24c081f1b5 meteo asteroids fix 2024-10-17 13:30:58 -03:00
KiritoDv
2cfbe01e50 Added frame interpolation markers 2024-10-17 09:53:40 -06:00
Sonic Dreamcaster
cd288a4c5b cheats & debug entries 2024-10-17 02:00:08 -03:00
Sonic Dreamcaster
74a738ea46 ground vtx and gfx 2024-10-17 01:59:55 -03:00
Sonic Dreamcaster
8e2b8eaaee cheats and debug settings 2024-10-17 01:59:40 -03:00
Sonic Dreamcaster
168bc162b8 ground fixes 2024-10-17 01:59:04 -03:00
Sonic Dreamcaster
fa87b04cd3 background fix 2024-10-17 01:58:16 -03:00
Sonic Dreamcaster
7496dd4c2e fix building interpolation 2024-10-16 21:16:05 -03:00
KiritoDv
bdf56300df Fixed widescreen issues i think 2024-10-16 18:09:09 -06:00
KiritoDv
3ef4f3b78d Tagged bonus text 2024-10-16 15:42:22 -06:00
KiritoDv
783b626209 Added a toggle to disable interpolation 2024-10-16 15:32:08 -06:00
KiritoDv
13fd4ece9f Interpolated stars 2024-10-16 14:41:17 -06:00
KiritoDv
9da016bac9 Tagged stars 2024-10-16 12:52:05 -06:00
KiritoDv
e5ed74b978 Merge branch 'starfield' into interpolation 2024-10-16 12:46:19 -06:00
KiritoDv
0b23e06b77 Fixed stars 2024-10-16 12:46:04 -06:00
KiritoDv
efe08a91bf Added interpolation system 2024-10-16 11:53:41 -06:00
Sonic Dreamcaster
b925cabee9 new starfield (not working for now) 2024-10-15 13:30:42 -03:00
KiritoDv
94e3cded04 Fixed compilation 2024-09-17 19:29:44 -06:00
Sonic Dreamcaster
684f17c27f fix merge 2024-09-17 21:07:20 -03:00
KiritoDv
63254ffc5e Added srgb toggle 2024-09-17 20:31:35 -03:00
KiritoDv
d89f674c0f Fixed stupid port crashes 2024-09-17 20:30:39 -03:00
KiritoDv
b03d093fc2 Fixed compilation with latest lus 2024-09-17 20:30:14 -03:00
MegaMech
376054ed33 Update GenericArray.h 2024-09-17 20:30:07 -03:00
MegaMech
c2b403bd9b Update GenericArrayFactory.cpp 2024-09-17 20:30:07 -03:00
MegaMech
03dddf29a2 Update GenericArray.h 2024-09-17 20:30:07 -03:00
Sonic Dreamcaster
7f2aa148cc gVIsPerFrame fix for Aquas 2024-09-17 20:29:47 -03:00
KiritoDv
93e6d673e6 Fixed sf64 clear screen buffer for widescreen 2024-09-17 20:29:20 -03:00
KiritoDv
4b25a0148f Fixed ptr validation 2024-09-17 20:29:10 -03:00
KiritoDv
ce173c122d Unstubbed Texture_Scroll and fixed Texture_Mottle 2024-09-17 20:28:28 -03:00
KiritoDv
80c199467b Increased buffer on func_hud_8008C104 2024-09-17 20:28:02 -03:00
KiritoDv
ce9c6d0120 Fixed more wrong textures 2024-09-17 20:27:11 -03:00
KiritoDv
deabc05047 Fixed ending texture 2024-09-17 20:23:03 -03:00
KiritoDv
a184cdb76a Rename on ImGUI 2024-09-17 20:22:19 -03:00
KiritoDv
3ca7b499ae Fixed wrong types 2024-09-17 20:22:18 -03:00
KiritoDv
c01884f0c4 Fixed EVSTATE_ME 2024-09-17 20:20:56 -03:00
KiritoDv
41447af1b7 Fixed ObjectRam compilation 2024-09-17 20:20:56 -03:00
KiritoDv
be38e53176 Bump LUS 2024-09-17 20:20:36 -03:00
KiritoDv
69cfe9b2c4 Fixed all remaining compilation issues 2024-09-17 20:20:26 -03:00
KiritoDv
7c801d33d9 Repo upstreamed 2024-09-17 20:16:46 -03:00
KiritoDv
6248c70be1 Renamed otr 2024-09-17 19:31:26 -03:00
KiritoDv
dc9e25847d Added IOS Support 2024-09-17 19:31:26 -03:00
KiritoDv
f71ebdca82 Fixed some weird casts 2024-09-17 19:31:14 -03:00
KiritoDv
a041298125 Fixed off-by-one bug on health meter 2024-09-17 19:26:49 -03:00
KiritoDv
e38e82535d Bump libultraship to implement osContGetStatus 2024-09-17 19:26:06 -03:00
Sonic Dreamcaster
1c46da2ed5 Merge branch 'otr' of https://github.com/KiritoDv/lylat-64 into otr 2024-09-17 19:24:30 -03:00
Sonic Dreamcaster
4bdddfe4dc avoid ub 2024-09-17 19:24:30 -03:00
KiritoDv
af9c94351e Fixed switch compilation and other weird quirks with deps 2024-09-17 19:24:30 -03:00
KiritoDv
1940c26bce Fixed vs 2024-09-17 19:24:00 -03:00
Sonic Dreamcaster
5b4a8176b8 fix some option textures for versus 2024-09-17 19:17:47 -03:00
KiritoDv
9a9f677fbb Fixed sys_lib conflict 2024-09-17 19:14:09 -03:00
KiritoDv
3892bcefa2 Merge branch 'master' into otr 2024-09-17 19:14:09 -03:00
Alejandro Javier Asenjo Nitti
0a8c61789e ActorEvent_SxWarpGate_Draw 2024-09-17 15:52:13 -03:00
Alejandro Asenjo Nitti
0022481a03
ActorCutsceneModels Enum (#274)
* ActorCutsceneModels

* ACTOR_CS_FO_EXPLOSION

* update
2024-09-17 02:04:15 -03:00
Alejandro Asenjo Nitti
53363d6619
Hud, Title, Map & Option Docs (#272)
* hud title and option docs

* hud docs

* aspMain vram comment

* more hud docs

* HUD docs

* Hud_ -> HUD_ consistency

* ActorMissileSeekModes

* fox_option docs

* more option docs

* more option docs

* more option docs

* fox_title docs

* more fox_title docs

* fox_map docs

* fix map TLUTs

* more fox_map docs

* jp1 explore

* explore us rev0

* SETUPDL comments

* format

* fox_map docs

* more fox_map docs
2024-09-13 00:59:33 -03:00
Alejandro Asenjo Nitti
bfe2cd1c20
Remove static for file globals because they don't show up in the mapfile (#271) 2024-08-27 16:13:18 -03:00
Alejandro Asenjo Nitti
e82019fa2b
Actor Docs (#270)
* Docs

* actor timer_04C -> work_04C

* Actor & Boss unk_04A -> work_04A

* actor & boss unk_048 -> work_048

* actor & boss unk_046 -> work_046

* boss unk_044 -> work_044

* actor event docs

* ActorEvent docs

* name all Event Actor IDs

* EVID names in EventActorInfo comments

* refactor EVC_PASSED_ALL_RINGS by @inspectredc

* clarification comment

* some option docs

* audio enums and macros

* some audio renamings
2024-08-24 19:36:53 -03:00
Alejandro Javier Asenjo Nitti
669fff8759 SzGreatFox 2024-08-15 15:31:20 -03:00
Alejandro Javier Asenjo Nitti
a1134c296a actor docs 2024-08-15 11:54:53 -03:00
Alejandro Javier Asenjo Nitti
92ccdeb991 more actor docs 2024-08-15 06:19:21 -03:00
Alejandro Javier Asenjo Nitti
e2f6ce3075 actor docs 2024-08-15 05:20:30 -03:00
Alejandro Javier Asenjo Nitti
56d49ec767 corrections 2024-08-15 05:10:00 -03:00
Alejandro Javier Asenjo Nitti
f17c7bdc27 teamFaceId -> drawFace 2024-08-15 04:28:42 -03:00
Alejandro Javier Asenjo Nitti
76f7d6e335 replace all ArwingInfo unks for names 2024-08-15 04:01:44 -03:00
Alejandro Javier Asenjo Nitti
02ea67c9cc unk_0C -> upperLeftFlapYrot 2024-08-15 03:26:01 -03:00
Alejandro Javier Asenjo Nitti
5f5c0d2edf unk_08 -> bottomRightFlapYrot 2024-08-15 03:24:04 -03:00
Alejandro Javier Asenjo Nitti
885a20e29f unk_04 -> upperRightFlapYrot 2024-08-15 03:00:22 -03:00
Alejandro Javier Asenjo Nitti
bef7345bf7 leftState -> leftWingState 2024-08-15 02:56:41 -03:00
Alejandro Javier Asenjo Nitti
ccb74bd0fe rightState -> rightWingState 2024-08-15 02:55:25 -03:00
Alejandro Javier Asenjo Nitti
e073a7d0d7 wings -> arwing 2024-08-15 02:52:41 -03:00
Alejandro Javier Asenjo Nitti
8d3d4cd2d0 WingInfo -> ArwingInfo 2024-08-15 02:05:53 -03:00
Alejandro Javier Asenjo Nitti
e291a588e5 LEVELMODE_TURRET 2024-08-15 01:02:52 -03:00
Alejandro Javier Asenjo Nitti
e42657e8b5 Katina comment 2024-08-12 12:02:50 -03:00
Alejandro Asenjo Nitti
0251769d16
General docs (#269)
* fox_display.c DOCS

* PRINTF

* actor->destroy boolean

* corneria docs

* Boss->unk_04C to Boss->animFrame

* aCoGrangaWalkingAnim

* more corneria docs

* Spawner

* Spawner code refined

* Spawner description

* Actor Spawn guard

* Molar Rock (name by @inspectredc)

* more docs

* actor docs

* initial disassembly config for lodgenet

* correct vram addresses for lodgenet

* Actor Docs

* More actor docs

* more actor docs

* correction

* correction

* more actor docs

* Preliminary work for Effect documentation

* Change Init for Setup

* fox_play cleanup and defake

* fox_zo function names

* fox_so function renaming

* more object docs

* venom 1 actors

* actor docs

* some fox_bo docs

* some fox_fo corrections

* fox_ma obj->this

* fox_ma renamings

* fox_ma docs

* fox_ti Actors

* revert permuter settings to ido

* some renames on fox_andross.c

* fox_sy actors

* object names

* corrections

* some effect comments

* fix AudioTable struct and data to avoid UB

* uintptr_t in audio

* audio load changes

* event id enum usage in fox_sy

* clear padding in sPlaylists

* HUD_FoBase_ExplodeCs

* HUD
2024-08-12 11:58:54 -03:00
petrie911
83c5442915
Improve audio docs and partial audio disassembly support (#268)
* audiodiasm

* start of sound disasm

* disasm

* source
2024-07-07 14:43:41 -03:00
Alejandro Javier Asenjo Nitti
9dd58cd924 fox_display.c spacing 2024-07-06 23:01:03 -03:00
Alejandro Asenjo Nitti
c348962cab
Sector Z, Fortuna & General Docs (#261)
* Sector Z Docs initial

* Sector Z docs

* some other things

* correction

* Space Junk

* SectorZ_SetLevelObjects

* rename assets with correct prefix

* aSzBackgroundTex

* details

* pr review

* Sector X initials

* Meteo Initials

* Sector X things I forgot

* fox_tr360 & fox_ve1 & fox_so initials

* fox_so details

* Zones initials

* More Zones initials

* more zones initials

* area 6 initials

* fortuna inits

* fortuna actors

* some more docs

* more docs for Fortuna

* fix mistake in data incorrectly imported

* Fortuna Radars

* BossFO

* Sector Y Initials

* Venom 2 general Docs

* Some Corneria Docs

* Actor, Scenery and Boss IDs in update and draw functions of gObjectInfo

* more docs and this usage

* fox_360 this usage

* more actor types and this usages

* fox_effect type usage

* training docs

* some Sector X docs

* fix incorrect usage of "this"

* fix comment

* more docs

* funcNames

* fox_bg spacing

* boolean

* scenery corneria bumbs

* terrain bumps

* corneria arch

* more corneria objects

* hitboxes

* more corneria objects

* more corneria level objects

* more corneria objects

* aCoWaterfallDL

* corneria docs

* more corneria docs

* Granga swork start

* corneria swork

* Corneria

* Corneria Granga docs

* more granga docs

* granga work buffer enum

* CarrierParts enum use

* option

* Corneria Docs

* GRANGA_FWK

* fox_co.h header

* fix Fault_FillRectangle typo

* PR reviews

* sCsTeamInitialPos

* Doodad
2024-07-06 09:47:49 -03:00
Alejandro Javier Asenjo Nitti
dc6fdbcf69 fix gcc 2024-06-07 19:12:48 -03:00
Alejandro Javier Asenjo Nitti
f381dea7ab fix asset D_VE2_6006890 2024-05-28 01:13:32 -03:00
Alejandro Javier Asenjo Nitti
42225b01ff PRINTF(); usage in sys_save 2024-05-27 14:04:13 -03:00
Alejandro Javier Asenjo Nitti
07fbeac7cb torch to main 2024-05-27 13:43:33 -03:00
petrie911
0f6d7cca33
Player and Vs docs, some improvement to ve1 boss (#259)
* playerstuff

* stuff

* small fixes

* Torch

* torch update again
2024-05-25 12:17:03 -05:00
petrie911
03ce166cca
Implement common data in EU and JP and clean up US data (#258)
* data fixes

* format

* alignment

* include
2024-05-23 20:40:42 -03:00
Alejandro Javier Asenjo Nitti
be0bfa7711 SIN_DEG 2024-05-23 10:53:45 -03:00
Alejandro Javier Asenjo Nitti
c89498ad6b gPlayer[0]. 2024-05-23 00:09:52 -03:00
Alejandro Javier Asenjo Nitti
ef4fa65cbd gPlayer[0] 2024-05-23 00:08:52 -03:00
Alejandro Javier Asenjo Nitti
6e833a2807 MATCH: SectorZ_Missile_Update
Yeah B#$"%, MAGNETS! OHHH
2024-05-23 00:02:10 -03:00
petrie911
566f9db5a5
cheats (#257) 2024-05-20 11:28:13 -03:00
petrie911
53c05e51a4
give EU a symbol addrs file (#256)
* srceu

* remove warning

* and some cleanup

* symbol addrs for eu

* data

* one cleanup

* move macros to header
2024-05-19 01:27:17 -03:00
petrie911
80eaf7d2e5
support for EU rev 0, updates to tools, other cleanup (#255)
* srceu

* remove warning

* and some cleanup
2024-05-18 19:49:49 -03:00
Alejandro Javier Asenjo Nitti
36ac4066c9 makes more sense this way, still fake tho 2024-05-18 12:24:10 -03:00
Alejandro Javier Asenjo Nitti
6b5a48ce13 MATCH Ending_8018845C 2024-05-18 11:47:14 -03:00
Alejandro Javier Asenjo Nitti
7d1b8dc54b variables 2024-05-18 11:11:05 -03:00
Alejandro Javier Asenjo Nitti
188b40cb8b limbCount 2024-05-18 10:25:01 -03:00
Alejandro Javier Asenjo Nitti
4317e2cd54 Merge branch 'master' of github.com:sonicdcer/sf64 2024-05-17 20:21:08 -03:00
Alejandro Javier Asenjo Nitti
8045b688ac fox_end1 details 2024-05-17 20:21:04 -03:00
petrie911
2c98d106a1
Fix some names, use setup DL enum, add dma offsets to srcjp (#254)
* cleanup

* buffers

* setupDLs and such
2024-05-17 14:22:51 -03:00
petrie911
acead8f271
Header fix for buffers.h (#253)
* cleanup

* buffers
2024-05-17 10:33:44 -05:00
Alejandro Javier Asenjo Nitti
ea1349aabe fox_so styling 2024-05-17 11:09:49 -03:00
petrie911
13f3bb1baf
cleanup (#252) 2024-05-16 18:45:47 -05:00
Alejandro Javier Asenjo Nitti
837ac7ea83 fox_aq styling 2024-05-16 16:08:58 -03:00
Alejandro Javier Asenjo Nitti
21ad1bc22e styling on fox_a6 2024-05-16 15:28:47 -03:00
Alejandro Javier Asenjo Nitti
ae294ef689 fox_tr360 & fox_ve1 spacing 2024-05-16 11:29:16 -03:00
Alejandro Javier Asenjo Nitti
9ac4472388 fox_tr spacing 2024-05-16 11:13:04 -03:00
Alejandro Javier Asenjo Nitti
9da1639908 fox_co spacing and generic vars 2024-05-16 11:05:21 -03:00
petrie911
1a5569bef5
Comptool support for byteswapped ROMs (#249)
* comptool update

* further updates

* lodgenet

* comptool and main split

* one last thing
2024-05-15 13:41:15 -05:00
petrie911
cf51ec5332
Updates to sf64Mesg and a couple global names (#247)
* id start

* stuff

* comp and cam

* add errors

* names and such

* message fixes and names
2024-05-14 13:54:13 -03:00
petrie911
3045745789
name remaining files, fix some fake matches (#245)
* splits

* split and migrate

* readwrite const

* format
2024-05-14 11:44:12 -03:00
Alejandro Javier Asenjo Nitti
fb7b087664 make clean clears version specific asm folders 2024-05-13 19:41:31 -03:00
petrie911
bccb26174b
Set up yaml and linker scripts for jp0 (#244)
* splits

* split and migrate
2024-05-13 18:49:53 -03:00
petrie911
1f452ce232
Forgot an update to first_diff (#242)
* verbose

* indices

* small updates
2024-05-12 11:18:36 -05:00
Alejandro Asenjo Nitti
cd3444b727
Isolate rev1 building tree (#239)
* try

* move yamls

* gitignore

* fix

* gitignore starfox64.us.rev1.yaml

* fix RM

* update readme

* readme again, forgot a few things

* okay one more...

* fix ci
2024-05-11 21:11:29 -03:00
petrie911
0dbbf453f9
More actor docs. starting on event IDs (#238)
* id start

* stuff

* comp and cam

* add errors
2024-05-11 17:53:37 -03:00
Alejandro Asenjo Nitti
5bda92de97
Katina: Boss States and tweaks (#237)
* Boss states and tweaks

* fixes

* roll back filename changes

* variable name fix

* Katina_Init
2024-05-10 23:28:18 -03:00
petrie911
7eff38a5f9
Add quick boot and add ram editing to object ram watch (#236)
* upgrades

* one cleanup

* streamlining

* whoops mods

* more ub

* cast cleanup
2024-05-08 15:57:11 -03:00
petrie911
182eb5c65a
Use SF3DS BGM names, some other audio-related cleanup. (#235)
* remember to undo mods

* bgm macros
2024-05-08 12:32:05 -03:00
petrie911
a864e5ebe2
oh god the docs (#234) 2024-05-06 19:45:24 -03:00
Alejandro Asenjo Nitti
44c9eadbc2
3DS VERSION SfxIds applied to code (#232)
* NA_SE_ARWING_BOOST is everywhere

* man, there's just no end of these sfxIds

* NA_SE_GREATFOX_ENGINE everywhere

* NA_SE_OB_DAMAGE_M, another SfxId with massive usage

* massive usage of NA_SE_EN_REFLECT

* massive usage of NA_SE_EN_EXPLOSION_S

* massive usage of NA_SE_EN_EXPLOSION_M

* NA_SE_ARWING_ENGINE_FG

* save progress

* MISSION ACCOMPLISHED
2024-05-05 22:07:32 -03:00
petrie911
65cb9e270e
SFX Ids complete and upgraded level select (#231)
* sfx banks

* better level select

* left the mods on

* new description for level select
2024-05-05 17:48:16 -03:00
inspectredc
d08678a5ac
Use array count for more things (#230)
* array count more things

* fix array count error

* undo array count for later

---------

Co-authored-by: Alejandro Javier Asenjo Nitti <alejandro.asenjo88@gmail.com>
2024-05-05 17:29:59 -03:00
Alejandro Asenjo Nitti
455aa0aa2c
Initial Katina documentation (#228)
* initial docs

* func names

* docs

* more docs

* more katina docs

* format

* format

* yRot

* more docs

* more docs

* this

* some fixes

* fixes

* ActorAllRange

* These should not be used here

* corrections

* some renamings

* more docs

* format

* Merge remote-tracking branch 'origin' into fox_ka_docs

* ActorCutscene

* PR review

* comment

* bump torch

* PR review

* review
2024-05-05 17:23:49 -03:00
petrie911
9303fba359
Event opcodes documented, more all range stuff (#229)
* stuff

* Torch1

* dark link
2024-05-04 18:24:24 -03:00
petrie911
77060ba506
Start on sfx IDs (#227)
* sfx stuff

* sfxIds
2024-05-03 16:56:26 -03:00
petrie911
c9df6fda72
More docs (#226)
* docs

* more docs

* forgot timers
2024-05-02 17:46:51 -03:00
petrie911
926677aa6c
In-game ram watch mod + upgraded jukebox (#225)
* new mods

* Torch
2024-05-01 21:57:50 -03:00
Alejandro Javier Asenjo Nitti
d2436e5850 Ending_8018845C fake match scratch comment 2024-04-30 09:46:49 -03:00
Alejandro Javier Asenjo Nitti
6dbc0ba6b1 name vars in Message_DisplayScrollingText 2024-04-27 14:36:31 -03:00
Alejandro Javier Asenjo Nitti
25d8938483 AVOID_UB in fox_message 2024-04-27 14:33:59 -03:00
Alejandro Javier Asenjo Nitti
5056a6ef31 bools and names 2024-04-27 12:32:07 -03:00
Alejandro Javier Asenjo Nitti
9bc64bd212 RadioCharacterId 2024-04-27 12:14:16 -03:00
Alejandro Javier Asenjo Nitti
bb4c68a22d radioPortraitTex 2024-04-27 10:39:24 -03:00
Alejandro Javier Asenjo Nitti
78683d8c03 pad 2024-04-27 10:08:19 -03:00
Alejandro Javier Asenjo Nitti
35859e4306 teamId 2024-04-27 10:07:44 -03:00
Alejandro Javier Asenjo Nitti
bd30371b04 bool 2024-04-27 10:03:49 -03:00
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
ee59dfc57f missionNoTex 2024-04-25 16:11:01 -03:00
Alejandro Asenjo Nitti
7c2ce8a678
DOCS: ast_text (ex ast_font) (#223)
* progress of docs

* caiman here, no problems

* Emergency manouvers!

* complete

* rename ast_font to ast_text
2024-04-25 14:08:40 -05:00
petrie911
0c9be776da
Cumulative docs update (#221)
* lights fix

* names

* remove header

* so many names

* format

* more docs

* makefile
2024-04-25 01:14:49 -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
Alejandro Javier Asenjo Nitti
e1785c35dd fix warning 2024-04-21 16:01:38 -03:00
Alejandro Javier Asenjo Nitti
4f95948de5 Fix level select 2024-04-21 15:54:51 -03:00
petrie911
95e5f4f07a
Some further docs for audio spec and planet paths (#219)
* avoid ub

* format

* torch

* more stuff
2024-04-20 17:07:29 -05:00
petrie911
e3716b5d48
Fix out-of-bound loop UB (#218)
* avoid ub

* format

* torch
2024-04-20 18:47:46 -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
Alejandro Asenjo Nitti
1272524325
MOD: FPS COUNTER (#216)
* progress

* working

* move to Play_Draw

* remove mods.h include from fox_hud

* fix name

* __floatundisf needed by GCC

* Improve level select

* __floatundisf in yaml for GCC

* jump directly to level loading in Map_LevelSelect

* comments

* fix level select

* AVOID_UB in audio

* stable flags

* fix UB in AudioHeap_DiscardSampleCaches co-authored-by: @petrie911

* fox_map fix

* move frame counter a few pixels to the right

* format

* add measurement correction for overclocked N64s
2024-04-20 16:18:09 -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
Alejandro Asenjo Nitti
1ee6762797
Initial GCC Support (#212)
* first try

* progress

* progress

* gcc compiling, rom not booting yet

* format

* restore word compiler

* comment

* fix

* fix

* fix addresses for new splat

* progress

* splat

* we don't need these anymore

* gcc build seems stable now
2024-04-15 20:15:45 -03:00
Alejandro Javier Asenjo Nitti
8ad92b4b3b fix texture 2024-04-12 14:08:38 -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
inspectredc
4362338efb
Match Area6_80187944 (#209)
* Match Area6_80187944

* actually commit all changes

* Area6_80187944

* merge

* AUDIO_PLAY_BGM

* team ids

---------

Co-authored-by: Alejandro Javier Asenjo Nitti <alejandro.asenjo88@gmail.com>
2024-04-11 09:39:53 -03:00
inspectredc
001b3e0aa7
Match Ending_80187860 (#207) 2024-04-10 19:20:03 -03:00
inspectredc
eeea74e454
Match Zoness_80194A84 (#206) 2024-04-10 09:22:43 -03:00
inspectredc
f63251d512
Match Aquas_801AFA5C (#205) 2024-04-09 01:08:20 -03:00
KiritoDv
ed2a45796b Readded gamma toggle to use one controller 2024-04-08 17:50:50 -06: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
Sonic Dreamcaster
16829d932f Merge branch 'otr' of https://github.com/KiritoDv/lylat-64 into otr 2024-04-08 13:00:17 -03:00
Sonic Dreamcaster
ec003d9480 solar fixes 2024-04-08 13:00:13 -03:00
KiritoDv
59e2eed10e Stubbed again Texture_Scroll since keeps crashing because god knows why 2024-04-08 00:03:54 -06:00
KiritoDv
bca120f6cd First gamma implementation 2024-04-07 23:58:15 -06:00
Alejandro Javier Asenjo Nitti
be0d328b4e avoid ub in func_play_800B79B0 & comment 2024-04-08 00:05:42 -03:00
KiritoDv
f9449fa185 Fixed Solar and Zoness 2024-04-07 18:01:42 -06:00
Alejandro Javier Asenjo Nitti
b2b8ea3c79 Merge branch 'master' of github.com:sonicdcer/sf64 2024-04-07 18:52:16 -03:00
Alejandro Javier Asenjo Nitti
f6fc05afd3 fix wrong symbol use 2024-04-07 18:52:11 -03:00
inspectredc
ccfd4e8159
Match Aquas_801B638C (#203) 2024-04-07 18:50:23 -03:00
Alejandro Javier Asenjo Nitti
5e1d4ab9a8 Merge branch 'master' of github.com:sonicdcer/sf64 2024-04-07 18:43:03 -03:00
Alejandro Javier Asenjo Nitti
f8cceb5f1d fix wrong symbol use 2024-04-07 18:42:58 -03:00
inspectredc
b4ca33057e
Match Aquas_801B6FF8 (#202) 2024-04-07 17:41:16 -03:00
inspectredc
2d3e940f26
Match Area6_8018C54C (#201)
* Match Area6_8018C54C

* can remove if now rest is matching

* just use if 1
2024-04-07 14:10:58 -03:00
Alejandro Javier Asenjo Nitti
b8278dd1d7 Add scratches in the repo for remaining functions in audio_symthesis 2024-04-07 10:53:00 -03:00
KiritoDv
1507de1243 Fixed rtc errors on meteo/hud 2024-04-06 22:15:18 -06:00
Alejandro Javier Asenjo Nitti
f2c5292e7b fix fakes 2024-04-07 01:05:58 -03:00
KiritoDv
16c1455ec0 Fixed bolse 2024-04-06 21:37:32 -06:00
Alejandro Javier Asenjo Nitti
5c59226db4 fix fake 2024-04-07 00:37:21 -03:00
inspectredc
f37d1c0ca9 generic array importer 2024-04-07 02:01:49 +01:00
KiritoDv
2518e45bd2 Ported mods as enhancements and impl reset button 2024-04-06 18:33:30 -06:00
inspectredc
e66b59854e undo asset load on non asset 2024-04-07 00:42:22 +01:00
inspectredc
c720fe2653 more importers 2024-04-07 00:41:12 +01:00
KiritoDv
b36783ba8e Fixed asset loading on overlays and engine, including switching iwork to uintptr_t 2024-04-06 15:34:46 -06:00
KiritoDv
5427fdb031 Implemented even more factories 2024-04-06 14:25:40 -06:00
Alejandro Javier Asenjo Nitti
d777ce9917 SectorZ_Missile_Update rename 2024-04-06 12:35:39 -03:00
Alejandro Javier Asenjo Nitti
1128c200e2 rewrite func_hud_800915FC 2024-04-06 12:14:20 -03:00
KiritoDv
83cb18d9db Fixed compilation 2024-04-06 04:35:56 -06:00
KiritoDv
ed967484e3 First ingame boot 2024-04-06 04:33:13 -06:00
KiritoDv
eb373a3c3f Removed native implementations of atanf/asinf and acosf 2024-04-06 04:33:13 -06:00
Sonic Dreamcaster
0a64a8176d fix bug in Message_DisplayText 2024-04-06 04:33:13 -06:00
KiritoDv
eecfd795eb Fixed last cosf/sinf call 2024-04-06 04:33:13 -06:00
KiritoDv
defb215e78 Attempt to fix math weirdness on Windows 2024-04-06 04:33:13 -06:00
KiritoDv
648e173a3c Fixed save-files and rumble 2024-04-06 04:33:13 -06:00
KiritoDv
59dc1cf083 Bump libultraship 2024-04-06 04:33:13 -06:00
KiritoDv
b85e6036a8 Fixed imgui on UIWidgets 2024-04-06 04:33:13 -06:00
Sonic Dreamcaster
63933461ef fix level select 2024-04-06 04:33:13 -06:00
Sonic Dreamcaster
dc3fe4def7 fix level select 2024-04-06 04:33:13 -06:00
Sonic Dreamcaster
ab4826b537 fix level select for venom 2024-04-06 04:33:13 -06:00
Sonic Dreamcaster
9d7a315d00 fix 2024-04-06 04:33:13 -06:00
Sonic Dreamcaster
4cd75e1aac zoness boss fix, increase memory allocation, fix prototypes, level_select fix 2024-04-06 04:33:13 -06:00
KiritoDv
d409d1dc07 Fixed memory issues 2024-04-06 04:33:13 -06:00
KiritoDv
904cddeb67 Fixed variable 2024-04-06 04:33:13 -06:00
KiritoDv
1f063dd07a Fixted texture scroll and mottle 2024-04-06 04:33:13 -06:00
KiritoDv
11ddc641c0 Fixed compilation on windows 2024-04-06 04:33:13 -06:00
KiritoDv
9e6800d369 The game is fucking running 2024-04-06 04:33:03 -06:00
KiritoDv
110e54c562 First compilation running owo 2024-04-06 04:32:13 -06:00
KiritoDv
8ddbae1a15 Fixed wrong symbol 2024-04-06 04:32:13 -06:00
KiritoDv
641a43cbf9 First compilation, we just need more stupid assets 2024-04-06 04:32:13 -06: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
petrie911
ac41c180a9
Reorganizaton of main (#199)
* reorganize main

* more names

* libc
2024-04-03 11:30:50 -03:00
Alejandro Javier Asenjo Nitti
a903e81638 fix level select for venom 2024-04-03 01:02:07 -03:00
Alejandro Javier Asenjo Nitti
b8ee8bc770 Merge branch 'master' of github.com:sonicdcer/sf64 2024-04-03 00:39:31 -03:00
Alejandro Javier Asenjo Nitti
e2826b2a6f level select fix for venom 2024-04-03 00:39:26 -03:00
inspectredc
bc4c757145
Match AudioLoad_RelocateFontAndPreloadSamples (#198) 2024-04-02 23:38:21 -03:00
inspectredc
ec94904725
Match Audio_ProcessSeqCmd (#197) 2024-04-02 22:52:04 -03:00
Alejandro Javier Asenjo Nitti
d29fc5697f fix warnings 2024-04-02 22:01:27 -03:00
Alejandro Javier Asenjo Nitti
98023e669c these functions should take void pointers 2024-04-02 22:00:06 -03:00
Alejandro Javier Asenjo Nitti
60a4176f27 improve level select 2024-04-02 20:32:51 -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
inspectredc
34b0701ac1
Match func_800097A8 (#195) 2024-04-02 18:31:34 -03:00
Alejandro Javier Asenjo Nitti
b9b48aebdf fix wrong displaylist usage 2024-04-02 17:11:20 -03:00
Alejandro Javier Asenjo Nitti
69b70a9d3f remove all the undefined symbols from the list 2024-04-01 21:17:43 -03:00
Alejandro Javier Asenjo Nitti
e9c93209c4 omg kill me 2024-04-01 21:08:01 -03:00
petrie911
2938919f6f
WIP on script documentation, some cleanup (#194)
* gfx

* script

* Torch

* headers

* format
2024-04-01 19:04:22 -03:00
Alejandro Javier Asenjo Nitti
1890dcda47 generic file descriptors 2024-04-01 18:58:42 -03:00
Alejandro Javier Asenjo Nitti
0366bf315b remove includes for bss reordering that are no longer needed. 2024-04-01 17:32:21 -03:00
Alejandro Javier Asenjo Nitti
58612dd506 remove assets.h and fix various symbols 2024-04-01 17:25:27 -03:00
inspectredc
1a6675cad9
export configuration for ast_solar (#193)
* ast_zoness

* format

* ast_solar

* post merge resolving and format

* remove ast_solar
2024-04-01 16:32:59 -03:00
inspectredc
5844ffc4dd
export configuration ast_zoness and bump torch for generic array factory (#192)
* ast_zoness

* format

* remove ast_zoness.h

* change name to D_ZO_601996C

* rename to yaml and use vec3f array

* prevent_bss_reordering in fox_edisplay

* format

---------

Co-authored-by: Alejandro Javier Asenjo Nitti <alejandro.asenjo88@gmail.com>
2024-04-01 15:17:46 -03:00
Lywx
9604a29140
export configuration for ast_fortuna, ast_katina, ast_venom_1 & ast_venom_2 (#190)
* Matched ast_fortuna

* Added FO prefix into every asset

* Fully matched PR

* Removed katina from assets.h

* WIP ast_venom_2

* Debinarized ast_venom_2

* Removed venom_2 from assets.h

* Renamed VE1 to VE1B

* Matched ast_venom_1

* Renamed to D_VE1

* Renamed venom_1 boss assets back to D_VE1

* Fixed merge conflicts
2024-04-01 13:54:47 -03:00
inspectredc
2ef09bcf5d
export configuration for ast_andross (#189)
* export configuration for ast_andross

* format

* assets yaml
2024-03-31 22:53:09 -03:00
Alejandro Asenjo Nitti
8b4bb6d943
export configuration for ast_meteo & ast_bolse (#188)
* progress

* remove header

* - '#include "sf64level.h"'

* MatchPoint

* asset analysis complete, here it comes. Wheeeeeh

* comment

* correction

* some missile docs

* format

* preparations for ast_bolse extraction

* Matchpoint

* Jackpot
2024-03-31 22:04:45 -03:00
petrie911
4255ef5519
finish export on segment 7, rename the versus assets (#187)
* versus

* ending

* ending

* header

* vs names

* errant header
2024-03-29 20:19:29 -03:00
Lywx
576d42fabd
[WIP] Export configuration for ast_common (#176)
* Close to fully implement the whole file

* Filled gaps with blobs

* Added config into assets.yaml

* Removed a more blobs

* Fully extracted ast_common

* Bump torch
2024-03-29 16:43:25 -05:00
petrie911
b4c43da7d8
export ast_ve1_boss (#186)
* ve1

* fix vs

* one thing
2024-03-29 15:37:49 -05:00
petrie911
94fd988b80
export ast_title, add missing assets to ast_map (#185)
* WIP ast_title assets

* Fixed format

* macbeth

* title

* title

* bss

* small fix

---------

Co-authored-by: KiritoDv <kiritodev01@gmail.com>
2024-03-29 16:21:43 -03:00
Alejandro Asenjo Nitti
7ee062df9e
export configuration for ast_corneria (#184)
* complete?

* done

* remove header

* ast_corneria.yaml prepared

* progress

* more progress

* progress

* finished?

* fix duplicated symbol

* matchpoint

* add torch.hash.yml to git ignore

* progress replacing symbol use

* Ready ?

* fix bss reordering issues

* remove redundant entry in gitignore

* remove externs

* we don't need these anymore, libultra is finished
2024-03-29 14:09:14 -05:00
petrie911
09541d8ad3
None of woman born Shall export Macbeth (#183)
* macbeth

* fix

* forgot header
2024-03-29 14:40:09 -03:00
petrie911
bb7b2b19ca
Last Titania asset, fix to hibox exporter, more cleanup (#180)
* yaml

* ti

* hud

* a

* torch

* forgot header

* fix?

* format
2024-03-28 11:13:34 -03:00
Alejandro Asenjo Nitti
7a43255fea
export configuration for ast_enmy_planet (#181)
* complete?

* done
2024-03-28 08:01:37 -03:00
petrie911
38eba417f5
Add level tags to some segment 6 addresses (#179)
* env

* format

* syms
2024-03-27 17:54:11 -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
Alejandro Asenjo Nitti
26a3873e16
export configuration for ast_star_wolf (#177)
* MISSION
ACCOMPLISHED

* remove header

* remove comment
2024-03-27 14:37:20 -03:00
Alejandro Asenjo Nitti
ec1d3da564
export configuration for ast_great_fox & ast_sector_z & ast_sector_y (#175)
* Matchpoint

* remove symbols from undef

* remove header

* comments

* var rename

* remove header

* first asset

* progress

* progress

* progress, should be matching. Torch bug?

* comments

* update torch with Peter's fix

* PRINTF

* replace symbol usage

* todo comment

* D_SX_6000000 usage

* progress

* Matchpoint

* progress replacing symbol usage (apo apo ahora)

* remove headers

* va bene

* format

* remove header
2024-03-27 01:07:41 -03:00
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
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
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
Alejandro Javier Asenjo Nitti
572d33dfee fix warning 2024-03-06 20:37:37 -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
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
68cf4fd5d7 remove unnecessary symbols 2024-02-22 00:33:59 -03:00
Alejandro Javier Asenjo Nitti
c97b9ad6f3 ast_reward 2024-02-22 00:32:47 -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
38717acf80 format files 2024-02-21 19:10:31 -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
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
inspectredc
324115177e
match func_i5_8018A544 and cleanup func_i6_8019EE60 (#132) 2024-02-16 21:55:40 -03:00
Alejandro Javier Asenjo Nitti
2bd47f5bfd fix level select mod 2024-02-16 20:41:38 -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
Alejandro Javier Asenjo Nitti
8754a483f2 fix func_i3_801AE168 NON_MATCHING 2024-02-11 23:39:59 -03:00
petrie911
c289b5d213
matches (#123) 2024-02-11 21:47:23 -03:00
Alejandro Javier Asenjo Nitti
f88d780765 func_800AF07C matched 2024-02-11 16:07:32 -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
b435e2b63f fix fox_ka warnings 2024-02-10 13:22:32 -03:00
Lywx
3d82f475de
Match fox_ka (#119)
* Decompiled a ton of functions

* Matched even more functions!

* Decompiled even more functions, now with Bill!

* Moved externs

* Matched func_i4_80192E20, func_i4_80193EF0, func_i4_801946C4, func_i4_80197290 and func_i4_80198AA0

* Cleaned code

* Sorted externs

* Added new line into breaks

* Added D_i4_8019F18C into symbol_addrs

* Added D_i4_8019F168 symbol

* TOMÁAAAAA

* Fixed merge conflicts

* Converted hex values to decimal

* Fixed format

* Added spaces on some ifs

* Removed unnecesary casts

* Added overlays.yaml

* Cleanup based on comments

* Cleaned based on petrie comments

* Changed obj status

* Fixed rot variables

---------

Co-authored-by: Alejandro Javier Asenjo Nitti <alejandro.asenjo88@gmail.com>
2024-02-08 23:12:28 -03:00
Alejandro Javier Asenjo Nitti
04291937f3 Match osDestroyThread 2024-02-07 17:27:48 -03:00
Alejandro Javier Asenjo Nitti
52a8a12bea Match osCreateMesgQueue 2024-02-07 16:06:55 -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
c8977375e0 fox_demo lone symbol 2024-02-06 19:09:36 -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
Alejandro Javier Asenjo Nitti
5bfab6e07e fox_ground code spacing 2024-02-06 14:22:39 -03:00
Alejandro Javier Asenjo Nitti
0e2578a9fe fox_end1 symbols 2024-02-06 14:13:29 -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
c968a071cc
Ending 1 decomped (#114)
* ending

* ending
2024-02-03 14:14:43 -03:00
Alejandro Javier Asenjo Nitti
980d2e44b4 Merge branch 'master' of github.com:sonicdcer/sf64 2024-02-02 00:07:41 -03:00
Alejandro Javier Asenjo Nitti
aa719279ba Spyborg attacks 2024-02-02 00:07:28 -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