Martin Kiewitz
7d7d23ce2b
SCI: making most of the variables in screen class private (some of it was needed for old gui)
...
svn-id: r47075
2010-01-06 13:05:14 +00:00
Filippos Karapetis
86c1171b11
Removed one more hardcoded screen dimension
...
svn-id: r47074
2010-01-06 12:55:51 +00:00
Filippos Karapetis
3d3d0dee1b
SCI2.1 and newer games always run at 640x480
...
svn-id: r47073
2010-01-06 12:21:27 +00:00
Filippos Karapetis
bcf7535c97
Removed all hardcoded screen sizes
...
svn-id: r47072
2010-01-06 12:17:03 +00:00
Max Horn
1c6ccf8000
Add more comparision operators to Timestamp
...
svn-id: r47071
2010-01-06 12:15:05 +00:00
Max Horn
5b635fd610
Change the way Timestamp stores its data.
...
Instead of storing milliseconds and frames (which causes rounding errors,
and causes ambiguity in how a given time is stored), we now do things
differently: We store a number of seconds, and frames. To make sure that
we can still handle milliseconds accurately, though, we change the
framerate to the least common multiple of the original framerate and
1000. So 60 becomes 6000, and 44100 becomes 441000. There are no visible
changes for client code, except for the increased accuracy.
svn-id: r47070
2010-01-06 12:09:14 +00:00
Vladimir Menshakov
69566f6bf1
do not interrupt any actions (test for wii)
...
svn-id: r47069
2010-01-06 10:11:38 +00:00
Vladimir Menshakov
427a15cd05
minor cleanups
...
svn-id: r47068
2010-01-06 09:38:56 +00:00
Johannes Schickel
789f2ce255
The current AIFF stream implementations returns a SeekableAudioStream, reflect that in its factory method.
...
svn-id: r47067
2010-01-06 00:02:49 +00:00
Johannes Schickel
668f6e5de8
Adapt TOUCHE to use the new FLAC, Vorbis and MP3 factories (it didn't use any looping features anyway).
...
svn-id: r47066
2010-01-06 00:02:19 +00:00
Johannes Schickel
8638d6ce61
Change the AudioStream::openStreamFile API to return SeekableAudioStreams and remove parameter for depreacted loop support. (We could consider moving this to SeekableAudioStream).
...
svn-id: r47065
2010-01-06 00:01:57 +00:00
Johannes Schickel
5243157eb1
Adapt digital iMuse to use SeekableAudioStream::seek, instead of ryling on the deprecated FLAC, Vorbis and MP3 interface.
...
svn-id: r47064
2010-01-06 00:01:27 +00:00
Johannes Schickel
fb9017c51e
Adapt SAGA to use Mixer::playAudioStreamLooping instead of relying the depracted in AudioStream looping support.
...
svn-id: r47063
2010-01-06 00:00:50 +00:00
Johannes Schickel
0e420431fd
Adapt KYRA to use the new FLAC, Vorbis and MP3 factories.
...
svn-id: r47062
2010-01-06 00:00:25 +00:00
Johannes Schickel
81a94a0644
- Put the new factories for MP3, Vorbis and FLAC in place.
...
- Marked the loop factories with loop related parameters as deprecated.
svn-id: r47061
2010-01-05 23:59:28 +00:00
Johannes Schickel
79ee2b0895
Properly adapt AUDStream to be a SeekableAudioStream and switched KYRA3 to use playAudioStreamLooping for its looping purposes.
...
svn-id: r47060
2010-01-05 23:05:31 +00:00
Vladimir Menshakov
711fada15c
added logs about EVENT_RTL
...
svn-id: r47059
2010-01-05 22:23:58 +00:00
Johannes Schickel
88b4bbb952
Fix broken Scumm dialogs, which is a regression from r46947. (They used a dummy name, which didn't exist in the theme config and later on just calculated the size on their own...)
...
svn-id: r47057
2010-01-05 22:18:09 +00:00
Vladimir Menshakov
841e2d3424
separate timers for mark, scene and messages.
...
svn-id: r47056
2010-01-05 22:09:16 +00:00
Johannes Schickel
e38b7b3cc5
Properly initialize _pos in LoopingChannel.
...
svn-id: r47055
2010-01-05 22:02:04 +00:00
Johannes Schickel
7591a09365
Implement Timestamp::operator== as equality in time.
...
svn-id: r47054
2010-01-05 22:01:05 +00:00
Johannes Schickel
664ace90e7
Add some test for operator== in Timestamp.
...
svn-id: r47053
2010-01-05 22:00:38 +00:00
Johannes Schickel
2d3a06f805
Cleanup.
...
svn-id: r47052
2010-01-05 22:00:06 +00:00
Robin Watts
61c413e114
Update ARM version of rate filler code in line with LordHoto's change
...
in revision 47014.
svn-id: r47051
2010-01-05 21:56:13 +00:00
Martin Kiewitz
d183420c86
SCI: implemented debug command "set_palette"
...
svn-id: r47047
2010-01-05 21:25:59 +00:00
Johannes Schickel
083cab5157
Cleanup.
...
svn-id: r47046
2010-01-05 21:10:58 +00:00
Johannes Schickel
caa3db4659
- Initial implementation of looping of SeekableAudioStreams in Mixer.
...
- Adapted AudioCD code to use this for audio CD emulation.
svn-id: r47045
2010-01-05 21:10:34 +00:00
Filippos Karapetis
3e911cd6e8
Changed an error to a warning in execute_method(), so that Torin's Passage scripts continue running (and crash at some later point)
...
svn-id: r47044
2010-01-05 21:05:32 +00:00
Martin Kiewitz
be9507fcb1
SCI: implemented new debug command "draw_cel"
...
svn-id: r47043
2010-01-05 21:03:33 +00:00
Vladimir Menshakov
7e5a7533ca
more accurate timings.
...
svn-id: r47042
2010-01-05 20:58:41 +00:00
Martin Kiewitz
8bafb71df3
SCI: remove lowres limit from picture class, makes hires sci32 pictures work
...
svn-id: r47041
2010-01-05 20:52:19 +00:00
Martin Kiewitz
3bf03039b8
SCI: removed hardcoded screen width/height from windowMgr menuPort
...
svn-id: r47040
2010-01-05 20:49:03 +00:00
Martin Kiewitz
d183fb3c81
SCI: fix debug command draw_pic to accept higher resourceIds
...
svn-id: r47039
2010-01-05 20:39:21 +00:00
Vladimir Menshakov
e4a6b1c455
added subtitle speed option
...
fixed bug when idle animation could be displayed in a middle of the dialogue
svn-id: r47038
2010-01-05 20:15:29 +00:00
Johannes Schickel
920dac2f9d
Remove unsafe getTotalPlayTime from AudioStream.
...
svn-id: r47037
2010-01-05 20:14:28 +00:00
Johannes Schickel
e9a94ecb9b
Add a "getLength" function to SeekableAudioStream.
...
svn-id: r47036
2010-01-05 20:13:31 +00:00
Martin Kiewitz
1712e223e2
SCI: removed uint16 limit within view class (allows hires views)
...
svn-id: r47035
2010-01-05 19:55:05 +00:00
Johannes Schickel
7d126de793
Add some basic documentation to the new Channel interface.
...
svn-id: r47034
2010-01-05 19:52:50 +00:00
Johannes Schickel
7d5b2b118a
- Do not calculate left/right channel volume every SimpleChannel::mix call anymore, but do it once
...
- Notify a channel, when it's channel volume type changed from inside MixerImpl::setVolumeForSoundType
svn-id: r47033
2010-01-05 19:52:32 +00:00
Johannes Schickel
4ebcd1c61c
Get rid of public variables in Channel.
...
svn-id: r47032
2010-01-05 19:52:12 +00:00
Johannes Schickel
63bccc213b
Create a generic Channel interface for the default Mixer implementation.
...
svn-id: r47031
2010-01-05 19:51:48 +00:00
Torbjörn Andersson
c4106653a8
Fixed bug #2924968 , "AGI: Can't click "cancel" in Save/Restore Game Menu". This
...
regression was probably introduced with r45260, "AGI: cleanup
GfxMgr::testButton".
svn-id: r47030
2010-01-05 18:52:39 +00:00
Johannes Schickel
50888f5b65
- Fix a bug in Channel::pause for recursive pausing.
...
- Fix bug in Channel:getElapsedTime, when called while the channel is paused.
svn-id: r47029
2010-01-05 18:32:26 +00:00
Filippos Karapetis
cc87f4a741
Renamed the version of drawCel() which calls BitsShow() to drawCelAndShow(), to avoid confusion
...
svn-id: r47028
2010-01-05 14:59:43 +00:00
Filippos Karapetis
9606e7fca7
Some initial work on SCI1.1 view scaling (not working yet)
...
svn-id: r47027
2010-01-05 14:19:53 +00:00
Filippos Karapetis
45bf6fc0d7
Removed a leftover unused hack from the old graphics code
...
svn-id: r47026
2010-01-05 14:17:47 +00:00
Martin Kiewitz
b2fd2a8310
SCI: sci32 pictures are now fully drawn to screen (including all layers)
...
svn-id: r47025
2010-01-05 13:51:47 +00:00
Filippos Karapetis
928322314d
Removed duplicate code
...
svn-id: r47024
2010-01-05 13:21:39 +00:00
Filippos Karapetis
3b8512b104
Cleanup, fixed fading of digital sound effects
...
svn-id: r47023
2010-01-05 10:28:09 +00:00
Paul Gilbert
8ccbe5acd5
Fixed compiler warning about excessive bit-shift
...
svn-id: r47022
2010-01-05 10:03:55 +00:00