Commit Graph

36419 Commits

Author SHA1 Message Date
Martin Kiewitz
d2d740af2a SCI: fixed typo when getting resourceId on kPortrait call - fixes resource not found in kq6 within pawn shop
svn-id: r47223
2010-01-10 11:33:10 +00:00
Martin Kiewitz
156e341e9b SCI: kPortrait - error() out when resource could not be found
svn-id: r47222
2010-01-10 11:29:58 +00:00
Martin Kiewitz
7a5c119930 SCI: ignore hiresMode when not being upscaledHires for kDrawCel and updateBox on kGraph - fixes kq6 dos
svn-id: r47221
2010-01-10 11:21:55 +00:00
Martin Kiewitz
c371c39568 SCI: changed SoundResource constructor to set values for digitalChannelNr/digitalSampleRate and digitalSampleSize at any time
svn-id: r47220
2010-01-10 11:01:36 +00:00
Martin Kiewitz
231e122c63 SCI: updateBox now also supports hires mode
svn-id: r47219
2010-01-10 09:42:55 +00:00
Martin Kiewitz
7d16dbeb35 SCI: changed location of hack inside kDrawCel, coordinates of savedhiresbox may not get port adjusted
svn-id: r47218
2010-01-10 09:07:09 +00:00
Martin Kiewitz
da09ee6732 SCI: switching to hires kDrawCel when 8th parameter is passed, fixed kDrawCel port adjust - fixes kq6 hires inventory
svn-id: r47217
2010-01-10 08:55:19 +00:00
Robert Špalek
96068d30d9 Handle properly shouldQuit()
svn-id: r47215
2010-01-10 01:25:37 +00:00
Martin Kiewitz
2c1ef90b87 SCI: kPortrait - now drawing after wait, also using gui wait so mouse cursor still works during execution, makes lip sync perfect (thx to the other fix by fingolfin)
svn-id: r47214
2010-01-09 23:01:38 +00:00
Max Horn
a44c6e4323 Add Mixer::getElapsedTime() method returning a Timestamp, thus offering a higher precision than Mixer::getSoundElapsedTime(). Convert some video code to use it.
svn-id: r47213
2010-01-09 22:37:10 +00:00
Max Horn
4a832ceb01 Fix Timestamp::addMsecs; some cleanup
svn-id: r47212
2010-01-09 22:36:32 +00:00
Martin Kiewitz
8fdf6a8095 SCI: kPortrait - drawing base bitmap before drawing animation bitmap
svn-id: r47211
2010-01-09 21:20:39 +00:00
Martin Kiewitz
6619d95f48 kPortrait: found the coordinate offsets, corrected actual bitmap size (sometimes extra bytes are appended per line) animation bitmaps now valid
svn-id: r47210
2010-01-09 21:12:08 +00:00
Martin Kiewitz
c73927ee4c SCI: deleting _bitmaps and unlocking sync resource in kPortrait
svn-id: r47208
2010-01-09 20:43:24 +00:00
Martin Kiewitz
273da184ee SCI: kPortrait - animation included, doesnt seem right currently coordinate offset is missing (cause i cant find it) and mouth movement doesnt seem right...at least the basics work and graphic data is fine
svn-id: r47206
2010-01-09 20:38:22 +00:00
Willem Jan Palenstijn
ac66783b5f Register default setting for 'mute' option
svn-id: r47205
2010-01-09 19:32:39 +00:00
Martin Kiewitz
7f78815e0e SCI: kPortrait almost fully implemented (animation bitmaps still missing)
svn-id: r47204
2010-01-09 19:12:53 +00:00
Johannes Schickel
9c2fa534d1 Implement some safer handling of the "Extended" block in VOC files.
svn-id: r47203
2010-01-09 18:51:25 +00:00
Martin Kiewitz
30d787a829 SCI: adding audio support to kPortrait, audio is now playing when portraits are shown
svn-id: r47202
2010-01-09 18:18:52 +00:00
Martin Kiewitz
a815d0e12a SCI: added new debug command "picture_visualize", which enables visualization of the drawing process of EGA pictures
svn-id: r47201
2010-01-09 14:09:45 +00:00
Vladimir Menshakov
5d4ff2930b removed useless rtl logs
svn-id: r47200
2010-01-09 13:28:52 +00:00
Vladimir Menshakov
d7c46c154f fixed RTL
svn-id: r47199
2010-01-09 11:39:01 +00:00
Vladimir Menshakov
e50a24be15 log when EVENT_RTL received
svn-id: r47198
2010-01-09 10:37:27 +00:00
Paul Gilbert
e27ef211f8 Fix for a rare case where the NPC handler for Ewan the shopkeeper can cause an assert when you rejoin Goewin in the Weregate caves.
svn-id: r47197
2010-01-09 09:27:40 +00:00
Sven Hesse
30e360f5c5 Yup, not checking for stereo sound was an accident here
svn-id: r47195
2010-01-09 03:55:09 +00:00
Walter van Niftrik
1e3679b4b6 SCI: Cleanup
svn-id: r47194
2010-01-09 03:08:51 +00:00
Walter van Niftrik
ac7458f916 SCI: Fix handling of output rate in PCJr driver
svn-id: r47193
2010-01-09 02:17:17 +00:00
Walter van Niftrik
6e991dc73e SCI: Fix crash on exit when using PCJr driver.
svn-id: r47192
2010-01-09 02:16:43 +00:00
Walter van Niftrik
d1d4091281 SCI: Cleanup
svn-id: r47191
2010-01-09 02:16:17 +00:00
Walter van Niftrik
6f78bc40dd SCI: Move music device IDs to drivers.
svn-id: r47190
2010-01-09 02:14:12 +00:00
Max Horn
be8371fb07 Replace AppendableAudioStream by QueuingAudioStream
svn-id: r47189
2010-01-09 00:19:13 +00:00
Martin Kiewitz
41eaeaa61d SCI: Ctrl-Z now supported as well :D
svn-id: r47188
2010-01-08 23:09:30 +00:00
Willem Jan Palenstijn
229c53d485 Use DisposeAfterUse::Flag
svn-id: r47187
2010-01-08 23:05:00 +00:00
Martin Kiewitz
af8298d4f8 SCI: removed controlify() to ease readability of code
svn-id: r47186
2010-01-08 22:52:50 +00:00
Martin Kiewitz
75a4ef14f1 SCI: fix for platform difference between linux and windows, makes Ctrl-Alt-keys work under linux as well (e.g. lsl1, age questions cheat)
svn-id: r47185
2010-01-08 22:45:38 +00:00
Johannes Schickel
b8727aefcc Fix LinearMemoryStream::seek, when the stream was created without request to dispose the memory itself.
svn-id: r47184
2010-01-08 22:14:55 +00:00
Max Horn
c489259353 Switch SCUMM from AppendableAudioStream to QueuingAudioStream
svn-id: r47183
2010-01-08 22:10:19 +00:00
Max Horn
f720d99b0a Switch Mixer::playInputStream to use DisposeAfterUse::Flag
svn-id: r47182
2010-01-08 22:09:43 +00:00
Max Horn
490153232a Fix header guard
svn-id: r47181
2010-01-08 22:07:56 +00:00
Max Horn
0cf53b025d Move DisposeAfterUse::Flag from Common to global namespace, and into a new header common/types.h
svn-id: r47180
2010-01-08 22:07:35 +00:00
Max Horn
474d49946f Rename QueuedAudioStream to QueuingAudioStream
svn-id: r47179
2010-01-08 22:06:04 +00:00
Max Horn
7efba85064 Switch Tinsel, MADE and some of the video players to QueuedAudioStream
svn-id: r47178
2010-01-08 22:05:12 +00:00
Max Horn
95726dfe50 Move Mohawk's QueuedAudioStream to sound/ (with some tweaks)
svn-id: r47177
2010-01-08 22:04:30 +00:00
Johannes Schickel
f263393ef0 Fix sound effects in Sword1 PSX, regression from r47132.
svn-id: r47176
2010-01-08 21:47:28 +00:00
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