37749 Commits

Author SHA1 Message Date
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
Torbjörn Andersson
35f1a55b70 Allow the Orion Burger title screen to be shown again. At least, it doesn't
crash on my computer any more. (It doesn't do much interesting either.)

svn-id: r48892
2010-05-02 17:43:24 +00:00
Martin Kiewitz
561ad56616 SCI: make audio decompression (mp3/ogg/flac) work on BE devices
svn-id: r48889
2010-05-02 10:21:02 +00:00
Martin Kiewitz
0cd0d8bafe SCI: fix sync resources not loading correctly when compressed (mp3/ogg/flac) audio resource file was used
svn-id: r48881
2010-05-01 14:51:57 +00:00
Martin Kiewitz
e3ac8713e3 SCI: fix bugs in audio decompression (mp3, ogg, flac)
svn-id: r48880
2010-05-01 14:04:48 +00:00
Florian Kagerer
45debce66e KYRA: fixed some cppcheck warnings
svn-id: r48879
2010-05-01 12:55:32 +00:00
Andre Heider
eb429872d8 Fixed warnings when building a GC binary.
svn-id: r48877
2010-04-30 16:49:57 +00:00
Martin Kiewitz
beba3bf8a4 SCI: animate cleanup
svn-id: r48876
2010-04-30 15:08:51 +00:00
Paul Gilbert
e11afdeab5 Added proper names for some of the previous unknown timer fields, and bugfixes for the sequence list methods
svn-id: r48875
2010-04-30 11:27:42 +00:00
Max Horn
df4400d223 Rename input -> stream
svn-id: r48869
2010-04-29 21:54:39 +00:00
Frantisek Dufka
1c684af067 Maemo build instructions updated
svn-id: r48868
2010-04-29 21:44:53 +00:00
Max Horn
b4f0d54160 Set 1.1.1 release in NEWS file
svn-id: r48867
2010-04-29 21:42:14 +00:00
Frantisek Dufka
664fdfc914 remove unused files
svn-id: r48862
2010-04-29 21:35:11 +00:00
Matthew Hoops
3b401eb53c Silence gcc warnings.
svn-id: r48858
2010-04-29 19:06:49 +00:00
Martin Kiewitz
6e6b90f41c SCI: remove unneeded #includes from resource.cpp
svn-id: r48857
2010-04-29 19:01:06 +00:00
Martin Kiewitz
13ee099090 SCI: audio compression support
svn-id: r48856
2010-04-29 15:54:59 +00:00