kichikuou
febee3f5a3
Refactor savefile path handling
2025-06-06 16:13:02 +09:00
kichikuou
aae15c34e1
AGS: Update draw_push() to use draw_gaiji()
2025-01-19 11:09:00 +09:00
kichikuou
43d1af3a44
AGS: Refactor text layout logic
2025-01-19 10:41:14 +09:00
kichikuou
33418f8cb5
AGS: Make VRAM 8 bits per pixel
...
Before this, the virtual VRAM was 32 bits per pixel, with each pixel
holding an 8-bit index color or 0x80RRGGBB. The latter was for Ayumi-
chan Monogatari Jisshaban, which has been unsupported since system3-sdl2
was forked from System3 for Win32.
This change removes the 0x80RRGGBB format and makes the virtual VRAM 8
bits per pixel.
2025-01-17 10:58:46 +09:00
kichikuou
eab5eb075d
Fix out-of-bounds memory access in text rendering
...
This fixes SEGV in Hashiri Onna II when custom font is used. (#32 )
2024-12-11 16:30:42 +09:00
kichikuou
4930154d45
Expose g_nact
2024-12-11 14:03:55 +09:00
kichikuou
cc75dd7c94
Convert linebreaks from CRLF to LF
2022-04-03 11:34:48 +09:00
kichikuou
7834004648
Fix unicode conversion on Android / Emscripten
...
This also moves functions in utfsjis.cpp to encoding.cpp.
2021-09-05 10:02:31 +09:00
kichikuou
92487ada06
Introduce Encoding class
...
It represents a multi-byte character encoding. Currently, SjisEncoding
is the only implementation of it.
2021-09-04 13:41:37 +09:00
kichikuou
d3c89aa697
Do hankaku-zenkaku conversion after Unicode conversion
...
As a bonus, Unicode character literal syntax can be used now.
2021-09-04 10:42:16 +09:00
kichikuou
ddd1be04ef
Map gaiji to Unicode Private Use Area U+E000-U+E0BB
2021-09-04 10:33:19 +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
60a0b43831
Fix warnings in MSVS build
2021-01-02 10:45:38 +09:00
kichikuou
fab3b2eaa0
Support propotional fonts
2020-12-30 22:21:59 +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
81d66c4075
Enable text anti-aliasing by default
...
To disable it, use -noantialias command-line option.
2020-06-04 10:24:39 +09:00
kichikuou
7a1cc2a483
Convert all Shift_JIS files to UTF-8
2020-02-24 18:06:38 +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
ae6e20b874
Add utfsjis.{h,cpp}
2019-08-25 19:26:52 +09:00
kichikuou
db5c8be2ac
Remove unused sjis2unicode
2019-01-26 18:50:53 +09:00
kichikuou
5dbc4d8881
Implement text input
2017-06-17 10:26:19 +09:00
kichikuou
49705ee7b8
Export sjis2unicode
2017-05-01 15:33:55 +09:00
kichikuou
ba359b4b59
Performance tweak
2017-04-30 21:31:11 +09:00
kichikuou
37b030b596
Implement text antialias
2017-04-30 11:37:27 +09:00
kichikuou
3dd0fc60ad
Refactor AGS::draw_text
2017-04-30 10:53:32 +09:00
kichikuou
d2ea450fdc
Imported SJIS -> Unicode converter from xsystem35
2016-04-03 13:57:06 +09:00
kichikuou
c4b681c6ef
Move sjis_to_unicode to platform directory
2016-04-02 22:39:12 +09:00
kichikuou
79039f90dc
SDL cursor functions
2016-04-02 22:23:33 +09:00
kichikuou
b716e76734
SDL2 port
2016-04-02 17:06:57 +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