36325 Commits

Author SHA1 Message Date
Martin Kiewitz
5cfd241af9 SCI: we won't do keyboard mapping for sci1late+, because otherwise Ctrl-keys won't work. I couldnt find games that use Alt-keys, so I was unable to check those as well
svn-id: r47175
2010-01-08 21:44:18 +00:00
Martin Kiewitz
8ba776913d SCI: fixing sq3 again (state selector wasnt updated anymore)
svn-id: r47174
2010-01-08 20:25:42 +00:00
Johannes Schickel
0849da9564 Fix documentation for setMouseCursor's format paramenter.
svn-id: r47173
2010-01-08 20:15:42 +00:00
Martin Kiewitz
25226cdc23 SCI: updateCues() cleanup
svn-id: r47172
2010-01-08 20:11:27 +00:00
Torbjörn Andersson
3a163b960e This should fix bug #2928411, "SWORD1: Macintosh Demo crashes after Intro".
svn-id: r47171
2010-01-08 19:58:47 +00:00
Eugene Sandulenko
ae3dc2ddba Properly fix credits
svn-id: r47170
2010-01-08 18:56:12 +00:00
Vladimir Menshakov
7bf9c22ec9 minor fixes
svn-id: r47168
2010-01-08 18:48:32 +00:00
Vladimir Menshakov
b847a2be35 added configurable timers/fast mode with ctrl-f hotkey
svn-id: r47167
2010-01-08 18:03:34 +00:00
Johannes Schickel
549da55565 Remove custom AiffAudioStream and replace it by the use of makeLoopingAudioStream and makeAIFFStream.
svn-id: r47165
2010-01-08 17:42:05 +00:00
Martin Kiewitz
c067bf053d SCI: support "Ctrl-" prefix keys in menu, makes Ctrl-keys work in lsl6
svn-id: r47164
2010-01-08 17:25:39 +00:00
Martin Kiewitz
b5603ee822 SCI: support "+" and "-" for menu (fixes speed changes via those keys in all games)
svn-id: r47163
2010-01-08 16:52:45 +00:00
Johannes Schickel
271956f2d7 Add some warning inside makeLoopingAudioStream, in case the give start time is after the given end time.
svn-id: r47162
2010-01-08 16:38:51 +00:00
Vladimir Menshakov
85adbdb1ad fixed invalid volume setting
svn-id: r47161
2010-01-08 16:31:48 +00:00
Johannes Schickel
616e4626f5 Since AudioStream looping is no longer handled by the Mixer, drop Mixer::playAudioStreamLooping. (There's Audio::makeLoopingAudioStream).
svn-id: r47160
2010-01-08 16:27:29 +00:00
Johannes Schickel
e976b11995 Add another makeLoopingAudioStream factory for transparently looping a certain interval of a SeekableAudioStream.
svn-id: r47159
2010-01-08 16:25:51 +00:00
Vladimir Menshakov
abdebd9871 added warning on invalid sound
svn-id: r47158
2010-01-08 16:21:36 +00:00
Johannes Schickel
52d264fac1 Fix unhandled case(s) in switch warning from g++.
svn-id: r47157
2010-01-08 15:01:31 +00:00
Martin Kiewitz
723ad1bdc1 SCI: changed handling when unsupported sound type is selected, we are switching to adlib or amiga sound then
svn-id: r47156
2010-01-08 14:26:26 +00:00
Walter van Niftrik
54fc512156 SCI: Use adlib music by default
svn-id: r47155
2010-01-08 14:02:08 +00:00
Walter van Niftrik
3dda1c8073 SCI: Fix view detection in Hoyle 2
svn-id: r47154
2010-01-08 13:45:44 +00:00
Vladimir Menshakov
cac3510b67 removed useless initializations
svn-id: r47153
2010-01-08 12:17:41 +00:00
Vladimir Menshakov
31d830e79d removed noisy debug
svn-id: r47152
2010-01-08 11:32:53 +00:00
Martin Kiewitz
cd654b9616 SCI: call gui-init right after loading a saved game, fixes weird gui issue that occurs only when loading a save through ctrl-f5 menu "too early" in the game (where you couldnt load through original interpreter)
svn-id: r47151
2010-01-08 11:17:29 +00:00
Vladimir Menshakov
5f5225ea38 minor cleanup
svn-id: r47150
2010-01-08 11:05:59 +00:00
Vladimir Menshakov
35e01ef29a removed mark's animation z-odering, which seems to be invalid
svn-id: r47149
2010-01-08 10:39:00 +00:00
Vladimir Menshakov
adcb8cfa7d fixed inventory animation speed
svn-id: r47148
2010-01-08 10:35:25 +00:00
Vladimir Menshakov
65c29eb851 added zero-object special case in combine table
svn-id: r47147
2010-01-08 07:58:04 +00:00
Vladimir Menshakov
cf9203a931 cleaned up blitting, fixed zoom+clipping issues
svn-id: r47146
2010-01-08 07:45:48 +00:00
Fabio Battaglia
ad5e1e7c03 Nintendo64: some cleanup, added a workaround in case audio buffers get depleted
svn-id: r47145
2010-01-08 00:05:48 +00:00
Johannes Schickel
a5adbb851a Fix use of getRate in VorbisInputStream's constructor. (Thanks to cyx for spotting this)
svn-id: r47144
2010-01-07 23:50:18 +00:00
Martin Kiewitz
2aca490e13 SCI: remove displaying tag in menu of some games (e.g. qfg1ega)
svn-id: r47143
2010-01-07 23:32:45 +00:00
Martin Kiewitz
8a1583da9b SCI: kPortrait actually gets lowres coordinates that need to get adjusted according to curPort (does this make sense? noooo), fixes portrait coordinates in kq6
svn-id: r47142
2010-01-07 20:41:52 +00:00
Martin Kiewitz
7a636ead9d SCI: sierra sci doesnt seem to adjust according to port on upscaledhires_save_box, this (and all the other fixes) finally fixes coordinates for kq6 hires cel placement
svn-id: r47141
2010-01-07 20:36:00 +00:00
Martin Kiewitz
140b22a374 SCI: implement crazy hack that fixes coordinates of some cel placements. I'm not sure if thats what sierra sci actually does or if we get coordinates 0,0 due some error somewhere. Fixes portrait window placement in kq6 - strangely they are still not at the correct height perhaps related to not adjusting "correctly" (whatever this means in this ugly mess that hires was implemented) inside BitsSave()
svn-id: r47140
2010-01-07 20:29:48 +00:00
Johannes Schickel
a15cc002bb Cleanup.
svn-id: r47139
2010-01-07 20:13:02 +00:00
Johannes Schickel
bd651c6c3d Fix a little bug in LoopingAudioStream::readBuffer.
svn-id: r47138
2010-01-07 19:34:19 +00:00
Johannes Schickel
127213f706 Remove setNumLoops and getNumPlayedLoops from AudioStream.
svn-id: r47137
2010-01-07 17:45:38 +00:00
Johannes Schickel
20a43c638c Premiliary adaption of SCI to use LoopingAudioStream. (This could really need some cleanup...)
svn-id: r47136
2010-01-07 17:45:17 +00:00
Johannes Schickel
45b6f84ba7 Some formatting fixes.
svn-id: r47135
2010-01-07 17:28:15 +00:00
Johannes Schickel
aa2f55ddc6 Remove the deprecated FLAC, Vorbis and MP3 factories.
svn-id: r47134
2010-01-07 17:14:44 +00:00
Johannes Schickel
b47725540f Cleanup.
svn-id: r47133
2010-01-07 17:04:32 +00:00
Johannes Schickel
a597e5fef9 Make VagStream a RewindableAudioStream.
svn-id: r47132
2010-01-07 17:04:01 +00:00
Johannes Schickel
771867fd1b Do not try to destroy an object on the stack via delete.
svn-id: r47131
2010-01-07 16:49:23 +00:00
Johannes Schickel
4f52dcea66 Adapt TUCKER to use RewindableAudioStream and Mixer::playInputStreamLooping. (Needs testing, please :-)
svn-id: r47130
2010-01-07 16:44:17 +00:00
Johannes Schickel
d5fe29c3c9 Make makeWAVStream return a RewindableAudioStream.
svn-id: r47129
2010-01-07 16:34:56 +00:00
Johannes Schickel
ca5e137945 Create a wrapper makeLoopingAudioStream to reduce code duplcation.
svn-id: r47128
2010-01-07 16:18:03 +00:00
Johannes Schickel
2e9bae44c5 Let ADPCM streams subclass RewindableAudioStreams and thus allow them to be looped with the new looping code.
svn-id: r47127
2010-01-07 16:08:41 +00:00
Fabio Battaglia
8c03fffbf0 Nintendo64: Add FlashRAM support for saving if a compatible cart is available.
svn-id: r47126
2010-01-07 16:07:22 +00:00
Martin Kiewitz
9577a45cdd SCI: fixed save/restorebits within screen class for displayscreen case, fixes kq6 menu bar
svn-id: r47125
2010-01-07 15:50:58 +00:00
Nicola Mettifogo
8e54ce73a5 Moved creation of 'beep' sound buffer to sound manager constructor.
svn-id: r47124
2010-01-07 15:38:29 +00:00