Commit Graph

37764 Commits

Author SHA1 Message Date
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
Oystein Eftevaag
6ac0d4dce5 Updated the iPhone Info.plist to allow full resolution on the iPad
svn-id: r48924
2010-05-03 19:20:19 +00:00
Johannes Schickel
2e188d6bd3 Show the user a nice message, when the target passed to --list-saves does not allow listing of its save states.
This is a first step into implementing FR #2988017
"exit status with --list-saves always 0".

svn-id: r48923
2010-05-03 19:18:55 +00:00
Johannes Schickel
c5436aebdd Cleanup.
svn-id: r48921
2010-05-03 18:32:26 +00:00
Johannes Schickel
e7f29db498 Check for read/seek errors of the underlying SeekableReadStream in RawStream.
svn-id: r48920
2010-05-03 18:28:05 +00:00
Johannes Schickel
df318c0ec3 Fix for bug #2961787 "HE SAM1: Music in kitchen slightly off (regression)".
Unlike in the branch-1-1-x I did not restore the old RawMemoryStream
code in the trunk. Instead I stripped out the pre-buffering of the
RawStream code. I still decided to add some in-place buffering
in RawStream::readBuffer to at least not rely on super-fast disk I/O.

This is currently an experimental change. There might be need to
reconsider the buffering (even though backends with slow disk I/O
should actually do buffering for file I/O on their own).

svn-id: r48919
2010-05-03 18:27:45 +00:00
Martin Kiewitz
b07a88548f SCI: set signal in SCI0/SCI01 games, when samples have been played only. fixes sq3 guys from andromeda, but also doesn't screw up music in sq3new/kq1 - added comments about this issue
svn-id: r48918
2010-05-03 17:54:47 +00:00
Martin Kiewitz
c67344d380 SCI: reverting r48805 - caused regression in sq3new/kq1
svn-id: r48915
2010-05-03 16:47:09 +00:00
Martin Kiewitz
1060b82f18 SCI: copying over compressed audio (mp3/ogg/flac) buffers, because resourcemanager may free the memory at any time - fixes pseudo-random crashes - also added several assert()s after multiple malloc()s
svn-id: r48912
2010-05-03 15:10:25 +00:00
Martin Kiewitz
98aa8b195a SCI: fix possible heap error
svn-id: r48908
2010-05-03 13:55:49 +00:00
Martin Kiewitz
b4d35b3279 SCI: calculate sampleLen for WAVEs as well
svn-id: r48906
2010-05-03 13:30:09 +00:00
Johannes Schickel
990f633b00 Fix g++ warning by commenting out an unused variable.
svn-id: r48905
2010-05-03 13:04:08 +00:00
Johannes Schickel
f2ee496c0e Paranoia change: Prevent possible assertion caused by MP3Stream.
Currently we have an assert checking that the framerate of an
Audio::Timestamp is always > 0. Since MAD might return "0"
(and maybe even other illegal values) in case the MP3 stream is
invalid we need to check that before we setup the _length
Timestamp of MP3Stream.

svn-id: r48904
2010-05-03 13:03:44 +00:00
Martin Kiewitz
df679afe19 SCI: calculate sampleLen for compressed audio (mp3/ogg/flac) as well
svn-id: r48903
2010-05-03 11:58:45 +00:00
Oystein Eftevaag
84cb07e985 Removed an accidentally left in a CopyFiles reference for COMI in the xcode project
svn-id: r48896
2010-05-03 00:22:58 +00:00
Oystein Eftevaag
3762b6f578 Upgraded the iPhone target in the XCode project to support iPad as well
svn-id: r48895
2010-05-02 23:58:59 +00:00
Max Horn
00ee958902 Removing severaly outdated and obsolete dists/debian dir
svn-id: r48893
2010-05-02 21:31:30 +00:00