Commit Graph

71855 Commits

Author SHA1 Message Date
Paul Gilbert
9c7569b74b ACCESS: Changed engine to use Graphics::ManagedSurface 2016-03-14 20:56:25 -04:00
Paul Gilbert
433a2daa6a GRAPHICS: Added ManagedSurface and Screen classes 2016-03-14 20:56:14 -04:00
Colin Snover
7105fb23a8 SCI32: Use correct name of kCantBeHere kernel function
Only updating SCI32 names here due to not knowing about the
correctness of the SCI16 code.
2016-03-10 18:31:10 -06:00
Colin Snover
41b3d9ff46 SCI32: Use separate function for SCI32 version of kCantBeHere
Requested by @m-kiewitz.
2016-03-10 18:28:53 -06:00
Colin Snover
ac403ac746 SCI32: Clean up debug messages in GfxFrameout
Error messages now contain the name of the failed function and
plane/screen item information that can be used to look up the
plane/screen item in a debugger, if the games ever crash in a
release in this code, per suggestion by @m-kiewitz.

Commented out messages that were used during the rearchitecture of
the main graphics engine are also removed, since that code is stable
now.
2016-03-10 18:28:53 -06:00
Colin Snover
8dea740086 SCI32: Implement kMovePlaneItems 2016-03-10 18:28:53 -06:00
Paul Gilbert
3ffd8dedd2 ACCESS: Revert AGOE Spanish detection entry back to unstable 2016-03-10 18:51:39 -05:00
Colin Snover
695e5db9a7 SCI32: Remove side-effect-abusing calls to ScreenItem::getCelObj 2016-03-10 14:16:56 -06:00
Colin Snover
0bb4c32c50 SCI32: Minor cleanup of kernel calls 2016-03-10 14:16:56 -06:00
Colin Snover
4a16ebc970 SCI32: Implement kSetNowSeen 2016-03-10 14:16:56 -06:00
Colin Snover
eac416f480 SCI32: Implement kCantBeHere 2016-03-10 10:38:07 -06:00
Eugene Sandulenko
140409204c WAGE: Code formatting 2016-03-10 12:40:12 +01:00
Eugene Sandulenko
24af06b682 WAGE: Disabling bounds calculation code as too buggy ATM. 2016-03-09 23:59:08 +01:00
Eugene Sandulenko
37b5b64179 WAGE: Improved a bit bounds calculation. Still bad 2016-03-09 23:53:07 +01:00
Eugene Sandulenko
1f4af34a40 WAGE: Fix calculation for bitmap bboxes 2016-03-09 23:53:07 +01:00
Willem Jan Palenstijn
ecc6a2cac1 SCUMM: Make DOTT/MM patch check less strict
The original check broke if either DOTT or MM had a trailing path
separator in the game path. The new check is too broad, but the risk of
false positives should be minimal.

The one in e11a370fe4 would break if one
of the two had a separator, but not both.
2016-03-09 23:47:11 +01:00
Willem Jan Palenstijn
b0cd1d6587 Revert "SCUMM: Fix detection of Maniac Mansion from within DoTT"
This reverts commit e11a370fe4.
2016-03-09 23:37:10 +01:00
Johannes Schickel
14c8bdafe5 Merge pull request #702 from ckorn/ftbfs2
SHERLOCK: Add format to fix compile error
2016-03-09 22:42:45 +01:00
Christoph Korn
305e34a718 SHERLOCK: Add format to fix compile error
This patch fixes the compile error:
format not a string literal and no
format arguments [-Werror=format-security]

Just suply "%s" as the standard format.
This way the string is not interpreted as format
which may lead to security issues.
2016-03-09 22:24:55 +01:00
Johannes Schickel
66a74cf3f3 DEVTOOLS: Check configuration and architecture specific directories for MSBuild. 2016-03-09 22:03:47 +01:00
Johannes Schickel
7127fadc96 DEVTOOLS: Use DLL runtime for MSBuild output. 2016-03-09 22:03:47 +01:00
Johannes Schickel
5510fdc7e4 DEVTOOLS: Use libpng16.lib for libpng for MSVC.
Modern libpng releases use this library name as output for their MSVC project files.
2016-03-09 22:03:47 +01:00
Johannes Schickel
46ef80963f DEVTOOLS: Enable Edit&Continue on x64 for MSVC2015+. 2016-03-09 22:03:47 +01:00
Johannes Schickel
1c2dc2f89d DEVTOOLS: Do not ignore libcmt.lib for MSBuild output.
This hints at broken library builds and thus should not be set for us.
2016-03-09 22:03:47 +01:00
Johannes Schickel
24558307c2 DEVTOOLS: Do not hardcode runtime libraries for MSVC2015. 2016-03-09 22:03:47 +01:00
Johannes Schickel
d3dba1b086 DEVTOOLS: Do not specify SCUMMVM_LIBS include dir twice for MSBuild. 2016-03-09 22:03:47 +01:00
Johannes Schickel
d2f3bc39b4 DEVTOOLS: Fix path separator in MSBuild's global props output. 2016-03-09 22:03:47 +01:00
Johannes Schickel
4ee3623f5d SDL: Fix compilation with SDL2 and MSVC2015. 2016-03-09 22:03:47 +01:00
Eugene Sandulenko
df5fabd887 WAGE: Recomputed md5s of rest of the games 2016-03-09 21:28:24 +01:00
Eugene Sandulenko
e96800d595 WAGE: Recalculate all md5s based on Mac Resource fork. This eliminates 2 duplicates 2016-03-09 21:28:24 +01:00
Torbjörn Andersson
e11a370fe4 SCUMM: Fix detection of Maniac Mansion from within DoTT
It turns out that in some versions of ScummVM, paths end with a
directory separator, while in others they don't. This should handle
both cases, I hope. (It's a bit tricky for me to test.)
2016-03-09 21:24:32 +01:00
Eugene Sandulenko
0f2e7fcdf0 WAGE: Fix gameid for Twisted! 2016-03-09 20:18:47 +01:00
Eugene Sandulenko
ee56fb805b WAGE: Skip flood fill in Bitmap when calclating bounds 2016-03-09 20:12:34 +01:00
Eugene Sandulenko
ca7720960a WAGE: Attempt to fix bounds calculation 2016-03-09 18:56:42 +01:00
Eugene Sandulenko
f5f41d7daa GCW0: Remove hardcoded list of skipped engines.
Now we rely on highres feature of the backends
2016-03-09 16:33:52 +01:00
Eugene Sandulenko
4fdef191b3 CONFIGURE: Fix options for GCW0 2016-03-09 16:33:27 +01:00
Eugene Sandulenko
a378e771c8 WAGE: Added alternate versions of Karth of the Jungle 2016-03-09 15:47:22 +01:00
Eugene Sandulenko
2408766f2d WAGE: Precalculate design bounds based on real data 2016-03-09 15:47:22 +01:00
Eugene Sandulenko
c47122cb63 WAGE: More detection entries 2016-03-09 15:47:22 +01:00
Eugene Sandulenko
c44a7f6020 WAGE: Added Minitorian game detection 2016-03-09 15:47:22 +01:00
Eugene Sandulenko
19c9993db9 WAGE: Added one more game 2016-03-09 15:47:21 +01:00
Eugene Sandulenko
54ec965f89 Merge pull request #699 from criezy/sword25-en-speech
SWORD25: Add engine option to use English speech instead of German
2016-03-09 10:16:54 +01:00
Thierry Crozat
2f1ae3fb4e SWORD25: Fix error after changing language in-game with the data file distributed by ScummVM
Changing the language in-game causes the language to be set for the target in the
scummvm.ini file. Then the next time we try to start the engine, if was causing an error
(Sword25 failed to instantiate engine: Game data not found) because there was no match
for the path and language in the detection table. Setting the language to Unknown in
the detection table for this multilingual data file fixes the issue.
2016-03-09 00:38:08 +00:00
Johannes Schickel
2ca642e3e2 SCUMM: Fix bugs #7070, #7071.
When adding support for Russian fan translations the font source data was
accidentally switched to the Russian font data for all game versions, not just
the Russian one. Now we only use the Russian font data only for the Russian
versions.

Bug #7071 "MM V2: Umlauts disappeared in German versions" is a regression from
556d65713b.

Bug #7070 "ZAK V2: Umlauts disappeared in German versions" is a regression from
c809a65b93.
2016-03-09 01:22:12 +01:00
Thierry Crozat
90a86fd39c SWORD25: Add engine option to use English speech instead of German
When selecting non-English language, the scripts default to using
German voices. This commit edits the file path on the fly to use instead
English voices for all languages other than German. This implements bug
#6804 - SWORD25: add option to choose language speech.

If the English voice pack is not present it falls back to using German voices.

The way this is implemented here however does not allow to use German
voices with English text or English voices with German text. This could be
achieved with a slightly different implementation of the same idea.
2016-03-09 00:02:45 +00:00
Johannes Schickel
c0163de084 SCI: Fix build with SCI32 disabled.
Regression from d486921820.
2016-03-08 20:20:36 +01:00
Johannes Schickel
7be486ae27 SCI: Slight template formatting fixes. 2016-03-08 20:15:22 +01:00
Johannes Schickel
693f8dc295 SCI: Add missing namespace comments in graphics/. 2016-03-08 20:13:05 +01:00
Filippos Karapetis
a2c6e647e6 SCI: Spacing 2016-03-08 20:36:04 +02:00
Filippos Karapetis
f450ca0ebf SCI: Split color remapping functionality into a separate class
Currently, only the SCI16 remapping functionality is implemented
(used in the QFG4 demo)
2016-03-08 20:36:03 +02:00