Age | Commit message (Collapse) | Author |
|
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
|
|
|
|
|
|
|
|
|
|
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.
|
|
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.
|
|
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
|
|
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]; }
|
|
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
|
|
|
|
|
|
* WINTERMUTE: Flush ConfMan to disk
|
|
vKeyToKeyCode() method was unsafe if vkey >= KEYSTATES_ARRAY_SIZE was
provided, fixed
|
|
some keypresses were producing warnings because key codes were not
listed in
mappings, added more key codes
|
|
_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
|
|
|
|
|
|
|
|
Fixes Trac#10533
|
|
|
|
|
|
|
|
|
|
This reverts commit eefa72afa1978a9dea10f5b1833fcc8f58a3468e.
With this patch ConfigManager is broken.
|
|
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.
|
|
|
|
WINTERMUTE: Fix PathUtils and add workaround for mixed separators
|
|
|
|
Fixes #7068
|
|
|
|
|
|
WINTERMUTE: Log warning if addSound is called with empty filename
|
|
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?
|
|
Change the way that EXTENDED_DEBUGGER_ENABLED is checked. The way it
was used, it triggered a fatal error C1017
|
|
|
|
WME: Debugger for WME, 2016 rewrite
|
|
|
|
WINTERMUTE: Correctly find .ogg version of .wav files
|
|
|
|
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
|
|
|
|
WINTERMUTE: Rewrite absolute prefix workarounds block with loop
|
|
|
|
WINTERMUTE: Return Common::String in getGameTargetName()
|
|
|
|
|
|
|
|
Avoids an if() block that is getting longer
|
|
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.
|