Commit Graph

37999 Commits

Author SHA1 Message Date
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
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
Max Horn
7bbbaf7d8c Patch #3006178: "rjp1: calculate sample length correctly"
Fixes bug #3001110: "FOTAQ Amiga: crashes reporting assertion failure"
Added a NEWS entry to the patch.

svn-id: r49210
2010-05-25 11:35:16 +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
Matthew Hoops
ab540af9f8 Fix a regression with rewinding in QuickTime videos (looping works in Riven again) and some minor cleanup.
svn-id: r49206
2010-05-25 02:35:50 +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
Yotam Barnoy
1caf98700b PSP: to fix the audio, I cleaned up the audio thread and changed the thread priorities.
svn-id: r49200
2010-05-24 18:20:16 +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
Matthew Hoops
5ceb896b6b Have the MacResManager ignore resources with length 0.
svn-id: r49190
2010-05-24 16:51:33 +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
Eugene Sandulenko
19f369fe3b Added Russian Windows release of puttmoon
svn-id: r49183
2010-05-24 13:22:52 +00:00