Commit Graph
30 Commits
Author SHA1 Message Date
Le Philousophe dbe47a28ba KYRA: Don't use unsafe sprintf and vsprintf 2022-10-23 22:46:19 +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 015820f0bd KYRA: init non-initialized member vars 2022-09-20 22:14:53 +02:00
athrxx aa44656733 KYRA: (LoK/MR) - fix options menu text colors 2022-06-16 11:10:56 +02:00
athrxx bbff86e990 KYRA: (LOL) - improve save/load menu performance
(reduce calls to updateScreen)
2022-06-13 21:42:54 +02:00
athrxx 2b05ca1dbc KYRA: (LoK/KOR) - implement Hangul save name input
(The names will be displayed incorrectly in the GMM/launcher even if the GUI language is set to Korean. We don't have the required encoding (apparently ks_c_5601-1987 or similar).
2022-06-13 19:38:34 +02:00
athrxx ae4934bc8c KYRA: (LoK/KOR) - more accuracy fixes 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 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
Eugene Sandulenko abea37c9bb ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Benoit Pierre e24fe0a0cc KYRA: (LOL) - fix keymap not getting re-enabled after a save 2021-10-23 22:50:59 +02:00
athrxx 072c54318d KYRA: (LOL) - replace sound list char* array with Common::StringArray 2021-10-12 20:45:52 +02:00
athrxx 711c7f7663 KYRA: upgrade save descriptions to UTF-8
Bump save version. New games will be UTF-8, the old ones will still be correctly decoded from kISO8859_1. Tested and adapted all targets (not the fan translations).
2021-07-13 01:34:40 +02:00
athrxx 102685138a KYRA: improve handling of UTF save descriptions
This tries to make sure that UTF save descriptions with special characters don't break ingame saveload dialogs.
2021-07-10 01:10:05 +02:00
athrxx 0cc95232c4 KYRA: (LOL) - fix bug no. 12595
("LANDS OF LORE: gamepad input doesn't work in some menus")

The current code would just disable the keymapper setting for all menus, although the single purpose of this is allowing text input (including from previously mapped keys) in the save name menu. I've split up the mapping in two, one mapping for the mouse clicks and one for the keyboard keys. Now, I disable only the keyboard part during the save name input process. Mouse clicks on the confirm/cancel buttons remain still possible through mapped keys.
2021-06-03 15:23:33 +02:00
athrxx 0afbbd6b20 KYRA: (LOL) - add support for playable talkie demo 2021-04-27 23:12:12 +02:00
athrxx 90f52d5dfc KYRA: (LOL) - fix menu text regression 2021-01-08 14:20:21 +01:00
Vladimir Serbinenkoandathrxx 280f83242e KYRA: replace const char * with Common::String around getTableString. (#2603)
Currently const char * points into some random buffer with unclear
lifetime.

Instead use Common::String which ensures lifetime as long as a reference is
held.

This also removes the need of copying into existing buffers in HoF and MR.

UnkBuf* are gone as well.

Co-authored-by: athrxx <athrxx@scummvm.org>
2021-01-01 16:37:27 +01:00
athrxx 2190f3ecc9 KYRA: (LOL) - fix possible invalid memory access
(another bug from the original code)
2020-10-04 00:40:54 +02:00
athrxx a78240f026 KYRA: (LOL) - adjust auto save date format 2020-08-05 22:41:58 +02:00
athrxx 4151268e31 KYRA: (LOL) - enhance auto save description
(followup to  48c2cb30)

The level numbers aren't really helpful, since they don't get used anywhere in the game.
2020-08-05 22:12:49 +02:00
athrxx 48c2cb3043 KYRA: (LOL) -turn PR 2399 into gui option
- I don't want to have this as a default, since it is convenient for consoles but a matter of taste for desktop platforms
- Also tweak the suggested name a bit more to my liking
2020-08-04 17:11:31 +02:00
neuromancer 76a9a025dc KYRA: Automatically suggest current time and date when adding a new savegame (#2399)
This small quality-of-life change suggests a newsave name with the current time and date for the Land of Lore games. This allows to play the games with less usage of a keyboard (e.g. only mouse or remapping keys to a gamepad).
2020-08-04 17:11:01 +02:00
Bastien Bouclet 14663c4790 KEYMAPPER: Make the keymapper mandatory 2020-01-29 08:51:29 +01:00
Bastien Bouclet 9c0bc2b633 KEYMAPPER: Simplify the way keymaps are enabled and disabled 2020-01-26 19:07:53 +01:00
athrxx 512fe08367 KYRA: (EOB/PC98) - allow both graphics mode / text mode text display for sjis font
The assumption till now was that PC-9801 games in 16 color mode will always use text mode for text display. However, EOB1 uses text mode for intro and ending sequence and graphics mode for ingame.
Add new font variant for this and also do some cleanup, since the text displayer code really needs it.
(The problem is that at least 3 different Japanese publishers did the Japanese ports for the various games and every one of them did his own hacks for his specific target.)
2019-12-18 20:50:43 +01:00
D G Turner d77e70a902 KYRA: Fix Missing Default Switch Cases
These are flagged by GCC if -Wswitch-default is enabled.
2019-12-06 04:31:04 +00:00
athrxx 72084365af KYRA: (LOL) - fix item pickup glitch
This fixes an original bug that recently got my attention.
While I never managed to duplicate items like the person in the video I did experience lockups.
Maybe the exploit works only  with the original executable...

https://www.youtube.com/watch?v=fkJ2KilULco&feature=youtu.be

https://www.youtube.com/watch?v=4oRESbQLDig&feature=youtu.be
2019-10-31 13:10:23 +01:00
D G Turner 1083ff6577 KYRA: LOL: Fix GCC Compiler Warning from memset Usage
The memset call to clear the Common::Event is unecessary as all fields
are cleared either directly by the class constructor or for fields which
are struct/class objects, by their constructors.
2019-08-18 02:12:15 +01:00
athrxx 1dfdcc7252 KYRA: cleanup dir
Reorganize all files in sub directories. The file placement isn't as intuitive as it might be for other engines, which is probably the reason why this hasn't been done before.
2019-03-06 20:48:15 +01:00