Commit Graph
86814 Commits
Author SHA1 Message Date
Torbjörn Andersson 2da9fa5a6e Rewrote playMovieSound() to keep it from hogging memory in the resource
manager. Perhaps this will finally fix the mysterious bug #2976008 ("BS2: Game
lockup in British Museum").

svn-id: r49036
2010-05-15 08:38:19 +00:00
Paul Gilbert 86bfccb842 Removed use of globally constructed menu item position lists
svn-id: r49035
2010-05-15 00:42:56 +00:00
Paul Gilbert e91df69eb6 Decoded further fields in the SequenceList class, and started implementation of kernel message display
svn-id: r49034
2010-05-15 00:28:44 +00:00
Filippos Karapetis 6d38cf8b8f Made locateVarSelector() a method of the Object class
svn-id: r49031
2010-05-14 15:23:42 +00:00
Filippos Karapetis 25bac3bef4 Silenced some MSVC warnings
svn-id: r49030
2010-05-14 15:21:00 +00:00
Martin Kiewitz 94f1af2b44 SCI: if no priority is set (=255) and a cel is embedded in picture vector data -> set priority to 0, fixes kq5/amiga - first scene not showing
svn-id: r49029
2010-05-14 11:49:09 +00:00
Martin Kiewitz c083ce2879 SCI: fix window, when its too large for screen (fixes sq3 crash at ending, actually caused by script bug)
svn-id: r49028
2010-05-13 22:04:53 +00:00
Martin Kiewitz 38c661bfac SCI: fix regression of r49026 - line between titlebar and actual window was overdrawn
svn-id: r49027
2010-05-13 21:29:32 +00:00
Martin Kiewitz a5f59ccdae SCI: remove hack code for shadows and implement them properly (shadow is actually part of the window, not added onto the window) - fixes especially lsl5
svn-id: r49026
2010-05-13 21:14:37 +00:00
Martin Kiewitz 070b2e14fe SCI: don't adjust new windows to _wmgrPort for oldGfxFunctions() games (till kq4 .502), fixes all window positions for those especially sq3old speech bubble windows
svn-id: r49025
2010-05-13 20:19:54 +00:00
Martin Kiewitz faffc57136 SCI: removing one assert() from view loading, cause view 260 in kq6 really contains a celCount == 0 o_O
svn-id: r49024
2010-05-13 15:49:52 +00:00
Martin Kiewitz 86cd5b71fc SCI: adding some more assert()s in view data loading for clone :D
svn-id: r49023
2010-05-13 15:39:20 +00:00
Johannes Schickel 983c41bea2 Remove useless const on a value return type.
svn-id: r49022
2010-05-13 13:32:12 +00:00
Eugene Sandulenko f5f104f550 Fix bug #2880229: KQ4 AGI not recognized
svn-id: r49021
2010-05-13 12:39:01 +00:00
Martin Kiewitz 49d41d891b SCI: figured out weird special mac sci1.1 view decompression (currently commented out for clone2727)
svn-id: r49020
2010-05-13 12:29:55 +00:00
Martin Kiewitz 7329e815af SCI: header size within sci1.1+ views doesn't include the actual header size word, adjust accordingly (should make mac view support possible now)
svn-id: r49019
2010-05-12 21:28:38 +00:00
Matthew Hoops fab2e2a8c4 Fix mismatched new[]/delete[]
svn-id: r49018
2010-05-12 20:22:10 +00:00
Martin Kiewitz 6f46d00a0a SCI: changed behaviour for kDisplay change (r49012) to use oldGfxFunctions (.502), which isn't 100% accurate (should be .566) but better than not restoring for whole SCI0LATE
svn-id: r49017
2010-05-12 20:13:48 +00:00
Martin Kiewitz b50af74703 SCI: tracked down the kDisplay change, added comment about that
svn-id: r49016
2010-05-12 19:56:50 +00:00
Martin Kiewitz 579a19fbc4 SCI: fix code that was commented out (wasn't meant to get commited that way) during cleanup r47745
svn-id: r49015
2010-05-12 19:46:24 +00:00
Martin Kiewitz a9e5f65376 SCI: added comments about r49012, change actually happened during sci0late
svn-id: r49014
2010-05-12 16:36:08 +00:00
Yotam Barnoy dd8aa85eb5 PSP: fixed debug function. Compiler optimization was calling the destructor before the end of the function, causing incorrect stack output.
svn-id: r49013
2010-05-12 14:11:28 +00:00
Martin Kiewitz 9d3c8d4910 SCI: dont restore port settings for SCI0 games (fixes sq3 wrong font used when scanning for planets)
svn-id: r49012
2010-05-12 11:55:39 +00:00
Nicola Mettifogo dae53f7d74 Changed the last global objects to class members.
svn-id: r49011
2010-05-12 09:28:29 +00:00
Travis Howell 920e47cca0 Fix missing songs in the HE73 version of Putt-Putt Saves the Zoo.
svn-id: r49010
2010-05-12 05:01:58 +00:00
Matthew Hoops 47d6284c83 ListIndexOf can have a null object reference, so adjust its signature. GK1 no longer crashes when right clicking in the inventory.
svn-id: r49009
2010-05-12 01:22:37 +00:00
Matthew Hoops 8b1cb63de3 Pass by reference instead of value to getResource(String)
svn-id: r49008
2010-05-11 19:13:24 +00:00
Martin Kiewitz b05694b529 SCI: fix crash/heap issue when saving games (change was actually made by waltervn)
svn-id: r49007
2010-05-11 16:16:49 +00:00
Martin Kiewitz a5ed930340 SCI: remove unneeded _mutex lock to fix deadlock issue
svn-id: r49006
2010-05-11 16:15:21 +00:00
Matthew Hoops 1c0ffdc42d Add support for loading T7G Mac resources using the MacResManager.
svn-id: r49005
2010-05-11 15:41:31 +00:00
Matthew Hoops 59476e44b9 Add support for getting a resource from the resource fork by name.
svn-id: r49004
2010-05-11 15:38:21 +00:00
Martin Kiewitz a9a56d50f0 SCI: init _sysPaletteChanged
svn-id: r49003
2010-05-11 11:44:17 +00:00
Oystein Eftevaag 829bded59f Added stripping and permissions of the iPhone executable in ports.mk
svn-id: r49002
2010-05-11 01:17:17 +00:00
Andre Heider 99ee5701f5 Fix build with scalers for msvc.
svn-id: r49001
2010-05-10 20:55:24 +00:00
Martin Kiewitz a31de2adfa SCI: set signal to SIGNAL_OFFSET, when a music slot is played that doesn't contain supported data - fixes lsl5 mud wrestling "regression" in new music/sound code (worked before with old music/sound engine)
svn-id: r49000
2010-05-10 20:32:55 +00:00
Lars Persson dce50f2e2d Error.cpp needs to be included in the application mmp also for error translation.
svn-id: r48999
2010-05-10 19:44:19 +00:00
Matthew Hoops 7344ac20d7 Add support for loading SCI games from Mac resource forks. The games themselves do not work yet as some (not all) of the data is in BE order instead of LE. They currently error out because it thinks the relocation block is outside of the script.
svn-id: r48998
2010-05-10 18:29:13 +00:00
Matthew Hoops b9813063ad Add support to the MacResManager and AdvancedDetector to take the md5 of a resource fork. This introduces a new flag, ADGF_MACRESFORK, which when set will take the md5 and size from the resource fork instead of the data fork.
svn-id: r48997
2010-05-10 18:23:54 +00:00
Andre Heider be0885e9d1 Revert r48979. Instead, make the HQ scalers depend on the normal ones. Configure reflects that now.
svn-id: r48996
2010-05-10 17:25:12 +00:00
Matthew Hoops cdf30ecc5a Minor fix for using the MacResManager with a regular file; switch MacBinary's data fork to using a SeekableSubReadStream instead of a MemoryReadStream.
svn-id: r48995
2010-05-10 00:50:37 +00:00
Eugene Sandulenko 0078818549 Patch #2987340: GSoC: CINE: Hide cursor when viewing inventory
svn-id: r48994
2010-05-09 21:15:58 +00:00
Eugene Sandulenko 4eba9581b7 Extended patch #2971742: SCUMM: autodetection for diskimage contents.
I added NES bundle handling to the patch.

svn-id: r48991
2010-05-09 20:58:41 +00:00
Eugene Sandulenko e02168fb68 Fix bug in NES bundle reader which prevented reenterability
svn-id: r48990
2010-05-09 20:52:20 +00:00
Max Horn ea964491a0 Revise how prefix, datadir etc. are handled.
With these changes, we are a bit closer to how autoconf works, the
de-facto standard for configure scripts. The changes make it easier
for packagers to modify where ScummVM install things (e.g. the
Maemo port might benefit from this). It is now also trivial to
override certain paths when invoking make, e.g. you can now do
  make install prefix=/opt
and also datadir, mandir etc. will reflect the change.

svn-id: r48989
2010-05-09 20:42:18 +00:00
Johannes Schickel 0ace80fed4 Fix for bug #2995282 "FT: Cavefish Hideout Chase (Failure Cutscene) Crash".
The bug itself is actually a regression from r43577, the merge
of the gsoc2009-16bit branch.

svn-id: r48987
2010-05-09 20:17:30 +00:00
Eugene Sandulenko 57f2425b28 Patch #2901515: HE: Resource Forks on Mac OS X
svn-id: r48984
2010-05-09 18:27:56 +00:00
Eugene Sandulenko 99be189068 New drascula.dat with updated German texts
svn-id: r48983
2010-05-09 18:15:28 +00:00
Eugene Sandulenko 1823f6d94f Patch #2970203: Drascula: typo fixes in german text
svn-id: r48982
2010-05-09 18:12:22 +00:00
Eugene Sandulenko b0f17579c9 Patch #2968610: Zak C64 German: crash due to padding bytes
svn-id: r48981
2010-05-09 18:05:00 +00:00
Andre Heider 09a54d765f Fallback to the nasm compatible yasm.
svn-id: r48980
2010-05-09 13:31:34 +00:00