Commit Graph

141 Commits

Author SHA1 Message Date
Eugene Sandulenko
abea37c9bb
ALL: Update ScummVM project license to GPLv3+ 2021-12-26 18:48:43 +01:00
Orgad Shaneh
ee57380de7 ENGINES: JANITORIAL: Remove 'virtual' when override is specified 2021-11-14 14:32:04 +02:00
athrxx
f74395715e KYRA: (LOL) - fix invalid script stack access
Thanks to benoit-pierre for finding this.

(see PR #3448, https://github.com/scummvm/scummvm/pull/3448)

I chose a different approach for the fix, since I wanted an easy way of detecting/preventing this for similiar cases and I also didn't want to have so much extra code in that particular script function.
2021-10-24 15:16:19 +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
e0976257e3 KYRA: update engine state comments
(these were ancient, from times before EOB support)
2021-02-11 20:01:24 +01:00
aryanrawlani28
d26bbe521c ENGINES: ALL: Finish renaming ME & AME classes
- ME -> MetaEngineStatic (static parts)
- MEC -> MetaEngine (dynamic parts)
2020-10-03 14:56:36 +02:00
aryanrawlani28
a56dc094b9 ENGINES: ALL: Move detection_enums -> detection.h
- Cleans up headers quite a bit.
2020-10-03 14:56:36 +02:00
aryanrawlani28
29ceb07959 ENGINES: ALL: Revert detection submodule to be directly present in the engine directory
- DETECT_OBJS are present and added inside an engine's modules.mk file.
2020-10-03 14:56:36 +02:00
aryanrawlani28
8189a05316 ENGINES: ALL: Adapt to changes for new plugins by defining a new detection module
For each engine:
- Make a new folder detection
- Move detection-related files inside the folder
- Add a new module "enginename/detection"
- Add DETECT_OBJS here
- Adjust the normal engine module to remove detect_objs
- Adjust every file for the new changes.
2020-10-03 14:56:36 +02:00
aryanrawlani28
1d6f402540 KYRA: Move common game/detection related enums to new header
- Make KyraMetaEngineConnect our friend class
2020-10-03 14:56:36 +02:00
athrxx
7fe4a6c153 KYRA: (EOB/SegaCD) - fix clang compile error 2020-07-30 22:54:11 +02:00
athrxx
9d8c249015 KYRA: (EOB/SegaCD) - vertically shift screen output
The ingame graphics use up 208 pixels out of 224. The top and bottom 8x8 pixel tile rows are left blank.
This commit emulates that. But actually it looks ugly, especially in windowed mode. On a TV screen of that era it was probably unnoticeable.
TODO: GET RID OF THIS COMMIT AND FIND ANOTHER SOLUTION
2020-07-30 22:19:13 +02:00
Paul Gilbert
429cfd1cad KYRA: Remove autosave code 2020-02-16 15:44:28 -08:00
Paul Gilbert
a00e44ba6c ENGINES: Merge saveGameState virtual methods into a single one 2020-02-16 15:44:28 -08:00
Paul Gilbert
ce9bf175a5 KYRA: Refactor to use Engine debugger 2020-02-16 13:07:19 +02:00
Bastien Bouclet
551ed6218a KYRA: Add override keywords 2020-02-09 12:43:15 +01:00
Eugene Sandulenko
cbfa891b0d KYRA: Added override keywords 2020-02-05 15:39:40 +01:00
Paul Gilbert
5b80320525 ENGINES: Adding override keyword to hasFeature methods 2020-02-04 20:04:11 -08:00
athrxx
0239ed5e96 KYRA: (HOF) - fix bug #11331
This reverts the change from 1d5fd780 which was clearly wrong and caused this new bug (no idea what I was thinking there).  To prevent the revival of bug #3721 I now added the proper code for a fix after tracking the whole bug with the DOSBox debugger.
2020-02-01 21:09:50 +01:00
athrxx
ce6a4ecd16 KYRA: (EOB) - support "No Music" setting
(until now it was possible to switch sounds on and off ingame, but not via the launcher music device setting)
2020-01-18 21:52:31 +01:00
athrxx
cb01975aec KYRA: (HOF) - fix bug #11289 (Secret potion issue)
- added a missing function that causes keyboard key presses to trigger certain sound effects
- improve keyboard responsiveness during idle animations (HOF only)
2019-12-30 17:51:34 +01:00
athrxx
ddb6ca441b KYRA: (EOB/PC98) - fix level loading and some cleanup
(no block drawing yet)
2019-12-18 20:50:43 +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
athrxx
16ead6f58a KYRA: add 16bit mode required for EOB II FM-TOWNS 2018-11-14 17:22:21 +01:00
Adrian Frühwirth
00e59a3122 ALL: Load savegame thumbnail only when necessary
This commit introduces the following changes:

1. Graphics::loadThumbnail()

   Now returns a boolean and takes a new argument skipThumbnail which
   defaults to false. In case of true, loadThumbnail() reads past the
   thumbnail data in the input stream instead of actually loading the
   thumbnail. This simplifies savegame handling where, up until now,
   many engines always read the whole savegame metadata (including
   the thumbnail) and then threw away the thumbnail when not needed
   (which is in almost all cases, the most common exception being
   MetaEngine::querySaveMetaInfos() which is responsible for loading
   savegame metadata for displaying it in the GUI launcher.

2. readSavegameHeader()

   Engines which already implement such a method (name varies) now take
   a new argument skipThumbnail (default: true) which is passed
   through to loadThumbnail(). This means that the default case for
   readSavegameHeader() is now _not_ loading the thumbnail from a
   savegame and just reading past it. In those cases, e.g.
   querySaveMetaInfos(), where we actually are interested in loading
   the thumbnail readSavegameHeader() needs to explicitely be called
   with skipThumbnail == false.

   Engines whose readSavegameHeader() (name varies) already takes an
   argument loadThumbnail have been adapted to have a similar
   prototype and semantics.
   I.e. readSaveHeader(in, loadThumbnail, header) now is
   readSaveHeader(in, header, skipThumbnail).

3. Error handling

   Engines which previously did not check the return value of
   readSavegameHeader() (name varies) now do so ensuring that possibly
   broken savegames (be it a broken thumbnail or something else) don't
   make it into the GUI launcher list in the first place.
2018-04-07 09:26:20 +02:00
Alexander Tkachev
2d3cfffa84 KYRA: Fix openSaveForWriting() to return OutSaveFile 2016-08-24 16:07:55 +06:00
Johannes Schickel
b79c2156d0 KYRA: Make GPL headers consistent in themselves. 2014-02-18 02:39:35 +01:00
Johannes Schickel
5a352da437 KYRA: Rename kReadSaveHeaderError to ReadSaveHeaderError. 2012-11-23 02:56:26 +01:00
athrxx
93e69aa4da KYRA: clean up audio resource handling
(this was really ugly, now it's somewhat less ugly)
2012-11-11 19:14:31 +01:00
athrxx
1bb8f22567 KYRA: finish implementation of new HOF sequence player code 2012-11-11 19:14:30 +01:00
athrxx
9840744acc KYRA: move HOF sequence player into its own class
(also cleaning up and fixing things while doing that)
2012-11-11 19:14:29 +01:00
Johannes Schickel
9671b44df8 KYRA: Some formatting fixes. 2012-03-05 20:08:59 +01:00
Max Horn
215b41b244 COMMON: Move RenderMode and GUIOptions functionality into separate files 2012-02-26 15:19:31 +01:00
athrxx
ecd1a9f943 KYRA: (EOB) - cleanup CGA/EGA code a bit 2012-02-24 18:09:37 +01:00
athrxx
66da4777d4 KYRA: (EOB) - implement EGA mode (hi res dithering) for EOB II
(also fix various thing connected to CGA/EGA modes)
2012-02-21 21:48:46 +01:00
athrxx
86a817beb5 KYRA: (EOB) - start work on CGA and EGA graphics modes 2012-02-21 21:48:39 +01:00
Tarek Soliman
921f602ab8 JANITORIAL: Fix whitespace in pointer template arg 2012-02-15 10:07:08 -06:00
Johannes Schickel
5fc80f99d9 KYRA: Fix compilation with clang. 2011-12-27 02:51:42 +01:00
athrxx
c0e782fd0b KYRA: (EOB) - Start implementing EOB1 party transfer (not working yet)
(ScummVM specific solution which allows the selection of save files of all configured EOB1 targets)
2011-12-26 16:18:17 +01:00
athrxx
76bfcf834d KYRA: (EOB) - some refactoring 2011-12-26 16:18:12 +01:00
athrxx
97e5036bf0 KYRA: (EOB) - more work on ingame menus 2011-12-26 16:18:11 +01:00
athrxx
540d081a6f KYRA: (EOB) - initial code base commit 2011-12-26 16:18:10 +01:00
athrxx
2da431aa65 KYRA: (AdLib Driver) - increase versions and add necessary EOB modifications 2011-12-26 16:18:09 +01:00
Johannes Schickel
fcf63d0261 KYRA: Update engine description comment. 2011-10-29 03:26:18 +02:00
Christoph Mallon
23a0f5318c JANITORIAL: Remove trailing empty lines. 2011-08-07 13:53:33 +02:00
athrxx
f44874f0a6 KYRA: add support for Russian Kyra 1 floppy fan translation 2011-07-27 16:38:31 +02:00
Johannes Schickel
b66ca60088 KYRA: _athrxx is the new Kyra maintainer. 2011-06-25 19:25:56 +02:00
athrxx
3f2b5b9e8b KYRA: revert d7e700f370
The GMM mouse cursor bug has now been fixed inside the GMM and CursorMan code.
2011-06-25 15:54:37 +02:00
athrxx
afbfb056f7 LOL: fix so-called bug #3313950
(LoL support for Italian fan translation)
2011-06-10 22:45:44 +02:00