15809 Commits

Author SHA1 Message Date
Matthew Hoops
5f3952e578 Fix a Myst regression: not a good idea to use memset on a Common::String :)
svn-id: r49215
2010-05-25 18:11:14 +00:00
Martin Kiewitz
849cfe4f0e SCI: dont lock mutex in pauseAll(), isn't needed anyway - fixes deadlock in sq4
svn-id: r49214
2010-05-25 15:38:30 +00:00
Martin Kiewitz
2502038e73 SCI: sci1.1 uses hardcoded white for picture cel data instead of the value specified in header - fixes pixel glitches in island of dr. brain title, sq4 title and qfg3 room during intro
svn-id: r49213
2010-05-25 12:53:35 +00:00
Martin Kiewitz
5317b8195d SCI: sci1.1 changed priority to 15, when adding to picture - fixes title in island of dr. brain intro
svn-id: r49212
2010-05-25 12:04:32 +00:00
Paul Gilbert
961a64a9f8 Bugfix to allow timed text to display in the correct colours
svn-id: r49211
2010-05-25 11:54:18 +00:00
Paul Gilbert
a83aafab54 Changed the font system to allow for multiple fonts to be loaded simultaneously
svn-id: r49209
2010-05-25 10:46:56 +00:00
Matthew Hoops
4a8841202a Implement *scpbtn and *_domecheck. The domes can now be opened/closed (not using the sliders).
svn-id: r49208
2010-05-25 03:46:28 +00:00
Martin Kiewitz
58a7dbe721 SCI: forgot one rename in r49202 - MSVC, why?
svn-id: r49203
2010-05-24 21:51:45 +00:00
Martin Kiewitz
830d17ed31 SCI: renaming MacIconBar to GfxMacIconBar
svn-id: r49202
2010-05-24 21:47:06 +00:00
Filippos Karapetis
d4ae096a63 Surface is a struct, not a class
svn-id: r49201
2010-05-24 20:50:53 +00:00
Matthew Hoops
f5ec3a3f74 Oops, forgot to delete the icon bar.
svn-id: r49199
2010-05-24 17:55:23 +00:00
Martin Kiewitz
3fa50583a0 SCI: leave console open for pic_visualize/undither commands - also don't use SciGui class for undither anymore
svn-id: r49198
2010-05-24 17:45:00 +00:00
Matthew Hoops
d49fb8f42d Add support for showing the icon bar in SCI1.1 Mac.
svn-id: r49196
2010-05-24 17:21:11 +00:00
Matthew Hoops
ad0eb0b06e Move the PICT code to graphics/ with some updates; needed for SCI1.1 Mac.
svn-id: r49195
2010-05-24 17:18:09 +00:00
Eugene Sandulenko
afd909d69e Fix bug #2827172: DRASCULA: Cursor appears ontop of ending and credits
svn-id: r49194
2010-05-24 16:59:06 +00:00
Eugene Sandulenko
e39bf47717 Fix crash when there is no drascula.dat file
svn-id: r49193
2010-05-24 16:58:42 +00:00
Eugene Sandulenko
c96e234a0a Fix warning
svn-id: r49192
2010-05-24 16:58:14 +00:00
Eugene Sandulenko
07ccf29ecf Fix Russian versions of airport and farm as they use extended charset.
svn-id: r49191
2010-05-24 16:56:56 +00:00
Martin Kiewitz
e9db62b272 SCI: sort according to original order in kAnimate, when y and z are the same - fixes iceman half-open compartment in room 35
svn-id: r49189
2010-05-24 15:39:30 +00:00
Martin Kiewitz
b49efb67f6 SCI: only remove isQueued status for sound sci0
svn-id: r49187
2010-05-24 14:47:43 +00:00
Martin Kiewitz
350e3d7c05 SCI: remove isQueued status when sound gets stopped - fixes iceman resuming music when entering hotel complex (with bar) right at the start
svn-id: r49186
2010-05-24 13:50:19 +00:00
Eugene Sandulenko
6e66fa3726 sync
svn-id: r49184
2010-05-24 13:26:16 +00:00
Paul Gilbert
6bda3e15db Implemented the bulk of the logic for displaying timed on-screen messages
svn-id: r49180
2010-05-24 12:12:27 +00:00
Eugene Sandulenko
f9217ec031 Added Russian airport and farm. Needs more work as crashes at attempt to opening some dictionary entries with Cyrillic characters
svn-id: r49176
2010-05-24 07:47:07 +00:00
Matthew Hoops
2f31b05651 Move Mohawk's QuickTime code to graphics/ (and QDM2 to sound, disabled when Mohawk is not enabled) so SCI can use the code.
svn-id: r49165
2010-05-23 18:33:55 +00:00
Filippos Karapetis
e2a388e2f5 SCI: Enabled saving from the ScummVM menu again
svn-id: r49164
2010-05-23 18:03:23 +00:00
Martin Kiewitz
2ffbd661ac SCI: removed hack for iceman in kDoBresen - fixes all sorts of automatic walking issues (like rescueing ambassador) in iceman, dancing at the beginning also still works - thx to [md5]
svn-id: r49163
2010-05-23 17:40:42 +00:00
Filippos Karapetis
7cd9a23c0d Remove the unused SCI_GAME_WAS_RESTARTED_AT_LEAST_ONCE flag
svn-id: r49161
2010-05-23 17:03:16 +00:00
Martin Kiewitz
db74441d55 SCI: fixing crash in _vocab_add_rule when running qfg2 demo
svn-id: r49160
2010-05-23 16:59:09 +00:00
Filippos Karapetis
9be4f6250c Made shrink_execution_stack() a member of EngineState
svn-id: r49159
2010-05-23 16:44:36 +00:00
Martin Kiewitz
b069b9fe96 SCI: reenabling "stopAllSounds" code disabled in r49101 - isn't called anymore since priority is honored so it may have been right after all
svn-id: r49158
2010-05-23 16:42:49 +00:00
Martin Kiewitz
d27e32aa19 SCI: fix regression of r49156 - if multiple songs are stored for resume-play, use the last one - fixes iceman wrong music played after going through door in room 14 - still not sure about this, added fixme
svn-id: r49157
2010-05-23 13:22:58 +00:00
Martin Kiewitz
aa4ae667a9 SCI: use priority when queuing up music in sound sci0 -> fixes lsl3 jingle issues
svn-id: r49156
2010-05-23 12:22:23 +00:00
Torbjörn Andersson
1b294306dd Another video player regression: When the palette changes, look up the
lightest/darkest available colours to use as white/black for the subtitles. It
is possible that we could get away with fixed values for Broken Sword 2, since
it has always had subtitles. But for Broken Sword 1, subtitles is a ScummVM
addition, and we can't.

svn-id: r49154
2010-05-23 11:16:10 +00:00
Torbjörn Andersson
8ed56e1834 Keep the Broken Sword cutscene players from using up all available CPU.
Probably a regression from the recent video decoder rewrite, but I haven't
checked if it also present in other engines.

svn-id: r49153
2010-05-23 10:50:14 +00:00
Filippos Karapetis
c874ff15a8 Cleaned up the game ID code:
- The game ID is now obtained from ScummVM ID directly, not by converting Sierra's internal ID
- Moved the code which reads the internal Sierra ID inside the resource manager
- Moved the code which converts the internal Sierra ID to ScummVM's IDs together with the rest of the detection code

svn-id: r49152
2010-05-23 10:28:03 +00:00
Paul Gilbert
dd9bf70761 Major work done on the animation and support classes to match the original
svn-id: r49150
2010-05-23 07:20:40 +00:00
Martin Kiewitz
d04c7a58aa SCI: adding ability to specify hexadecimal number as index for debug command vmvars - also report error if invalid index is given to us
svn-id: r49148
2010-05-22 21:46:40 +00:00
Nicola Mettifogo
5f2a88e596 Cleanup (removed more Parallaction::getGameType() calls).
svn-id: r49147
2010-05-22 18:00:16 +00:00
Nicola Mettifogo
95f6a71f36 Cleanup (removed many Parallaction::getGameType() calls).
svn-id: r49146
2010-05-22 17:59:49 +00:00
Nicola Mettifogo
2f5cb946bb Finish implementation of hitZone and related functions as from the original code.
svn-id: r49145
2010-05-22 17:59:33 +00:00
Nicola Mettifogo
b4813f9b18 Apply patch 3004687 by fuzzie: allow usage of merge zones.
svn-id: r49144
2010-05-22 17:59:16 +00:00
Filippos Karapetis
80ffcc621d Cleanup
svn-id: r49143
2010-05-22 16:54:13 +00:00
Filippos Karapetis
9b6a3712d6 Rewrote and simplified the game ID detector. It now properly works with SCI0-SCI2.1 games
svn-id: r49142
2010-05-22 16:50:15 +00:00
Nicola Mettifogo
45a5c29cdf Apply patch 3005433 by fuzzie: new 'toggleglobalflags' command for the debugger.
svn-id: r49141
2010-05-22 15:56:27 +00:00
Nicola Mettifogo
866e15e8b2 Apply patch 3004991 by fuzzie: don't try and run dialogues for SPEAK zones without dialogue, but run the command list anyway.
svn-id: r49140
2010-05-22 15:56:09 +00:00
Nicola Mettifogo
1b6d9c86e2 Make sure a dialogue is valid before entering dialogue mode.
svn-id: r49139
2010-05-22 15:30:18 +00:00
Nicola Mettifogo
d56352cbd5 Use the kZoneYourself flag to check zones for self-use in BRA. See patch 3003626.
svn-id: r49138
2010-05-22 12:37:07 +00:00
Nicola Mettifogo
a8ea833941 Do not make the character walk towards the zone clicked upon by the user if it is marked for self-use. See patch 3003626.
svn-id: r49137
2010-05-22 12:36:52 +00:00
Nicola Mettifogo
5280cbbbcd Added descriptions for kFlagsSelfuse and kFlagsYourself. See patch 3003626.
svn-id: r49136
2010-05-22 12:36:36 +00:00