diff options
author | Travis Howell | 2009-07-10 23:40:21 +0000 |
---|---|---|
committer | Travis Howell | 2009-07-10 23:40:21 +0000 |
commit | 0577bee93893a55be1b2a067ec18f3c8ad462358 (patch) | |
tree | fafa1dcfe20233fcd2be7bfd4483fb27f91503ca /engines | |
parent | 70c138651dc71f886a4314943c4e9a753dc44607 (diff) | |
parent | 272e9487aaab6119fd643c3443fddbdfedb2f73e (diff) | |
download | scummvm-rg350-0577bee93893a55be1b2a067ec18f3c8ad462358.tar.gz scummvm-rg350-0577bee93893a55be1b2a067ec18f3c8ad462358.tar.bz2 scummvm-rg350-0577bee93893a55be1b2a067ec18f3c8ad462358.zip |
Merged revisions 42322,42328,42345-42346,42354-42358 via svnmerge from
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk
........
r42322 | dreammaster | 2009-07-10 10:49:13 +1000 (Fri, 10 Jul 2009) | 1 line
Changed the status of the Tinsel engine to be enabled by default
........
r42328 | sev | 2009-07-10 18:40:44 +1000 (Fri, 10 Jul 2009) | 2 lines
Mention cruise support
........
r42345 | thebluegr | 2009-07-11 04:53:40 +1000 (Sat, 11 Jul 2009) | 1 line
Applied patch #2819665 - "SCI: cell palette fix for QfG3/SQ5/etc."
........
r42346 | sev | 2009-07-11 05:06:24 +1000 (Sat, 11 Jul 2009) | 2 lines
This is 1.0.0svn
........
r42354 | drmccoy | 2009-07-11 07:49:47 +1000 (Sat, 11 Jul 2009) | 1 line
Fixing mismatched delete
........
r42355 | drmccoy | 2009-07-11 08:11:36 +1000 (Sat, 11 Jul 2009) | 1 line
Mention the Gob savegame format change and change the version from 0.14.0 to 1.0.0 there too
........
r42356 | Hkz | 2009-07-11 08:13:27 +1000 (Sat, 11 Jul 2009) | 1 line
tinsel: proper detection entry for Discworld 1 Italian only CD
........
r42357 | wjpalenstijn | 2009-07-11 08:29:25 +1000 (Sat, 11 Jul 2009) | 4 lines
Recreate FSNode after calling checkPath since checkPath may
have created the directory the FSNode points to, invalidating
its cached metadata. In the future, it might be nice to add
a FSNode::rescan() function for this? This fixes #2793187 .
........
r42358 | sev | 2009-07-11 08:46:36 +1000 (Sat, 11 Jul 2009) | 5 lines
Restored several files after the version update.
.in files are THE sources, and have to be modified, not the files generated
from them.
........
svn-id: r42359
Diffstat (limited to 'engines')
-rw-r--r-- | engines/gob/video.cpp | 2 | ||||
-rw-r--r-- | engines/sci/gfx/gfx_resmgr.cpp | 2 | ||||
-rw-r--r-- | engines/tinsel/detection.cpp | 23 |
3 files changed, 26 insertions, 1 deletions
diff --git a/engines/gob/video.cpp b/engines/gob/video.cpp index f05ee8565f..98350af738 100644 --- a/engines/gob/video.cpp +++ b/engines/gob/video.cpp @@ -62,7 +62,7 @@ Font::Font(const byte *data) : _dataPtr(data) { } Font::~Font() { - delete _dataPtr; + delete[] _dataPtr; } uint8 Font::getCharWidth(uint8 c) const { diff --git a/engines/sci/gfx/gfx_resmgr.cpp b/engines/sci/gfx/gfx_resmgr.cpp index 9343b66cb8..ac48b74559 100644 --- a/engines/sci/gfx/gfx_resmgr.cpp +++ b/engines/sci/gfx/gfx_resmgr.cpp @@ -601,6 +601,8 @@ gfxr_view_t *GfxResManager::getView(int nr, int *loop, int *cel, int palette) { } if (!cel_data->data) { + if (!cel_data->palette) + cel_data->palette = view->palette->getref(); #ifdef CUSTOM_GRAPHICS_OPTIONS gfx_get_res_config(_options, cel_data); gfx_xlate_pixmap(cel_data, _driver->getMode(), _options->view_xlate_filter); diff --git a/engines/tinsel/detection.cpp b/engines/tinsel/detection.cpp index 3ca8adf30d..a3f921505a 100644 --- a/engines/tinsel/detection.cpp +++ b/engines/tinsel/detection.cpp @@ -163,6 +163,28 @@ static const TinselGameDescription gameDescriptions[] = { TINSEL_V1, }, + { // Italian CD with english speech and *.gra files. + // Note: It contains only italian subtitles, but inside english.txt + { + "dw", + "CD", + { + {"dw.gra", 0, "c8808ccd988d603dd35dff42013ae7fd", 781656}, + {"english.txt", 0, "15f0703f85477d7fab4280bf938b61c1", 237774}, + {"english.smp", 0, NULL, -1}, + {NULL, 0, NULL, 0} + }, + Common::IT_ITA, + Common::kPlatformPC, + ADGF_DROPLANGUAGE, + GUIO_NONE + }, + GID_DW1, + 0, + GF_CD | GF_USE_4FLAGS | GF_ENHANCED_AUDIO_SUPPORT, + TINSEL_V1, + }, + { // Multilingual CD with english speech and *.gra files. // Note: It contains no english subtitles. { @@ -187,6 +209,7 @@ static const TinselGameDescription gameDescriptions[] = { GF_CD | GF_USE_4FLAGS | GF_ENHANCED_AUDIO_SUPPORT, TINSEL_V1, }, + { { "dw", |