Commit Graph
47 Commits
Author SHA1 Message Date
kichikuou ebb249cd47 Remove 15bpp surface operations
These were used only with X11 backend.
2020-10-04 16:01:48 +09:00
kichikuou ec270f2378 Remove X11/SDL abstraction macros 2020-10-01 22:10:12 +09:00
kichikuou 316a06a168 Refactor string variable functions
This replaces v_str* functions with new svar_* functions.
The new svar_* functions use 1-based string variable index, so that
callers don't have to decrement string numbers from SCO.
2020-09-21 16:17:23 +09:00
kichikuou 440fb93b08 Fix memory leak in sprite_update.c 2020-08-30 12:17:46 +09:00
kichikuou 15fb122148 Remove agsurface.has_{pixel,alpha} fields 2020-08-30 10:26:55 +09:00
kichikuou bc9fc924ed [experimental] Unicode mode
This adds "Unicode mode", in which scenarios can be written in any
language. xsys35c 1.2.0 and later can produce Unicode scenarios.

- nact->encoding represents the current scenario encoding. The initial
  value is SJIS, and ZU command changes it to UTF8.

- Use conversion macros that switch the behavior by the scenario
  encoding. For example, toUTF8() calls sjis2utf() if the scenario
  encoding is SJIS, and calls strdup() if it is UTF8.

- Fix various string processing functions to work with UTF8.
2020-08-09 21:24:56 +09:00
kichikuou d8fbf9a8b1 Cleanup 2020-08-09 13:41:26 +09:00
kichikuou 652e4b9111 Simplify ags_drawStringToSurface() 2020-08-08 22:57:22 +09:00
kichikuou 3cecc58607 Narrow dependency on font.h
This removes font.h dependency from header files such as ags.h and
nact.h. After this, font.h must be explicitly included in order to use
font functions.
2020-08-08 22:52:47 +09:00
kichikuou e830190537 Add ags_drawStringToSurface() 2020-08-08 21:28:01 +09:00
kichikuou f978c43ee1 Move mmap-related code to mmap.{h,c}
And add Windows implementation.
2020-08-06 15:09:51 +09:00
kichikuou ce67aa7028 Eliminate SJIS string constants 2020-07-24 08:54:45 +09:00
kichikuou 50b3812364 Convert gametitle.h to utf-8 2020-07-23 22:50:43 +09:00
kichikuou bdfe0e8077 Remove sjis2lang and lang2sjis macros
There's no plan to use any other "native" character encodings than
UTF-8.
2020-07-23 13:53:08 +09:00
kichikuou 1a3b779ace Use const strings for file names 2020-07-12 13:41:57 +09:00
kichikuou 1cf197513c Use const strings in message related functions 2020-06-20 10:53:38 +09:00
kichikuou 37f4d847e5 Fix Windows build 2020-06-07 21:29:53 +09:00
kichikuou 7240971beb Fix SACT.MessageIsEmpty
This fixes a bug where message wasn't flushed before changing text
attributes.
2020-06-06 18:27:20 +09:00
kichikuou 9a1f1c77a6 Static link DLL modules
We only support a fixed set of modules, so dynamic linking isn't really
necessary. This paves the way for running System3.9 games on more
platforms.

NIGHTDLL is temporarily disabled, because many symbols conflict with the
SACT module.
2020-06-04 19:56:05 +09:00
kichikuou 0fe5cb60a3 SACT: Add WaitVsync() in animation loops
So that sprite updates are reflected on the screen.
2020-05-31 09:58:18 +09:00
kichikuou ea5776108a Fix voice playback in Escalayer
- Make sure muspcm_getpos() returns non-zero while playing
- Implement mus_wav_fadeout_start()
- Fix a bug of ssnd_waitkey()
2020-05-06 15:11:00 +09:00
kichikuou 8d72775daa Modules: Make debug messages less verbose 2020-05-04 23:02:05 +09:00
kichikuou 8c31e7a2ec Rename imput.[ch] to input.[ch] 2019-12-24 17:40:02 +09:00
kichikuou c0ac281789 Suppress some compiler warnings 2019-09-15 18:42:19 +09:00
kichikuou 117ab8fbae Move list library to modules/lib/ 2019-07-28 11:37:50 +09:00
kichikuou fe189e61c0 Remove Autotools files 2019-07-27 22:58:55 +09:00
kichikuou 9b058eaac4 Enable all modules 2019-07-27 10:09:27 +09:00
kichikuou cda6189ae7 Update autotools files 2018-12-28 23:13:45 +09:00
kichikuou 4050985701 Use foreign strictness 2017-05-28 11:13:49 +09:00
kichikuou b8b6474561 SDL_mixer pcm backend 2017-03-19 13:28:01 +09:00
kichikuou 7c4cadc805 Drop OSS / SunAudio / ALSA / ESD 2017-03-18 23:53:28 +09:00
kichikuou 8fe37f2281 Remove client/server music module 2017-03-18 23:53:21 +09:00
kichikuou baeb11c98c In-process music module 2017-02-26 18:24:23 +09:00
kichikuou e6af440a23 Fix missing includes 2017-02-19 12:35:53 +09:00
kichikuou 2cbb67e459 Readd pkg.m4 2017-02-19 10:18:29 +09:00
kichikuou 245bc1212c Remove glib dependency 2017-02-18 18:16:32 +09:00
kichikuou 674b8b4f9f Switch to SDL2 2017-02-12 14:48:33 +09:00
kichikuou e2fdaebb74 Rename eucsjis to utfsjis 2017-02-11 19:43:01 +09:00
kichikuou f1b0b399fa Convert EUC to utf-8 2017-02-11 19:03:05 +09:00
kichikuou 2b4b6a9c22 Drop ALSA 0.5 support 2017-02-09 21:18:55 +09:00
kichikuou 72d33d75db Drop gtk1 support 2017-02-08 20:49:43 +09:00
kichikuou 3d2382012f Drop glib1 support 2017-02-07 21:36:26 +09:00
kichikuou 3ddde55842 Drop freetype1 support 2017-02-07 09:58:08 +09:00
kichikuou 1d6a284ed1 Fix automake warnings 2017-02-07 00:08:23 +09:00
kichikuou 484afc96a5 Update macros/ 2017-02-06 23:37:07 +09:00
kichikuou 83781b9385 Update autotools files 2017-02-06 23:37:00 +09:00
kichikuou e607c9c2ee Import xsystem35-1.7.3-pre5 2014-04-26 18:40:24 +09:00