aboutsummaryrefslogtreecommitdiff
path: root/engines/tinsel
AgeCommit message (Collapse)Author
2019-12-04TINSEL: Fix Missing List End Markers in Detection EntriesD G Turner
This should avoid possible overruns causing crashes or other issues during detection.
2019-12-04TINSEL: Use Advanced Detector LISTEND Macro in Detection EntriesD G Turner
2019-11-30TINSEL: Fix Missing Default Switch CasesD G Turner
These are flagged by GCC if -Wswitch-default is enabled.
2019-11-16TINSEL: Add DW1 CD Argentum Collection detectionPaul Gilbert
2019-11-03ENGINES: Stop using 'single id'Bastien Bouclet
2019-11-03ENGINES: Add an engine ID to all the enginesBastien Bouclet
2019-08-25TINSEL: Fix GCC Compilation WarningsD G Turner
These are also associated with memset on non-trivial structures.
2018-08-07TINSEL: Fix displayed saved game month off by oneDavid Fioramonti
This corrects the displayed month for querySaveMetaInfos being a month behind.
2018-08-03TINSEL: Add playTime to saved game and display itDavid Fioramonti
Also bumps the saved game format version to 3. I changed the order of how the data is saved so that the playtime could be read in without skipping as much data. This is because querySaveMetaInfos only needs the metafields where as saveload::DoRestore() needs more of the header. A crash was happening when trying to delete a saved game from the launcher. It is because the engine is not initalized. I assign a dummy value to resolve the issue. Loading saved games from previous versions works. When an old version saved game is loaded it will start with zero playtime. Old saved games are shown as not having playtime data.
2018-07-09TINSEL: Remove thumbnail supportDavid Fioramonti
2018-07-06TINSEL: Show saved game creation time in load/save guiDavid Fioramonti
Saved games inspected via the ScummVM load or save gui will now show the year, month, day, hour, and minute of its creation. This was already being saved in the saved game header so no version bump is necessary. This required adding kSavesSupportMetaInfo and kSavesSupportCreationDate features. I also had to add kSavesSupportThumbnail or the saved date is not shown. It was necessary to write querySaveMetaInfos.
2018-05-10ENGINES: Add unknown game variants to the game detector resultsBastien Bouclet
2018-04-22JANITORIAL: Fix formattingAdrian Frühwirth
2018-04-20TINSEL: Fix held items not in either inventory being lostPaul Gilbert
2018-04-18TINSEL: Fix hang in DW1 GRA when using items on Temple big hammerPaul Gilbert
2018-04-18TINSEL: Fix loading DW1 savegames with a held itemPaul Gilbert
2018-02-01TINSEL: Remove now duplicate VER macroBastien Bouclet
2017-11-19TINSEL: Increase maximum number of objectsColin Snover
This needs to be at least 374 to avoid crashes in the in-game save/load dialogues with save games using the maximum 40 letters per save game, so just round up to the next power of two (which increases memory usage by a whopping ~20KiB) to give more than enough space for long save game names. Fixes Trac#6748.
2017-10-07ENGINES: Remove default1x scaler flagColin Snover
This flag is removed for a few reasons: * Engines universally set this flag to true for widths > 320, which made it redundant everywhere; * This flag functioned primarily as a "force 1x scaler" flag, since its behaviour was almost completely undocumented and users would need to figure out that they'd need an explicit non-default scaler set to get a scaler to operate at widths > 320; * (Most importantly) engines should not be in the business of deciding how the backend may choose to render its virtual screen. The choice of rendering behaviour belongs to the user, and the backend, in that order. A nearby future commit restores the default1x scaler behaviour in the SDL backend code for the moment, but in the future it is my hope that there will be a better configuration UI to allow users to specify how they want scaling to work for high resolutions.
2017-08-06JANITORIAL: Silence more GCC 7 warningsTorbjörn Andersson
All these fall through were marked as deliberate, so again I've only changed the comment to silence GCC.
2017-07-16TINSEL: Fix some DW2 text/voice not playing all the way throughPaul Gilbert
2016-11-29ALL: game state => saved gameBen Castricum
2016-08-24ALL: Make simpleSaveNames() a MetaEngineFeatureAlexander Tkachev
Added it into hasFeature() of all engines which returned `true` in simpleSaveNames() before. As mentioned in #788, SCI is not always using simple names, so it doesn't have such feature now.
2016-08-24ALL: Add MetaEngine::simpleSaveNames()Alexander Tkachev
Engines with "simple" savenames would support "Run in background" in save/load dialog and gradual save slots unlocking. Other engines save/load feature would be locked until save sync is over.
2016-07-28TINSEL: Move debug channel registration to the very top of the engine ↵Eugene Sandulenko
constructor
2016-06-17TINSEL: Fix class initializationEugene Sandulenko
2016-05-31TINSEL: Fix illegal memory reads.Eugene Sandulenko
In case of "unnamed" case (see line 582) we were memcpy'ing 31 byte from the heap.
2016-05-31TINSEL: Guard against illegal memory writesEugene Sandulenko
2016-05-31TOON: Init memory before usageEugene Sandulenko
2016-05-18TINSEL: Fix out-of-bounds array accessEugene Sandulenko
2016-05-17ALL: Change main engine header guard defines to <directory>_<engine>_HEugene Sandulenko
Recently we started to use this as new semantics, although in the past we used simly <engine>_H. Now these guard defines are consistent with rest of the files which are used in the engines.
2016-05-11TINSEL: Safer string manipulationEugene Sandulenko
2016-05-09TINSEL: Fix number of buffer overrunsEugene Sandulenko
2016-04-14JANITORIAL: Reduce audio header dependenciesOri Avtalion
2016-03-13BACKENDS: Only expose one set of functions for AudioCDManagerMatthew Hoops
Engines should only have to call one set of functions and not decide between the two. In fact, the 'emulation' API was documented to just call the 'real CD' API.
2016-03-13BACKENDS: Move to an openCD() without parameters as the public APIMatthew Hoops
2016-03-08ENGINES: Make variable names of ADGameDescription conform to our guidelines.Johannes Schickel
gameid -> gameId guioptions -> guiOptions
2016-03-08ENGINES: Make variable names of AdvancedMetaEngine conform to our guidelines.Johannes Schickel
_singleid -> _singleId _gameids -> _gameIds _guioptions -> _guiOptions
2016-02-25TINSEL: Let listSaves return list sorted on slot numbers.Johannes Schickel
2016-02-09TINSEL: Enable Miles Audio for DW1+DW1CD Demo onlyMartin Kiewitz
DW1 floppy demo doesn't seem to have audio at all
2016-02-08TINSEL: Fix crash on big-endian hostsMarcus Comstedt
2016-02-07TINSEL: Fix crash when error() is called earlyMarcus Comstedt
2016-01-26TINSEL: Only request actual save slots in listSaves.Johannes Schickel
2016-01-10TINSEL: Added detection for DW1 fan translationEugene Sandulenko
2016-01-07JANITORIAL: Fix clang printf warningsOri Avtalion
2015-12-01TINSEL: Remove redundant assert check in SetHookScenePaul Gilbert
In the original, a second SetHookScene call can validly occur due to first placing the cover-switched book in the bookcase, and then by the thief leaving if his arrival happens immediately.
2015-10-24TINSEL: DW1: Improve timbre file error messageMartin Kiewitz
it now mentions all the possible file names.
2015-07-04TINSEL: DW1: enable Miles Audio for DOS onlyMartin Kiewitz
2015-07-04TINSEL: DW1: Miles Audio AdLib MIDPAK.AD supportMartin Kiewitz
- added support for MIDPAK.AD timbre files on top FAT.OPL. FAT.OPL gets copied by installer into MIDPAK.AD for this version - changed order of timbre file checking - adjusted and improved comments about discworld 1 versions
2015-07-04TINSEL: DW1: Miles Audio AdLib support for FAT.OPLMartin Kiewitz
eriktorbjorn owns a version of DW1, that only has FAT.OPL and no SAMPLE.AD/SAMPLE.OPL. We check if SAMPLE.AD/.OPL are available, if not we try our luck with FAT.OPL