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
Johannes Schickel
71b4b3dcba
- Adapt documentation, that keycolor in setMouseCursor may not exceed the maximum color value of the specified format.
...
- Change SDL backend to assert out on invalid keycolor values
In case we really need a way to specify "no keycolor" we need to
discuss on how to do it *properly*.
svn-id: r47123
2010-01-07 15:28:58 +00:00
Max Horn
4f463e288e
Get rid of calculatePlayTime, instead store playtimes as Timestamps
...
svn-id: r47122
2010-01-07 15:25:14 +00:00
Martin Kiewitz
7f358e3bbd
SCI: changed kernel signature for kDrawCel, enabled upscaled hires savebox code ("crashed" before because afterwards kDrawCel will get the handle from the savebox call)
...
svn-id: r47121
2010-01-07 15:25:03 +00:00
Max Horn
32ec5746be
Add Timestamp::totalNumberOfFrames() method, clarify some comments
...
svn-id: r47120
2010-01-07 15:12:20 +00:00
Max Horn
423094cd5f
Fix warning
...
svn-id: r47119
2010-01-07 15:11:46 +00:00
Marcus Comstedt
40f9506163
The default keycolor for mouse pointers used to be 255.
...
This makes sense as a default for CLUT8 modes, but not really
for anything else. As part of the gsoc2009-16bit merge, the
default was changed to "all ones", with extra code in the SDL
backend to truncate this to the depth of the mode. However,
"all ones" (white) still isn't a very useful default for RGB modes.
So rather than jumping through hoops to provide a bad default,
it's better to remove the default altogether. Engines which relied
on the old default of 255 have been updated to specify it explicitly.
svn-id: r47118
2010-01-07 15:07:36 +00:00
Martin Kiewitz
519e80ca8b
SCI: implemented additional drawCel for hires views, fixes menu bar of kq6 - still need to fix coordinates and implement save/restoreBits for hires
...
svn-id: r47116
2010-01-07 14:46:29 +00:00
Martin Kiewitz
5b063e2d93
SCI: releasing sample stream as well (thx to LordHoto)
...
svn-id: r47115
2010-01-07 14:39:42 +00:00
Johannes Schickel
c57549184b
Add important note for engine authors about SubSeekableAudioStream.
...
svn-id: r47114
2010-01-07 14:25:16 +00:00
Johannes Schickel
6abc10c6ea
Add a playInputStreamLooping for RewindableAudioStream to Mixer.
...
svn-id: r47113
2010-01-07 14:23:42 +00:00
Johannes Schickel
e00f36f9c7
Cleanup.
...
svn-id: r47112
2010-01-07 14:22:57 +00:00