Commit Graph
132 Commits
Author SHA1 Message Date
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 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 92cfdde704 KYRA: (HOF) - fix typo
This would actually be able to cause glitches if triggered. Which doesn't happen...
2022-09-20 22:37:36 +02:00
athrxx 6378e505b5 KYRA: init non-initialized member vars 2022-09-20 00:27:09 +02:00
athrxx 8e87fe8c49 KYRA: get rid of wshadow warnings 2022-09-18 21:59:23 +02:00
athrxx 9d5155c475 KYRA: (LOK/Mac) - revert 4a287834 and make a different fix
The Mac version is supposed to always use the ENG main screen (with the text-free jewel button).
2022-08-14 16:09:31 +02:00
athrxx bf373f7454 KYRA: fix warnings 2022-08-13 16:59:14 +02:00
athrxx 574155f602 KYRA: (LOK/Talkie) - improve intro
(add some missing speech synchro stuff from disasm)
2022-08-13 16:51:48 +02:00
athrxx 4b4c436eb4 KYRA: (LOK/Mac) - fix talkie intro
(this version has an extra opcode)
2022-08-13 16:51:43 +02:00
athrxx 6a1f0077ad KYRA :(LOK/Mac) - use correct credits file 2022-08-13 16:51:36 +02:00
athrxx 4a28783478 KYRA: (LOK/Mac) - priorize resource files that match the selected language
The talkie version seems to have file versions for all supported languages in the game folder. So we try the ones that match our language first.
2022-08-13 16:51:33 +02:00
athrxx 245cb1775f KYRA: (LoK/KOR) - fix end credits 2022-06-09 00:49:05 +02:00
athrxx 4670159f26 KYRA: (LoK/KOR) - inital font support
This is still glitchy and will need some more polishing, but at least the intro runs...
2022-06-09 00:49:05 +02:00
eientei 8ec7fe9bae KYRA: Fix build, add credits filename 2022-06-09 00:49:05 +02:00
eientei 7c0659d859 KYRA: Extract Korean strings, preliminary work 2022-06-09 00:49:05 +02:00
athrxx d8004bebba KYRA: add more metadata to savegames
(creation date/time and playing time)
2022-05-22 19:57:46 +02:00
athrxx 032b668188 KYRA: (LOL) - minor cleanup 2022-05-20 22:18:08 +02:00
athrxx 24aa895a00 KYRA: (EOB/LOL) - improve version strings
Apparently in some builds the gScummVMVersion still contains the revision number (contrary to the comment in base/version.h, actually). I normally don't notice that, since it doesn't happen in my own builds. The long strings will break text fields that can't have strings of that length.

I'll now just generate my own version from gScummVMVersion, so I do get the desired (short) layout.
2022-05-20 22:18:02 +02:00
athrxx 8f4fde27e8 KYRA: (EOB) - improve intro (tower scene scrolling)
The original scrolling was rather sloppy, maybe for better performance. I have made it a bit more smooth.
2022-03-29 14:17:21 +02:00
athrxx c1a01e9708 KYRA: (LOK) - slow down intro to make it closer to the original
Animations often run at full speed without any delays. Apparently the target hardware of that time (286/386, Amiga, Mac) would ensure sufficient slowdown. Unfortunately, comparing with DOSBox, ScummVM runs somewhat faster. I have tried to add extra delays depending on the amount of onscreen activity. I have finally gotten a result which is very similiar to DOSBox execution.

Basing this on the screen activity is not optimal. Ideally, it would be based on the orignal cpu activity. But we can hardly do that...
2022-03-29 14:17:10 +02:00
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
athrxx 9673b0a0ea KYRA: implement idle screen updates
Apparently, as I have been told, there are (still) OS'es with non-compositing window managers which may cause glitches when drawing windows over the ScummVM window, unless the engine keeps updating the screen. So, now we do that, even if there isn't any actual on-screen activity. The whole thing is a bit more tricky than it would appear at first glance, since one misplaced/untimely screen update may cause palette glitches. I have implemented a timer which is reset whenever actual on-screen activity happens. That should work around any such glitches.

Maybe the rates for the timer have to be tweaked some more. I have also added an ifdef so this could be disabled or restricted to certain platforms if required.
2021-12-05 15:18:38 +01:00
athrxx 9f62be6212 KYRA: (LoK/Mac) - fix end sequence music
(Thanks to eriktorbjorn for the Basilisk II testing)
2021-12-03 15:27:13 +01:00
athrxx ea0c0ec4a5 KYRA: (LoK/Mac) - add specific static data for Mac version
We used the DOS data before.
This fixes the final credits for the stuffit installer version and allows to get rid of some hacks.
2021-12-03 13:58:34 +01:00
athrxx bd12b5f2f6 KYRA: (HOF/Traditional Chinese) - fix final sequence 2021-12-01 22:38:58 +01:00
athrxx 7e87656ba7 KYRA: (LOK) - minor change to final credits code 2021-12-01 22:38:46 +01:00
athrxx ad05db611d KYRA: (HOF/Traditional Chinese) - fix intro and main menu 2021-12-01 22:38:35 +01:00
athrxx 407f4306ce KYRA: (LoK/Mac) - minor publisher logo fix
(delay music until after the display of the lgo)
2021-11-22 22:37:12 +01:00
athrxx a41f8b1de3 KYRA: (EOB/PC98) - improve final sequence (king scene) for enabled vsync option 2021-11-17 20:07:01 +01:00
athrxx d70d9f3b11 KYRA: (LoK/Traditional Chinese) - add final credits
This version does have special hard coded credits text in Chinese. The code also requires some tweaks for correct display.
2021-11-15 22:05:28 +01:00
athrxx 5e2032e754 KYRA: (LoK/Japanese/Chinese) - fix font glitch when pressing Esc during logo sequence
The font has to be set to the standard font once during the intro sequence to display the Westwood copyright. When hitting Esc at the right time it could prevent the font to be reset correcty.
2021-11-15 02:56:52 +01:00
athrxx a7fda28519 KYRA: (LoK/Traditional Chinese) - finish support
(add font drawing, gui and text formatting fixes etc.)
2021-11-15 01:01:25 +01:00
Orgad Shaneh da751361a4 KYRA: Use nullptr
Using clang-tidy modernize-use-nullptr
2021-11-14 15:51:59 +02:00
athrxx 247fbe5492 KYRA: (EOB/LOL) - reduce calls to updateScreen
(to improve performance with enabled vsync  option)
2021-11-11 19:30:22 +01:00
athrxx bb6f7f883f KYRA: (LoK/Mac) - fix final credits
These didn't show at all, since the Mac version has a different line break char than apparently all other versions.
2021-11-11 01:46:41 +01:00
Orgad Shaneh 14f516282c KYRA: Replace new[]/memset with new[]() 2021-11-10 19:53:15 +01:00
athrxx e221cd4a46 KYRA: (LoK/Mac) - add Mac sound support
- The high quality music seems to work fine. I haven't done any extensive comparison with emulation, but all music tracks have been played with asan enabled. I haven't actually finished playing through the game, though (still stuck in the damn fireberry cave), so the finale still needs to be tested...

- I am not sure about the low quality music. It should work, but hasn't really seen much testing. Currently, I don't have any way to switch to the low quality music anyway. Maybe I'll add a launcher option for it.

- The 16bit mode I have been trying to invent doesn't work. Priority was finishing the original sound first.

- GMM volume settings haven't been fully implemented and don't work
2021-11-08 22:56:46 +01:00
D G Turner e07c84bafd KYRA: Fix Misleading Indent GCC Warning
This is likely to be an extraneous semi-colon mistake as other cases
of this code fragment do not use this form.
2021-08-20 14:53:59 +01:00
athrxx 488b34643f KYRA: (HOF) - fix some intro glitches (ticket no. 6285)
- fix delays when speech is enabled and subtitles are disabled
- fix palette fade transition
- remove obsolete special cases for FM-Towns/PC-98
2021-08-19 19:58:05 +02:00
athrxx cc46e61603 KYRA: (HOF) - slightly improve intro/outro timing accuracy
(due to ticket no. 6285)
2021-08-19 19:55:57 +02:00
BLooperZ cbb2e41acc KYRA: fix hebrew text in HOF intro + menu 2021-08-17 19:43:48 +02:00
athrxx 3b79d6b28b KYRA: (HOF) - fix bug no. 6285 ("Faun disappears/reappears at the end of the intro") 2021-08-09 01:11:20 +02:00
athrxx 840ddb8dd7 KYRA: (EOBII/Amiga) - fix minor color glitch
When skipping the first part of the outro sequence via mouse click a dark green square could appear at the bottom of the screen.
2021-05-15 13:56:36 +02:00
athrxx b3ade1fa5c KYRA: (EOBII) - improve playback of final credits
This makes the playback a bit smoother. The original would scroll the text lines upwards by 2 pixels every 2 ticks. Now we just move them upwards by 1 pixel every 1 tick. Same speed, just smoother...
2021-05-15 13:55:56 +02:00
athrxx 0afbbd6b20 KYRA: (LOL) - add support for playable talkie demo 2021-04-27 23:12:12 +02:00
athrxx 897173cbac KYRA: (MR/Chinese) - more font related tweaks
(font shading and placement, interface adjustments, etc)
2021-04-27 22:07:24 +02:00
athrxx d57703ed74 KYRA: (HOF) - fix interactive demo
(broken main menu)
2021-04-17 04:23:27 +02:00
D G Turner 33822f7c66 KYRA: Fix Memset on Non-Trivial Structure GCC Compiler Warnings 2021-03-23 05:36:23 +00:00