Commit Graph

38024 Commits

Author SHA1 Message Date
Martin Kiewitz
7029b059bf SCI: disabling music fading again, but only for sci32 - drivers seem to have issues when fading in on gk1/sierra logo
svn-id: r49271
2010-05-27 21:20:07 +00:00
Max Horn
bbaf98127d correct typo
svn-id: r49270
2010-05-27 20:59:15 +00:00
Martin Kiewitz
d2513c9cc2 SCI: enabling fading again, issues in pharkas and gk1demo are actually "normal" - maybe we should add some hack workaround, but the delay in ssci was just slow resource loading
svn-id: r49269
2010-05-27 20:53:37 +00:00
Max Horn
4ba291d4b1 GUI: Fix about dialog regression from my previous commit
svn-id: r49268
2010-05-27 20:29:39 +00:00
Max Horn
b99d65e561 Fix for bug #3007656: "GMM: Crash in 320x200"
svn-id: r49267
2010-05-27 19:34:41 +00:00
Max Horn
a03b5a3434 GUI: Reduce code duplication in about dialog
svn-id: r49266
2010-05-27 19:34:12 +00:00
Matthew Hoops
a32b7b3851 Fix starting GK1.
svn-id: r49265
2010-05-27 17:47:32 +00:00
Martin Kiewitz
845c34ee45 SCI: removing tab from vo output (debug console)
svn-id: r49264
2010-05-27 17:43:06 +00:00
Martin Kiewitz
453d13dc2d SCI: fixing -propDict- selector on instances to contain -propDict- of the corresponding class - fixes sq4cd/room 381 talk-clicking on robot - thx to waltervn & wjp
svn-id: r49263
2010-05-27 17:41:20 +00:00
Filippos Karapetis
5f5dcbad47 Added an explanation for audio36 and sync36 external patches
svn-id: r49262
2010-05-27 12:00:20 +00:00
Martin Kiewitz
cfed70df07 SCI: fixing resuming samples - fixes hang when ship is flying away happening when you entered menu during that sequence
svn-id: r49261
2010-05-27 11:26:37 +00:00
Filippos Karapetis
e5eaf3ee55 Split all of the audio-related functions of the resource manager in a separate file
svn-id: r49260
2010-05-27 08:09:32 +00:00
Filippos Karapetis
739f551852 Slight formatting, and added a note that audio36 and sync36 resource patches were introduced in SCI2, and didn't exist in SCI0-SCI1.1
svn-id: r49259
2010-05-27 07:50:23 +00:00
Yotam Barnoy
5f53683cab PSP: fixed a screen shake bug
svn-id: r49258
2010-05-27 06:21:37 +00:00
Yotam Barnoy
f7ba7b4684 PSP: fixed issue with handling of EOS. Caused crashes.
svn-id: r49257
2010-05-27 06:11:50 +00:00
Matthew Hoops
99fc5cbfca Add the Mac sync resource type and allow for more than 9 Mac SCI1.1+ data files.
svn-id: r49255
2010-05-27 03:15:24 +00:00
Matthew Hoops
7f678907d7 Add some null checking when pausing/resuming videos.
svn-id: r49254
2010-05-27 02:15:11 +00:00
Filippos Karapetis
2c2a1fa1ba Made _k_new_node() a method of the segment manager, and fixed a bug with the rarely used SCI0 kernel function kSort in the process (_k_new_node was called with key, value instead of value, key inside kSort)
svn-id: r49251
2010-05-26 22:05:51 +00:00
Martin Kiewitz
d35121fc61 SCI: fixing kReadNumber to behave like in sierra sci (non standard atoi implementation) - fixes big door not unlocking in sq4
svn-id: r49250
2010-05-26 20:48:08 +00:00
Max Horn
947edd08c3 Replace SCUMM F5 dialog by GMM & add help button to GMM
The new "Help" button in the GMM is currently only used by SCUMM.
To use it, an engine currently needs to subclass MainMenuDialog.

svn-id: r49249
2010-05-26 19:54:50 +00:00
Max Horn
db475d1501 SCI: More const related changes; remove unnecessary casts which hide const issues
svn-id: r49248
2010-05-26 18:11:17 +00:00
Martin Kiewitz
2fa8ac0575 SCI: adding another workaround for picture 376 in sq4/cd (same issue like originally found in r49216)
svn-id: r49247
2010-05-26 17:15:49 +00:00
Max Horn
0197e9f6a1 SCI: Making various object and script related things const
svn-id: r49246
2010-05-26 16:30:10 +00:00
Matthew Hoops
017507ffa6 Take any 'moov' resource from a resource fork, not just 0x80; minor cleanup.
svn-id: r49245
2010-05-26 15:42:26 +00:00
Max Horn
7b8837cda7 SCI: Simplify appending string 'seeker' to sierraId
svn-id: r49244
2010-05-26 15:41:50 +00:00
Yotam Barnoy
8b54efd8a6 PSP: implemented basic file cache. Turns out the PSP reads 1 byte as fast as it reads 1 KB.
svn-id: r49243
2010-05-26 14:43:25 +00:00
Filippos Karapetis
af8a82aa13 Fixed compilation
svn-id: r49242
2010-05-26 14:31:51 +00:00
Filippos Karapetis
bfaba64c6a Made find_unique_script_block() a member of the Script class
svn-id: r49241
2010-05-26 14:25:51 +00:00
Eugene Sandulenko
d502bdf982 Add safeguards when no engines with engine-data are included. Inspired by patch #2986300
svn-id: r49240
2010-05-26 13:27:11 +00:00
Eugene Sandulenko
2f4f70f3b0 Patch #2951677: Text boxes should init with the caret at the beginning
svn-id: r49239
2010-05-26 13:26:52 +00:00
Martin Kiewitz
1a01caece7 SCI: adding another hack to sci32 picture drawing, fixes crash in sci32 games introduced by r49216
svn-id: r49238
2010-05-26 13:24:32 +00:00
Matthew Hoops
163847b245 Fix the 'boiling water' videos in the boiler puzzle.
svn-id: r49237
2010-05-26 13:11:04 +00:00
Matthew Hoops
f2dda51943 Have makeADPCMStream use the entire stream if the size is 0 (as it says in the doxygen comment).
svn-id: r49236
2010-05-26 12:15:14 +00:00
Filippos Karapetis
14fae8db03 Proper fix for the MSVC warning concerning packing: reordered the members of the ParseTable struct and removed the struct packing pragmas
svn-id: r49235
2010-05-26 11:56:58 +00:00
Filippos Karapetis
3187149cca Avoid adding a null char in the sierraId Common::String
svn-id: r49234
2010-05-26 11:02:50 +00:00
Filippos Karapetis
65fa2f5af8 Formatting
svn-id: r49233
2010-05-26 10:37:54 +00:00
Filippos Karapetis
1bee6daff0 Added more info to the warning thrown when argc > 1 while modifying a variable selector in send_selector()
svn-id: r49232
2010-05-26 10:35:54 +00:00
Filippos Karapetis
9a66bfb575 After running some tests, it appears that modifying argc inside send_selector() was a bad idea. Reverting the relevant code, and putting the warning back, with some extra comments
svn-id: r49231
2010-05-26 09:59:40 +00:00
Filippos Karapetis
1818fa137f Silence a warning inside send_selector(): argc > 0 means "write selector". Added code do make sure that argc is always either 0 or 1 when referencing variable selectors (this isn't strictly necessary, but better safe than sorry...). Some cleanup
svn-id: r49230
2010-05-26 09:33:33 +00:00
Paul Gilbert
eca8c35cfc Gave proper names to each flag in the message flag set
svn-id: r49229
2010-05-26 08:32:32 +00:00
Filippos Karapetis
1c0bbb10cb More work on controlling access to members of the Object class:
- Moved the code for initializing the object class, species and base object inside the Object class
- Made propertyOffsetToId() a method of the Object class
- Made relocateObject() a method of the Object class
- The Object getVariable() method now returns a reference to the requested variable

Only SegManager::reconstructScripts() is left needing direct access to the members of the Object class

svn-id: r49228
2010-05-26 08:27:24 +00:00
Filippos Karapetis
60dd310688 Cleanup
svn-id: r49227
2010-05-26 06:53:08 +00:00
Filippos Karapetis
ad9772fac6 Properly fixed MSVC warning C4121 (alignment of a member was sensitive to packing)
svn-id: r49226
2010-05-26 06:45:57 +00:00
Filippos Karapetis
2c6ea824ec Reverted commit #49107 - it is pointless to keep silencing this warning (which is, in fact, correct)
svn-id: r49225
2010-05-26 06:44:07 +00:00
Matthew Hoops
cd5e90f298 Implement QuickTime playback for SCI1.1 Mac. The 'Halfdome' and 'KQ6Movie' videos now play. However, they require multiple edit list support to look completely correct.
svn-id: r49224
2010-05-26 03:43:21 +00:00
Eugene Sandulenko
b8df22646b Patch #2959341: Minor update to SCUMM debugger command 'passcode'
svn-id: r49221
2010-05-25 20:47:48 +00:00
Martin Kiewitz
71436c5a86 SCI: adding comment about error() on pattern opcodes sci1.1+
svn-id: r49217
2010-05-25 18:48:50 +00:00
Martin Kiewitz
aa8c6377a5 SCI: error out on pattern opcodes inside vector data when drawing pictures in sci1.1+, also adding workaround for garbage data inside picture 381 in sq4
svn-id: r49216
2010-05-25 18:45:25 +00:00
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