Commit Graph
13 Commits
Author SHA1 Message Date
kichikuou 3e32da1d37 Add SDL3 support alongside SDL2
Add optional SDL3 support while keeping SDL2 as the default. SDL3 builds
must be selected explicitly with the SYSTEM3_SDL_VERSION CMake option.

Centralize most SDL2/SDL3 API differences behind compatibility interfaces.
Audio playback uses a dedicated SDL3 backend based on SDL3 audio streams,
implemented separately in mako_sdl3.cpp.

Android and Nintendo Switch remain on SDL2 for now.
2026-09-16 08:44:23 +09:00
kichikuou 4e10e37444 Rename GameId::GAKUEN to GameId::GAKUEN_SENKI
To clearly distinguish it from Gakuen KING. The game id remains `gakuen`
for backward compatibility.
2026-08-29 07:09:54 +09:00
kichikuou 64e99b9235 Add headless scenario tests
Run a compiled System 1/2/3 scenarios with SDL's dummy video and audio
drivers, and report failures through the text hook and exit status.
2026-08-08 08:16:38 +09:00
RottenBlock 78c0af9e19 updated R4.x English CRC32s, corrected comment version #s 2026-07-17 22:59:06 -04:00
kichikuou bce04adf82 Do not include SDL.h from common.h 2025-06-06 15:04:35 +09:00
kichikuou c205806d7b Fix header include paths 2025-02-08 12:55:14 +09:00
kichikuou 4f4077a9c8 Add game IDs for unsupported titles 2025-01-11 11:47:19 +09:00
kichikuou 67b6d71232 Clean up 2025-01-03 13:17:18 +09:00
kichikuou 15c9d0e820 RottenBlock's changes for Rance 2 Hint Disk 2025-01-03 13:17:12 +09:00
kichikuou ffe11c695e Reorganize initialization error reporting
- Invalid game id -> sys_error() in GameId::GameId()
- Unknown crc32 -> SDL_ShowSimpleMessageBox() in GameId::GameId()
- Cannot open ADISK.DAT -> sys_error() in NACT::NACT()
2025-01-03 12:36:27 +09:00
kichikuou a274aaee57 GameId: Remove '_ENG' variants from Game enum
Use GameId::language field if necessary.
2025-01-03 08:52:30 +09:00
kichikuou 7f7ff91439 GameId: Replace CRC32 with enum
This makes it possible to define games that do not have a CRC32.
2025-01-03 08:52:27 +09:00
kichikuou 9173742ffb Introduce GameId class 2024-12-11 10:43:28 +09:00