Commit Graph
86814 Commits
Author SHA1 Message Date
Alyssa Milburn 848b0d1b0b MOHAWK: Stupid padding fix. 2011-04-13 19:12:25 +02:00
Johannes Schickel 5c87136b5f TSAGE: Fix compilation on NDS.
It is not safe to assume one can construct a va_list by using NULL. Instead I
created a temporary (uninitialized!) dummy, which is passed in the call to the
Action::attached implementation. I added a TODO to resolve this temporary hack.
2011-04-13 19:13:12 +02:00
Willem Jan Palenstijn fc59a52e7a SCI: Remove left-over fixme comment
It should have been removed in b40b87fdb5
2011-04-13 18:57:18 +02:00
Johannes Schickel f864fef8e9 TSAGE: Fix compilation on Mac OS X PPC.
Mac OS X PPC's standard C(++) library does not feature any sqrtf function,
since the parameter is double anyway I changed it to use sqrt for now.

We might want to consider adding some global macros for that on such
platforms. Another instance where the same issues caused problems in the past
is the MT-32 emulator. See audio/softsynth/mt32/synth.cpp lines 30 to 43 for
reference.
2011-04-13 18:54:21 +02:00
Johannes Schickel 6db40e0c6c TSAGE: Cleanup custom List usage.
This makes the code use Common::List for all cases where synchronization can
not be done with tSage::List::synchronise. Furthermore I renamed the custom
List class to SynchronisedList to stress its purpose.

I also removed clear2, contains and forEach and replaced them with algorithm
usage from Common:: or in the case of "contains" replaced them with a simple
inline function which uses Common::find.
2011-04-13 18:26:12 +02:00
Johannes Schickel 0234c9ff95 TSAGE: Fix compilation on Linux/amd64 with g++ 4.5.2. 2011-04-13 16:10:38 +02:00
Matthew Hoops deb46ab38b AUDIO: Split the Intel DVI ADPCM into its own class
IMA is really just the definition on how to decode a sample from a nibble, DVI is just a way for those nibbles to be stored in the stream.
2011-04-13 09:45:13 -04:00
Scott Thomas 47c2a9adbe GROOVIE: MPEG4 player should override unload so scripts can stop music 2011-04-13 22:22:19 +09:30
Scott Thomas f54769f987 GROOVIE: Use provided OCReMix song for T7G iOS credits 2011-04-13 22:19:21 +09:30
Willem Jan Palenstijn 3be6ff23d7 TSAGE: Fix warning 2011-04-13 14:07:11 +02:00
Paul Gilbert 48dbcbe8a1 TSAGE: Fixed warnings identified by Buildbot 2011-04-13 22:02:40 +10:00
Paul Gilbert 4852a38f36 Merge branch 'master' of github.com:scummvm/scummvm 2011-04-13 21:30:26 +10:00
Paul Gilbert 0600f0c018 TSAGE: Change palette code from 4-byte to 3-byte palettes 2011-04-13 21:25:57 +10:00
Paul Gilbert e6090415b6 Merge remote branch 'remotes/dreammaster/tsage' 2011-04-13 21:08:05 +10:00
Max Horn 169512852e TOON: Use shared ADPCM data tables 2011-04-13 12:48:58 +02:00
Max Horn 8f70e089ac VIDEO: Use shared ADPCM data tables in VMDDecoder 2011-04-13 12:48:58 +02:00
Max Horn 1759209b3b SCUMM: Use shared ADPCM data tables 2011-04-13 12:48:58 +02:00
Max Horn 393c6f6ade AUDIO: Expose some internal ADPCM data tables 2011-04-13 12:48:57 +02:00
Max Horn e0a30e0039 AUDIO: Stop adpcm.h from including common/stream.h 2011-04-13 12:48:57 +02:00
Max Horn 7607e351cc TINSEL: Move custom ADPCM decoders to tinsel engine 2011-04-13 12:48:57 +02:00
Max Horn b9296a189e AUDIO: Expose ADPCM decoder internals via a new header
There are tons of ADPCM variants out there, and it is impractical to
stuff them all into a single adpcm.cpp file. By exposing the internals,
engines can implement their ADPCM decoder variants more easily.
2011-04-13 12:48:57 +02:00
Paul Gilbert aadb4f7459 WEBOS: Moved #include lines inside #ifdef WEBOS to fix MSVC compilation 2011-04-13 20:46:24 +10:00
Max Horn 9c2ff87db7 SCUMM: Fix bug #3187622 (COMI: incorrect decoding of audio codec 13/15) 2011-04-13 11:49:25 +02:00
Max Horn b52b6b8d2b SCUMM: Resolve some code duplication 2011-04-13 11:49:25 +02:00
Max Horn 29962bfc73 SCUMM: Move ADPCM decoder into separate function 2011-04-13 11:49:24 +02:00
Max Horn 79f514a397 TOON: Make ADPCM tables const 2011-04-13 11:49:24 +02:00
Alyssa Milburn e000ed22d5 MOHAWK: LB's 'self' is case-insensitive 2011-04-13 10:11:20 +02:00
md5 22046d2480 SCI: Added handling for another version of mt32.drv (bug #3285556)
This is used in another version of KQ4 early (0.000.274)
2011-04-13 10:29:24 +03:00
David-John Willis 1986c1d82b CONFIGURE: Add _timidity=no to the GPH devices to stop Timidity
support being built.

* This is for the GP2X, GP2XWIZ and Caanoo devices that use the
  GPH backend.
2011-04-13 08:01:16 +01:00
David-John Willis a18bb2e73d GPH: Move GP2XWIZ build support files into devices folder.
* Also add a common folder with the shared bits.
2011-04-13 08:01:16 +01:00
David-John Willis da688dbb7f GPH: Move caanoo build support files into device folder in the backend. 2011-04-13 08:01:15 +01:00
David-John Willis cb3e3e7125 GP2X: Move build support files into the GPH backend. 2011-04-13 08:01:15 +01:00
strangerke a2d1fdd365 TSAGE: Fix a crash using the new palette effect. It still doesn't show much... 2011-04-13 07:42:58 +02:00
strangerke c1e58c1415 TSAGE: Implement most of the scene 9900. New palette animation is currently broken, to be fixed 2011-04-12 23:39:10 +02:00
Matthew Hoops 499753cbb8 AUDIO: Don't end the AAC stream if we still have buffered samples 2011-04-12 16:23:34 -04:00
strangerke 842d377118 Merge branch 'tsage' of http://github.com/dreammaster/scummvm 2011-04-12 22:02:36 +02:00
Matthew Hoops 08b70fa1a7 AUDIO: Fix QuickTime/MPEG-4 seeking
MPEG-4 seeking was broken while QuickTime seeking was extremely slow. All is fixed now
2011-04-12 14:23:23 -04:00
Matthew Hoops 4366f3632c COMMON: Cleanup QuickTime's readSTTS() 2011-04-12 14:01:42 -04:00
Jussi Pitkanen 40b0d468e3 AGI: More formatting changes... 2011-04-12 18:40:43 +03:00
Max Horn 65fc72e30a COMMON: Add some testcases for common/endian.h 2011-04-12 17:23:32 +02:00
Max Horn f1471689cf COMMON: Let MKTAG always return an uint32 2011-04-12 17:23:21 +02:00
Jussi Pitkanen 40394431dc AGI: Use delete[] instead of delete for arrays 2011-04-12 18:22:24 +03:00
Jussi Pitkanen 506f3bdc10 AGI: Formatting 2011-04-12 18:07:35 +03:00
Max Horn 58b4cc0220 COMMON: Use correct MKTAG definition, stupid 2011-04-12 17:04:49 +02:00
Max Horn 0ce2ca4e00 COMMON: Replace MKID_BE by MKTAG
MKID_BE relied on unspecified behavior of the C++ compiler,
and as such was always a bit unsafe. The new MKTAG macro
is slightly less elegant, but does no longer depend on the
behavior of the compiler.
Inspired by FFmpeg, which has an almost identical macro.
2011-04-12 16:53:15 +02:00
Max Horn a8b3501252 COMMON: Drop totally obsolete & outdated DEC C++ 'support' 2011-04-12 16:41:36 +02:00
Max Horn f5ff6e9e18 TINSEL: cleanup 2011-04-12 16:06:39 +02:00
Paul Gilbert d61ad01530 TSAGE: Reworked the 'probe approaching rocks' cut-scene to work correctly
The problem is the original game presumed that rendering a single frame would take at least 10 ticks (at 60Hz). Since the ScummVM renders it faster than then, the cutscene wasn't working. A new 'ProbeMover' class has been created to ensure the probe shrinking keeps correct pace with the probe's movement.
2011-04-12 20:16:34 +10:00
David-John Willis e2adf5babc GPH/GP2X: Tweak wrapper script to export LD_LIBRARY_PATH. 2011-04-12 10:44:05 +01:00
David-John Willis 15bdb29248 GPH: Add separate button defined buttons for each supported device.
* No default buttons set any more as I would want the build to fails
  if you don't provide the backend with a device.

* Also commit some small cleanup to the bundle files.
2011-04-12 10:44:04 +01:00