aboutsummaryrefslogtreecommitdiff
path: root/engines/wintermute/base
AgeCommit message (Collapse)Author
2019-06-25WINTERMUTE: Add workaround for sprite glitch at Rosemary gamelolbot-iichan
This kind of fixes https://bugs.scummvm.org/ticket/6572 WME: Rosemary - Sprite flaw on going upwards Some Rosemary sprites have non-fully transparent background pixels, sprites of walking up has LOTS of them. Testing Rosemary walking character in a test WME game demonstrates some glitches with original WME as well. However, character sprite is downscaled most of time, and with original WME it isn't that seen when sprite is downscaled. This pull request provides a workaround for this case instead of changing downscaling algorithms: * if game ID is "rosemary" * if loaded sprite is from "actors" folder * if bytesPerPixel is 4 * if some pixel's alpha is between 1 and 15 * set this pixel's alpha to 0
2019-06-25WINTERMUTE: Add comments + warning() for IsKeyDown() methodlolbot-iichan
2019-06-25WINTERMUTE: Add more details in openDiskFile() commentlolbot-iichan
2019-06-25WINTERMUTE: Add debugN + comment for getNumScripts()lolbot-iichan
2019-06-25WINTERMUTE: Support even more keycodes at IsKeyDown()lolbot-iichan
2019-06-25WINTERMUTE: Handle enum in GetNumScriptslolbot-iichan
This code is used only in debug mode and only to display some script counters. States are handled in the very same way in WME Lite, so there is no reason to log tons of warning here.
2019-06-25WINTERMUTE: Fix IsKeyDown to work with ASCIIlolbot-iichan
Tanya Grotter series has a cheat, that is triggered with (Keyboard.IsKeyDown("A") && Keyboard.IsControl && Keyboard.IsAlt && Game.DebugMode) condition. vKeyToKeyCode(97) would produce a warning message, fixed this.
2019-06-25WINTERMUTE: Hardcode known path prefix for tanya2lolbot-iichan
Missing path is "d:\engine\ТГ2\tg_ie_080128_1005\data\interface\pixel\pixel.png" from scenes\code\episode_01\scene_comics_1\scene_comics_1.scene
2019-06-18WINTERMUTE: Fix Split() method of ext_stringlolbot-iichan
It's hard to believe, but this fixes bug "#10432" WME Carol Reed Mysteries hint system not working. Carol Reed hint system happen to heavily use line.Split(";") results, which were wrong by 1 byte (delimeter was appended to result while it shouldn't be). I started with decompiling Carol Reed source code, reproducing issue with a stand-alone test project (which worked with WME and showed [null] with ScummVM). then minimized it to a minimal testcase: var line = new String("New Goal;Visit Christina at the Art Museum;1;0;S;;"); var ar = line.Split(";"); if((ar[0] == "New Goal")) { var g = ar[1]; }
2019-06-06WINTERMUTE: Show warning on running 2.5D gameslolbot-iichan
This is shown for the 2 games added in 0d8834b5616aa8fc936c750ed92ef4423610d641, as both of them use ACTOR3DX entities, i.e. 3D models, which are not supported in ScummVM
2019-05-18WINTERMUTE: Fix fill rect area on endSaveLoad()lolbot-iichan
2018-12-25WINTERMUTE: Attempt to load fallback fonts from fonts.datCameron Cawley
2018-09-16WINTERMUTE: Flush ConfMan to disk on every change (#1314)lolbot-iichan
* WINTERMUTE: Flush ConfMan to disk
2018-08-23WINTERMUTE: Check keyboard state array indexlolbot-iichan
vKeyToKeyCode() method was unsafe if vkey >= KEYSTATES_ARRAY_SIZE was provided, fixed
2018-08-23WINTERMUTE: Support more key codes for mappinglolbot-iichan
some keypresses were producing warnings because key codes were not listed in mappings, added more key codes
2018-08-23WINTERMUTE: Fix printable flag for keyboard statelolbot-iichan
_currentPrintable was set depending on _currentCharCode, which is 112 for both F1 and 'p' keys, fixed after detailed research on which keys should be considered printable
2018-07-03WINTERMUTE: Use degree conversion common math funcsDavid Fioramonti
2018-05-20WINTERMUTE: Update deg2rad usageDavid Fioramonti
2018-05-19WINTERMUTE: Properly fix handling of Ogg Vorbis resourcesAdrian Frühwirth
2018-05-19WINTERMUTE: Fix loading Vorbis filesCameron Cawley
Fixes Trac#10533
2018-05-17WINTERMUTE: Add flag for games using low-spec resources.JenniBee
2018-05-01WINTERMUTE: Push down the AD includesBastien Bouclet
2018-04-19JANITORIAL: Fix whitespaceAdrian Frühwirth
2018-04-15JANITORIAL: Indent GFXTransaction code blocksAdrian Frühwirth
2017-07-10Revert "COMMON: Change way the Singleton instances are instantiated"Eugene Sandulenko
This reverts commit eefa72afa1978a9dea10f5b1833fcc8f58a3468e. With this patch ConfigManager is broken.
2017-07-10COMMON: Change way the Singleton instances are instantiatedThierry Crozat
This fixes tons of warnings with clang from a recent xcode version on macOS (and possibly other systems) complaining that an instantiation of _singleton is required but no definition is available.
2016-12-26WINTERMUTE: Fix references to TransparentSurface templatesEugene Sandulenko
2016-12-26Merge pull request #874 from tobiatesan/fix_getfilename_cr5Eugene Sandulenko
WINTERMUTE: Fix PathUtils and add workaround for mixed separators
2016-12-26WINTERMUTE: Use PathUtil::normalizeFileName in correctSlashesTobia Tesan
2016-12-26WINTERMUTE: Don't mix different path separators.Ryper_Zsolt
Fixes #7068
2016-12-26WINTERMUTE: Call BILINEAR/NEAREST rotoscale and scale according to game optionTobia Tesan
2016-12-26WINTERMUTE: Add _bilinearFiltering attribute to BaseGameTobia Tesan
2016-11-12Merge pull request #732 from tobiatesan/fix_6594Eugene Sandulenko
WINTERMUTE: Log warning if addSound is called with empty filename
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-07-24WINTERMUTE: Fix compilationEugene Sandulenko
2016-07-24Merge pull request #687 from tobiatesan/wme_debugger_rewriteEugene Sandulenko
WME: Debugger for WME, 2016 rewrite
2016-05-08WINTERMUTE: Add missing parameterEugene Sandulenko
2016-04-23Merge pull request #728 from tobiatesan/fix_oggEinar Johan Trøan Sømåen
WINTERMUTE: Correctly find .ogg version of .wav files
2016-04-01WINTERMUTE: Log warning if addSound is called with empty filenameTobia Tesan
2016-03-30WINTERMUTE: Correctly find .ogg version of .wav filesTobia Tesan
As it was, it didn't reliably work across platforms because it turned some\\windows\\path.wav into some/system/pathogg Note no "." before "ogg"; also since we use the new filename to search for the file inside DCPs, which use Windows naming, we don't want system-specific path format. Fixes #7088
2016-03-24WINTERMUTE: Make wintermute games show the right save dateMartin Kennedy
2016-03-06Merge pull request #696 from tobiatesan/fix_7067_broken_absEugene Sandulenko
WINTERMUTE: Rewrite absolute prefix workarounds block with loop
2016-03-06WINTERMUTE: Actually use new BasePersistenceManager constructorWillem Jan Palenstijn
2016-03-06Merge pull request #691 from tobiatesan/common_string_targetEugene Sandulenko
WINTERMUTE: Return Common::String in getGameTargetName()
2016-03-06WINTERMUTE: Use Common::String in arg for initSaveTobia Tesan
2016-03-06WINTERMUTE: Use Common::String in BasePersistenceManager-ctorTobia Tesan
2016-03-06WINTERMUTE: Use C strings in absolute path workaround arrayTobia Tesan
2016-03-06WINTERMUTE: Use array to store known broken absolute pathsTobia Tesan
Avoids an if() block that is getting longer
2016-03-05WINTERMUTE: Add fallback for hardcoded absolute path in carolreed5Tobia Tesan
Carol Reed 5 (the full game, data.dcp hash 27b3efc018ade5ee8f4adf08b4e3c0dd) refers to the absolute path "f:\dokument\spel 5\demo\data\scenes\credits\op_cred_00\op_cred_00.jpg" Appears to fix bug #7067.