Max Horn
4a302b25ad
Lots of source code formatting corrections
...
svn-id: r28887
2007-09-10 13:17:20 +00:00
Chris Apers
500481c4ec
Cleanup: remove obsolete code (PalmOS 68K version not supported anymore)
...
svn-id: r28803
2007-09-01 19:13:04 +00:00
Max Horn
86d015c055
Added FIXME comments regarding use of AudioStream::openStreamFile
...
svn-id: r28112
2007-07-15 19:26:00 +00:00
Max Horn
f4c0b853cc
Fixed sound factory messup caused by my previous commit
...
svn-id: r28111
2007-07-15 19:24:00 +00:00
Max Horn
e1bcd70436
Re-added __attribute__(packed)
...
svn-id: r27830
2007-07-01 18:18:43 +00:00
Max Horn
e2ad271bd8
Removing non-ASCII chars from source code
...
svn-id: r27818
2007-07-01 12:47:07 +00:00
Travis Howell
2e3ce7dc8e
Fix FLAC support for speech in Broken Sword 1.
...
svn-id: r27723
2007-06-26 05:51:47 +00:00
Travis Howell
9cee28492d
Add FLAC support for speech in Broken Sword 1.
...
svn-id: r27721
2007-06-26 03:08:03 +00:00
Max Horn
d0ee1b3c8f
BS1: Make use of Common::KeySate::reset()
...
svn-id: r27636
2007-06-22 22:19:17 +00:00
Max Horn
1441f0d044
Converted rest of BS1 to use Common::KeyState (removing two more hacks)
...
svn-id: r27631
2007-06-22 22:00:46 +00:00
Max Horn
c9030e4653
Made BS1 track the full KeyState upon KEYDOWN events (this makes it possible to remove to workaround for Mac keyboards)
...
svn-id: r27627
2007-06-22 21:34:03 +00:00
Max Horn
2fa0a5c457
Cleaning up after myself (I blame it on, err, uhh... the Vogons?)
...
svn-id: r27625
2007-06-22 21:16:07 +00:00
Torbjörn Andersson
e42da8f24c
Use KEYCODE constants.
...
svn-id: r27600
2007-06-22 09:27:13 +00:00
Torbjörn Andersson
2a7c76d4e4
Added support for FLAC encoded music in Broken Sword 1. (The compression tool
...
knows nothing about this, and since they're being rewritten as part of the SoC,
I'm not going to do anything about that.)
svn-id: r27511
2007-06-17 14:50:49 +00:00
Torbjörn Andersson
fe8a7163cd
Try to be more robust/paranoid when reading the SAVEGAME.INF file. Apart from
...
being a sensible precaution, it should work around some bugs like #1737801 ,
where the file is obviously corrupted. (Possibly mutilated by some file
transfer program.)
svn-id: r27484
2007-06-16 19:27:05 +00:00
Travis Howell
12c9fb0382
Add support for pausing/resume cutscenes shown on the OmniTV in The Feeble Files.
...
svn-id: r27371
2007-06-12 06:08:47 +00:00
Max Horn
218e132e37
Updated legal headers in source files, based on what Pidgin (the IM client formerly knowns as Gaim) does; added new (incomplete) COPYRIGHT file; updated copyright dates in a few spots
...
svn-id: r27024
2007-05-30 21:56:52 +00:00
Eugene Sandulenko
cc24af3671
Fix Enter key behavior under MacOS as mentioned in FR #1273746 : "BS1: Some
...
smaller refinements to the GUI"
svn-id: r26946
2007-05-26 17:08:33 +00:00
Eugene Sandulenko
cdc949439b
oops
...
svn-id: r26944
2007-05-26 16:59:13 +00:00
Eugene Sandulenko
83c713d9b4
Slighty modified patch #1701058 : "Correct some graphical glitches for
...
Brocken Sword 1 Mac"
svn-id: r26942
2007-05-26 16:17:31 +00:00
Torbjörn Andersson
c750bea0dd
Fixed error in subtitle drawing. (This part of the code should still be cleaned
...
up, as it's badly written. I should know, I wrote it.)
svn-id: r26877
2007-05-19 20:44:18 +00:00
Torbjörn Andersson
e005b0f42e
This is an updated and slightly cleaned up version of patch #1657061 ("SWORD1:
...
Cutscene subtitles"). It still has the deficiencies listen in the patch tracker
and should therefore be considered work-in-progress, but sev said I should go
ahead and commit it anyway. I have no further plans for it right now, so feel
free to improve on it.
svn-id: r26644
2007-04-28 07:27:53 +00:00
Max Horn
00b9bc7b36
Removing lots of superfluous semicola (see mail by David Weinehall on scummvm-devel)
...
svn-id: r26594
2007-04-25 19:31:23 +00:00
Torbjörn Andersson
4b4d7dec8e
I must have accidentally broken frame skipping when I added DXA playback. Made
...
frame skipping actually skip the updateScreen() call.
svn-id: r26469
2007-04-14 14:07:11 +00:00
Torbjörn Andersson
333bac56c3
Added base class for the WAV and AIFF audio streams. It's the *Macintosh* demo
...
(and presumably the full game, as well) that uses AIFF music. My earlier commit
was a bit unclear about that.
svn-id: r26437
2007-04-09 15:50:20 +00:00
Torbjörn Andersson
a4fb87b987
Fixed crash when playing looping WAV music.
...
svn-id: r26425
2007-04-09 10:07:36 +00:00
Torbjörn Andersson
2d209264c9
Implemented enough of AIFF to play the music from the Broken Sword 1 demo. At
...
least as far as I tried it which, admittedly, wasn't very far.
svn-id: r26423
2007-04-09 09:58:41 +00:00
Max Horn
1cf48cf17d
Changed _sys -> _system, matching (almost?) all other cases where we have an OSystem* member var
...
svn-id: r26359
2007-04-01 18:05:11 +00:00
Gregory Montoir
5aca9dce8c
added the instance of EventManager returned by OSystem::getEventManager as a member of the Engine base class. This allows to simply the code a bit and should more efficient too (ie. less virtual function chain calls, obj->getA()->getB()). Also updated several engines to make use of it.
...
svn-id: r26357
2007-04-01 17:36:13 +00:00
Robert Göffringmann
edd4e73787
minor cleanup
...
svn-id: r26212
2007-03-18 16:50:39 +00:00
Max Horn
ed54ea9155
Moved Event/EventType/keyboard enum from common/system.h (part of class OSystem) to common/events.h (part of namespace Common). Porters may have to make minor changes to their backends to get them to compile again
...
svn-id: r26180
2007-03-17 19:02:05 +00:00
Torbjörn Andersson
53624376b4
Applied my re-revised patch #1487149 ("Simplified keyboard repeat"), with
...
Fingolfin's blessings. Keyboard repeat is now handled by the event manager,
rather than by individual engines.
Since this can cause problems with some engines (see the AGI engine), the extra
"key down" events are marked as "synthetic", so that they can be ignored if
necessary.
svn-id: r26170
2007-03-17 15:44:26 +00:00
Max Horn
15d9bc42ea
Force all code to use EventManager::pollEvent instead of OSystem::pollEvent
...
svn-id: r26156
2007-03-17 00:53:21 +00:00
Max Horn
d6211151a9
Removed obsolete code
...
svn-id: r25946
2007-03-03 00:17:26 +00:00
Max Horn
4a1039fbc6
Updated the BS1 music code to use the new looping feature in our MP3/Ogg decoders
...
svn-id: r25943
2007-03-02 23:53:20 +00:00
Max Horn
45bf574928
Get rid of the last two usages of File::incRef/decRef
...
svn-id: r25919
2007-03-01 17:22:30 +00:00
Max Horn
8c8abca6f8
Changed the AppendableAudioStream code to use a queue of buffers, instead of a fixed size wrap-around memory buffer (this reduces memory usage in some cases by 500-700k, while actually being more flexible)
...
svn-id: r25909
2007-02-28 14:48:26 +00:00
Max Horn
551b2b6b3d
Fix for bug #1670081 -- SWORD1: game won't load (ogg compression) (regression)
...
svn-id: r25905
2007-02-28 10:44:52 +00:00
Max Horn
dd26444b72
oops
...
svn-id: r25842
2007-02-25 00:09:22 +00:00
Max Horn
9823cbe1ea
Added TODO: Sword1's MusicHandle::play etc. should be rewritten to take advantage of the enhanced compressed audio stream code
...
svn-id: r25841
2007-02-25 00:04:35 +00:00
Max Horn
21b095ce20
Switch to the new makeVorbisStream variant (and get rid of a File::decRef call)
...
svn-id: r25840
2007-02-25 00:03:47 +00:00
Max Horn
b3931a847d
Trying to unify the order in which we try the various audio formats: Prefer FLAC (lossless) over Ogg Vorbis ('free') over MP3 -- the order is admittedly somewhat arbitrary, but at least now it's consistent across all parts of ScummVM
...
svn-id: r25837
2007-02-24 23:40:28 +00:00
Max Horn
cafe61fec2
cleanup
...
svn-id: r25834
2007-02-24 23:15:39 +00:00
Max Horn
227a080e5b
Patch #1663933 (Kill premix channel) with a few tiny additional tweaks by me
...
svn-id: r25752
2007-02-20 18:50:17 +00:00
Torbjörn Andersson
5478589937
Last batch of header consistency fixes. At least for the game engines.
...
svn-id: r25751
2007-02-20 18:04:13 +00:00
Max Horn
b8aeefaffb
Added finalize() method to Common::OutSaveFile (which by default just flushes the stream), changed engines to call that before deleting OutSaveFile instances (instead of just flushing)
...
svn-id: r25660
2007-02-17 18:55:51 +00:00
Max Horn
73c3625f1f
Fixing various doxygen warnings
...
svn-id: r25362
2007-02-03 21:37:52 +00:00
Max Horn
cb49cbdd45
* Reimplemented Mixer::pauseAll to simply invoke pause on all channels
...
(implying change of semantics)
* Reordered the params of Mixer::playRaw (the SoundType now comes first, not last)
* Removed Mixer::isPaused
* Removed Mixer::getSoundElapsedTimeOfSoundID
* Added some doxygen comments to the Mixer
svn-id: r25356
2007-02-03 19:05:53 +00:00
Eugene Sandulenko
cd8a5f3a98
First phase of detection-related plugins interface improvements. Now plugins
...
return StringMap instead of fixed list of parameters. This adds great
flexibility.
Current patch should not alter any functionality, i.e. if there are regressions,
submit a report. Phase 2 will benefit from these changes and will come later.
svn-id: r25134
2007-01-20 21:27:57 +00:00
Travis Howell
0141cbd1df
GF_DEMO is only required by the PC version of Broken Sword 1 demo
...
svn-id: r24853
2006-12-15 00:59:11 +00:00