Eugene Sandulenko
940b2a20f1
Revert "COMMON: Change way the Singleton instances are instantiated"
...
This reverts commit eefa72afa1978a9dea10f5b1833fcc8f58a3468e.
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
Einar Johan Trøan Sømåen
952d632b9c
Merge pull request #635 from jammm/master
...
WINTERMUTE: Add more keyboard mappings, fix console warnings.
2015-12-21 19:38:58 +01:00
Bastien Bouclet
2d86f6da9c
GRAPHICS: Introduce a size mode for TrueType fonts
...
Allows to match Windows font size selection by converting font heights
to point sizes using the TrueType tables.
2015-12-21 18:41:14 +01:00
jammm
d090057f1f
WINTERMUTE: Add more keyboard mappings, fix console warnings.
...
Add mappings for numpad keys, tab, pause and backspace.
Suppressed unnecessary warnings for keys that are text-input.
2015-12-21 20:20:56 +05:30
Eugene Sandulenko
401518a3dc
WINTERMUTE: Proper place for pointer check
2015-11-27 22:57:23 +01:00
Torbjörn Andersson
b8caa07ddb
WINTERMUTE: Fix mismatched free/delete Valgrind warning
...
The memory stream class uses free() to free memory, so we have to
use malloc(), not new, to allocate it.
2015-11-04 21:19:42 +01:00
Willem Jan Palenstijn
c37997aaf8
WINTERMUTE: Remove unused function
...
It calls itself, and is declared pure virtual. Thanks salty-horse.
2015-10-24 22:19:10 +02:00
Willem Jan Palenstijn
d07de8ca70
WINTERMUTE: Fix typo
2015-07-12 18:50:22 +02:00
Einar Johan Trøan Sømåen
2fa47e2efd
Merge pull request #587 from jammm/scummvm_local
...
WINTERMUTE: Added mappings for VKeyCodes->ScummVM KeyCodes
2015-02-24 23:33:57 +01:00
jammm
320139760c
WINTERMUTE: Add mappings for VKeyCodes->ScummVM KeyCodes
...
Fix bug #6654 (white chamber - some keys don't work)
Wintermute games on ScummVM used ScummVM keycodes for keyboard mapping,
whereas the game scripts only accepted Windows VKeyCodes. Therefore an initial
set of mappings are added and the debug room is now loading properly, when
HOME is pressed (Rest of the keys need to be tested in-game)
2015-02-24 23:04:09 +05:30
jammm
6ca8d22fb1
WINTERMUTE: Fixed parentFolder name check when testing for "language"/"languages", Fix bug #6655 (Dead City - hotspot text issue)
...
Fixed Wintermute incorretly parsing folder names with trailing \
(Windows-only issue)
It seems that calling getParent returns trailing '\' which is absent on POSIX based file systems but not on Windows. This causes Wintermute to load outline_red2.font from russian.dcp, which is not desired. This is fixed by calling it->getName() directly, which returns the folder name (without the trailing '\').
2015-02-22 02:54:45 +05:30
Einar Johan Trøan Sømåen
784241c17b
Merge pull request #437 from tobiatesan/wme_subtitles
...
WME Subtitles
2014-11-05 20:22:34 +01:00