37980 Commits

Author SHA1 Message Date
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
Andre Heider
998531a022 Since configure allows HQ scalers without the normal onces, allow this combination.
svn-id: r48979
2010-05-09 12:30:20 +00:00
Lars Persson
37e5691f1e Remove unsupported platforms for UIQ3
svn-id: r48978
2010-05-09 12:14:16 +00:00
Andre Heider
a3e428f6db Rename DISABLE_*SCALERS to USE_*SCALERS, and move the mk/cpp defines to configure.
svn-id: r48977
2010-05-09 11:00:17 +00:00
Lars Persson
cff786341f Updated build files, version nr and added v5 compability flag
svn-id: r48976
2010-05-09 10:31:32 +00:00
Fabio Battaglia
b99508da84 N64: Remove a potentially dangerous define in makefile
svn-id: r48975
2010-05-09 09:50:19 +00:00
Andre Heider
7bb2c9b5f4 Remove the disabled -Wuninitialized here, it's covered by --enable-release
svn-id: r48973
2010-05-08 21:34:10 +00:00
Johannes Schickel
fef4060a22 Fix possible out of bounds access.
svn-id: r48972
2010-05-08 21:25:18 +00:00
Johannes Schickel
9529dfa322 Cleanup.
svn-id: r48970
2010-05-08 21:06:23 +00:00
Andre Heider
67d9cc17b0 Lets not override the return value in cc_check()
svn-id: r48969
2010-05-08 20:52:17 +00:00
Andre Heider
bcbbe36976 Cleanup, remove tmp files to avoid /tmp file flood (like on buildbot).
svn-id: r48968
2010-05-08 20:22:50 +00:00
Johannes Schickel
ada03c57b3 Prevent editable widgets from adding various characters when F1-F12 is pressed by the user.
Formerly the code just casted the "ascii" value of the key event to "byte"
and thus truncating the character value. Now that would be fine, if we
would not allow values >= 256 in the ascii field, for example 322 for F8
which in turn resulted in a "B" added to the editable field. I just added
a check for the values being in the byte range before doing the cast,
which fixes this.

svn-id: r48967
2010-05-08 18:30:00 +00:00
Andre Heider
78a99ce6a6 Remove the now broken "deb" target.
svn-id: r48966
2010-05-08 08:15:28 +00:00
Ori Avtalion
0ae4fcd055 Fix comment to removed function
svn-id: r48965
2010-05-07 12:59:46 +00:00
Max Horn
49bd43ca33 Fix Info.plist.in to match Info.plist
svn-id: r48964
2010-05-07 11:18:44 +00:00
Max Horn
3ebf0f5fce Update scummvm.SlackBuild based on discussion with Robert Kelsen
svn-id: r48963
2010-05-07 11:18:18 +00:00
Vladimir Menshakov
2dd34a2123 added voices pack/cd music support
svn-id: r48962
2010-05-07 07:56:57 +00:00
Torbjörn Andersson
e4a4df960a Make sure that all the parameters to an mcode command are initialised. This
fixes one Valgrind warning mentioned in bug #2976008 ("BS2: Game lockup in
British Museum"), though I don't have high hopes that they are related.

svn-id: r48961
2010-05-06 19:00:39 +00:00
Max Horn
93375526c0 SCUMM: Convert some code to use Common::String
svn-id: r48957
2010-05-05 20:43:22 +00:00
Johannes Schickel
d4e74e62a1 Typo.
svn-id: r48956
2010-05-05 17:54:34 +00:00
Johannes Schickel
caf31ee5af Replace various strncpy usages by strlcpy.
svn-id: r48955
2010-05-05 17:54:12 +00:00
Johannes Schickel
7da8c8949b Replace KYRA's strncpy and strncat usages by strlcpy/strlcat.
svn-id: r48954
2010-05-05 17:53:30 +00:00
Johannes Schickel
388e4b65bf Add a custom implementation of OpenBSD's strlcat and strlcpy.
This includes both an implementation and some basic unit tests for
the above mentioned functions.

svn-id: r48953
2010-05-05 17:52:59 +00:00
Max Horn
3b5bd3ada7 Compress PNGs with advpng & optipng
svn-id: r48952
2010-05-05 12:16:51 +00:00
Andre Heider
4b1cb26a39 Remove spurious quotes.
svn-id: r48949
2010-05-04 23:12:16 +00:00
Andre Heider
27e1681fea Respect the shell's and svn's exit code when checking for a checkout.
svn-id: r48948
2010-05-04 22:55:07 +00:00
Andre Heider
a753c9a411 Switch from "svn status" to "svn info", which is way faster (especially over NFS).
svn-id: r48945
2010-05-04 20:14:05 +00:00
Andre Heider
fc567b1b25 Fixed typo.
svn-id: r48944
2010-05-04 20:07:22 +00:00
Max Horn
f7d2047d02 Fix non-Mac OS X builds
svn-id: r48938
2010-05-04 12:02:33 +00:00
Max Horn
2149a2383d Reduce indirect header dependencies further
svn-id: r48936
2010-05-04 12:00:16 +00:00
Max Horn
970745e60c Move DebugChannel related code to new header
svn-id: r48935
2010-05-04 11:59:22 +00:00
Max Horn
b3e404109c Move initGraphics and initCommonGFX from to new header.
These functions are only used internally be Engine subclasses, and
by moving them to a separate header we can reduce indirect header
dependencies.

svn-id: r48934
2010-05-04 11:58:12 +00:00
Max Horn
5568a8473b Get rid of Engine::_gameDataDir.
This greatly reduces indirect dependencies on several header files
from common.

svn-id: r48933
2010-05-04 11:56:52 +00:00
Martin Kiewitz
c5f94872a7 SCI: kPortrait - correctly jump over offset table to land on raw lipsync data in portrait files
svn-id: r48928
2010-05-04 08:54:07 +00:00
Max Horn
3c0bd3dd27 Tweak messages when listing save states.
Targets don't list savestates, plugins do; and since the user specified
a target, we should always list that first, and give the gameid only
as additional information.

svn-id: r48925
2010-05-03 20:09:32 +00:00