221 Commits
Author SHA1 Message Date
Geared 978cf77612 Match SA1's CreateStageUI & CreateSpecialStageUI (#270)
* sa1: match CreateStageUI & CreateSpecialStageUI

* oh yeah, there's this

* delete the target asm file

* little documentation

hopefully, we find a way to make proper use of the original code's (possible) debug behavior... or i could be exaggerating over what was originally just the devs playing safe!
eh, either theory works, i guess

* maybe i went a bit overboard...

revert the previous commit, basically
(web GitHub also doesn't support commit reverting, what a surprise!)
2026-05-24 14:19:37 +02:00
Oliver Bell 6d93f970e3 misc cleanup, split background.h and sprite.h, move stuff into core.h 2026-05-21 00:24:50 +01:00
Oliver Bell d9aa9b2748 sa1: match SpecialStageUIMain 2026-05-18 23:59:21 +01:00
Oliver Bell 4b9e063452 sa1: match stage ui main 2026-05-18 00:47:07 +01:00
Oliver Bell c8a8bbee64 sa1: match sub_8017670 2026-05-17 17:16:23 +01:00
Oliver Bell bde11f1f03 document mp_finish 2026-05-14 19:11:49 +01:00
Oliver Bell cf89b48f5e add sa1 progress to repo (#266) 2026-05-08 03:10:37 +01:00
Oliver Bell b497d5646d move non matching functions into corresponding game folder 2026-05-07 23:18:30 +01:00
Oliver Bell 754e7646bb sa1: match WriteSaveGame 2026-05-07 23:04:50 +01:00
Oliver Bell cc2110e85d Move SA1 to root
* name some engine globals (gSpriteTransform*)
* move the whole sa1 directory to the root
2026-05-02 23:39:11 +01:00
Oliver Bell f97678b617 match rings manager in collect rings and sa1 2026-04-29 01:23:31 +01:00
Oliver Bell a939ebc458 sa2: match Knuckles_Glide_UpdateSpeed, fix sa1 sa2 InitGlide consistency 2026-04-24 19:30:19 +01:00
Oliver Bell 9e7e6bbb10 refactor multiplayer folder for sa1 sa2 merge 2026-04-02 18:57:48 +01:00
Oliver Bell dc8b70429f sa1: more align stage structure with sa2 2026-04-02 08:31:34 +01:00
Oliver Bell f3908cab65 sa2: restructure interactables, move entities into stage 2026-04-01 22:29:39 +01:00
Oliver Bell 4db24e26b0 major folder restructure, remove sa1_sa2_shared directory 2026-04-01 21:12:27 +01:00
Oliver Bell cc919332dc move sa2 bosses into sa2 folder 2026-03-31 14:33:13 +01:00
Oliver Bell fa9da6b251 sa1: align background.c and use sa2 background.c for match 2026-03-28 17:39:30 +00:00
Oliver Bell 8b0d8feeaa sa1: use bg_triangles from sa2 2026-03-28 15:20:23 +00:00
Oliver Bellandtestyourmine 1ec1d87f05 match sub_8084A24 and sub_8084EAC
Co-authored-by: testyourmine <testyourmine@users.noreply.github.com>
2026-03-27 17:32:59 +00:00
Oliver Bell 5f918a5d61 multiplayer: clean up flags, rename heartbeat, finish mp_player match (#252) 2026-03-27 17:18:37 +00:00
Oliver Bellandchristianttt 0b2a6bb7cf match more math
Co-authored-by: christianttt <christianttt@users.noreply.github.com>
2026-03-04 02:27:13 +00:00
Oliver Bell d63b961554 math: decompile easy functions with m2c 2026-01-12 12:04:23 +00:00
Oliver Bell 02faa346b2 name a bunch of globals, functions, general fixes (#227)
- Name some BG Sprite globals
- Create some macros for setting up the BG Sprite globals
- Name `gMultiplayerRanks`
- Name `gOamMallocBuffer`
- Name `gBgOffsetsHBlank` globals
- Name `gSpriteOffset`
- Name `ProcessOamBuffers` function
- Move `gRefCollision` to `collision.c`
- Name `Player_HandleMultiplayerFinish` and refactor
- Name `gWorldSpeed`
- Name `gSpikesUnknownTimer`
2025-11-06 11:50:37 +00:00
Oliver Bell 44eaa7fee4 name gBgSprites 2025-11-02 11:43:58 +00:00
Oliver Bell 97d08a9352 finish game_7.c match 2025-10-22 00:30:59 +01:00
Oliver Bell 69085aafab match CreatePlatformBreakParticles 2025-10-19 12:02:30 +01:00
JaceCear 2d940c8a24 Some SA1 and SA2 alignment (#223)
* Align types.h with SA1

* Finish aligning sprite.c with SA1, except for Hitbox.b cases

* More alignment of SA1 and SA2

* Move set registers to the top because of headless TAS testing

* Fix erroneously edited indices
2025-09-29 20:11:09 +02:00
JaceCear 8133ce141f match bg_triangle.c (Fixes Ice Paradise Spotlights) (#221)
* Some crash fixes and documentation
* Fix find-replace typos
2025-09-19 18:14:58 +01:00
Oliver Bell f581f4886b match sub_804C240 2025-08-17 19:45:26 +01:00
Oliver Bell bca6d98f9b match sub_804BC44 2025-08-17 19:13:03 +01:00
Oliver Bell 5d9d7923ad collect: non match rings manager main 2025-06-18 18:44:04 +01:00
Oliver Bell d14053e5a5 collect_rings: clean up iwram symbols 2025-06-13 01:44:14 +01:00
Oliver Bell 4f32c50e6b collect_rings: finish code 2025-06-13 01:31:57 +01:00
Oliver Bell b3ff6aea72 collect_rings: match rings_scatter 2025-06-11 20:09:38 +01:00
Oliver Bell 7730370f6e collect_rings: more player 2025-06-06 22:48:40 +01:00
Oliver Bell f3be75acf6 collect_rings: start player 2025-06-03 21:05:22 +01:00
Oliver Bell 272fa4bf73 collect_rings: match terrain_collision 2025-06-03 00:29:24 +01:00
Oliver Bell e6133c3ca6 merge camera related files 2025-06-02 01:30:34 +01:00
Oliver Bell 785c466f02 collect_rings: match mp_attack_2_effect 2025-06-01 19:37:48 +01:00
Oliver Bell 999b5436ec collect_rings: match grind_rail 2025-05-31 19:52:43 +01:00
Oliver Bell d06f1a56db collect_rings: match mp_player 2025-05-31 12:57:07 +01:00
Oliver Bell b426d69c13 collect_rings: match entities manager, match collision 2025-05-29 00:20:21 +01:00
Oliver Bell 64c8a4c79c name hblank copy globals, fix graphics on time attack mode select 2025-04-11 09:43:59 +08:00
Oliver Bell 9524d5e7e7 various player documentation 2025-04-05 16:42:16 +01:00
Oliver Bell c801fab74a document launcher, document player set spriteOffsetY 2025-04-04 00:47:35 +01:00
Oliver Bell 932e6a8b55 document cannon 2025-03-09 13:40:45 +00:00
JaceCearandOliver Bell 1bb658fbbc More align SA1 and SA2 (#203)
* Align InitPlayerHitRingsScatter

* Align InitScatteringRings

* More rings_scatter.c alignment

* More general alignment with SA1

* Align INCREMENT_SCORE macros with SA1

* Align Task_8008DCC with SA1

* Align Demo Manager with SA1

* Some minor cleanup

* Document static PlayerSpriteInfo vars

* Remove nonmatch SA1 code from entities_manager.c and rigns_scatter.c

* Use SA1's matching, yet technically bugged, loop in InitializePlayer

* Fix a potential bug due to memory alignment in Player struct

* Fix crashes due to uninitialized pointers

* Simplify InitializePlayer

Co-authored-by: Oliver Bell <freshollie@gmail.com>

-----------------------------------------

Co-authored-by: Oliver Bell <freshollie@gmail.com>
2025-02-14 12:31:38 +01:00
Oliver Bell f28508ac87 match multiplayer indicators 2025-02-12 16:45:27 +00:00
Oliver Bell 7bf4860079 match Task_801951C 2025-02-12 01:11:46 +00:00