Commit Graph

51965 Commits

Author SHA1 Message Date
Filippos Karapetis
a1618c215b Merge pull request #226 from digitall/sincos
Replace large static Sin and Cos tables with dynamically generated ones.
2012-04-19 01:13:47 -07:00
Filippos Karapetis
677806a4e9 Merge pull request #231 from BenCastricum/master
SCUMM: Add another Dutch Balloon-O-Rama variant.
2012-04-19 01:09:40 -07:00
Filippos Karapetis
0a51667e42 Merge pull request #229 from criezy/dreamweb-fr
Support for Dreamweb fr/es
2012-04-19 01:03:09 -07:00
Filippos Karapetis
6544a05bf8 Merge pull request #228 from upthorn/master
DrasculaMetaEngine: added list saves support
2012-04-19 01:01:16 -07:00
Thierry Crozat
7332bc7475 I18N: Regenerate translations data file 2012-04-18 23:36:24 +01:00
Thierry Crozat
8bf12c4fdf I18N: Update Hungarian translation from patch #3519030 2012-04-18 23:36:06 +01:00
Thierry Crozat
fc6d5ea98e I18N: Fix Italian translation (swap translations for two strings) 2012-04-18 23:35:18 +01:00
D G Turner
0f66d2c701 COMMON: Update DCT & RDFT to avoid dynamic allocation of Sine/Cos Tables. 2012-04-17 22:12:20 +01:00
D G Turner
aa61c9abd3 COMMON: Refactoring of FFT class to remove repeated fft<x>() functions.
The repeated functions expanded from the original DECL_FFT macros are
now replaced by a recursive fft() function.
2012-04-17 20:23:38 +01:00
Thierry Crozat
93f1586be8 I18N: Add translations for the Loom FM Towns proficiency level
Those are the official French, Spanish and Italian translations from the
DOS versions of the game (thanks to Simsaw for providing them).
2012-04-17 19:36:06 +01:00
Pawel Kolodziejski
b77f42b3b1 DEVTOOLS: take usage of config.h for xcode; few small updates 2012-04-17 14:45:22 +02:00
Ben Castricum
99f0d544ca SCUMM: Add another Dutch Balloon-O-Rama variant. 2012-04-17 07:18:05 +02:00
Matthew Hoops
b2de2cf855 GRAPHICS: Improve the YUV410 conversion code speed some more 2012-04-16 21:34:13 -04:00
Thierry Crozat
8d274f5006 DREAMWEB: Simplify modifyFileName() by using _datafilePrefix 2012-04-16 23:21:30 +01:00
upthorn
9c70954f64 DRASCULA: listSaves handles unsynced save index
This is a situation that would occur when a user copies drscula save
files from one device to another, without copying the corresponding
index, or copies the index without all corresponding save files.
2012-04-16 13:52:36 -07:00
Thierry Crozat
a4aaca5919 DREAMWEB: Minor style fixes 2012-04-16 21:26:55 +01:00
D G Turner
422334da5a COMMON: Refactoring of FFT class, removing Cosine Table Reallocations.
The cosine tables are now allocated once on object construction.
Also, only the tables necessary (less than or equal to _bits) are
created.
2012-04-16 21:05:21 +01:00
D G Turner
d04717f323 COMMON: Minor refactoring of FFT class, removing DECL_FFT macro.
This makes it easier to look at reworking the Cosine Table usage to
prevent repeated reallocation on calc() calls.
2012-04-16 15:24:47 +01:00
Matthew Hoops
19d634389d VIDEO: Create the QuickTime scaled surface after reading in a frame
Fixes issues where the codec hasn't been initialized
2012-04-15 16:00:01 -04:00
upthorn
9e5015e631 DRASCULA: added list saves support
Added kSupportsListSaves to DrasculaMetaEngine::hasFeature
Added working listSaves to DrasculaMetaEngine
2012-04-15 11:09:15 -07:00
Thierry Crozat
c62c5d61ca DREAMWEB: Add character mapping for french version 2012-04-15 11:45:14 +01:00
Thierry Crozat
a3406aab13 DREAMWEB: Support opening data files from ES and FR CD version 2012-04-15 11:45:14 +01:00
Travis Howell
586d9bf32f AGOS: Add comment about the limitations of quick loading/saving games in the AGOS game engine. 2012-04-15 19:24:57 +10:00
Paweł Kołodziejski
95dda2254b PORT: few minor fixes to meta file of samsungtv 2012-04-15 09:35:12 +02:00
Matthew Hoops
473a09786d GRAPHICS: Make YUV410 conversion code use bilinear interpolation
SVQ1 no longer looks blocky and now looks a lot closer to what QuickTime outputs
2012-04-14 17:06:31 -04:00
Ori Avtalion
870ab35f5b VIDEO: Change 'class' to 'struct' to match declaration 2012-04-14 15:32:26 +03:00
D G Turner
f4ba8a6485 COMMON: Replaced static Sine and Cosine tables with dynamic generated.
This removes the large static tables from the binary (which saves 500K
to 1Mb of binary size) and replaced them with a class which generates
the required tables as needed in RAM. This has been tested with QDM2
and shows no obvious performance degredation and Memprof shows no
significant rise in RAM usage.
2012-04-14 11:18:55 +01:00
D G Turner
1809b9173c COMMON: Minor reduction of sine/cosine table size (8 bytes...). 2012-04-13 10:16:48 +01:00
D G Turner
11143d4839 COMMON: Fixes for compiling without USE_BINK enabled.
The math utility classes in Common are now used by more than just Bink
Video i.e. Huffman is used by SVQ1, RDFT by QDM2 etc. so need to remove
conditional inclusion of objects in the Common Library.

This was done as these functions are very large wrt. binary size.
This is mainly due to the sine, cosine and log tables which should be
reconsidered as to whether these are needed or can be replaced by
standard sin()/cos() calls.
2012-04-13 09:17:17 +01:00
D G Turner
8a5b08341e AUDIO: Remove now unused Sin/Cos table and FFT code from QDM2 Codec.
This was only used by the RDFT code, now replaced by Common::RDFT.
2012-04-13 07:37:31 +01:00
D G Turner
7f930dfae3 AUDIO: Migrate QDM2 Codec to using Common::RDFT class. 2012-04-13 07:37:30 +01:00
D G Turner
ce1f805212 AUDIO: Fixes to restore QDM2 Codec function.
The Bitstream format is changed to 32LELSB and an error in the getVlc2()
function bitstream reading needed to be corrected to fix operation.
2012-04-13 07:37:29 +01:00
D G Turner
50a9c6429d AUDIO: Update to QDM2 codec fixing pointer to stream buffer usage.
This should allow the QDM2 codec to work again with Common::Bitstream
instead of the older getBits() reader, but this aborts with a reading
past end of stream error...
2012-04-13 07:37:28 +01:00
D G Turner
b5f5cbe5fa AUDIO: Removed qdm2_decode_sub_packet_header() function from QDM2.
This is to allow modification of the code which needs to assign the
data member of the sub_packet structure to an offset in the input
byte readStream.
2012-04-13 07:37:27 +01:00
D G Turner
845812f12e AUDIO: Fix skipping in QDM2 BitStream usage.
getBits(n) would cause a runtime error if n is greater than 32,
but using getBits() to skip is no longer necessary as the newer
BitStream class has a skip method, which is used instead.
2012-04-13 07:37:26 +01:00
D G Turner
220f60fd60 AUDIO: Clean up QDM2 getVlc2() function. 2012-04-13 07:37:25 +01:00
D G Turner
fa44707028 AUDIO: Initial Refactoring of QDM2 to use Common::BitStream.
This removes the internal getBitContext bitwise reading code and
replaces with Common::BitStream.

However, this breaks the codec as in one location, the internal buffer
of getBitContext reader is used and this can't be directly replaced.
This will need to be understood and rewritten.
2012-04-13 07:37:24 +01:00
Sven Hesse
7eef26268c VIDEO: Fix SMK 16bit audio on BE systems 2012-04-13 04:29:26 +02:00
Matthew Hoops
3e47203d64 AUDIO: Force QuickTime stereo samples to mono if needed
The number of channels in AAC can differ from the actual number of channels needed making us require this. The channel count inside the container is always the correct one.
2012-04-10 16:44:41 -04:00
Matthew Hoops
db52618833 GRAPHICS: Add comments on which engines use the decoders 2012-04-08 08:58:42 -04:00
Matthew Hoops
744528cb18 VIDEO: Clean up the SVQ1 code 2012-04-08 03:29:56 +01:00
Matthew Hoops
8e107f8c78 MOHAWK: Enable the SVQ1 intro for Myst ME Mac 2012-04-08 03:29:53 +01:00
D G Turner
7b6c4bb8e1 VIDEO: Minor update to SVQ1 decoder, reversing sense of return flags.
This changes the decoder function return flag meaning from "result
error" to "resultValid". This makes it more consistent with normal
C standard of returning 0 on success.
2012-04-08 03:29:50 +01:00
Matthew Hoops
8bf8a08048 VIDEO: Fix SVQ1 plane pitch
All the Myst intro videos now decode correctly
2012-04-08 03:29:48 +01:00
D G Turner
95d7c012d6 VIDEO: Minor updates to SVQ1 decoder, mainly return flags to bool.
Since the returned int values from the decoding functions are just
0 for good or -1 for error, have changed these into an errorFlag
bool. This improves readability and cleans up some of the error
checking code. In addition, have fixed some oversights in formatting
spacing for readability.
2012-04-08 03:29:45 +01:00
D G Turner
c917db0754 VIDEO: Change SVQ1 decoder to skip rather than decode embedded string.
This string field is not used and this avoids having to include a
xor table.
2012-04-08 03:29:42 +01:00
Matthew Hoops
b0646529d1 VIDEO: Fix segfaults on different sized SVQ1 frames 2012-04-08 03:29:40 +01:00
Matthew Hoops
7e05107256 VIDEO: Fix endian issue with SVQ1 2012-04-08 03:29:37 +01:00
D G Turner
2043403207 VIDEO: Add Missing Half-Pel Motion Compensation Code to SVQ1 Codec.
Graphics output is now _almost_ correct.
2012-04-08 03:29:35 +01:00
Matthew Hoops
1ca81ee6ec VIDEO: Rework SVQ1 codebooks so they're endian-safe 2012-04-08 03:29:32 +01:00