37175 Commits

Author SHA1 Message Date
Vladimir Menshakov
ad8ebf0130 do not trigger combine for the one object
svn-id: r47975
2010-02-07 17:47:34 +00:00
Vladimir Menshakov
ef8d857baf fixed rgb chief glitch in final scene
svn-id: r47974
2010-02-07 17:46:29 +00:00
Matthew Hoops
7731ded5af Update comments in autoDetectSci21KernelType() explaining what we're checking for.
svn-id: r47973
2010-02-07 17:18:14 +00:00
Vladimir Menshakov
7ebbe374e6 added missing haystack callback, fixed fatso visibility bug
svn-id: r47972
2010-02-07 17:16:30 +00:00
Vladimir Menshakov
0e39a5ae45 committed missing file
svn-id: r47971
2010-02-07 17:15:04 +00:00
Vladimir Menshakov
9ed02ae0c6 process object callback both on left and right click. skip r-click callback for banknote.
svn-id: r47970
2010-02-07 17:14:32 +00:00
Vladimir Menshakov
ae938dbef8 added setFlag, fixed non-mark's messages
svn-id: r47969
2010-02-07 17:13:39 +00:00
Vladimir Menshakov
00d00f9cdc pathfinding improvements, added async flag setting
svn-id: r47968
2010-02-07 17:12:52 +00:00
Florian Kagerer
d4a0375f7e LOL: fixed handling of invalid monster attack sfx in the Urbish mines (should fix bug no #2945950)
svn-id: r47967
2010-02-07 16:12:31 +00:00
Willem Jan Palenstijn
5d23dd6fa3 SCI: Fix build without SCI32 (again)
svn-id: r47966
2010-02-07 15:48:47 +00:00
Martin Kiewitz
8eecdea67b SCI: GfxPalette::setFromResource() now actually passes force further down the chain
svn-id: r47965
2010-02-07 14:47:40 +00:00
Walter van Niftrik
635c7d970c SCI: Fix VM crash when NULL_REG is passed to AvoidPath (SCI32).
svn-id: r47964
2010-02-07 14:32:49 +00:00
Max Horn
57f9f4cc09 SCI: Some cleanup
svn-id: r47963
2010-02-07 12:16:45 +00:00
Max Horn
ae0c9b48cd Split GameFeatures::autoDetectFeature into several methods, one for each feature
svn-id: r47962
2010-02-07 12:16:23 +00:00
Max Horn
0a0875efb8 SCI: Add GameFeatures::getDetectionAddr auxillary method
svn-id: r47961
2010-02-07 12:15:59 +00:00
Max Horn
7c05a24ade SCI: Refactor GameFeatures::autoDetectFeature
svn-id: r47960
2010-02-07 12:15:35 +00:00
Max Horn
f3ef11cdc5 SCI: Switch GameFeatures::autoDetectFeature to using readPMachineInstruction
svn-id: r47959
2010-02-07 12:15:12 +00:00
Max Horn
4cfcf57546 SCI: Convert disassemble to use readPMachineInstruction.
This change is untested, please check it. Also, the opparams
array is not used but could be used to simplify the reading code.

svn-id: r47958
2010-02-07 12:14:49 +00:00
Max Horn
e0218d1ba3 SCI: Get rid of GET_OP_ macros
svn-id: r47957
2010-02-07 12:14:26 +00:00
Max Horn
3b4c54f0e5 SCI: Add function readPMachineInstruction()
svn-id: r47956
2010-02-07 12:13:59 +00:00
Martin Kiewitz
ed2a3f1f16 SCI: set screen palette only when it got changed during merge (performance only change)
svn-id: r47955
2010-02-07 12:13:34 +00:00
Martin Kiewitz
97c2543b0e SCI: dont set palette on kernelDrawCel() call
svn-id: r47954
2010-02-07 12:06:03 +00:00
Martin Kiewitz
749b0ea237 SCI: added dummy assertpalette to GfxPalette, setting destination palette immediately on kPalVary(start) call
svn-id: r47953
2010-02-07 12:00:06 +00:00
Paweł Kołodziejski
aa40d43091 rename to libscummvm.so to make compatible with tv from 2008
svn-id: r47952
2010-02-07 11:50:18 +00:00
Filippos Karapetis
3c8ab42eea With the new detection for setCursor, the game object and game ID are no longer required, which makes some ugly code obsolete. Yay! :)
svn-id: r47951
2010-02-07 09:33:53 +00:00
Matthew Hoops
9183ab57a3 SCI1 Mac games can call kGetFarText with a NULL destination, so we need to allocate the memory. King's Quest V Mac is now playable.
svn-id: r47950
2010-02-07 04:25:05 +00:00
Matthew Hoops
71c222e340 Oops, correct a comment.
svn-id: r47949
2010-02-07 03:00:52 +00:00
Matthew Hoops
ecd8e6f7d1 Rewrite detectSetCursorType() so that it works for KQ5 Mac in addition to KQ5 DOS CD.
svn-id: r47948
2010-02-07 02:53:07 +00:00
Arnaud Boutonné
d7a7fcd3a4 Fascination - Use invalidateRect instead of dirtiedRect, fix several other little errors
svn-id: r47947
2010-02-06 23:06:20 +00:00
Arnaud Boutonné
aaa5849567 Revert r47944: useless debug messages, sorry for the wrong commit
svn-id: r47946
2010-02-06 22:54:20 +00:00
Arnaud Boutonné
b8875aca0c Add an assert to avoid a crash when printing the character 0x00.
svn-id: r47945
2010-02-06 22:48:36 +00:00
Arnaud Boutonné
ceba3a6ce9 Add an assert to avoid a crash when printing the character 0x00.
svn-id: r47944
2010-02-06 22:47:13 +00:00
Martin Kiewitz
67870c7dc8 SCI: adding more debug output to kPalVary, fixing loading savedgames (_gfxPaint wasnt copied over)
svn-id: r47943
2010-02-06 21:38:58 +00:00
Torbjörn Andersson
6d69960704 Removed unnecessary semi-colons to keep GCC happy.
svn-id: r47942
2010-02-06 21:26:30 +00:00
Martin Kiewitz
3255b572ad SCI: added debug code to kPalVary, added warning when calling kPalette(setFromResource) with unsupported parameters
svn-id: r47941
2010-02-06 21:22:05 +00:00
Walter van Niftrik
1e67b56eee SCI: Revert r47925 and put fix inside GC instead.
svn-id: r47940
2010-02-06 19:41:55 +00:00
Martin Kiewitz
4cae2b13e2 SCI: added plane coordinate adjustment code for sci32 when drawing pictures, put everything into GfxCoordAdjuster
svn-id: r47939
2010-02-06 19:35:51 +00:00
Johannes Schickel
cf1b03f694 Add test case for partial reads in LoopingAudioStream too.
svn-id: r47938
2010-02-06 18:25:57 +00:00
Johannes Schickel
75b2b13f7f Some slight extension for the LoopingAudioStream unit test(s).
svn-id: r47937
2010-02-06 18:20:33 +00:00
Martin Kiewitz
454856b5fd SCI: put kShakeScreen into GfxPaint, called directly now
svn-id: r47936
2010-02-06 17:03:18 +00:00
Johannes Schickel
b431e700d8 Fix bug in LoopingAudioStream::readBuffer, this makes the unit tests complete without any error.
svn-id: r47935
2010-02-06 16:42:15 +00:00
Johannes Schickel
e3d4d5e379 Add (currently failing :-/) unit tests for LoopingAudioStream.
svn-id: r47934
2010-02-06 16:41:53 +00:00
Johannes Schickel
4fca64d1b0 Move test AudioStream creation to a new file.
svn-id: r47933
2010-02-06 16:41:27 +00:00
Filippos Karapetis
2cfa5e428c Mark the sanity checks inside kernelSetNowSeen and kernelBaseSetter as hacks
svn-id: r47932
2010-02-06 16:30:32 +00:00
Filippos Karapetis
788f375703 Added a sanity check for kListAt and made the hack for displaying text work in SCI2 only
svn-id: r47931
2010-02-06 16:12:19 +00:00
Filippos Karapetis
b12437bbfc Don't try and manipulate invalid views (i.e. views with view ID -1/65535, which are most likely the currently missing dynamically constructed text views). Torin chapter 1 starts now (and dies shortly afterwards, but that's a different issue)
svn-id: r47930
2010-02-06 15:58:59 +00:00
Walter van Niftrik
742ddb7979 SCI: Run GC only when execution_stack_base is 0.
svn-id: r47929
2010-02-06 12:50:50 +00:00
Filippos Karapetis
b2e8777e1e Silenced warning that intersectionX and intersectionY could be uninitialized
svn-id: r47928
2010-02-06 10:43:54 +00:00
Arnaud Boutonné
59c351a3b2 Fascination: Fix lamp problem in parking lot.
svn-id: r47927
2010-02-06 08:10:56 +00:00
Matthew Hoops
dc12437390 Add a missing break.
svn-id: r47926
2010-02-06 05:29:08 +00:00