14 Commits
Author SHA1 Message Date
Oliver Bell d355f290fe more changes for sa1 sa2 merge
- Migrate specific game headers into their own folders
- Remove headers from sa1 codebase which can be referenced from sa2
2026-04-07 23:06:16 +01:00
Oliver Bell 88483e7d38 sa1: reference most of agbflash from sa2 2026-03-28 21:45:02 +00:00
Oliver Bell 59706b53c1 Create PSP and PS2 ports, switch to gpsp renderer, optimise audio (#235)
- Update software renderer to the gpsp renderer (fast enough to render on slow hardware)
- Convert audio emulation to fixed point (since float is slower on these systems)
- Add PSP as a target for SDL
- Add PS2 as its own target, though it's still using software rendering

Thanks to @kikugrave for adding the initial psp boilerplate and inspiring me to finally finish the ps2 port!
2026-03-04 02:10:03 +00:00
JaceCear 293787148b More SA1 alignment (#230)
* SA1 alignment

* Rename SpriteBase::spriteX -> meX

* Rename FLAGS_10 -> FLAGS_EXECUTE_VBLANK_CALLBACKS

* Align task.h with SA3

* Align core.c more with SA3

* Align core.c data with SA3

* Align task.h with SA1

* Align more with SA3

* Align task.h with SA1

* Align task.h with SA3

* Align task.c with SA1|SA3

* Align core.c with SA3

* Align EngineMainLoop with SA3

* Align core.c with SA3

* Some tools alignment with SA1

* Align Makefile with SA1

* Make BG_PLTT and OBJ_PLTT u16*

* Align with SA3

* Make BG_PLTT|OBJ_PLTT accessible as an array. Fix erroneous #if.

* Address USE_SA2_TASK_SYSTEM use from commit comments
2025-12-19 16:32:46 +01:00
Oliver Bell e080df6a38 collect_rings: build m4a from base game 2025-05-20 00:56:38 +01:00
Oliver Bell aa9a44fc10 another build fix for mingw64 2025-05-19 22:55:27 +01:00
JaceCear eecc810e6c Fix typo Recieve -> Receive (#197) 2025-01-23 18:38:32 +00:00
JaceCearandOliver Bell 1f8bee518d Implement m4a for PC (#166)
* Refactor m4a for better names
* Bring in m4a PC backend code
* Update songs data to work on 64bit
* Move m4a to it's own folder
* Add linker map to sdl build

---------

Co-authored-by: Oliver Bell <freshollie@gmail.com>
2024-10-28 11:07:36 +00:00
JaceCear 6395af6038 Change Clang Format's Line Width (ColumnLimit) to 140 (#150)
* Change Clang Format's Line Width (ColumnLimit) to 140

* Fix flash line breaks
2024-07-12 21:44:43 +02:00
Oliver Bell 413c1b528d start restructuring game globals into sakit 2023-11-24 14:13:04 +00:00
Oliver Bell 2c4c39a183 start doing some sakit structure 2023-11-23 02:56:32 +00:00
Oliver Bell cd2961f58e document player controls and player files 2023-11-23 02:10:51 +00:00
Oliver Bell 24b8a8ac4d move engine related files to root 2023-02-27 14:24:40 +00:00
Oliver Bell e4b8c6accd Enable nested folders in src and refactor (#59)
- move engine modules to engine/
- split main into main and core
- merge math and random
- move some data
- rename files based on folders
2023-02-27 13:56:06 +00:00