Commit Graph
22 Commits
Author SHA1 Message Date
kichikuou 0c8903920a Switch FM sound emulator to ymfm 2022-08-07 15:55:07 +09:00
kichikuou cc75dd7c94 Convert linebreaks from CRLF to LF 2022-04-03 11:34:48 +09:00
kichikuou 80ea44e3c6 Fix issues with reading system3.ini and playlist made on Windows
- Replace backslashes in pathnames with slashes
- Strip '\r' in playlist
2021-11-27 13:23:11 +09:00
kichikuou bc3580e4ef Implement MAKO::get_mark() for FM sound
It still does not work for MIDI.
2021-09-18 21:05:38 +09:00
kichikuou 0f4984bef5 Introduce Config struct
For now, it's just a container for command line arguments.
2021-06-06 16:18:17 +09:00
kichikuou 4621c13b75 Do not stack-allocate MAKOMidi
It causes stack overflow in MSVS build.
2021-01-02 10:04:59 +09:00
kichikuou c2ff6de675 Stop message skip on unseen text
This makes System3-sdl2 stop message skip when it sees text that has not
been read by the player. Seen / unseen flags are stored in MSGSKIP.DAT
file in the save folder.
2020-12-24 17:12:47 +09:00
kichikuou d2a60ae9d9 MakoFMgen: Take audio sampling rate as a ctor argument 2020-12-03 15:47:06 +09:00
kichikuou 602c309c47 Android: Add system menu
The system menu opens with 3-finger touch. Currently, it can only exit
the game.
2020-11-29 18:27:50 +09:00
kichikuou d6640b338a MakoFM: optionally take ownership of music data buffer 2020-11-23 14:26:39 +09:00
kichikuou 4b4053cf1e Add -fm command line option 2020-11-21 14:01:38 +09:00
kichikuou 893f716ef3 Add FM synthesizer support
This adds support for "real" FM sound that can be used instead of MIDI
sound. (Currently only available on platforms where SDL_mixer is used.)

The MakoFM class interprets AMUS.DAT to create a write sequence to the
OPNA registers, from which fmgen generates an audio stream.
2020-11-21 13:40:21 +09:00
kichikuou 520b542fcc Introduce NACT::on_syswmevent()
This is in preparation for adding more handlers for platform-specific
window messages (e.g. menu commands).
2020-10-10 15:26:01 +09:00
kichikuou 7f94312c58 Rename {initialize,release}_console to platform_{initialize,finalize}
So that other platform-specific setups (e.g. menus) can be done there.
2020-10-10 15:26:01 +09:00
kichikuou 4229ca6910 emscripten: Introduce nact_emscripten.cpp
And use tvar_maxlen in text_dialog().
2020-09-06 11:46:42 +09:00
kichikuou 406a7fe106 Merge upstream changes: output_console() takes printf-style arguments 2020-05-21 23:24:54 +09:00
kichikuou dc3a031819 Move sys/mako.cpp to linux/mako.cpp 2020-05-16 19:34:03 +09:00
kichikuou 51b65c84af MIDI playback with SDL_mixer
Instead of controlling MIDI device in real time, generate a data stream
in SMF format and feed it to SDL_mixer.
2020-02-15 17:27:34 +09:00
kichikuou ae6e20b874 Add utfsjis.{h,cpp} 2019-08-25 19:26:52 +09:00
kichikuou 5dbc4d8881 Implement text input 2017-06-17 10:26:19 +09:00
kichikuou d2ea450fdc Imported SJIS -> Unicode converter from xsystem35 2016-04-03 13:57:06 +09:00
kichikuou 382fcdf31e Linux support: first cut 2016-04-03 13:23:32 +09:00