lolbot-iichan
e97b1e560d
WINTERMUTE: Check keyboard state array index
...
vKeyToKeyCode() method was unsafe if vkey >= KEYSTATES_ARRAY_SIZE was
provided, fixed
2018-08-23 11:33:13 +02:00
lolbot-iichan
52b4206771
WINTERMUTE: Support more key codes for mapping
...
some keypresses were producing warnings because key codes were not
listed in
mappings, added more key codes
2018-08-23 11:33:13 +02:00
lolbot-iichan
20816b9f90
WINTERMUTE: Fix printable flag for keyboard state
...
_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-08-23 11:33:13 +02:00
David Fioramonti
8e1f712327
WINTERMUTE: Use degree conversion common math funcs
2018-07-03 23:08:48 +01:00
David Fioramonti
1606d6688d
WINTERMUTE: Update deg2rad usage
2018-05-20 11:21:06 +01:00
Adrian Frühwirth
98067b0fe6
WINTERMUTE: Properly fix handling of Ogg Vorbis resources
2018-05-19 21:03:15 +02:00
Cameron Cawley
d022572f16
WINTERMUTE: Fix loading Vorbis files
...
Fixes Trac#10533
2018-05-19 16:31:57 +00:00
JenniBee
5090b6cbbb
WINTERMUTE: Add flag for games using low-spec resources.
2018-05-17 18:08:18 +00:00
Bastien Bouclet
ae6b0cfdef
WINTERMUTE: Push down the AD includes
2018-05-01 12:48:05 +02:00
Adrian Frühwirth
9bee9e1ba6
JANITORIAL: Fix whitespace
2018-04-19 12:08:31 +02:00
Adrian Frühwirth
cf96f3f709
JANITORIAL: Indent GFXTransaction code blocks
2018-04-15 16:45:25 +02:00
Eugene Sandulenko
940b2a20f1
Revert "COMMON: Change way the Singleton instances are instantiated"
...
This reverts commit eefa72afa1 .
With this patch ConfigManager is broken.
2017-07-10 21:17:41 +02:00
Thierry Crozat
eefa72afa1
COMMON: Change way the Singleton instances are instantiated
...
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.
2017-07-10 21:11:20 +02:00
Eugene Sandulenko
f1dd84fdf8
WINTERMUTE: Fix references to TransparentSurface templates
2016-12-26 18:54:44 +01:00
Eugene Sandulenko
8477c4beb2
Merge pull request #874 from tobiatesan/fix_getfilename_cr5
...
WINTERMUTE: Fix PathUtils and add workaround for mixed separators
2016-12-26 16:15:38 +01:00
Tobia Tesan
a14d3865ad
WINTERMUTE: Use PathUtil::normalizeFileName in correctSlashes
2016-12-26 15:09:34 +01:00
Ryper_Zsolt
257d7e8fe0
WINTERMUTE: Don't mix different path separators.
...
Fixes #7068
2016-12-26 15:09:16 +01:00
Tobia Tesan
b7bd199193
WINTERMUTE: Call BILINEAR/NEAREST rotoscale and scale according to game option
2016-12-26 12:29:06 +01:00
Tobia Tesan
42531fb71a
WINTERMUTE: Add _bilinearFiltering attribute to BaseGame
2016-12-26 12:20:56 +01:00
Eugene Sandulenko
915c6bff2e
Merge pull request #732 from tobiatesan/fix_6594
...
WINTERMUTE: Log warning if addSound is called with empty filename
2016-11-12 12:13:47 +01:00
Einar Johan Trøan Sømåen
d077fc0fc7
WINTERMUTE: Change in-engine thumbnail-defaults.
...
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-10-07 01:35:17 +02:00
Filippos Karapetis
f629a32819
WINTERMUTE: Fix compilation with MSVC
...
Change the way that EXTENDED_DEBUGGER_ENABLED is checked. The way it
was used, it triggered a fatal error C1017
2016-08-22 13:06:20 +03:00
Eugene Sandulenko
04c0b7360c
WINTERMUTE: Fix compilation
2016-07-24 23:09:43 +03:00
Eugene Sandulenko
5f6c79db03
Merge pull request #687 from tobiatesan/wme_debugger_rewrite
...
WME: Debugger for WME, 2016 rewrite
2016-07-24 23:03:19 +03:00
Eugene Sandulenko
1b24079f71
WINTERMUTE: Add missing parameter
2016-05-08 23:25:16 +02:00
Einar Johan Trøan Sømåen
7af4a1a05f
Merge pull request #728 from tobiatesan/fix_ogg
...
WINTERMUTE: Correctly find .ogg version of .wav files
2016-04-23 11:42:33 +02:00
Tobia Tesan
cbd5946ad8
WINTERMUTE: Log warning if addSound is called with empty filename
2016-04-01 15:25:27 +02:00
Tobia Tesan
0cfd058943
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
2016-03-30 18:35:05 +02:00
Martin Kennedy
1320f25aaa
WINTERMUTE: Make wintermute games show the right save date
2016-03-24 22:18:06 -04:00
Eugene Sandulenko
0a07ef2361
Merge pull request #696 from tobiatesan/fix_7067_broken_abs
...
WINTERMUTE: Rewrite absolute prefix workarounds block with loop
2016-03-06 12:28:20 +01:00
Willem Jan Palenstijn
dba38332d1
WINTERMUTE: Actually use new BasePersistenceManager constructor
2016-03-06 12:26:57 +01:00
Eugene Sandulenko
d60e4eee3f
Merge pull request #691 from tobiatesan/common_string_target
...
WINTERMUTE: Return Common::String in getGameTargetName()
2016-03-06 12:21:15 +01:00
Tobia Tesan
9222038a16
WINTERMUTE: Use Common::String in arg for initSave
2016-03-06 12:00:05 +01:00
Tobia Tesan
97dc2a22c4
WINTERMUTE: Use Common::String in BasePersistenceManager-ctor
2016-03-06 11:47:24 +01:00
Tobia Tesan
891986fd2b
WINTERMUTE: Use C strings in absolute path workaround array
2016-03-06 11:36:49 +01:00
Tobia Tesan
5ad4eca257
WINTERMUTE: Use array to store known broken absolute paths
...
Avoids an if() block that is getting longer
2016-03-06 11:36:46 +01:00
Tobia Tesan
83f921fa80
WINTERMUTE: Add fallback for hardcoded absolute path in carolreed5
...
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 .
2016-03-05 22:19:53 +01:00
Tobia Tesan
f29229c0a6
WINTERMUTE: Return Common::String in getGameTargetName()
2016-03-05 20:41:19 +01:00
Tobia Tesan
cd5229bc73
WINTERMUTE: Remember to delete watch instances
2016-03-01 20:40:46 +01:00
Tobia Tesan
bf9865ebbb
WINTERMUTE: Do not delete a pointer we do not own in resolveName
2016-03-01 20:40:46 +01:00
Tobia Tesan
a120aa8559
WINTERMUTE: Add Watch functionality
2016-03-01 20:40:46 +01:00
Tobia Tesan
dae732814c
WINTERMUTE: Add name resolution to DebuggableScript
2016-03-01 20:40:45 +01:00
Tobia Tesan
cf3887d1d2
WINTERMUTE: Add DebuggerController
2016-03-01 20:40:45 +01:00
Tobia Tesan
06021d1aab
WINTERMUTE: Add post instruction hook to DebuggableScript
2016-02-29 14:51:58 +01:00
Tobia Tesan
d4f94b7d19
WINTERMUTE: Add DebuggableScript and DebuggableScriptEngine classes
...
These extend the script engine and allow for monitoring and adding
pre/post instruction hooks
2016-02-29 11:36:53 +01:00
Tobia Tesan
fb3a8f7899
WINTERMUTE: Init _ready in BaseScriptHolder
2016-02-29 11:13:41 +01:00
Tobia Tesan
4e9b113f3f
WINTERMUTE: Add debuggerToString
2016-02-29 11:13:38 +01:00
Tobia Tesan
cd5d60e44c
WINTERMUTE: Make _operand protected in script.h
2016-02-29 00:28:05 +01:00
Tobia Tesan
04a96689c2
WINTERMUTE: Remove dead code from vestigial remnants of WME debugger
2016-02-29 00:28:05 +01:00
Tobia Tesan
a4b3131209
WINTERMUTE: Fix order of arguments in sprite rotation
2016-02-23 22:49:40 +01:00