aboutsummaryrefslogtreecommitdiff
path: root/engines/macventure
AgeCommit message (Collapse)Author
2019-10-01MACVENTURE: Fix MSVC WarningsD G Turner
2019-09-29MACVENTURE: Engine doesn't use MIDI, mark games as such.Henrik "Henke37" Andersson
2019-09-29MACVENTURE: Initialize engine variables earlierEugene Sandulenko
2019-05-27MACVENTURE: Fix MSVC warningsFilippos Karapetis
- Added a CHECKME for a code which is never used at the moment - Add default cases to switch statements - Remove unused variables - Fix integer variable assignments from booleans
2018-07-21MACVENTURE: Fix warningEugene Sandulenko
2018-06-30ENGINES: Add missing dependencies for several enginesCameron Cawley
2018-04-07ALL: Load savegame thumbnail only when necessaryAdrian Frühwirth
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-03-28MACVENTURE: Fix meta engine class definitionEugene Sandulenko
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-24COMMON: Remove BitStream base class to allow inlining callsWillem Jan Palenstijn
All users of BitStream were in fact using a specific, hardcoded variant, so we can hardcode that variant, removing the need for virtual calls, and enabling inlining.
2017-01-15MACVENTURE: Fix Compiler Warning for Uninitialized Variable Usage.D G Turner
2017-01-14GRAPHICS: Renamed Menu to MacMenu to avoid potential name collisionEugene Sandulenko
2017-01-12MACVENTURE: Fix Comparison Always True Compiler Warning.D G Turner
There is no need for ABS() call as the parameters called on are both unsigned integers.
2016-10-06GRAPHICS: Move font-related MacGUI code to MacFontManagerEugene Sandulenko
2016-09-24MACVENTURE: Silence Cppcheck warningTorbjörn Andersson
I think it was harmless, but don't use 'it' after erasing it.
2016-09-10COMMON: Converted Common::BitStream to use DisposeAfterUsePaul Gilbert
2016-09-05MACVENTURE: Implement opcode $cb (Get Current Day)Torbjörn Andersson
In Deja Vu, Pete's All Nite Gun Palace is closed if you play the game on a Sunday. I'm guessing that's the only place where this opcode is used
2016-09-05MACVENTURE: Clear the exits window before drawing the buttonsTorbjörn Andersson
This was a regression from adding background patterns.
2016-09-05MACVENTURE: Make opcode $ca return current time, not played timeTorbjörn Andersson
This is used by some games to determine the appropriate greeting, e.g. "Good evening" if you play the game in the evening.
2016-09-04MACVENTURE: Set background pattern for exits windowTorbjörn Andersson
In the original, the background is actually a clickable object. I don't know if we want to implement this as a dark gray background pattern, or as a real object. For now, though, it's a useful test case for setBackgroundPattern().
2016-09-03MACVENTURE: Provide copyright notice for WebVenture by Sean Kasun, and fix ↵Eugene Sandulenko
GPL headers
2016-09-03MACVENTURE: Fix warningEugene Sandulenko
2016-08-26MACVENTURE: Fix window initializationBorja Lorente
2016-08-26MACVENTURE: Fix menu flags and add newgameBorja Lorente
2016-08-24MACVENTURE: Include border bitmaps in ScummVMBorja Lorente
2016-08-21MACVENTURE: Add creation date and playtime to savegamesBorja Lorente
2016-08-21MACVENTURE: Add thumbnail to savegamesBorja Lorente
2016-08-21MACVENTURE: Fix upper limit in savefile namesBorja Lorente
2016-08-19MACVENTURE: Substitute charcodes with char constantsBorja Lorente
2016-08-19MACVENTURE: Add static array for border namesBorja Lorente
2016-08-19MACVENTURE: Fix game file path retrievalBorja Lorente
2016-08-19MACVENTURE: Fix double overflow when blittingBorja Lorente
2016-08-19MACVENTURE: Remove JavaScript constructsBorja Lorente
2016-08-19MACVENTURE: Remove word typedefBorja Lorente
2016-08-19MACVENTURE: Merge detection tables into detection.cppBorja Lorente
2016-08-19MACVENTURE: Remove leftover comments and document magic constantsBorja Lorente
2016-08-19MACVENTURE: Fix formattingBorja Lorente
2016-08-19MACVENTURE: Remove constructors from prebuilt dialogsBorja Lorente
2016-08-19MACVENTURE: Enforce const in prebuilt dialogsBorja Lorente
2016-08-19MACVENTURE: Fix indentationBorja Lorente
2016-08-19MACVENTURE: Remove unnecessary commentBorja Lorente
2016-08-19MACVENTURE: Break up one-line ifs and fix bracesBorja Lorente
2016-08-19MACVENTURE: Fix debug messagesBorja Lorente
2016-08-19MACVENTURE: Implement quit from menuBorja Lorente
2016-08-19MACVENTURE: Extract implementation of ContainerBorja Lorente
2016-08-19MACVENTURE: Remove unused filesBorja Lorente
2016-08-19MACVENTURE: Add prefixes to error messagesBorja Lorente
2016-08-19MACVENTURE: Fix cursor warningBorja Lorente
2016-08-19MACVENTURE: Fix some compiler warningsBorja Lorente
2016-08-19MACVENTURE: Fix indentation and bracesBorja Lorente