Commit Graph

1149 Commits

Author SHA1 Message Date
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
6f8075833f WINTERMUTE: Another fix for c++11 compilation 2016-07-24 23:15:44 +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
Hubert Maier
751bdc10b0 Fix Wintermute copyright sign 2016-05-29 15:16:05 +03:00
Eugene Sandulenko
33abb6118f ALL: Change main engine header guard defines to <directory>_<engine>_H
Recently we started to use this as new semantics, although in the past
we used simly <engine>_H. Now these guard defines are consistent with
rest of the files which are used in the engines.
2016-05-17 18:21:30 +02:00
Eugene Sandulenko
8156201f28 WINTERMUTE: Remove redundant check.
If new() was unsuccessful, then we should bail out immediately,
but we always assume we have enough memory for ScummVM.
2016-05-14 11:48:33 +02: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
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
Johannes Schickel
3aecd8ef2a ENGINES: Make variable names of ADGameDescription conform to our guidelines.
gameid     -> gameId
guioptions -> guiOptions
2016-03-08 19:01:38 +01:00
Johannes Schickel
0b6befdcc5 ENGINES: Make variable names of AdvancedMetaEngine conform to our guidelines.
_singleid   -> _singleId
_gameids    -> _gameIds
_guioptions -> _guiOptions
2016-03-08 19:01:13 +01: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
Eugene Sandulenko
e4ffc1b695 Merge pull request #692 from tobiatesan/cr5
WINTERMUTE: Add detection entry for Carol Reed 5 Demo
2016-03-06 01:56:21 +01:00
Eugene Sandulenko
4adb1e7548 Merge pull request #693 from tobiatesan/cr4_demo
WINTERMUTE: Remove ADGF_DEMO flag from non-demo carolreed4 detection
2016-03-06 01:55:37 +01:00
Eugene Sandulenko
fc3f6fa13e Merge pull request #695 from tobiatesan/fix_7067_a
WINTERMUTE: Add workaround for bug #7067
2016-03-06 01:34:34 +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
2c4bf8aebd WINTERMUTE: Remove ADGF_DEMO flag from non-demo carolreed4 entry 2016-03-05 21:05:34 +01:00
Tobia Tesan
d6c772c4de WINTERMUTE: Add detection entry for Carol Reed 5 Demo 2016-03-05 20:46:43 +01:00
Tobia Tesan
f29229c0a6 WINTERMUTE: Return Common::String in getGameTargetName() 2016-03-05 20:41:19 +01:00
Eugene Sandulenko
23d74fddb4 CONFIGURE: Introduced new engine dependency: highres
Some backends like GCW0 do no support graphics >320x240 due to
the hardware limitation (downscaling is possible but it will ruin
the pixel hunting which is often part of the gameplay).

Instead of manually updating the list of engines, we now introduce
a new dependency.

I marked all relevant engines, but some, like tinsel, require more
work with putting their relevant high-res games under USE_HIGHRES
define.
2016-03-05 14:25:56 +01:00
Tobia Tesan
3724918626 WINTERMUTE: Pass const& in constructor for SourceListing 2016-03-01 20:40:46 +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
c94f8151e8 WINTERMUTE: Pass valid arguments to getLines 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
d5d25b0e89 WINTERMUTE: Add print and set commands to debugger 2016-03-01 20:40:45 +01:00
Tobia Tesan
dae732814c WINTERMUTE: Add name resolution to DebuggableScript 2016-03-01 20:40:45 +01:00
Tobia Tesan
de82216dff WINTERMUTE: Add source functionality in debugger 2016-03-01 20:40:45 +01:00
Tobia Tesan
4926cc7cff WINTERMUTE: Add CachedSourceListingProvider 2016-03-01 20:40:45 +01:00
Tobia Tesan
63e6473467 WINTERMUTE: Add BasicSourceListingProvider class 2016-03-01 20:40:45 +01:00
Tobia Tesan
cf3887d1d2 WINTERMUTE: Add DebuggerController 2016-03-01 20:40:45 +01:00
Tobia Tesan
8495039bf0 WINTERMUTE: Add BlankListingProvider class 2016-03-01 20:40:45 +01:00
Tobia Tesan
c36e29f1ad WINTERMUTE: Add BlankListing class 2016-03-01 20:40:45 +01:00
Tobia Tesan
c417ed9967 WINTERMUTE: Add SourceListing base class 2016-03-01 20:40:40 +01:00
Tobia Tesan
c5dc9a051e WINTERMUTE: Add SourceListingProvider abstract class 2016-03-01 19:41:03 +01:00
Tobia Tesan
e46000e2e2 WINTERMUTE: Add ListingProvider abstract class 2016-02-29 14:54:17 +01:00
Tobia Tesan
28fc37f529 WINTERMUTE: Add abstract class Listing 2016-02-29 14:52:43 +01:00
Tobia Tesan
06021d1aab WINTERMUTE: Add post instruction hook to DebuggableScript 2016-02-29 14:51:58 +01:00
Tobia Tesan
19267e0c5e WINTERMUTE: Add Breakpoint class 2016-02-29 14:51:55 +01:00
Tobia Tesan
8f82674eaf WINTERMUTE: Add ScriptMonitor abstract class 2016-02-29 14:49:32 +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
0dd0c3bea2 WINTERMUTE: Add Error class 2016-02-29 11:13:54 +01:00