aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/ad/ad_game.cpp
AgeCommit message (Collapse)Author
2020-01-11WINTERMUTE: Add FoxTail item methodslolbot-iichan
FoxTail have flexible cursor settings system that require things like toggling visability of inventory items.
2019-11-14WINTERMUTE: Fix Missing Default Switch CasesD G Turner
These are flagged by GCC if -Wswitch-default is enabled.
2019-07-02WINTERMUTE: Fix slider bugs in several gameslolbot-iichan
There is a bug introduced in WME Lite. Testcase: 1. Download https://github.com/lolbot-iichan/wme_testsuite/tree/master/slider_test/packages 2. Download https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/wmelite/wmelite_10_win.zip 3a. Run game.exe -> Slider moves with the mouse while it is pressed and released when mouse is released 3b. Run wmelite.exe -> Slider is never released 3c. Run ScummVM -> Slider is never released Related bugs: https://bugs.scummvm.org/ticket/6567 https://bugs.scummvm.org/ticket/9861 Reason: slider is a button object that changes it's X until "LeftRelease" event is revieved and breaks the endless loop. Sample code: https://github.com/lolbot-iichan/wme_testsuite/blob/master/slider_test/data/interface/system/speechvolume.script However, WME Lite does not send "LeftRelease" events to any objects, if Game object can handle such event, even is game is frozen and UI is shown. Original code: https://github.com/lolbot-iichan/Wintermute-Engine/blob/master/src/engine_core/wme_ad/AdGame.cpp#L2218 Changed in WME Lite: https://github.com/lolbot-iichan/wmelite/blob/master/src/AdGame.cpp#L2120 This behaviour was introduced in SVN period of wmelite, I believe it was made on purpose for handling some iOS scenarios at commit #37 mentioned on page https://code.google.com/archive/p/wmelite/source/default/commits My proposal is to mark iOS apps as WME_LITE and fill exact WME_1_X_X/WME_LITE versions for all known games. WME_1_X_X can be seen by right-clicking on main executable and seems to be non-empty for almost all existing WME games.
2016-02-29WINTERMUTE: Add debuggerToStringTobia Tesan
2015-11-27WINTERMUTE: More sanity checksEugene Sandulenko
2014-02-18WINTERMUTE: Make GPL headers consistent in themselves.Johannes Schickel
2013-11-05WINTERMUTE: Transfer Char* explicitly when saving/loading.Einar Johan Trøan Sømåen
2013-11-05WINTERMUTE: Transfer Sint32s explicitly when saving/loading.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-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-08-04WINTERMUTE: Fix end of namespace comments.Johannes Schickel
2013-04-19WINTERMUTE: Rename transfer(void *) to transferPtr(void *) to avoid ↵Einar Johan Trøan Sømåen
overload-misses.
2013-04-18WINTERMUTE: Constify AdResponse/AdResponseBox/AdResponseContext.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: Move settings from BaseGame to separate struct.Einar Johan Trøan Sømåen
2013-01-26WINTERMUTE: Replace all NULLs with nullptr.Einar Johan Trøan Sømåen
2013-01-26WINTERMUTE: Replace a few NULLs with nullptr.Einar Johan Trøan Sømåen
2012-12-09WINTERMUTE: Privatize members in AdSceneStateEinar Johan Trøan Sømåen
2012-12-09WINTERMUTE: Privatize members of AdResponseBoxEinar Johan Trøan Sømåen
2012-09-29WINTERMUTE: Make scGetProperty use Common::String& instead of const char*Einar Johan Trøan Sømåen
2012-09-11WINTERMUTE: Only include base_renderer.h where neededEinar Johan Trøan Sømåen
2012-09-04WINTERMUTE: Convert CRLF to LFWillem Jan Palenstijn
2012-08-31WINTERMUTE: Replace col_templ's getSize with Common::Array::size()Einar Johan Trøan Sømåen
2012-08-13WINTERMUTE: WinterMute -> WintermuteEinar Johan Trøan Sømåen
2012-07-29WINTERMUTE: Separate out SaveGame-code from BaseGameEinar Johan Trøan Sømåen
2012-07-29WINTERMUTE: Introduce a Singleton-class for holding registry/filemanager.Einar Johan Trøan Sømåen
2012-07-27WINTERMUTE: Constructor(args): SuperClass(args) -> Constructor(args) : ↵Einar Johan Trøan Sømåen
SuperClass(args)
2012-07-27WINTERMUTE: Move settings-files to save-dir (gzipped xml now)Einar Johan Trøan Sømåen
2012-07-26WINTERMUTE: More variable/function renaming VarName->varNameEinar Johan Trøan Sømåen
2012-07-26WINTERMUTE: var_name -> varNameEinar Johan Trøan Sømåen
2012-07-26WINTERMUTE: Replace BaseArray with a templated subclass of Common::Array.Einar Johan Trøan Sømåen
This needs additional cleanup, but compiles and runs at this point.
2012-07-26WINTERMUTE: Run Astyle with add-braces to break one-line statements into ↵Einar Johan Trøan Sømåen
easier-to-read-code.
2012-07-25WINTERMUTE: "if(" -> "if ("Einar Johan Trøan Sømåen
2012-07-25WINTERMUTE: "delete []" -> "delete[]"Einar Johan Trøan Sømåen
2012-07-23WINTERMUTE: Encapsulate and distance BasePersistenceManager from Base.Einar Johan Trøan Sømåen
2012-07-23WINTERMUTE: Remove dcgf.h from almost all includes.Einar Johan Trøan Sømåen
2012-07-23WINTERMUTE: Remove unused code from platform_osystem.hEinar Johan Trøan Sømåen
2012-07-22WINTERMUTE: Wrap _name in base_named_object in getters/setters.Einar Johan Trøan Sømåen
2012-07-22WINTERMUTE: Wrap away base_script_holder's _filename field in ↵Einar Johan Trøan Sømåen
getters/setters, avoiding direct writes.
2012-07-22WINTERMUTE: Avoid opening files when checking hasFile()Einar Johan Trøan Sømåen
2012-07-21WINTERMUTE: Get rid of the C-prefix for class-definitions.Einar Johan Trøan Sømåen
2012-07-21WINTERMUTE: Rename CamelCased filenames to prefixed_under_score-filenamesEinar Johan Trøan Sømåen
This is mostly a lead-up to namespacing the Ad/Base folders, and then possibly removing the prefixes from the files, it also has the added benefit of getting rid of the odd case-typos that makes for issues on platforms that don't ignore case.