19892 Commits

Author SHA1 Message Date
Johannes Schickel
5742a11510 SCUMM: Prefer "Could not" over "Couldn't" in some error messages.
svn-id: r55268
2011-01-16 20:24:58 +00:00
Sven Hesse
518e858d85 GOB: Allow true-color VMD cursors
svn-id: r55264
2011-01-16 16:30:15 +00:00
Sven Hesse
b451d3b51c GOB: Add the property switchColorMode
To allow the videoplayer (and ultimatively the demoplayer)
to switch color modes if necessary.

svn-id: r55262
2011-01-16 16:29:19 +00:00
Sven Hesse
e063ced21a GOB: Add setTrueColor()
To change ScummVM's color mode on-the-fly

svn-id: r55261
2011-01-16 16:28:47 +00:00
Sven Hesse
7de179c2c8 GOB: Add setBPP()
To allow converting the surface's bytes per pixel
without destroying it first.

svn-id: r55260
2011-01-16 16:28:17 +00:00
Torbjörn Andersson
da42014402 SWORD25: Fix main menu button text colour
In the other cases I've found in the code, the colour components are
stored in the order B, G, R and A. Assume that's the case here too. I
hope that is correct. It doesn't seem to break anything obvious.

svn-id: r55255
2011-01-16 08:15:47 +00:00
Filippos Karapetis
0309f36552 SCI: Plugged 2 memory leaks, reported by digitall
- Plugged 2 memory leaks in the SCI0 menu code (the lists of menu and submenu entries)
- Got rid of the _listCount variable

svn-id: r55254
2011-01-15 23:55:35 +00:00
Bastien Bouclet
09c35e99b8 MOHAWK: Implement Myst's clock tower gears puzzle
svn-id: r55253
2011-01-15 19:11:53 +00:00
Alyssa Milburn
295550b26c MOHAWK: Get rid of the DETECT_BRODERBUND_TITLES define.
svn-id: r55252
2011-01-15 18:39:29 +00:00
Filippos Karapetis
f680e24146 SCI: Added a hack to fix bug #3122075 - "LB1: Game play freezes when taking shower"
This is a regression from the new kInitBresen/kDoBresen functions, enabled in r52467.
Many thanks to waltervn for his work in bisecting this. The actual bug should be
found, but since only this death scene has an issue, it's not really worth the
effort. The old functions are based on observations, so there are many differences in
the way that they behave. If another test case is found, then this shall be examined
further. Until then, this simple and unobtrusive hack will do.

svn-id: r55251
2011-01-15 18:25:10 +00:00
Filippos Karapetis
0f9c33e02f SCI: cleaned up checkSelectorBreakpoint()
svn-id: r55250
2011-01-15 12:18:13 +00:00
Filippos Karapetis
c8b3200dd3 SCI: Extended the bpk debug command so that it can also disable a breakpoint on a kernel function
svn-id: r55249
2011-01-15 11:54:20 +00:00
Filippos Karapetis
47d109a093 SCI: Bugfix for r55246: Don't send init commands when resuming a sound
svn-id: r55247
2011-01-15 09:28:42 +00:00
Filippos Karapetis
cd108d3a81 SCI: Fixed bug #3034974 - "SCI: Music out of tune after loading a save"
svn-id: r55246
2011-01-15 00:29:02 +00:00
Bastien Bouclet
aa38ad519c MOHAWK: Implement Atrus videos in D'ni
svn-id: r55245
2011-01-14 21:42:33 +00:00
Bastien Bouclet
ca249f5c65 MOHAWK: Implement video looping for Myst's green book
svn-id: r55244
2011-01-14 20:08:27 +00:00
Matthew Hoops
0eeacfe43e MOHAWK: Simplify some code
svn-id: r55242
2011-01-14 16:39:34 +00:00
Alyssa Milburn
311c643c1e MOHAWK: Don't delete the wrong video.
svn-id: r55241
2011-01-14 16:07:46 +00:00
Matthew Hoops
a191190cf2 MOHAWK: Fix the beetle animations in Riven
svn-id: r55240
2011-01-14 15:40:46 +00:00
David Turner
81729b87e8 PARALLACTION: Add debug console command "showmouse".
This command forces the mouse state to Enabled and Visible.
This is intended to help playtesting in Big Red Adventure, which has an issue currently with the mouse pointer getting stuck in the hidden state in some cases.

svn-id: r55234
2011-01-14 03:25:39 +00:00
David Turner
28e7ea8c22 PARALLACTION: Fix Valgrind Error on Engine Exit.
The automatic destruction of engine member "_char" of type Character at end of the destructor causes an invalid read in the destruction of the AnimationPtr which is a SharedPtr. To stop this happening, the SharedPtr is reset() prior to the destruction of Gfx, so it's dependencies on Gfx are still present. This will affect Nippon Safes as well as Big Red Adventure, but is unlikely to cause any issues and it is likely this exists in NS as well.

Thanks to fuzzie for this code.

svn-id: r55233
2011-01-14 00:13:27 +00:00
David Turner
00d78dd3d5 PARALLACTION: Fix for DoorData Memory Leak in Big Red Adventure.
svn-id: r55232
2011-01-13 21:58:54 +00:00
David Turner
460f8c277b PARALLACTION: Fixed Limit Values in Big Red Adventure Walker Code.
This corrects the Valgrind invalid reads associated with the IS_PATH_CLEAR() check reading beyond the data buffer and probably improves the pathfinding behaviour.
Thanks to fuzzie for suggesting this patch.

svn-id: r55231
2011-01-13 20:06:23 +00:00
Bastien Bouclet
75a2c36ecd MOHAWK: Implement video seeking Myst's rocket link book
svn-id: r55230
2011-01-13 19:30:00 +00:00
David Turner
9118d2915c PARALLACTION: Close Memory Leak in Big Red Adventure Subtitles.
svn-id: r55229
2011-01-13 17:26:00 +00:00
David Turner
f09d6d7073 PARALLACTION: Close Memory Leak in Big Red Adventure MIDI Playback.
svn-id: r55226
2011-01-13 15:34:18 +00:00
David Turner
ecdd866117 PARALLACTION: Close Memory Leak in Big Red Adventure When Changing Location.
svn-id: r55225
2011-01-13 15:33:15 +00:00
David Turner
731a75adb8 PARALLACTION: Fix for Valgrind Uninitialized Error in Big Red Adventure Walk Code.
svn-id: r55221
2011-01-13 03:25:57 +00:00
David Turner
a7a05fc053 PARALLACTION: Fix Valgrind Error When Displaying Location Balloons In Big Red Adventure.
svn-id: r55220
2011-01-13 01:39:05 +00:00
Arnaud Boutonné
ac6c88869e HUGO: Improve mouse support for DOS versions
- Enlarge Exit hotspots
- Fix newspaper issue in H2 Dos (screen 33)

svn-id: r55219
2011-01-13 00:32:10 +00:00
Filippos Karapetis
bb3fd747d4 SCI: Fixed bug #3155550 - "SQ4 Russian: Script error in Scate-o-rama"
svn-id: r55218
2011-01-12 23:53:14 +00:00
Filippos Karapetis
c215d85c33 SCI: Added a workaround for script bug #3156472 - "King's Quest 5 cdrom version crash on escape"
svn-id: r55217
2011-01-12 23:33:30 +00:00
Filippos Karapetis
d8682a74a5 SCI: Simplified the kMoveCursor code
svn-id: r55216
2011-01-12 23:30:59 +00:00
Alyssa Milburn
30f8365502 MOHAWK: Add a basic LBCode implementation.
This is enough for the Rugrats Adventure Game to play the introduction
videos, but is still in a very preliminary state.

svn-id: r55215
2011-01-12 19:11:27 +00:00
Arnaud Boutonné
3da25986d2 HUGO: Improve mouse support in DOS versions.
- Fix default verb for 'open door' in first screenActions
- Add 'go to' values on objects
- improve hotspot info related to objects

svn-id: r55213
2011-01-11 23:16:57 +00:00
Matthew Hoops
72b3d1f546 MOHAWK: Cleanup Mohawk wave parsing
svn-id: r55212
2011-01-11 21:48:49 +00:00
Matthew Hoops
55c0658c8d MOHAWK: Set the system palette on 8bpp videos when in 8bpp mode
svn-id: r55210
2011-01-11 20:35:30 +00:00
Bastien Bouclet
f3f3b3bd62 MOHAWK: Play the right parts of Myst's tower clock bridge movie
svn-id: r55209
2011-01-11 20:00:57 +00:00
Bastien Bouclet
b1de27ed8f MOHAWK: Implement Myst imager videos seeking / looping
svn-id: r55208
2011-01-11 19:52:58 +00:00
Matthew Hoops
f6b7979277 MOHAWK: Implement Riven's whark number puzzle
svn-id: r55207
2011-01-11 19:44:55 +00:00
Matthew Hoops
d03ff6e036 MOHAWK: Allow for Riven to update specific portions of the screen
svn-id: r55206
2011-01-11 19:23:24 +00:00
Matthew Hoops
1f043e15c7 MOHAWK: Play the telescope moving video (now that seeking is available :))
svn-id: r55205
2011-01-11 17:27:47 +00:00
Matthew Hoops
ee081dc476 MOHAWK: Adapt the VideoManager to allow for seeking; cleanup
svn-id: r55204
2011-01-11 17:27:43 +00:00
David Turner
0089d3b338 CINE: Fix for Operation Stealth assertion when caught by rat in Scene 8 Rats' Maze.
This converts the assertion on selection of null background into a test and warning.

svn-id: r55201
2011-01-11 16:50:26 +00:00
David Turner
71c7ae9fbb CINE: Extend "labyrinthCheat" console command to cover Operation Stealth Scene 8 (Rats' Maze).
These arcade puzzles are hard, but solvable. This command is intended to aid debugging and rapid playtesting.

svn-id: r55198
2011-01-11 01:35:38 +00:00
Johannes Schickel
645ba4c379 SOUND: Get rid of unused forward declarations in mixer.h.
svn-id: r55197
2011-01-10 22:20:51 +00:00
Matthew Hoops
1abb955a97 MOHAWK: Fix the Myst ME Mac intro and cleanup
svn-id: r55196
2011-01-10 14:59:25 +00:00
David Turner
a1739f7244 CINE: Modified Palette::rotateRight() function to cope with all positive values of rotation.
This fixes the assert in Operation Stealth in Scene 7 when the Russians mount the Jetskis.

svn-id: r55195
2011-01-10 00:35:45 +00:00
David Turner
c0da18e9b8 CINE: Added fix for Operation Stealth Loss of Inventory after Scene 6 Labyrinth Maze.
It is now possible to open the office safe and get the envelope, though the engine now asserts with a palette issue in the next scene as the Russians board the Jetskis.

svn-id: r55194
2011-01-09 22:54:04 +00:00
Arnaud Boutonné
a9d3e5c284 HUGO: Fix typo in help message
svn-id: r55193
2011-01-09 22:43:25 +00:00