Commit Graph

37097 Commits

Author SHA1 Message Date
Nicola Mettifogo
0aefdb7826 Moved ArjFile to drascula.
svn-id: r47999
2010-02-08 17:48:35 +00:00
Nicola Mettifogo
16438e5c4d Fix trunk after fscking up.
svn-id: r47998
2010-02-08 16:56:04 +00:00
Nicola Mettifogo
29c4c30a25 Made ArjFile use a new ArjArchive class.
svn-id: r47997
2010-02-08 16:15:05 +00:00
Nicola Mettifogo
8f6352f5bb Objectified CRC32 calculator.
svn-id: r47996
2010-02-08 16:14:42 +00:00
Nicola Mettifogo
2df073bb68 Shuffled code around a bit.
svn-id: r47995
2010-02-08 16:14:23 +00:00
Nicola Mettifogo
b658c61155 Let ArjFile return a SeekableReadStream instead of implementing
the same interface itself. The caller is now responsible for
deleting the returned streams.

svn-id: r47994
2010-02-08 16:14:04 +00:00
Nicola Mettifogo
a9a0fdc694 Reduced references to _arj to the minimum. It is passed as a
SeekableReadStream everywhere.

svn-id: r47993
2010-02-08 16:13:31 +00:00
Nicola Mettifogo
1fe0facb24 Pass the input stream to text parser functions.
svn-id: r47992
2010-02-08 16:13:09 +00:00
Nicola Mettifogo
0b06fb2a88 The text parser functions can create their temporary buffers on the stack.
svn-id: r47991
2010-02-08 16:12:45 +00:00
Nicola Mettifogo
c453f214e6 Close the FLI file only from the routine that opened it.
svn-id: r47990
2010-02-08 16:12:22 +00:00
Matthew Hoops
7147f8577e Search through arrays for outgoing references to fix possible garbage collector problems; minor cleanup.
svn-id: r47989
2010-02-08 15:51:00 +00:00
Fabio Battaglia
6938ca072a Add N64 backend to credits
svn-id: r47988
2010-02-08 11:44:29 +00:00
Paul Gilbert
86163d5a6c Script workaround fix for DW1, for being able to give the whistle back to the pirate before the parrot
svn-id: r47987
2010-02-08 10:02:18 +00:00
Matthew Hoops
ec91387837 Add the missing ResMan debug channel.
svn-id: r47986
2010-02-08 02:47:05 +00:00
Johannes Schickel
99411b177c Add the DOSBox Team to our "Special Thanks" section for their awesome OPL2/OPL3 emulator.
svn-id: r47983
2010-02-07 22:04:00 +00:00
Vladimir Menshakov
d1761a72ab removed debug keys, sorry
svn-id: r47982
2010-02-07 18:16:31 +00:00
Vladimir Menshakov
62066fa8ef compile debug keys if NDEBUG was not defined
svn-id: r47981
2010-02-07 18:15:25 +00:00
Vladimir Menshakov
049436313c added background effect for the inventory items
svn-id: r47980
2010-02-07 18:05:55 +00:00
Max Horn
024e762bdb SCI: Move bulk of op_callk code to new func callKernelFunc()
svn-id: r47979
2010-02-07 17:57:51 +00:00
Max Horn
95b90fc40d SCI: cleanup; try to unify var names when reading PMachine instructions a bit
svn-id: r47978
2010-02-07 17:57:25 +00:00
Max Horn
2cc301e449 SCI: Simplify yet another case of weird 'unsigned to signed' conversion
svn-id: r47977
2010-02-07 17:56:57 +00:00
Vladimir Menshakov
3151ed9145 removed mark animation and overlay animation hack
svn-id: r47976
2010-02-07 17:48:18 +00:00
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