19635 Commits

Author SHA1 Message Date
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