Commit Graph
39 Commits
Author SHA1 Message Date
kichikuou 46827f35ef Use common menu selection function in all systems 2020-12-24 22:55:33 +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 067e1e23bd Refectoring: Add is_[12]byte_message() helper functions 2020-12-20 14:44:08 +09:00
kichikuou 6d1a8f7987 Fix an operator precedence bug in nact_sys3.cpp 2020-12-06 15:39:37 +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 4b4053cf1e Add -fm command line option 2020-11-21 14:01:38 +09:00
kichikuou 9ddbf01d23 Minor refactoring of MAKO
- Move select_sound() from NACT to MAKO
- Make cd_track private
2020-10-24 17:53:07 +09:00
kichikuou 5571061ac1 Merge upstream changes: Add wait after opening menu
This prevents mis-selection by key repeat etc.
2020-05-23 10:53:34 +09:00
kichikuou cda1888ebc Merge upstream changes: Prevent menu selection when cursor is out of window
This was introduced in System3-sdl2 71728db only for nact_sys3. TOTO took
this change and expanded for nact_sys1 and nact_sys2 as well.
2020-05-23 10:40:05 +09:00
kichikuou 657057fa64 Merge upstream changes: CRC32 updates
- Check CRC32 of both ADISK.DAT (storead as crc32_a) and BDISK.DAT (crc32_b)
- Update the CRC32 database adding more titles
2020-05-22 16:09:55 +09:00
kichikuou e8d254328a Merge upstream changes: Merge FILEIO changes
FILEIO has been updated to resolve relative paths inside FILEIO::Fopen(),
which has been already done in System3-sdl2.

FILEIO::Fgets() now uses a length param.

Callsites for these functions are also updated to reduce the diff from
upstream.
2020-05-22 12:04:36 +09:00
kichikuou 131707f9d8 Merge upstream changes: Improve error messages for unknown commands
Unlike the upstream, we use fatal() because it generates a message box
even if DEBUG_CONSOLE is disabled.
2020-05-22 09:32:04 +09:00
kichikuou 406a7fe106 Merge upstream changes: output_console() takes printf-style arguments 2020-05-21 23:24:54 +09:00
kichikuou 7654f1a671 Fix character encoding in string literals 2020-02-24 19:38:12 +09:00
kichikuou 7a1cc2a483 Convert all Shift_JIS files to UTF-8 2020-02-24 18:06:38 +09:00
kichikuou 7ffa8bc306 Avoid virtual functions in NACT
Since NACT functions call asynchronous operations and we use
ASYNCIFY_IGNORE_INDIRECT in emscripten.
2020-02-23 14:23:30 +09:00
kichikuou 20ba438300 Unify executables
Instead of building multiple executables using #ifdefs, create a single
executable (still called "system3") that can run all System1-3 games.
2020-02-22 16:15:47 +09:00
kichikuou 387c5febf2 Remove tchar.h shim 2020-02-16 15:57:05 +09:00
kichikuou 6e73c48e68 Report errors using SDL message box 2019-12-27 19:41:55 +09:00
kichikuou 75d328f015 Fix compiler warnings 2019-09-16 11:00:31 +09:00
kichikuou bde689eaa1 Text hook 2019-09-02 09:03:29 +09:00
kichikuou 4d3b06ea50 Fix freeze during fade in/out 2019-03-31 16:46:29 +09:00
kichikuou 270e65ab78 Touch support 2017-05-01 10:24:13 +09:00
kichikuou bd8d7ebecf Tweak selection 2017-04-30 21:43:29 +09:00
kichikuou ba359b4b59 Performance tweak 2017-04-30 21:31:11 +09:00
kichikuou 7c233fd9a0 Fix load bug 2017-04-30 20:58:38 +09:00
kichikuou 71728db664 Prevent selection when cursor is out of menu window 2017-04-30 18:54:22 +09:00
kichikuou 54bea213d3 Refactor menu selection 2017-04-30 18:25:46 +09:00
kichikuou f680fb3e76 Add savedir option 2017-04-30 15:52:22 +09:00
kichikuou f35990d1a4 Prepend g_root in FILEIO 2017-04-30 15:05:03 +09:00
kichikuou cace9fd804 Make nact_sys3 portable 2016-04-02 23:19:01 +09:00
kichikuou d1fd4bd3e3 No windows.h dependency in .h files 2016-04-02 22:55:45 +09:00
kichikuou f51f224fe4 Input dialog 2016-04-02 20:49:37 +09:00
kichikuou 67557bb2bd Read files from current directory 2016-04-02 18:08:31 +09:00
kichikuou ac45f8da65 params.terminate -> terminate 2016-04-02 18:02:33 +09:00
kichikuou b716e76734 SDL2 port 2016-04-02 17:06:57 +09:00
kichikuou 1ca785f418 Use SDL timing functions 2016-03-27 19:38:45 +09:00
kichikuou 65221695d8 Import system3 for win32 2016-01-16, downloaded from
http://homepage3.nifty.com/takeda-toshiya/alice/index.html
2016-03-27 15:01:10 +09:00