Commit Graph
86814 Commits
Author SHA1 Message Date
D G Turner f351a1d7ba CRUISE: Modification to main loop to update cursor, even in FastMode.
This is the second part of the patch supplied by Ignaz Forster on
bug #3423955 ("CRUISE: Slow / unresponsive game behaviour") for
avoiding blocking graphical updates during user wait loops.

This removes the check for fastMode from the cursor update code and
other code in this "idle" loop, and moves it down to qualifying
only a few of the function calls.
2012-04-21 01:55:04 +01:00
D G Turner c4b08c0b98 CRUISE: Move cursor update to upper "idle" loop in main function.
This is the first part of the patch supplied by Ignaz Forster on
bug #3423955 ("CRUISE: Slow / unresponsive game behaviour") for
avoiding blocking graphical updates during user wait loops.

Hotspots passed during the idle loop do _not_ give any user feedback
without this patch.

The original patch has been split to allow for better understanding of
the changes and to allow fine grained bisection if this introduces any
regressions.
2012-04-21 01:55:03 +01:00
Matthew Hoops c5363006ed GRAPHICS: Only accept JPEG CompressedQuickTime PICT opcodes 2012-04-19 11:49:06 -04:00
Matthew Hoops 9971e74c4c Merge remote branch 'upstream/master' into pegasus
Conflicts:
	base/plugins.cpp
	configure
2012-04-19 08:16:24 -04:00
Alyssa Milburn 4520b115e9 CONFIGURE: Fix out-of-tree builds. 2012-04-19 10:23:38 +02:00
Filippos Karapetis 754bde663b Merge pull request #232 from fingolfin/refactor-plugins
Refactor plugins
2012-04-19 01:15:31 -07:00
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
Max Horn c638730fbc BUILD: Move list of engines out of configure
The new file engines/configure.engines is currently manually created
and maintained, but could be regenerated by a script in the future.
2012-04-18 15:44:11 +02:00
Max Horn 5185c61a2e ENGINES: Move table of engines from base/plugins.cpp to new header
The new header engines/plugins_table.h is currently manually created
and maintained, but could be regenerated by a script in the future.
2012-04-18 15:44:11 +02: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 5ee569bce6 PEGASUS: Fix ghosted biochips when loading saved games
Could happen when loading saved games that have fewer biochips than you previously had.
2012-04-11 11:39:56 -04:00
Matthew Hoops f087f20fa2 PEGASUS: Fix the pegasus biochip recall button highlight 2012-04-11 09:33:43 -04: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 6ae0ff3778 PEGASUS: Mark the cursor as dirty when hiding it too 2012-04-10 14:47:16 -04:00