Commit graph

169 commits

Author SHA1 Message Date
athrxx
7bfbc85cb5 KYRA: (EOB) - prevent invalid graphics mode settings
(This could happen e. g. when selecting Amiga rendering
from the global menu)
2024-11-28 01:50:50 +01:00
athrxx
5109cd081f KYRA: minor cleanup
(add/rename some constants, whitespace)
2024-11-24 17:06:32 +01:00
Hubert Maier
e84c6751fb JANITORIAL: KYRA: Fix typos 2024-09-11 11:57:08 +03:00
Filippos Karapetis
6625df5ac4 KYRA: Use true/false keywords for boolean variables 2024-05-13 09:47:29 +03:00
Matthew Jimenez
5219c99400 GRAPHICS: Move PaletteManager definition to a separate header 2024-03-12 12:24:00 +02:00
athrxx
b5fa1e3efd KYRA: (EOB) - improve spell anim performance
(for fireball, ice storm, lightning bolt, cone of cold, etc)

The current code seems to misbehave on platforms with
slow graphics updates (whether related to our backend,
to SDL or the actual graphics drivers or hardware). This
patch allows frame drops if necessary.
2024-01-03 20:26:32 +01:00
Le Philousophe
abfc953046 KYRA: Migrate engine to Path 2023-12-24 13:19:25 +01:00
athrxx
96f81e27c1 KYRA: (LoK/PC-98) - fix regression 2023-10-19 21:26:51 +02:00
Eugene Sandulenko
b2bde8711d
KYRA: Comment out unused class variable 2023-09-19 14:38:39 +02:00
athrxx
1f0d0fdb1e KYRA: (EOB II/ZH) - some party generator improvements and fixes 2023-08-12 15:20:47 +02:00
athrxx
5e8333f638 KYRA: (EOB II/ZH) - fix/improve text display
The text display glitches in many different ways, since the
original devs did some pretty ugly hacks that we have to
emulate somehow. This commit fixes a couple of things
(spacing, pixel/line overdrawing, shadow, original
linebreak style). There are still several things that have to
be addressed separately, like various text colors, the
whole character portrait/stats pages, etc.
2023-07-11 14:34:52 +02:00
athrxx
61ff29468e KYRA: (EOB/PC98) - fix spellbook text 2023-07-03 18:34:14 +02:00
athrxx
e8d21cf93a KYRA: avoid possible nullptr deref 2023-06-14 00:38:51 +02:00
athrxx
320c2f6983 KYRA: (EOB II/PC98) - fix some more text glitches 2023-06-02 17:04:19 +02:00
Vladimir Serbinenko
8e19a24130 KYRA: Fix compilation when kyra is enabled but lol isn't 2023-05-18 11:02:48 +03:00
athrxx
77976efabe KYRA: (EOB II/PC98) - fix party transfer JIS font conversion
(this allow proper import from EOB I PC98 which uses a JIS X 0201 encoding)
2023-05-12 14:52:51 +02:00
athrxx
5c8e799b22 KYRA: some var renames 2023-05-12 14:52:43 +02:00
athrxx
7c43617dc5 KYRA: (EOB II/PC98) - more text/font related work and cleanup 2023-05-12 14:52:37 +02:00
athrxx
6ae5b0d6b3 KYRA: (EOB II/PC98) - more work on the text display 2023-05-12 14:51:03 +02:00
athrxx
8d339d00df KYRA: (EOB II/PC98) - font/layout fixes 2023-05-12 14:50:59 +02:00
Vladimir Serbinenko
6e057cb76a KYRA: Add screen dimensions for Chinese LoL 2023-04-30 20:01:06 +02:00
Vladimir Serbinenko
359ea56e7e KYRA: Load Chinese font in Chinese LoL
This is the same font format as kyra3 but spacing around symbols is different.
2023-04-30 20:01:06 +02:00
Vladimir Serbinenko
1e7f405f0d KYRA: Add _screenDimTable for Chinese EOB2 2023-04-29 13:37:45 +02:00
Vladimir Serbinenko
e7afc8ab2e KYRA: Support logo from T1.CPS 2023-04-29 13:37:45 +02:00
Vladimir Serbinenko
1e6b5eeae4 KYRA: Add 2x height-scaled font for Chinese eob2
This takes BIOS font and height-stretches it 2x just like the original
2023-04-29 13:37:45 +02:00
Vladimir Serbinenko
2703a5c652 KYRA: Support big5 font used in eob2 2023-04-29 13:37:45 +02:00
Vladimir Serbinenko
071ee78bc7 KYRA: Support compression used in Chinese eob2 2023-04-29 13:37:45 +02:00
athrxx
3947df46f8 KYRA: code style fixes 2022-10-10 22:44:02 +02:00
athrxx
6bd08e1627 KYRA: code style fixes 2022-10-09 03:08:03 +02:00
athrxx
2474d96709 KYRA: more coding style cleanup 2022-09-26 19:59:35 +02:00
athrxx
7204eaaf34 KYRA: more code style cleanup 2022-09-24 15:44:14 +02:00
athrxx
b54f6adcb7 KYRA: more coding style and sanity checking cleanup 2022-09-23 21:37:55 +02:00
athrxx
77866676a7 KYRA: init non-initialized member vars 2022-09-23 21:37:51 +02:00
athrxx
3ebd9fc90a KYRA: cleanup 2022-09-23 02:57:50 +02:00
athrxx
3a49ea6248 KYRA: reduce unsafe string ops
(replace all strcpy calls and similar fixes)
2022-09-22 21:01:16 +02:00
athrxx
e14afbf282 KYRA: init non-initialized member vars 2022-09-20 23:10:27 +02:00
athrxx
015820f0bd KYRA: init non-initialized member vars 2022-09-20 22:14:53 +02:00
athrxx
236db2d658 KYRA: init non-initialized member vars 2022-09-20 20:32:44 +02:00
athrxx
785c52b18b KYRA: (EOB) - minor font load cleanup 2022-09-20 00:46:52 +02:00
athrxx
6378e505b5 KYRA: init non-initialized member vars 2022-09-20 00:27:09 +02:00
athrxx
b56c26f134 KYRA: (HOF) - fix bug no. 13709 (Zanthia walks through a rock in Volcania) 2022-07-17 15:56:54 +02:00
athrxx
ff5a1cb2ae KYRA: cleanup static resource loader
(the latest changes were a bit on the ugly side)
2022-06-28 23:59:38 +02:00
athrxx
22e33f97b9 KYRA: (MR/ZH) - fix ZH font issue when language is set to other than ZH (Step 2)
Allow reloading individual kyradat resources with a different language. Until now, our multi-language games did not require this, but for more or less random reasons (e. g. it just isn't possible to restart the intro or the main menu after changing the language ingame). However, the Chinese MR versions require this for the font loading.
2022-06-28 00:36:37 +02:00
athrxx
f1b085d867 KYRA: (MR/ZH) - fix ZH font issue when language is set to other than ZH (Step 1)
This is only one of two steps. It slightly changes the detection so that the game always "remembers" whether it is Simplified or Traditional Chinese, even when the language is set to English, German or French.
2022-06-28 00:36:29 +02:00
athrxx
5cf139f055 KYRA: (LoK) - fix animation glitch when skipping over scene
(When skipping over a scene by left-clicking, sometimes parts of the ongoing animation would remain visible on screen, e. g. some of Herman's body parts in the cave at the beginning)
2022-06-25 00:14:17 +02:00
athrxx
a99055617b KYRA: (LoK/Floppy) - fix minor animator glitch
(in the first cave, when trying to cross the broken bridge and falling into the river, a "cut off" Herman's head could appear on screen beside the death dialog)

The animator code is a bit different here between versions. Our code was apparently based only on DOS CD (Talkie).
2022-06-23 19:06:04 +02:00
athrxx
05b9df0821 KYRA: (LoK/KOR) - make use of new Johab string encoding 2022-06-13 19:38:51 +02:00
athrxx
5eea71c0c7 KYRA: fix warnings 2022-06-09 01:17:13 +02:00
athrxx
d2d4765aaf KYRA: (LoK/KOR) - some preparations for Hangul input
(not working yet)
2022-06-09 00:49:05 +02:00
athrxx
ae4934bc8c KYRA: (LoK/KOR) - more accuracy fixes 2022-06-09 00:49:05 +02:00