40373 Commits

Author SHA1 Message Date
John Willis
1fea429497 GP2XWIZ: Add initial support for the GPH Caanoo.
Most of the codebase is the same, but the toolchain and libs are different.
Support for Caanoo specific features will follow, I just want to get the build support into trunk for now.

svn-id: r52400
2010-08-26 11:24:26 +00:00
Martin Kiewitz
f8276a36fb SCI: adjust r52397
actually they return 0:0, when no bytes were read, otherwise they return the destination pointer

svn-id: r52398
2010-08-26 07:31:54 +00:00
Martin Kiewitz
c0f81439dc SCI: kFileIOReadString/kFGets return byte count
in sierra sci of read bytes

svn-id: r52397
2010-08-26 07:26:30 +00:00
Willem Jan Palenstijn
ca81bdde9b SCI: Return empty string from fgets with maxsize 1
This should fix r3049360 in Hoyle4.

svn-id: r52396
2010-08-25 22:05:10 +00:00
Arnaud Boutonné
bbab21300a GOB: Detection of pirated games
Add detection of the known cracked Coktel 
games with the appropriate ADGF_PIRATED flag

svn-id: r52395
2010-08-25 20:10:45 +00:00
Andre Heider
2506560bda TOOLS: const correctness to fix compilation.
svn-id: r52394
2010-08-25 19:41:59 +00:00
Martin Kiewitz
6de3b6c55c SCI: adding detection for freddy pharkas "fred"
fixes blop not appearing during intro song, because game thought we were too slow (bug #3051514)

svn-id: r52392
2010-08-25 17:49:03 +00:00
Andre Heider
1b2ae60e27 HUGO: Use GCC_PRINTF on functions with variable arguments
Two instances commented out with a FIXME for Strangerke :P

svn-id: r52391
2010-08-25 17:07:47 +00:00
Andre Heider
088da9e698 HUGO: Fix invalid usage of snprintf with va_args
svn-id: r52390
2010-08-25 17:03:24 +00:00
Willem Jan Palenstijn
05c2cc4d1d COMMON: Fix eos handling in BufferedReadStream
This makes it pass the test added in r52382.

svn-id: r52389
2010-08-25 14:43:42 +00:00
Matthew Hoops
b1532eca9f M4: Silence gcc warning
Original warning: "format not a string literal and no format arguments"

svn-id: r52388
2010-08-25 13:31:14 +00:00
Yotam Barnoy
89b34faa5a PSP: fixed flag to open()
I was missing a flag (PSP_O_TRUNC) causing the config file to be opened on top of the old file, causing file corruption.

svn-id: r52387
2010-08-25 13:26:30 +00:00
Johannes Schickel
4135dc7a7c AD: Fix infinite loop in cleanupPirated.
svn-id: r52386
2010-08-25 12:03:43 +00:00
Eugene Sandulenko
15e50a64b8 SCI: Make use of new ADGF_PIRATED flag
svn-id: r52385
2010-08-25 11:51:26 +00:00
Eugene Sandulenko
78278db7ed AD: Implement AGDF_PIRATED flag.
svn-id: r52384
2010-08-25 11:51:06 +00:00
Eugene Sandulenko
1d7566f371 AD: Print out infromation about unknown version in better format
Now it is suitable for direct copy/pasting into detection tables.

svn-id: r52383
2010-08-25 11:50:23 +00:00
Willem Jan Palenstijn
8cd0cfe5eb COMMON: Add test for BufferedReadStream's eos
This test is currently failing.

svn-id: r52382
2010-08-25 11:46:50 +00:00
Martin Kiewitz
3900aa96b6 SCI: apply qfg1vga fight patch on weapon master
fixes fighting the weapon master as well...

svn-id: r52381
2010-08-25 11:28:27 +00:00
Eugene Sandulenko
def042e412 SCI: md5s from Bug #3049193
svn-id: r52380
2010-08-25 11:00:48 +00:00
Martin Kiewitz
a55dbc831d SCI: making loading from ScummVM menu work correctly
using a trick for indirectly calling GameObject::init and then restoring, fixes text color/font code issues, also removing all the hackery

svn-id: r52379
2010-08-25 10:38:09 +00:00
Paul Gilbert
5e66329117 LURE: Workaround for bug #3047234 in English EGA version
svn-id: r52378
2010-08-25 09:28:29 +00:00
Yotam Barnoy
4368d3c574 COMMON: fixed EOS handling in BufferedReadStream and BufferedSeekableReadStream
EOS problem was causing Discworld to crash and zip files not to load on the PSP.

svn-id: r52377
2010-08-25 09:14:41 +00:00
Willem Jan Palenstijn
b2ebb62e11 SCI: Make assert stricter.
(Thanks to fuzzie.)

svn-id: r52376
2010-08-25 09:02:43 +00:00
Eugene Sandulenko
3e4f6b4a24 SCUMM: Fix bug #3039004
Bug #3039004: "MANIACNES: Ed does not appear at doorway."
Actually whole thing is a gross hack on top of SCUMM v1.5 hack
with extra wide screen. It all calls for review and writing
specified methods.

svn-id: r52375
2010-08-25 07:41:54 +00:00
Eugene Sandulenko
99c9ba697c TINSEL: Fix bug #3032780: "DW: Mute setting does not work"
Bug #3032778 was fixed too as it is the duplicate.
Since there is no engine-specific logic, rely on superclass'
setupSoundSettings(), and use it on startup too.

svn-id: r52374
2010-08-25 07:41:35 +00:00
Eugene Sandulenko
fcdb349fa2 AGI: Respect mute setting
svn-id: r52373
2010-08-25 07:41:14 +00:00
Eugene Sandulenko
c4299cc0c7 SCUMM: Fix bug #3032758: "SCUMM: Mute setting does not work"
svn-id: r52372
2010-08-25 07:40:52 +00:00
Eugene Sandulenko
386e38faa5 AD: Fix in-depth search.
svn-id: r52371
2010-08-25 07:40:32 +00:00
Eugene Sandulenko
503cfd304b SCUMM: Fix bug #3049323
Bug #3049323: "SCUMM: Detects games in wrong places".
I must admit: A seriously stupid bug.

svn-id: r52370
2010-08-25 07:40:13 +00:00
Eugene Sandulenko
349b89adce AGI: Fix bug #3034370
Bug #3034370: "Manhunter: New York keyboard unresponsive". Actually
the keyboard was made responsive after June implementation of set.key,
still the game speed was increasing. Fixed that too.

svn-id: r52369
2010-08-25 07:39:50 +00:00
Eugene Sandulenko
30d8dda867 AGI: Reset controllers on game restart
svn-id: r52368
2010-08-25 07:39:31 +00:00
Eugene Sandulenko
d2cf99f67d GUI: Fixed bug #2505686: "GUI: minor artifacts in rounded corners"
It is practically not possible to get rid of those completely
due to rounding errors with 16-bit surface.

svn-id: r52367
2010-08-25 07:39:08 +00:00
Eugene Sandulenko
540cff87dc SCUMM: Implement keyboard-driven inventory scrolling in v2
Bug #2828383: "ZAK V2: no inventory keyboard shortcuts".

svn-id: r52366
2010-08-25 07:27:17 +00:00
Paul Gilbert
4395e75aef M4: Fixes for compiler errors
svn-id: r52365
2010-08-25 06:55:11 +00:00
Paul Gilbert
212479ab79 M4: Implementation of script engine
svn-id: r52364
2010-08-25 06:42:54 +00:00
Travis Howell
4c215fc9a0 SCUMM: Fix bug #2702847 - PUTTZOO: Graphic glitches on dancing penguin.
svn-id: r52363
2010-08-25 06:02:18 +00:00
Martin Kiewitz
9ca5165606 SCI: adding pharkas patch for ladder issue
in room 320, fixes bug #3037192

svn-id: r52362
2010-08-24 22:24:25 +00:00
Martin Kiewitz
4a6553098f SCI: adding qfg1vga patch for fight issue
fixes bug #3036756

svn-id: r52361
2010-08-24 21:53:06 +00:00
Arnaud Boutonné
eface88e31 GOB: Add information about a cracked Fascination
Add a comment about a cracked versions of Fascination. The crack used
is based on the original executable's tolerance, it crashes in 
Scummvm.

svn-id: r52360
2010-08-24 21:30:44 +00:00
Arnaud Boutonné
b563a9d265 GOB: Little cleanup of Fascination detection
svn-id: r52359
2010-08-24 21:25:19 +00:00
Andre Heider
922510df7e SOUND: New global define AUDIO_REVERSE_STEREO.
This reverses the stereo channels for all sfx streams, meant for
hardware devices which expect an inverse order. Use it for the Wii
and Gamecube port since it's reversed since day one :P

svn-id: r52357
2010-08-24 18:44:14 +00:00
Fabio Battaglia
f2ed796ba3 CONFIGURE: don't force vkeybd for n64 port
svn-id: r52355
2010-08-24 17:56:33 +00:00
Martin Kiewitz
85c35f41ca SCI: fixing comment of r52351
svn-id: r52353
2010-08-24 17:33:35 +00:00
Filippos Karapetis
27fbfcc34e SCI: Fixed bug #3052359 - "Hoyle1: Hearts Crash"
svn-id: r52352
2010-08-24 17:28:52 +00:00
Martin Kiewitz
3e6fb233ac SCI: fix race condition in sierra kPalVary code
we are loading pictures very fast, this results in a kPalVary race condition, because sierra set timer to 1 tick, when it was getting called with 0 ticks and required the timer to occur before the transition. Fixes freddy pharkas nighttime being daytime during transitions (bug #3051905)

svn-id: r52351
2010-08-24 17:22:05 +00:00
Filippos Karapetis
d48e173da1 SCI: added another version of Hoyle 1 (bug report #3052366)
svn-id: r52350
2010-08-24 17:17:13 +00:00
Filippos Karapetis
d1e45fd5d9 SCI: Removed a now unused selector from the selector cache
svn-id: r52349
2010-08-24 17:12:31 +00:00
Johannes Schickel
c23f597f50 KYRA: Cleanup.
svn-id: r52348
2010-08-24 15:48:43 +00:00
Johannes Schickel
51939fe743 KYRA: Implement new handling of KYRA3's TLK files.
This speeds up loading of KYRA3's TLK files by a lot, since only the index
table will be load now. This should help the startup time for KYRA3 when
playing from CD or other slow storages.

svn-id: r52347
2010-08-24 15:48:17 +00:00
Johannes Schickel
501d7cbb84 KYRA: Simplify PAK/INS/TLK loading.
This also reduces the number of seeks done while loading TLK files.

svn-id: r52346
2010-08-24 15:47:53 +00:00