71869 Commits

Author SHA1 Message Date
Matthew Hoops
fb6fe1332a BACKENDS: Move to an openCD() without parameters as the public API 2016-03-13 13:52:24 +01:00
Martin Kiewitz
d85eb8ded6 SCI32: Fix small inaccuracy in the scaling drawing code
Previously sourcePos was always originating from plain 0, 0
which made some pixels not always getting drawn at the right
spot when uneven scaling was used (for example 5:12).
Seems to fix gabriel knight 1 hires graphic issues
2016-03-13 13:12:36 +01:00
Ori Avtalion
f35bdb680d TUCKER: Don't try parsing missing debug values in demo
Fixes the demo thinking it's in debug mode and allowing ESC to quit.
2016-03-12 21:29:10 +02:00
Colin Snover
287391d1d5 SCI32: Fix incorrect mouse event coordinates in SCI2 hires 2016-03-11 19:05:13 -06:00
Filippos Karapetis
dd220e7c82 SCI32: Use Common::fill() instead of memset(), where possible
Thanks wjp, LordHoto, waltervn
2016-03-11 14:26:05 +02:00
Filippos Karapetis
7cf8ce33cb SCI32: Assign a define for the non-remapped number of colors 2016-03-11 13:13:51 +02:00
Eugene Sandulenko
b11e0e0826 WAGE: Added Pavilion and T-Rex detection 2016-03-11 11:42:39 +01:00
Eugene Sandulenko
26428d5ebe WAGE: Added two more games to detection tables 2016-03-11 11:12:11 +01:00
Torbjörn Andersson
95fa9a1a84 NEWS: Put back 1.8.1 NEWS section that was accidentally reverted 2016-03-11 06:57:16 +01:00
Filippos Karapetis
8f7ab881ee SCI32: Add remap counters and hook them up to frameOut 2016-03-11 07:54:45 +02:00
Filippos Karapetis
48b53aa4c6 SCI32: Avoid usage of delegated constructors
Although this feature reduces code duplication, GCC throws the
following: "warning: delegating constructors only available with
-std=c++11 or -std=gnu++11".
2016-03-11 07:30:15 +02:00
Filippos Karapetis
ea52dc498c SCI32: More work on remapping
applyRemap() has been implemented now, however the end effect is still
not visible
2016-03-11 07:22:01 +02:00
Filippos Karapetis
6b857299a4 SCI32: Handle the different remap color ranges in SCI2 and SCI21
This fixes an assertion when starting a new game in SQ6
2016-03-11 06:08:27 +02:00
Filippos Karapetis
5ca8b5ff4c SCI32: Fix bug in updateRemap() 2016-03-11 05:21:43 +02:00
Filippos Karapetis
3a770fa0d8 SCI32: Initial implementation of kRemapColors
applyRemap() is still not finished, so nothing is actually visible yet
2016-03-11 05:10:32 +02:00
Colin Snover
22097018bb SCI32: Implement GfxText32::getTextCount 2016-03-10 20:07:36 -06: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 e11a370fe45aa96d240ff5f10e7263fdfc02bb01 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 e11a370fe45aa96d240ff5f10e7263fdfc02bb01.
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