Commit Graph
256 Commits
Author SHA1 Message Date
kichikuou 59b7dd85cd Update emscripten to 2.0.15 2021-03-18 15:27:39 +09:00
kichikuou 80e827195f Merge pull request #9 from kichikuou/eng
Add support for English-translated games
2021-03-18 15:08:50 +09:00
kichikuou 34175d5a85 Add English translations for string constants 2021-03-18 09:38:13 +09:00
kichikuou 4c6d8d5f8b Support Y240 (hankaku mode) in System1 2021-03-18 09:38:13 +09:00
kichikuou 8417e7758a Skip SysEng's "new style" marker
It can be simply skipped, because SysEng's command set is a superset
of System1-3.
2021-03-18 09:38:13 +09:00
kichikuou 9a8ebbdcb0 Support SysEng's quoted message commands 2021-03-18 09:38:10 +09:00
kichikuou 20e06235d2 Add CRC32 for English translations of Little Vampire / Rance 4.x
Note that these are still in beta; CRC32s may change.
2021-03-17 20:47:01 +09:00
kichikuou 7012210fc4 Android: Update SDL2_ttf
And it's now fetched from the official GitHub repository.
2021-02-21 22:16:24 +09:00
kichikuou 77d50780f8 Implement AGS::paint() 2021-01-23 10:51:05 +09:00
kichikuou db66e62b88 emscripten: Drop MIDI support
After kichikuou/web@c901b19, the web port only supports FM sound.
2021-01-17 17:37:58 +09:00
kichikuou cbb40d0b67 emscripten: minor refactoring
- Remove the use of EXPORTED_FUNCTIONS in favor of EMSCRIPTEN_KEEPALIVE
- SDL_Delay is no longer aliased to emscripten_sleep
2021-01-17 13:55:43 +09:00
kichikuou 8519bc1a55 Implement NACT::set_cursor() 2021-01-11 20:48:49 +09:00
kichikuou 4351f21dc4 Make FILEIO::Fopen() case insensitive 2021-01-11 10:53:32 +09:00
kichikuou 7f1d41ae61 Use SDL logging functions in ERROR/WARNING/NOTICE
They choose appropriate destination depending on the platform.
2021-01-09 11:07:41 +09:00
kichikuou 00df3274ac MSVC build: Build as a GUI executable 2021-01-02 14:16:39 +09:00
kichikuou 65aec8da58 Move all files in src/res3 to src/win
And rename Script1.rc to resource.rc.
2021-01-02 13:46:12 +09:00
kichikuou 1d3715580b MSVS build: Suppress warning C4244 (possible loss of data)
VC++ is picky about narrowing conversion. Let's ignore it instead of
scattering static_casts.
2021-01-02 13:22:36 +09:00
kichikuou 60a0b43831 Fix warnings in MSVS build 2021-01-02 10:45:38 +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 a127ec26ec README.md: Add instructions for MSVS build 2021-01-02 10:04:56 +09:00
kichikuou c9413c451d Add GitHub workflow for MSVS build 2021-01-02 09:10:56 +09:00
kichikuou 56bb588ca7 Support building with Microsoft Visual Studio 2021-01-02 09:10:51 +09:00
kichikuou a12fbcf906 Android: Update SDL2 to 2.0.14 2021-01-01 12:37:22 +09:00
kichikuou 75cbb2bcef Windows: Add "Save Screenshot" menu command 2020-12-31 14:17:55 +09:00
kichikuou 297ce20a83 Warn if crc32 is unknown and -game is not specified 2020-12-30 22:22:18 +09:00
kichikuou fab3b2eaa0 Support propotional fonts 2020-12-30 22:21:59 +09:00
kichikuou d3d820d727 emscripten: Support message skip
Also add flags that control message skip behavior.
2020-12-29 12:09:34 +09:00
kichikuou 46827f35ef Use common menu selection function in all systems 2020-12-24 22:55:33 +09:00
kichikuou 958e922d54 Apply NACT_Sys3 changes to NACT_Sys1, NACT_Sys2
Some fixes / improvements were made only in NACT_Sys3 but not in
NACT_Sys1 and NACT_Sys2. This applies the followings to NACT_Sys[12]:

f680fb3e Add savedir option
ba359b4b Performance tweak
bde689ea Text hook

Especially, this fixes a bug where save files were created not in save
directory, but in game directory.
2020-12-24 22:19:37 +09:00
kichikuou e091bd9c1c Improve message skip
When message skip is enabled while executing cmd_a(), skip starts
immediately.

This also makes messages displayed during skip visible for a moment.
2020-12-24 22:18:52 +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 3a2d345521 Introduce NACT::message() 2020-12-24 16:54:09 +09:00
kichikuou 067e1e23bd Refectoring: Add is_[12]byte_message() helper functions 2020-12-20 14:44:08 +09:00
kichikuou 33a0595016 Windows: Add "MIDI Sound" menu item
Now "FM Sound" really means FM sound, not MIDI.
2020-12-11 17:15:12 +09:00
kichikuou 2de55f9f4d Windows: FM sound support 2020-12-11 16:49:48 +09:00
kichikuou 6d1a8f7987 Fix an operator precedence bug in nact_sys3.cpp 2020-12-06 15:39:37 +09:00
kichikuou 32448652c9 Fix unsequenced modification and access in nact_sys2.cpp 2020-12-06 15:36:34 +09:00
kichikuou 700927fccb Tweak FM/SSG volume balance 2020-12-06 15:30:10 +09:00
kichikuou 8808dec847 README: Update build instructions 2020-12-05 14:08:03 +09:00
kichikuou 0b729b62e3 Android, emscripten: Stop music before playing next track 2020-12-05 13:58:01 +09:00
kichikuou d2a60ae9d9 MakoFMgen: Take audio sampling rate as a ctor argument 2020-12-03 15:47:06 +09:00
kichikuou 6587460298 Update android/README.md android-0.5.0 2020-11-29 19:47:26 +09:00
kichikuou 15fdee52a8 Android: Bump version to 0.5.0 2020-11-29 19:30:56 +09:00
kichikuou a4133c219d Android: Save sound preference 2020-11-29 19:30:17 +09:00
kichikuou c575fb303f Android: Add system menu items for switching FM / MIDI 2020-11-29 18:27:53 +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 04206abb77 Android: FM sound support 2020-11-29 18:27:46 +09:00
kichikuou 07da17a00e Pump events in sys_sleep()
This allows handling window events while fading etc.
2020-11-29 12:06:17 +09:00
kichikuou f2139440b6 Defer rendering to idle time
SDL_RenderCopy / SDL_RenderPresent was called too often, which sometimes
caused screen update to fail on Mac.
2020-11-29 12:06:08 +09:00
kichikuou 89d5fdcbc6 CI: Fix emscripten build 2020-11-23 16:38:05 +09:00