kichikuou
29a139c8a1
Use the standard integer types
...
This replaces BYTE, WORD and DWORD types with uint8_t, uint16_t and
uint32_t respectively.
2022-10-29 09:34:21 +09:00
kichikuou
d1712ab7b4
Remove newline character from debug print macro calls
...
Now "\n" is appended by the macros.
2022-09-02 20:37:26 +09:00
kichikuou
fe294bd34b
Remove nact->is_message_locked
...
Now sysWinMsgLock and sysWinMsgUnlock are no-op.
2022-07-02 11:59:18 +09:00
kichikuou
f56ec88cda
Make sure nact->is_quit breaks event loops
2022-06-26 17:25:43 +09:00
kichikuou
9706f516f9
Add reset functions for DLL modules
2022-06-26 17:25:43 +09:00
kichikuou
1cf0dbc7e2
Refactoring: Simplify music_cdrom.c
2022-06-26 16:30:52 +09:00
kichikuou
d1d943d2a5
Remove old code path for SACT.DrawEffect
...
Now it always uses sdl_effect.
2022-01-30 11:32:33 +09:00
kichikuou
d35a24f142
sdl_effect: Implement linear blur effects
...
Now Gpx and NIGHTDLL are fully migrated to sdl_effect.
2022-01-17 17:41:13 +09:00
kichikuou
d945dfe77d
sdl_effect: Implement EFFECT_CROSSFADE_{DOWN,UP,LR,RL}
2022-01-17 11:23:22 +09:00
kichikuou
a224d89233
Rename sdl_fader to sdl_effect
2022-01-17 09:47:39 +09:00
kichikuou
bc97e4c826
sdl_fader: Implement blind effects
2022-01-16 22:05:53 +09:00
kichikuou
c4d74d659a
sdl_fader: Add fade in/out and white in/out effects
...
This replaces the existing three separate implementations (CE command,
Gpx, and NIGHTDLL) of these effects with the new one implemented in
sdl_fader.
2022-01-16 15:48:58 +09:00
kichikuou
5fefd74d4a
Rewrite SACT's rotation effects using sdl_fader
...
This is much faster since it uses (possibly hardware accelarated) SDL
rendering functions.
2022-01-04 17:20:16 +09:00
kichikuou
9ad1059ced
Let SACT.WaitKeyMessgae call sys_getInputInfo() while skipping
...
Otherwise it skips messages too fast.
2022-01-01 15:48:16 +09:00
kichikuou
e1e1e5cacc
Use sdl_fader in SACT
2021-12-12 22:21:20 +09:00
kichikuou
c31da0fe10
Merge counter.c into cmdz.c
2021-11-16 09:10:07 +09:00
kichikuou
ff9710426f
Remove internal time counters
2021-11-14 22:12:11 +09:00
kichikuou
e08ba5fb03
Refactor sactcg.c
2021-11-07 21:23:45 +09:00
kichikuou
ca1e47c093
Fix reference counting of SACT CGs
...
This fixes a bug where enemies disappear in Rance 5D battles.
2021-11-07 21:23:45 +09:00
kichikuou
69f5e8f538
Fix message display of SACT and NIGHTDLL in Unicode mode
2021-11-04 09:28:45 +09:00
kichikuou
2e2fbbaa1b
Refactor main loop
2021-07-17 22:12:16 +09:00
kichikuou
21444ac1c0
NIGHTDLL: Fix a function signature mismatch
2021-01-24 11:59:34 +09:00
kichikuou
d61ce9a18e
SACT/NIGHTDLL: Check nact->is_quit flag in wait loops
2021-01-24 11:43:23 +09:00
kichikuou
e18bb6cb75
Make MyRectangle an alias of SDL_Rect
2021-01-09 13:43:21 +09:00
kichikuou
9f9805128f
Improve message skip
...
When message skip is enabled while executing sys_keywait(), skip starts
immediately.
2020-12-13 12:29:09 +09:00
kichikuou
ebb249cd47
Remove 15bpp surface operations
...
These were used only with X11 backend.
2020-10-04 16:01:48 +09:00
kichikuou
417baec290
Remove ags_sync()
2020-10-01 22:16:50 +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
ce67aa7028
Eliminate SJIS string constants
2020-07-24 08:54:45 +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
1cf197513c
Use const strings in message related functions
2020-06-20 10:53:38 +09:00
kichikuou
dbc15ca3b4
Re-enable NIGHTDLL module
...
To avoid symbol conflicts, this adds "nt_" prefix to sprite, sactcg, and
sactstring functions.
2020-06-04 22:50:46 +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
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
4602b1ebfc
Fix compiler warnings
2019-09-15 18:42:16 +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
30ff3d86d8
Enable more modules
2019-07-27 10:09:27 +09:00
kichikuou
158b7b53b1
NIGHTDLL: fix ntmain
2019-07-20 18:21:40 +09:00
kichikuou
cda6189ae7
Update autotools files
2018-12-28 23:13:45 +09:00