kichikuou
6ec42bbdfc
Make window resizable
2021-08-14 13:28:56 +09:00
kichikuou
c58d5b690a
Fix mouse cursor movement in fullscreen mode
...
Ported from kichikuou/xsystem35-sdl2@91d30c9 .
2021-08-14 13:18:42 +09:00
kichikuou
b64e8ed129
emscripten CI: Use standard setup-emsdk way to cache
2021-07-14 18:34:05 +09:00
kichikuou
8f48093409
Update emscripten to 2.0.25
2021-07-14 18:29:50 +09:00
kichikuou
af6da1f0c5
Fix incorrect warning while parsing system3.ini
...
Also fixes a typo in README.md.
Fixes #12 .
2021-07-08 17:12:42 +09:00
kichikuou
98038a5c74
Do not use SDL_RWFromFile on Windows
...
It does not work in the MSVC build of SDL2 (although it works in
Mingw-w64's SDL2 package).
Fixes #11 .
2021-07-08 17:08:20 +09:00
kichikuou
2c5eb170e2
Android: Bump version to 0.6.0
android-0.6.0
2021-06-25 20:59:34 +09:00
kichikuou
5ca83895f3
Android: migrate jcenter to mavenCentral
2021-06-25 20:54:16 +09:00
kichikuou
52eea935fe
Android: Allow specifying custom fonts in system3.ini
...
Now custom font files specified in system3.ini (as relative paths from the
game directory) can be loaded correctly.
2021-06-06 22:08:07 +09:00
kichikuou
14f4c38d85
Load configurations from system3.ini
...
This corresponds to xsystem35's `.xsys35rc` file (but loaded only from
the game directory). The format is a subset of .ini file.
This will enable using custom fonts on Android / Web.
2021-06-06 22:04:16 +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
4a04eaff9e
Android CI: downgrade CMake to 3.19
...
To workaround build error with NullPointerException
(actions/virtual-environments#3078 ).
2021-06-06 14:57:59 +09:00
kichikuou
af46b90a15
Android: Update build instructions to use CommandLine Tools 4.0
2021-06-06 14:52:29 +09:00
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