Commit Graph
86814 Commits
Author SHA1 Message Date
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
Jordi Vilalta Prat dd47d644d3 COMMON: Fix a few space formatting issues.
svn-id: r55200
2011-01-11 03:03:40 +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
Marcus Comstedt 2001719241 MT32: Fixed compilation warnings
The conversion specification "%f" converts a double, not a float,
so floats need to be converted to doubles before passing them to
vprintf().

svn-id: r55175
2011-01-08 21:11:31 +00:00
Marcus Comstedt 910e2f0760 DC: Sync legacy makefile with recent changes
svn-id: r55173
2011-01-08 20:51:25 +00:00
Marcus Comstedt 59945ac2d0 DC: Fix a compilation warning
svn-id: r55172
2011-01-08 20:34:54 +00:00
Marcus Comstedt 98e057603c DC: Implement logMessage()
svn-id: r55171
2011-01-08 20:33:07 +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
Jordi Vilalta Prat b24aab3052 OPENGL: Skip empty texture updates.
This fixes some hangs when calling the GMM while running Fascination.

svn-id: r55166
2011-01-08 16:05:27 +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
Sven Hesse 3ac598624d BUILD: Include scummsys.h to force rebuild after reconfigure
svn-id: r55157
2011-01-08 03:36:21 +00:00
Willem Jan Palenstijn 6a28d05676 BUILD: Include scummsys.h to force rebuild after reconfigure (thanks LordHoto)
svn-id: r55156
2011-01-08 03:27:13 +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
Marcus Comstedt 176be9adad DC: Ensure creation of output sections .{c,d}tors
Add an object with an empty .ctors and .dtors section to the build
of each plugin.  This ensures that there will be an output section
.ctors and one .dtors in the output file (they could be empty though).
If these output sections were to be removed, the symbols defined inside
by the linker script could disappear as well, and we don't want that.

svn-id: r55149
2011-01-07 16:25:05 +00:00