aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/ad
AgeCommit message (Collapse)Author
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.
2018-08-17JANITORIAL: Removing trailing spaces after int castsPaul Gilbert
2016-02-29WINTERMUTE: Add debuggerToStringTobia Tesan
2016-02-15JANITORIAL: Typos detected with lintian & grepAlexandre Detiste
2015-11-27WINTERMUTE: More sanity checksEugene Sandulenko
2014-02-18WINTERMUTE: Make GPL headers consistent in themselves.Johannes Schickel
2014-02-11WINTERMUTE: Prevent scripts from setting invalid scroll timesFilippos Karapetis
Scroll times (ScrollSpeedX, ScrollSpeedY) can't be zero, as this leads to a division by zero later on. This allows Dreamscape to start and work properly.
2013-11-05WINTERMUTE: Transfer Common::Strings explicitly when saving/loading.Einar Johan Trøan Sømåen
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-11-05WINTERMUTE: Transfer Uint32s explicitly when saving/loading.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 Doubles explicitly when saving/loading.Einar Johan Trøan Sømåen
2013-10-29WINTERMUTE: Transfer Point32s explicitly when saving/loading.Einar Johan Trøan Sømåen
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-28WINTERMUTE: Change BaseObject::getHeight() to return int32 instead of int.Einar Johan Trøan Sømåen
2013-10-03WINTERMUTE: Add missing breakWillem Jan Palenstijn
Confirmed by Mnemonic.
2013-10-01WINTERMUTE: Clean up byte/char casts in loading/parsingWillem Jan Palenstijn
2013-09-30WINTERMUTE: Fix compiler warningsEugene Sandulenko
2013-09-21WINTERMUTE: s/put/set/ in settersTobia Tesan
2013-09-21WINTERMUTE: add UIButton::setTextAlignTobia Tesan
2013-09-21WINTERMUTE: Make sprites private in UIButtonTobia Tesan
2013-09-21WINTERMUTE: Setters/getters for UIButtonTobia Tesan
2013-09-21WINTERMUTE: Avoid feeding setWidth negative valuesTobia Tesan
2013-09-21WINTERMUTE: Add getListener()Tobia Tesan
2013-09-21WINTERMUTE: Make some members of UIObject 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-14JANITORIAL: Remove trailing whitespaceSven Hesse
2013-04-21WINTERMUTE: Fix the final int->int32 to allow AmigaOS4-compile.Einar Johan Trøan Sømåen
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: Change more int's to int32s.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: Add 'override' to most Script-related functions.Einar Johan Trøan Sømåen
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-18WINTERMUTE: Constify AdRotLevelEinar Johan Trøan Sømåen
2013-04-18WINTERMUTE: Constify AdResponse/AdResponseBox/AdResponseContext.Einar Johan Trøan Sømåen
2013-04-17WINTERMUTE: Add more const to AdResponseBoxEinar 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-04-17WINTERMUTE: Use strlcpy instead of strcpy in AdScene::loadBuffer()Einar Johan Trøan Sømåen
2013-04-17WINTERMUTE: Avoid passing BasePoint by value in Scene::getPath()Einar Johan Trøan Sømåen
2013-04-17WINTERMUTE: Avoid passing BasePoint by-valueEinar Johan Trøan Sømåen
2013-04-17WINTERMUTE: Avoid passing BasePoint by value.Einar Johan Trøan Sømåen
2013-02-06WINTERMUTE: Privatize a few more members in BaseGame.Einar Johan Trøan Sømåen