aboutsummaryrefslogtreecommitdiff
path: root/engines/sword2
AgeCommit message (Collapse)Author
2019-11-03ENGINES: Change targets to have an 'engine ID'Bastien Bouclet
The engine ID identifies which engine should be used to launch the target. Also remove the 'single ID' system. Different games from engines that used that system now have different game IDs. Also-By: Matthew Hoops <clone2727@gmail.com>
2019-11-03ENGINES: Add an engine ID to all the enginesBastien Bouclet
2019-10-20SWORD2: Fix Missing Default Switch CasesD G Turner
These are flagged by GCC if -Wswitch-default is enabled.
2018-12-10ENGINES: Normalize the getName() result of metaenginesBastien Bouclet
Also-By: Matthew Hoops <clone2727@gmail.com>
2018-09-13SWORD2: fixed compiler warning with gcc 8.2Martin Gerhardy
engines/sword2/screen.cpp: In member function ‘void Sword2::Screen::rollCredits()’: engines/sword2/screen.cpp:1121:102: warning: cast from type ‘const char*’ to type ‘byte*’ {aka ‘unsigned char*’} casts away qualifiers [-Wcast-qual] creditsLines[i]->sprite = _vm->_fontRenderer->makeTextSprite((byte *)creditsLines[i]->str.c_str(), 600, 14, _vm->_speechFontId, 0);
2018-08-18SWORD2: Replace use of strdup with Common::StringColin Snover
2018-05-10ENGINES: Remove usage of C++11 extended initializer listsBastien Bouclet
2018-05-10ENGINES: Merge GameDescriptor and DetectedGameBastien Bouclet
2018-05-10ENGINES: Set the GameDescriptor decription in the constructorBastien Bouclet
2018-05-10ENGINES: Turn GameDescriptor into a simple structBastien Bouclet
2018-05-10ENGINES: Change MetaEngine::listSupportedGames to return plain game descriptorsBastien Bouclet
2018-05-10ENGINES: Change MetaEngine::findGame to return a plain game descriptorBastien Bouclet
2018-05-10ENGINES: Add unknown game variants to the game detector resultsBastien Bouclet
2018-04-29ENGINES: Show the unknown Game dialog only when the detector is launched by ↵Lothar Serra Mari
the Add Game feature
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.
2016-09-03JANITORIAL: Make GPL headers uniformEugene Sandulenko
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-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-09SWORD2: Fix potential buffer overrunEugene Sandulenko
2016-04-14JANITORIAL: Reduce audio header dependenciesOri Avtalion
2016-03-05CONFIGURE: Introduced new engine dependency: highresEugene Sandulenko
Some backends like GCW0 do no support graphics >320x240 due to the hardware limitation (downscaling is possible but it will ruin the pixel hunting which is often part of the gameplay). Instead of manually updating the list of engines, we now introduce a new dependency. I marked all relevant engines, but some, like tinsel, require more work with putting their relevant high-res games under USE_HIGHRES define.
2016-02-25SWORD2: Let listSaves return list sorted on slot numbers.Johannes Schickel
2016-02-15JANITORIAL: Typos detected with lintian & grepAlexandre Detiste
2016-01-26SWORD2: Only request actual save slots in listSaves.Johannes Schickel
2016-01-07JANITORIAL: Fix clang printf warningsOri Avtalion
2014-08-22SWORD1: Change "no DXA support" message.Ben Castricum
It's "without zlib" or "without DXA support". WJP prefers the first.
2014-05-27ALL: Make Debugger command function names conform to our guidelines.Johannes Schickel
2014-05-27ALL: Rename Debugger::DCmd_Register to Debugger::registerCmd.Johannes Schickel
2014-05-27ALL: Rename Debugger::DebugPrintf to Debugger::debugPrintf.Johannes Schickel
2013-11-24BUILD: Remove need for engine.mk in each engine directory.D G Turner
Each engine now only has to provide a single configure.engine file adding the engine into the configure script, which then produces the required other files automatically.
2013-11-24BUILD: Remove need for engine-plugin.h in engines.D G Turner
This is now generated automatically by the configure script from the engine directory names.
2013-11-24BUILD: Split engines/plugins_table header down to a file per engine.D G Turner
This is the third and final commit enabling fully pluggable engines. Now providing an engine folder contains a configure.engine, engine.mk and engine-plugin.h file, it will be picked up automatically by the configure script.
2013-11-24BUILD: Split engines.mk down to a single file per engine.D G Turner
This is the second part of allowing engines to be added dynamically. Each folder in engines/ which must contain a file named "engine.mk" containing the make definitions for that engine.
2013-11-24BUILD: Split configure.engines down to a single file per engine.D G Turner
This is the first part of allowing engines to be added dynamically. They are placed into a folder in engines/ which must contain a file named "configure.engine" to add the engine, which is pulled into the top level configure script automatically.
2013-08-12I18N: Move specification of engine specific files to enginedir/POTFILES.Johannes Schickel
This allows to keep the engines to specfiy the files for translation close to the engine sources itself. Thanks to criezy for his suggestion on this approach.
2013-08-03SWORD2: Take advantage of Surface::getPixels.Johannes Schickel
2013-08-03SWORD2: Prefer getBasePtr over direct Surface::pixels access.Johannes Schickel
2013-06-20SWORD2: Add back MPEG-2 video supportMatthew Hoops
2013-05-02COMMON: Change kPlatformPC to kPlatformDOSMatthew Hoops
"PC" was very ambiguous and now it matches what we show in the GUI. This also corrects sword2's platform to Windows.
2013-04-28SWORD2: Fix potential allocation size mismatch. CID 1003324.Torbjörn Andersson
2013-04-22SWORD2: Fix reference to out-of-scope variableWillem Jan Palenstijn
2013-04-22SWORD2: Fix (unlikely) memory leakWillem Jan Palenstijn
2013-04-18ENGINES: Remove a bunch of unused private member variablesMax Horn
All instances uncovered by clang warnings.
2012-11-08SWORD2: Fix bug #3049336 - "BS2: Detects games in wrong places"Filippos Karapetis
We no longer detect the sword2 files inside the "clusters" folder. Also, we now correctly distinguish between the full and the demo version of the game
2012-09-26JANITORIAL: Remove trailing whitespaces.Johannes Schickel
Powered by: git ls-files "*.cpp" "*.h" "*.m" "*.mm" | xargs sed -i -e 's/[ \t]*$//'
2012-08-16VIDEO: Merge AdvancedVideoDecoder into VideoDecoderMatthew Hoops
2012-08-16VIDEO: Remove setSystemPalette()Matthew Hoops
2012-07-24VIDEO: Convert DXADecoder to the AdvancedVideoDecoder APIMatthew Hoops
2012-07-23VIDEO: Rewrite SmackerDecoder to use the new APIMatthew Hoops