Commit Graph

28627 Commits

Author SHA1 Message Date
Travis Howell
2c11490d69 pollCD() should only return true, if CD audio is actually playing.
svn-id: r36035
2009-01-24 12:26:14 +00:00
Max Horn
ab5e3db9e3 Moved 565 mode specific bits of HQ2x/HQ3x asm to 'variables'
svn-id: r36034
2009-01-24 06:26:43 +00:00
Travis Howell
75518d5a6e Update detection table with known file sizes.
svn-id: r36032
2009-01-24 06:06:14 +00:00
Kari Salminen
dfab0ee6d0 Initialize variables that might not be initialized but still used later on line 422 in a debug function call (Fixes MSVC's warnings about 'potentially uninitialized local variable').
svn-id: r36031
2009-01-24 05:02:08 +00:00
Willem Jan Palenstijn
a8ae95cc10 fixing #2531282: don't fall back to a real audio CD when playing enhanced midi tracks
svn-id: r36030
2009-01-24 01:29:52 +00:00
Willem Jan Palenstijn
de341291aa remove 'HACK': don't use _cd.playing to indicate emulation
svn-id: r36029
2009-01-24 01:23:04 +00:00
Filippos Karapetis
17b82253e9 Removed leftover test code for MADE V1, used in Manhole EGA (though the sound effects in Manhole EGA are still not working)
svn-id: r36028
2009-01-24 01:03:06 +00:00
Max Horn
5556fc7f72 Changed Graphics::ImageDecoder to allow custom PixelFormats
svn-id: r36026
2009-01-23 23:50:54 +00:00
Max Horn
4d5702606f Remark that the HQnx ASM code only works in 565 mode
svn-id: r36025
2009-01-23 22:56:14 +00:00
Max Horn
04517f17ad Added some comments to hq2x/hq3x asm code
svn-id: r36024
2009-01-23 22:05:40 +00:00
Benjamin Haisch
a8562cf64b - Implemented sfGetMusicBeat (used in several games as some kind of timer)
svn-id: r36023
2009-01-23 12:17:12 +00:00
Max Horn
2d866c0483 Renamed Kyra's Resource::getFileStream to createReadStream
svn-id: r36022
2009-01-23 04:57:18 +00:00
Max Horn
14c5bbbccf Renamed Archive::openFile to createReadStreamForMember
svn-id: r36021
2009-01-23 04:45:44 +00:00
Max Horn
9861afd8fd Renamed ArchiveMember::open -> createReadStream, and made it a cv member (const); same for Archive::openFile
svn-id: r36020
2009-01-23 04:36:18 +00:00
Travis Howell
d5c12447bd Trigger error in German versions of Elvira 1/2 and Waxworks, since we still lack the font table data.
svn-id: r36019
2009-01-23 04:09:57 +00:00
Travis Howell
c36eb09237 Remove unused shutdown() code.
svn-id: r36018
2009-01-23 04:05:10 +00:00
Travis Howell
8914ef89ea Remove last use of time() in AGOS engine.
svn-id: r36016
2009-01-23 04:01:38 +00:00
Max Horn
a925b5e7b7 Oops
svn-id: r36015
2009-01-23 03:48:04 +00:00
Max Horn
8f16458e9b Renamed FSNode::openForReading / openForWriting to createReadStream / createWriteStream, again to make ownership of the returned stream clear
svn-id: r36014
2009-01-23 03:41:36 +00:00
Max Horn
e4b013f616 Renamed OSystem::openConfigFileForReading & openConfigFileForWriting to createConfigReadStream & createConfigWriteStream, in order to make it clear that the *caller* is responsible for deleting the streams (i.e., 'owns' them)
svn-id: r36013
2009-01-23 03:30:40 +00:00
Max Horn
3e7155981e DS: Nothing is supposed to use time(), so don't globally include <time.h> -- in particular, no need to fake a time() impl if the only code using it is the backend itself ;)
svn-id: r36012
2009-01-23 03:23:30 +00:00
Max Horn
72702130d9 DS: Apply an old cleanup patch of mine from last August
svn-id: r36011
2009-01-23 03:06:21 +00:00
Max Horn
4455a9fc2f DS: Fix compilation
svn-id: r36010
2009-01-23 02:44:30 +00:00
Max Horn
83b3f336b4 cleanup
svn-id: r36009
2009-01-23 02:30:09 +00:00
Max Horn
6f10ef2150 Made InitLUT use a PixelFormat instead of a ColorMask
svn-id: r36008
2009-01-23 02:29:32 +00:00
Max Horn
94bfe1aa6f Get rid of the wrappers around the zlib stream wrapper wrappers ;)
svn-id: r36007
2009-01-22 23:14:16 +00:00
Max Horn
e260598bc9 Revert my previous commit. File still produces error 'wrapCompressedReadStream' is not a member of 'Common' with gcc 4.2.4, though
svn-id: r36006
2009-01-22 23:03:12 +00:00
Max Horn
5a77895274 Removed incorrect Common:: prefix from stuff that is not part of namespace Common
svn-id: r36005
2009-01-22 22:56:31 +00:00
Jordi Vilalta Prat
2859b65ce2 Fix the compilation of the Wii port
svn-id: r36004
2009-01-22 22:29:14 +00:00
Jordi Vilalta Prat
4e8b5b76d1 Replace some binary names with $(EXECUTABLE)
svn-id: r36003
2009-01-22 20:36:47 +00:00
Filippos Karapetis
ba469d3cbb Silenced MSVC warnings
svn-id: r36002
2009-01-22 19:09:05 +00:00
Max Horn
cc1efb9137 Fix buggy images in GUI when switching overlay mode (e.g. on Mac OS X when toggline full screen and windowed mode)
svn-id: r36001
2009-01-22 18:45:06 +00:00
Max Horn
6692330c41 Fix warning
svn-id: r36000
2009-01-22 18:33:02 +00:00
Johannes Schickel
d9cf723ee9 Minor cleanup (got rid of a dynamic array).
svn-id: r35999
2009-01-22 16:56:22 +00:00
Johannes Schickel
adf15c1007 Added an '!=' operator to PixelFormat.
svn-id: r35998
2009-01-22 15:53:05 +00:00
Benjamin Haisch
5b8105afb3 - Added support for The Manhole EGA version
- Support for 'chunked' picture resources and EGA pictures
- Improved the mouth sync in RtZ (still not perfect, though)
- Removed obsolete TODOs
- Fixed sfPlayMovie to return if the movie playback was aborted or not; this is used by RtZ to determine if it should display the credits screen after the intro movie

svn-id: r35997
2009-01-22 13:04:29 +00:00
Max Horn
d5d7175691 Speed up HQ2x/HQ3x C versions by reordering tests in diffYUV: most likeliest to be taken now is first, least likely is last
svn-id: r35996
2009-01-22 06:41:57 +00:00
Max Horn
0034aa3b9c Got rid of several occurrences of gBitFormat
svn-id: r35995
2009-01-22 04:59:09 +00:00
Max Horn
17f5d4eeea Got rid of gBitFormat in thumbnail scaler code (and even simplified it in the process)
svn-id: r35994
2009-01-22 04:45:19 +00:00
Max Horn
abc06ca18e Moved Graphics::PixelFormat into its own header file; turned RGBToColor etc. into methods, and added an operator==
svn-id: r35993
2009-01-22 04:35:10 +00:00
Torbjörn Andersson
a2c671da97 Clear the list of savegames before re-populating it. Otherwise, even save names
that have been entered before cancelling the dialog will remain in it.

svn-id: r35987
2009-01-21 20:00:26 +00:00
Torbjörn Andersson
248605800e Don't allow the nul character in savegame names, since that terminates the
string. This happens, for instance, when pressing the Shift key. (I usually start
my savegame names with an upper-case letter, and I couldn't understand why it
didn't seem to register any of my keypresses.)

svn-id: r35986
2009-01-21 19:46:51 +00:00
Andre Heider
e94378511e made ISO9660 support optional via USE_WII_DI
svn-id: r35985
2009-01-21 19:29:02 +00:00
Andre Heider
c65e670295 added ENABLE_VKEYBD, ENABLE_KEYMAPPER (both not mapped yet) and ENABLE_AGI
svn-id: r35984
2009-01-21 19:11:47 +00:00
Max Horn
9a5ac6007f configure: changed 'Running on x86' to 'Compiling for x86'
svn-id: r35983
2009-01-21 17:16:58 +00:00
Max Horn
b50f5ebe9c configure: changed order of backend detection and engine listing (backend detection may fail, e.g. when sdl-config is not found, while engine 'detection' never fails)
svn-id: r35982
2009-01-21 16:15:07 +00:00
Johannes Schickel
d3fb5c1ecc Fixed GMM save/load functionallity in kyra1.
svn-id: r35980
2009-01-21 15:36:31 +00:00
Johannes Schickel
ceefbd19b9 Fixed vkbd drawing and GUI drawing on screen change while vkbd is shown.
svn-id: r35979
2009-01-21 15:23:30 +00:00
Max Horn
980917e545 More cleanup of the DS port
svn-id: r35978
2009-01-21 04:46:31 +00:00
Max Horn
39e3c76436 More cleanup
svn-id: r35977
2009-01-21 04:27:32 +00:00