Commit Graph

36212 Commits

Author SHA1 Message Date
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
Paul Gilbert
4cc1d4ffb8 Changed the create_lure tool to use the explicitly defined lure language list
svn-id: r47021
2010-01-05 09:59:25 +00:00
Paul Gilbert
43f19bc722 Added a new LureLanguage enumeration of supported languages, and changed game code to use it
svn-id: r47019
2010-01-05 08:24:27 +00:00
Paul Gilbert
c8f991e89b Bugfix for crash if an error occurs before the game object (and thus the debugger) is created
svn-id: r47018
2010-01-05 05:25:18 +00:00
Matthew Hoops
5fbbd5b8d9 Zero the array before using it. You can go talk to Grace now, DrMcCoy.
svn-id: r47017
2010-01-05 04:00:13 +00:00
Johannes Schickel
d485d0c295 Oops somehow I must have missed CopyRateConverter::flow, in r47014.
svn-id: r47016
2010-01-05 02:48:38 +00:00
Johannes Schickel
5b9f267e71 Use the return value of RateConverter::flow to calculate the decoded samples and not the upper bound "len". (This should only be a difference when the audio stream has no more samples left)
svn-id: r47015
2010-01-05 02:42:55 +00:00
Johannes Schickel
2ef2064f44 Make RateConverter::flow return the number of sample pairs written, like it's documented in the .cpp file.
svn-id: r47014
2010-01-05 02:42:35 +00:00
Johannes Schickel
f5c3bd887e - Add a new SeekableAudioStream interface. Soon to be used to replace audio stream specific looping code by generic code in Mixer...
- Adapted some existing AudioStreams to implement that interface (not tested!)

svn-id: r47013
2010-01-05 02:27:24 +00:00
Filippos Karapetis
00e48f687f Cleanup
svn-id: r47012
2010-01-05 01:52:56 +00:00
Matthew Hoops
e87cc86665 Fix walking in SCI32. Gabriel now will walk and DrMcCoy can now hear his precious 'Gabriel is a lout' line :P
svn-id: r47011
2010-01-05 01:51:09 +00:00
Filippos Karapetis
e72e130048 Yet more renaming
svn-id: r47010
2010-01-05 01:47:44 +00:00
Filippos Karapetis
d99aa0f126 More renaming
svn-id: r47009
2010-01-05 01:37:57 +00:00
Matthew Hoops
2f1a909696 Fix compile.
svn-id: r47008
2010-01-05 01:29:04 +00:00
Filippos Karapetis
84cd8d2dc7 Renamed /gui to /graphics and /sfx to /sound, to better illustrate their purpose
svn-id: r47007
2010-01-05 01:22:16 +00:00
Matthew Hoops
d8c59f5baa Disable the planeLeft/planeTop code as it doesn't work under the current code (and left a FIXME explaining why it doesn't work).
svn-id: r47006
2010-01-05 01:14:08 +00:00
Filippos Karapetis
f66d5a7f53 SCI: Removed the old graphics code
svn-id: r47005
2010-01-05 00:54:53 +00:00