aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/base/base_game.cpp
AgeCommit message (Collapse)Author
2020-01-11WINTERMUTE: Add FoxTail game&engine version propertieslolbot-iichan
FoxTail requires Game to have 2 string options with engine build and game package version. BuildVersion is provided with detection tables GameVersion is extracted from data.dcp and stored in a hashmap
2020-01-11WINTERMUTE: Add FoxTail language propertylolbot-iichan
FoxTail gets a Steam API language code on 1st start from Game.SystemLanguage property FoxTail currently uses 5 languages: English, German, Polish, Russian, Ukrainian Even more languages are promised on release, so let's support all possible languages here There are 22 languages listed both in common/language.h and Steam API, supported them all See https://partner.steamgames.com/doc/store/localization for current API language codes
2019-11-14WINTERMUTE: Fix Missing Default Switch CasesD G Turner
These are flagged by GCC if -Wswitch-default is enabled.
2019-07-16WINTERMUTE: Fix assertion in Hamlet gamelolbot-iichan
Assertion was caused by providing "saves/" prefixed string to WindowsFilesystemNode::getChild() function, that asserts on '/' characters. Wintermute game code: if(!(Game.FileExists((Game.SaveDirectory + "\gamelet.save")))) { Directory.Create(Game.SaveDirectory); } ... Assertion stack: from C:\WINDOWS\System32\KernelBase.dll from C:\WINDOWS\System32\msvcrt.dll (this=0xcfdf710, n=...) at backends/fs/windows/windows-fs.cpp:158 n=...) at common/fs.cpp:68 (filename=...) at engines/wintermute/base/file/base_disk_file.cpp:76 at engines/wintermute/base/file/base_disk_file.cpp:105 this=0x50795e0, filename=...) at engines/wintermute/base/base_file_manager.cpp:326 (this=0xcea72f0, script=0xcf657d0, stack=0xcf6a2e0, thisStack=0xcf69ee0, name=0xcfd8870 "FileExists") at engines/wintermute/base/base_game.cpp:1523 ...
2019-07-16WINTERMUTE: Add dummy implementation of Directory global objectlolbot-iichan
Source: http://docs.dead-code.org/wme/generated/scripting_ref_directory.html
2019-06-26WINTERMUTE: Implement Game.OpenDocument() methodlolbot-iichan
Game.OpenDocument() is used to open links for developer's site or social account in games like hellavuday, 5ld, etc.
2018-09-16WINTERMUTE: Flush ConfMan to disk on every change (#1314)lolbot-iichan
* WINTERMUTE: Flush ConfMan to disk
2016-12-26WINTERMUTE: Add _bilinearFiltering attribute to BaseGameTobia Tesan
2016-10-07WINTERMUTE: Change in-engine thumbnail-defaults.Einar Johan Trøan Sømåen
Instead of the engine-based 0, we now default to kThumbnailWidth/kThumbnailHeight2, as values of 0 here disable thumbnails in the engine. TODO: Perhaps consider looking into always running the thumbnail-generation even if the sizes are 0?
2016-08-22WINTERMUTE: Fix compilation with MSVCFilippos Karapetis
Change the way that EXTENDED_DEBUGGER_ENABLED is checked. The way it was used, it triggered a fatal error C1017
2016-02-29WINTERMUTE: Add DebuggableScript and DebuggableScriptEngine classesTobia Tesan
These extend the script engine and allow for monitoring and adding pre/post instruction hooks
2014-10-15WINTERMUTE: Introduce BaseGame->expandStringByStringTable(&Common::String)Tobia Tesan
2014-09-03WINTERMUTE: Save the names of any language files that are loaded. (Fix bug ↵Einar Johan Trøan Sømåen
#6651) This way, they will be reloaded in the same order when loading a save game. Old save games will continue to show the bug, but new savegames will be consistent. A quick fix for old save games in the white chamber, is to launch the game with the correct language BEFORE loading the save game. This increases the save-game-version to 1.3.1ScummVM
2014-02-18WINTERMUTE: Make GPL headers consistent in themselves.Johannes Schickel
2013-11-05WINTERMUTE: Transfer Sint32s explicitly when saving/loading.Einar Johan Trøan Sømåen
2013-11-05WINTERMUTE: Transfer Uint32s explicitly when saving/loading.Einar Johan Trøan Sømåen
2013-10-29WINTERMUTE: Remove BasePlatform::setRect (replace with member-call)Einar Johan Trøan Sømåen
2013-10-29WINTERMUTE: Remove BasePlatform::setRectEmpty (replace with member-call)Einar Johan Trøan Sømåen
2013-10-29WINTERMUTE: Remove unused BasePlatform-functions ↵Einar Johan Trøan Sømåen
(showWindow/setCapture/releaseCapture)
2013-10-29WINTERMUTE: Transfer Rect32s explicitly when saving/loading.Einar Johan Trøan Sømåen
2013-10-28WINTERMUTE: Transfer booleans explicitly when saving/loading.Einar Johan Trøan Sømåen
2013-10-01WINTERMUTE: Clean up byte/char casts in loading/parsingWillem Jan Palenstijn
2013-09-21WINTERMUTE: Make some members of UIObject privateTobia Tesan
2013-09-21WINTERMUTE: Keep attributes in UIWindow privateTobia Tesan
2013-08-13WINTERMUTE: Be explicit when storing Floats in savegames.Einar Johan Trøan Sømåen
2013-08-04WINTERMUTE: Fix end of namespace comments.Johannes Schickel
2013-07-31WINTERMUTE: Add hack to allow language-selection in James Peris demo.Einar Johan Trøan Sømåen
2013-07-31WINTERMUTE: Let engine know both gameid and language of target as well as ↵Einar Johan Trøan Sømåen
targetname.
2013-07-14JANITORIAL: Remove trailing whitespaceSven Hesse
2013-05-23WINTERMUTE: Fix erroneous _gameRef in BaseQuickMSGEinar Johan T. Sømåen
CID 1002323
2013-04-20WINTERMUTE: Further reduce the amount of int->int32-confusion.Einar Johan Trøan Sømåen
2013-04-20WINTERMUTE: Fix a few more int->int32's spotted by fuzzie.Einar Johan Trøan Sømåen
2013-04-19WINTERMUTE: Rename transfer(void *) to transferPtr(void *) to avoid ↵Einar Johan Trøan Sømåen
overload-misses.
2013-04-18WINTERMUTE: Use int32 instead of int in classes.Einar Johan Trøan Sømåen
2013-04-18WINTERMUTE: Split the timers from BaseGame into a separate class.Einar Johan Trøan Sømåen
2013-04-17WINTERMUTE: Protect more members in BaseRenderer.Einar Johan Trøan Sømåen
2013-04-17WINTERMUTE: Constify _width and _height in BaseRenderer.Einar Johan Trøan Sømåen
2013-04-17WINTERMUTE: Increase const-usage.Einar Johan Trøan Sømåen
2013-04-17WINTERMUTE: Rename base_save_thumb_helper.cpp to match class-hierarchy.Einar Johan Trøan Sømåen
2013-04-17WINTERMUTE: Detach BaseSaveThumbHelper from inheritance tree.Einar Johan Trøan Sømåen
2013-04-17WINTERMUTE: Move settings from BaseGame to separate struct.Einar Johan Trøan Sømåen
2013-04-17WINTERMUTE: Replace strcat with strlcat in BaseGame::displayDebugInfoEinar Johan Trøan Sømåen
2013-04-17WINTERMUTE: Use strlcat/strlcpy in BaseGame::setWindowTitleEinar Johan Trøan Sømåen
2013-04-15WINTERMUTE: Fix warnings and improve const-correctnessWillem Jan Palenstijn
2013-02-06WINTERMUTE: Get rid of BaseImage.h inclusion in BaseGame.Einar Johan Trøan Sømåen
2013-01-31WINTERMUTE: Redo the way floats are saved, break savegame compatibility with ↵Einar Johan Trøan Sømåen
WME Lite completely. (This also breaks compatibility with savegames from ScummVM prior to this commit, AND resets the Savegame-version, older savegames will have differing MAGIC-numbers in their headers, and will thus not be recognized).
2013-01-26WINTERMUTE: Replace all NULLs with nullptr.Einar Johan Trøan Sømåen
2013-01-22WINTERMUTE: Guard ConfMan a bit better.Einar Johan Trøan Sømåen
2012-12-09WINTERMUTE: Fix a gcc warningMatthew Hoops
2012-12-09WINTERMUTE: Mark savedGameExt and localSaveDir for eventual removal.Einar Johan Trøan Sømåen