Commit Graph

19783 Commits

Author SHA1 Message Date
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
Arnaud Boutonné
01e43fa8dc HUGO: intros are now skippable
svn-id: r55192
2011-01-09 22:42:56 +00:00
Alyssa Milburn
2b7acd6919 MOHAWK: Always restart anims on kLBOpTogglePlay.
This may not be the right place for this, but for now it fixes several bugs
where animations didn't play after they'd already been played once.

svn-id: r55191
2011-01-09 18:26:51 +00:00
Filippos Karapetis
bbd2cd460f SCI2.1: Some further work on robot files
svn-id: r55190
2011-01-09 18:18:16 +00:00
David Turner
d54fa49b5f CINE: Add console command "labyrinthCheat" to help with Operation Stealth Playtesting.
This command activates a cheat for the Operation Stealth Scene 6 arcade section i.e. Chased by Guards in Labyrinths in Otto's Mansion. These puzzles are quite hard and thus discourage playtesting beyond this point, especially since it is not possible to save (This may be a bug compared to the original interpreter).

Also, added extra debug output to aid script debug output.

svn-id: r55189
2011-01-09 18:12:30 +00:00
Matthew Hoops
cd6d818ca3 MOHAWK: Cleanup named video handling
svn-id: r55188
2011-01-09 17:26:22 +00:00
Bastien Bouclet
81d29aa303 MOHAWK: Add a stub for Myst var getter 308
svn-id: r55187
2011-01-09 16:13:31 +00:00
David Turner
42713ef1fc CINE: Add FIXME about Operation Stealth Memory Leak.
svn-id: r55186
2011-01-09 15:53:03 +00:00
Bastien Bouclet
9058a83ad9 MOHAWK: Myst zip mode improvements
- Save visited zip destinations in the game state
- Only allow zipping to visited zip destinations
- Save zip mode setting in the game state

svn-id: r55185
2011-01-09 15:31:08 +00:00
Filippos Karapetis
db11b626c7 SCI2: Implemented proper text splitting
svn-id: r55184
2011-01-09 13:28:34 +00:00
Filippos Karapetis
6b6e7fcfb3 SCI2: Some documentation/stubs
- Fully documented the parameters of kSetShowStyle
- Added another subop stub for kCreateTextBitmap

svn-id: r55183
2011-01-09 13:27:00 +00:00
Filippos Karapetis
5d7729be32 SCI: Cleanup
svn-id: r55182
2011-01-09 13:21:19 +00:00
Arnaud Boutonné
3c8689fb7b HUGO: Modify hint position when an object is selected
svn-id: r55181
2011-01-09 10:16:55 +00:00
Bastien Bouclet
9265c85c49 MOHAWK: Implement minimal D'ni stack. Lacking movie control.
svn-id: r55180
2011-01-09 10:14:40 +00:00
Filippos Karapetis
cf94a99bb7 SCI: Changed the bShow parameter of GfxText16:Box() into a bool
svn-id: r55179
2011-01-09 00:32:26 +00:00
Filippos Karapetis
505e1888e5 SCI: Some function renaming
Draw_Status -> DrawStatus
Draw_String -> DrawString

svn-id: r55178
2011-01-08 23:16:44 +00:00
Filippos Karapetis
8c554a8ec2 SCI2: Updated comments
svn-id: r55177
2011-01-08 23:15:10 +00:00
Filippos Karapetis
da52b3a267 SCI2.1: Added a comment with the SCI2.1 games using a SCI2 kernel
svn-id: r55176
2011-01-08 23:14:11 +00:00
Bastien Bouclet
d202e4c9dc MOHAWK: Change Myst credits stack not to use the var store
svn-id: r55170
2011-01-08 17:40:29 +00:00
Alyssa Milburn
0d1955700e MOHAWK: Set needsRedraw when changing LB palettes.
svn-id: r55169
2011-01-08 17:27:02 +00:00
Arnaud Boutonné
896d4947da HUGO: Fix an assert when mouse hit the top of the screen
svn-id: r55168
2011-01-08 17:26:39 +00:00
Arnaud Boutonné
2665194e6f HUGO: Merge inventory object and mouse cursor when selected
- Merge inventory object and mouse cursor into a new mouse cursor (looks better)
- Use 16 color mouse pointer
- Clean-up

svn-id: r55167
2011-01-08 16:56:52 +00:00
Filippos Karapetis
dd6fd0ef27 SCI2.1: Added some information about kSetPalStyleRange, kNewRoom and kMorphOn
svn-id: r55165
2011-01-08 12:44:11 +00:00
Bastien Bouclet
1a18e99e69 MOHAWK: Changed Myst intro stack to behave like the original. ie fully skippable intro.
svn-id: r55164
2011-01-08 12:34:41 +00:00
Filippos Karapetis
12b44f2fc0 SCI2.1: Some stubs used by SQ6
- Added a stub and some info about the (large) kScrollWindow kernel call
- Added info about kMovePlaneItems

svn-id: r55163
2011-01-08 12:28:47 +00:00
Filippos Karapetis
c2acabd710 SCI2.1: Some functionality for Phantasmagoria 1 and MUMG Deluxe
- Added a stub for kSetLanguage, used in MUMG Deluxe - this needs support at the resource
manager level
- Made kGetSierraProfileInt a stub function (it's used in the Windows version of
Phantasmagoria 1 to override the video speed setting obtained from kGetConfig)

svn-id: r55161
2011-01-08 11:19:20 +00:00
Filippos Karapetis
dd026268aa SCI: Fixed typo
svn-id: r55160
2011-01-08 10:34:04 +00:00
Filippos Karapetis
87a3fcaf03 SCI: Fixed a typo
svn-id: r55159
2011-01-08 10:25:12 +00:00
Filippos Karapetis
fc83afc5f2 SCI2.1: Added/documented some functionality used by Shivers 1
- Added kFileIO subop 17 (create save slot)
- Added information about a (probably debug) kernel function used in a puzzle, kCelInfo
- Added some information on two kSave subops
- Added 2 workarounds for uninitialized variables

svn-id: r55158
2011-01-08 10:23:27 +00:00
Willem Jan Palenstijn
46befe8492 SAGA: Include scummsys.h to force rebuild after reconfigure
svn-id: r55155
2011-01-08 03:14:31 +00:00
Filippos Karapetis
2b87eebdb0 SCI: Moved the handling of the op_line debug opcode inside readPMachineInstruction()
The handling has been moved inside readPMachineInstruction(), instead of run_vm(), as a
lot of parts of the code depend on this function handling all opcodes correctly (e.g. the
script dissassembler, the features class, find_callk etc)

svn-id: r55154
2011-01-07 20:24:49 +00:00
Filippos Karapetis
59d00fca17 SCI: Removed leftover end markers from the opcode formats array
svn-id: r55153
2011-01-07 19:31:19 +00:00
Bastien Bouclet
b55e593cdd MOHAWK: Merge Myst intro opcode 100 with generic opcode 40 into engine method changeStack
svn-id: r55152
2011-01-07 19:26:31 +00:00
Filippos Karapetis
6b250f8c9b SCI2/2.1: Improvements to the find_callk debug function, and some kernel function updates
- Improved the find_callk function to properly find the end of script objects, by
monitoring jump calls
- Added three extra special calls to find_callk: find kernel function calls to dummy,
unused and unmapped kernel functions
- Updated several kernel function calls because of the above functionality
- The above functionality has also uncovered a VM bug in some SCI2/2.1 opcode - added 
a FIXME for it

svn-id: r55151
2011-01-07 18:25:38 +00:00
Jordi Vilalta Prat
2f7c04e54b GROOVIE: Fix a memory leak reported by cppcheck.
svn-id: r55150
2011-01-07 17:44:20 +00:00
Nicola Mettifogo
31ffb39939 PARALLACTION: keep music playing during the intro (fix bug #2879791).
svn-id: r55148
2011-01-07 16:19:13 +00:00
Nicola Mettifogo
9dd0e0f94c PARALLACTION: fix music playback (bug #2879793).
* Do not restart character theme is already playing.
* Play the correct tune in the night club.
* Do not play muisc in the location meant to be silent.

svn-id: r55147
2011-01-07 16:00:08 +00:00
Nicola Mettifogo
75d7ee9bd6 PARALLACTION: remove code duplication in NS sound code.
svn-id: r55146
2011-01-07 15:17:07 +00:00
Arnaud Boutonné
868717b444 TOOLS: Add Dos intro music number in hugo.dat
svn-id: r55145
2011-01-07 15:14:38 +00:00
Filippos Karapetis
576efc526b SCI: The SCI2.1 SVGA version of MUMG is named "Mixed-Up Mother Goose Deluxe"
svn-id: r55139
2011-01-07 00:19:54 +00:00
Filippos Karapetis
1796e7afdd SCI2.1: Kernel function changes (after looking through all of the SCI2.1 games)
- Replaced the stub kWinDLL (unused), as well as the not fully implemented kPrintDebug
functions with empty function calls
- Marked several unused or debug kernel functions as stub
- Added some games where the rest of the unimplemented SCI2.1 kernel functions are used

svn-id: r55138
2011-01-07 00:12:18 +00:00
Filippos Karapetis
49f965a547 SCI2.1: Added a sanity check for VMD video positioning, for the demo of Lighthouse
svn-id: r55137
2011-01-07 00:07:33 +00:00
Filippos Karapetis
a6994413ea SCI2.1: Show the kernel table used in the "version" console command
Transitive SCI2.1 games (e.g. QFG4CD and PQ4CD, as well as GK2 demo) used a SCI2 table,
with some added functions. If a SCI2.1 game is loaded, show what kernel table it uses

svn-id: r55136
2011-01-07 00:05:14 +00:00
Max Horn
4b2f92b5e5 AGI: Rewrote predictive code matcher
The new code is simpler, avoids a potential buffer overrun
(by avoiding to to use a buffer in the first place), and
hopefully has slightly more sane matching properties.

svn-id: r55135
2011-01-06 21:11:24 +00:00
Arnaud Boutonné
fc130351f3 HUGO: Fix GCC warnings, second try (sorry)
svn-id: r55134
2011-01-06 14:30:34 +00:00
Arnaud Boutonné
910d2d577a HUGO: Fix GCC warnings
svn-id: r55133
2011-01-06 14:16:23 +00:00
Arnaud Boutonné
46e5149269 HUGO: Implement DOS player
svn-id: r55132
2011-01-06 14:06:04 +00:00
Arnaud Boutonné
bb9ad6afe4 HUGO: Improve intro in H3 Dos
After a check on youtube (clone2727), fix the character used 
in the map during intro in H3 DOS

svn-id: r55131
2011-01-06 07:54:23 +00:00
Matthew Hoops
0338febe57 HUGO: Correct font sizes used in the Hugo1 DOS intro
svn-id: r55129
2011-01-05 23:48:44 +00:00
Arnaud Boutonné
9dde7e2b87 HUGO: Little cleanup
svn-id: r55128
2011-01-05 23:39:36 +00:00
Arnaud Boutonné
7b1e6bd2f8 HUGO: Fix warning using GCC
svn-id: r55127
2011-01-05 22:35:07 +00:00
Arnaud Boutonné
0ac25c43a0 HUGO: Use Win2 fonts in intro.
Win1 font is loaded too, but fails as it's not yet supported

svn-id: r55126
2011-01-05 22:28:37 +00:00
Max Horn
0a8189fd41 AGI: cleanup
svn-id: r55124
2011-01-05 13:04:08 +00:00
Filippos Karapetis
2d5dc8c638 SCI: Cleanup
svn-id: r55123
2011-01-04 23:19:04 +00:00
Filippos Karapetis
f2234f8ee3 SCI: Fixed part of bug #3150767 - "KQ5 French crash on startup, only partial English text"
This is a regression from r54510

svn-id: r55122
2011-01-04 23:11:19 +00:00
Eugene Sandulenko
11780744c2 HUGO: Proper implementation for menu closing when clicked outside of it
svn-id: r55121
2011-01-04 21:45:09 +00:00
Filippos Karapetis
34ae92033c SCI: Moved the "SCI" bit to the extras field, to preserve the original naming of the games
svn-id: r55119
2011-01-04 19:46:18 +00:00
Filippos Karapetis
9fe6540dd9 SCI: Corrected game description for LSL1 (thanks Raziel)
svn-id: r55118
2011-01-04 19:23:05 +00:00
Arnaud Boutonné
2477c733da HUGO: Use several 'off' buttons in the menu
svn-id: r55117
2011-01-04 14:18:43 +00:00
Filippos Karapetis
d050b811bb SCI: Slight cleanup to the garbage collector
svn-id: r55116
2011-01-04 12:29:23 +00:00
Filippos Karapetis
77a1915377 SCI: Some changes to the naming scheme of some games
- For remakes like KQ1, KQ4 and LSL1, the "SCI remake" bit has been moved to the game
description (as it's part of the description, not the extras)
- The "VGA" bit has been removed from the extras. Only the "EGA" bit remains for EGA
versions, to distinguish them from their VGA counterparts, when they exist

svn-id: r55115
2011-01-04 09:09:56 +00:00
Arnaud Boutonné
9ee74fee8a HUGO: Implement menu commands
Also did some cleanup, and had to comment out 
handleMouseUp() as it's currently not working really well

svn-id: r55114
2011-01-04 08:36:03 +00:00
Alyssa Milburn
e59eb31ba9 MOHAWK: Add stopMidi() function.
svn-id: r55113
2011-01-03 22:53:34 +00:00
Alyssa Milburn
4fe73d47fd MOHAWK: Add game type/detection for CSTime.
svn-id: r55112
2011-01-03 22:53:12 +00:00
Alyssa Milburn
2c8b4161ff MOHAWK: Add/update some resource FourCC entries.
svn-id: r55111
2011-01-03 22:52:50 +00:00
Matthew Hoops
9074a27211 MOHAWK: Use integer math where floating point isn't required
svn-id: r55110
2011-01-03 20:44:27 +00:00
Matthew Hoops
8a77f49a59 MOHAWK: Cleanup some spacing, formatting, and naming
svn-id: r55109
2011-01-03 20:40:07 +00:00
Filippos Karapetis
cdb5e55f75 HUGO: Renamed the "cmd" parameter to "command", as "cmd" is a struct in game.h
svn-id: r55108
2011-01-03 19:44:30 +00:00
Eugene Sandulenko
f517b6d344 HUGO: Added stub for menu commands and implemented menu closing
svn-id: r55107
2011-01-03 19:08:10 +00:00
Matthew Hoops
def3c562cb MOHAWK: Silence a gcc warning
svn-id: r55106
2011-01-03 18:45:04 +00:00
Eugene Sandulenko
3344d1b5aa HUGO: Implement top menu autoscaling
svn-id: r55105
2011-01-03 18:17:13 +00:00
Bastien Bouclet
2c95f1f8e1 MOHAWK: Implement Myst opcodes 133, Stellar observatory go button
svn-id: r55104
2011-01-03 17:37:52 +00:00
Arnaud Boutonné
42a41ebd85 HUGO: Load bitmaps from hugo.dat
- set menu bitmaps to 'on' buttons by default
- rename menu entries to match a bit better the original

svn-id: r55103
2011-01-03 16:19:00 +00:00
Eugene Sandulenko
3d2104460d HUGO: Show bitmap on first button in menu as a proof of concept
svn-id: r55101
2011-01-03 12:48:28 +00:00
Eugene Sandulenko
30b40c4745 HUGO: Stub for the top menu
svn-id: r55100
2011-01-03 12:38:13 +00:00
Paul Gilbert
e00c17712c M4: Removed redundant colour index recalculation in palette manager
svn-id: r55098
2011-01-03 11:36:39 +00:00
Arnaud Boutonné
eeaeab93e8 HUGO: Fix 2 bugs that were causing several crashes using the mouse
svn-id: r55097
2011-01-02 21:32:56 +00:00
Bastien Bouclet
83f0a28623 MOHAWK: Implement Myst opcodes 134 to 137, and 170 to 177, Stellar observatory sliders
svn-id: r55096
2011-01-02 17:06:43 +00:00
Alyssa Milburn
940e4f936e MOHAWK: Don't leak the MIDI data.
svn-id: r55094
2011-01-02 14:57:20 +00:00
Alyssa Milburn
1f579add9f MOHAWK: Don't delete the MIDI driver before the parser.
The parser was trying to call into the deleted driver.

svn-id: r55093
2011-01-02 14:23:18 +00:00
Bastien Bouclet
fd5754d6af MOHAWK: Fix checking Myst rocket sound puzzle before moving all the sliders.
Fix a off by one graphical glitch that happened when moving sliders.
Implement opcode 300.

svn-id: r55092
2011-01-02 14:15:15 +00:00
Arnaud Boutonné
d063b074cd JANITORIAL: Suppress some useless includes
svn-id: r55091
2011-01-02 14:06:42 +00:00
Arnaud Boutonné
fcf40ad626 HUGO: Some space/tab cleanups
svn-id: r55088
2011-01-01 23:57:50 +00:00
Filippos Karapetis
32d7e687ee SCI: debugC calls no longer require a debug level of 2 to show output
svn-id: r55086
2011-01-01 12:48:12 +00:00
Filippos Karapetis
d44a105e7f SCI: Disable continuous list checking by default
svn-id: r55085
2011-01-01 12:43:09 +00:00
Arnaud Boutonné
5d6771e3df HUGO: Midi are no longer looping. Add handling to default playlist
svn-id: r55084
2011-01-01 10:51:57 +00:00
Arnaud Boutonné
473ddccf50 HUGO: Reduce CPU usage by adding a delay in the main loop
svn-id: r55083
2011-01-01 10:13:42 +00:00
Arnaud Boutonné
3358001c39 HUGO: Add CTRL-l and CTRL-s keys used in Win versions.
CTRL-n has been added too, but is currently only a STUB

svn-id: r55081
2010-12-31 22:44:16 +00:00
Arnaud Boutonné
11d4742520 HUGO: Saving a game is no longer authorized when gameOverFl is set
svn-id: r55079
2010-12-31 16:25:28 +00:00
Torbjörn Andersson
aa9786604c JANITORIAL: Remove unnecessary semicolon.
svn-id: r55077
2010-12-31 15:19:42 +00:00
Arnaud Boutonné
1df582aecb HUGO: F6 now also closes inventory in Win versions
svn-id: r55076
2010-12-31 14:50:22 +00:00
Filippos Karapetis
e48b07e3bd SCI: Added workaround for script bug #3148418 - "QFG2: Script Error On last screen"
svn-id: r55075
2010-12-31 11:32:19 +00:00
David Turner
04043240b1 GOB: Minor Correction in Debug Console Header.
svn-id: r55074
2010-12-31 11:00:50 +00:00
David Turner
c71c3ab591 MOHAWK: Minor Correction to Graphics Debug Output.
svn-id: r55073
2010-12-31 10:58:59 +00:00
David Turner
f96c8f6e39 CINE: Fix CollisionPage Uninitialised Reads in Operation Stealth.
The collisionPage is only initialised with values when loadCtFw() / loadCtOS() is called.
However, currently during the display of the Delphine Software Logo in Operation Stealth,
checkCollision() is called, but the collisionPage has not been loaded.
To fix the invalid reads, have added code to set the page to zero after allocation.
Shouldn't cause any issues to FW as this will load over the top anyway.

Have also added debug output around this behaviour so that if this is not sufficient i.e. a collision page load is actually missing, then this will aid investigation.

svn-id: r55071
2010-12-31 09:14:49 +00:00
David Turner
c9330fb79e CINE: Close Memory Leak in PCSoundFxPlayer.
This leakage was reported by Valgrind while playing Operation Stealth.

svn-id: r55070
2010-12-31 09:07:44 +00:00
Arnaud Boutonné
542f946155 HUGO: Fix default values in object_t structure for viewx field and followings.
This fixes some other bugs reported by D. Gray

svn-id: r55068
2010-12-30 22:07:12 +00:00
Arnaud Boutonné
1dd3142330 HUGO: Fix several bugs reported by D. Gray
svn-id: r55067
2010-12-30 21:07:38 +00:00
Bastien Bouclet
14cd97cc77 MOHAWK: Implement Myst opcodes 129 to 132, and 192 to 197, Stellar observatory buttons
svn-id: r55065
2010-12-30 13:53:14 +00:00
Bastien Bouclet
6c9a4d36ec MOHAWK: Implement Myst opcode 214, Stellar observatory initialization
svn-id: r55063
2010-12-29 19:33:49 +00:00
David Turner
7bc8fe8ef5 CINE: Fix Memory Leak in PCSoundFxPlayer.
Found this using Valgrind when loading a Future Wars savegame from the launcher.
Occurs since the load() method called stop() but this did not unload() the allocated playing
resource data unless it was still playing. Fixed in stop() by calling unload() in all cases.

svn-id: r55059
2010-12-29 09:53:58 +00:00
David Turner
fef667cbe9 CINE: Fixed mismatched deallocation in ScriptVars reported by Valgrind.
svn-id: r55058
2010-12-29 09:50:48 +00:00
Arnaud Boutonné
4a94eba80a TOON: Add mapping for upper 'ç' and for plenking, both used in french version
svn-id: r55057
2010-12-28 21:19:31 +00:00
Filippos Karapetis
7bc1ff065b SCI: Fixed script bug #3038870 - "SCI Fanmade - Demo Quest: ScummVM hangs with typo" and
removed a related FIXME

svn-id: r55056
2010-12-28 21:05:30 +00:00
Sylvain Dupont
ab01c8e5fc TOON: Fixed memory corruption in several rooms
Some mask line drawings were writing outside the buffer.

svn-id: r55055
2010-12-28 13:13:55 +00:00
Sylvain Dupont
bccf4606c9 TOON: Removed useless confusing code in conversation process part
svn-id: r55054
2010-12-28 13:11:17 +00:00
Travis Howell
ccb8a01b17 SCUMM: Correct fix for bug #3145951 - DIG: Subtitles won't turn off (regression).
svn-id: r55053
2010-12-28 06:05:57 +00:00
Travis Howell
cfbac503ad SCUMM: Another fix for bug #3145951 - DIG: Subtitles won't turn off (regression).
svn-id: r55052
2010-12-28 05:43:03 +00:00
Sylvain Dupont
1b8678d5de TOON: Path finding bug fixes
Allows Flux to walk close to Drew if really needed to prevent total path block.
Prevents path finding if the character is out of the screen

svn-id: r55051
2010-12-27 21:56:52 +00:00
Travis Howell
fe12e08dd6 SCUMM: Fix bug #3145951 - DIG: Subtitles won't turn off (regression).
svn-id: r55050
2010-12-27 14:07:53 +00:00