Filippos Karapetis
|
73a4664552
|
Replaced getInt15 in intstrument-map.cpp as well
svn-id: r39196
|
2009-03-07 17:55:00 +00:00 |
|
Filippos Karapetis
|
1e29983d8e
|
Replaced getInt16, getUInt16 and putInt16
svn-id: r39189
|
2009-03-07 16:14:20 +00:00 |
|
Max Horn
|
18b3454280
|
SCI: Replaced linked list of Sci1Samples by a Common::List
svn-id: r39178
|
2009-03-07 06:57:17 +00:00 |
|
Max Horn
|
c2f08b10d2
|
SCI: More cleanup in the song iterator codebase
svn-id: r39177
|
2009-03-07 06:56:39 +00:00 |
|
Filippos Karapetis
|
fc4df48e13
|
SongIterator is a class, not a struct
svn-id: r39167
|
2009-03-06 23:52:12 +00:00 |
|
Max Horn
|
54e1256b0e
|
SCI: Reduce SFX header dependencies
svn-id: r39159
|
2009-03-06 18:11:12 +00:00 |
|
Max Horn
|
763275f269
|
SCI: Continued C++ification of SongIterator code
svn-id: r39158
|
2009-03-06 17:53:11 +00:00 |
|
Max Horn
|
e134281b5c
|
SCI: Fixed (I hope) song iterator death listeners; and some cleanup
svn-id: r39157
|
2009-03-06 17:39:46 +00:00 |
|
Max Horn
|
e3ac2ecfaa
|
SCI: Started to revamp the song iterator death notification system (which currently is mess :)
svn-id: r39156
|
2009-03-06 17:39:15 +00:00 |
|
Filippos Karapetis
|
b8a2b38e41
|
SongIterator is a class, not a struct
svn-id: r39154
|
2009-03-06 11:06:04 +00:00 |
|
Max Horn
|
0f3d67c1ac
|
SCI: C++ifyed SongIterator and its subclasses
svn-id: r39152
|
2009-03-06 07:25:48 +00:00 |
|
Max Horn
|
018d19e020
|
SCI: Some cleanup to the SongIteratorMessage code
svn-id: r39151
|
2009-03-06 07:25:37 +00:00 |
|
Max Horn
|
24dac898fe
|
SCI: Converted SongIterator::get_pcm_feed into a virtual method
svn-id: r39150
|
2009-03-06 07:25:25 +00:00 |
|
Max Horn
|
f8d9e4fdcc
|
SCI: Restructured PolledPlayerAudioStream::readBuffer a bit
svn-id: r39149
|
2009-03-06 07:25:15 +00:00 |
|
Max Horn
|
5e2ee01b39
|
SCI: Renamed lots of classes related to song iterators; allocate song iterators via new/delete instead of malloc/free
svn-id: r39148
|
2009-03-06 07:25:06 +00:00 |
|
Andre Heider
|
7ef3a59a2c
|
don't crash if sound has been disabled or the backend driver failed to initialize.
svn-id: r39137
|
2009-03-05 21:50:01 +00:00 |
|
Max Horn
|
2a7eef19c0
|
SCI: Removed unused FEED_MODE_DEAD, extended FIXME comment for FEED_MODE_RESTART
svn-id: r39119
|
2009-03-04 08:04:28 +00:00 |
|
Max Horn
|
dbb59ce3a1
|
SCI: Merged polled player & PCMFeedAudioStream -> PolledPlayerAudioStream
svn-id: r39118
|
2009-03-04 07:59:33 +00:00 |
|
Max Horn
|
ce5c6f3a95
|
SCI: Added FIXME about Opl2 driver hardcoding sample rate. well, we probably should ditch that one and use our fmopl...
svn-id: r39117
|
2009-03-04 07:46:27 +00:00 |
|
Max Horn
|
ac2d012ae5
|
SCI: Merged sfx/mixer.cpp into sfx/player/polled.cpp
svn-id: r39116
|
2009-03-04 07:38:49 +00:00 |
|
Max Horn
|
e783859d5c
|
SCI: Replaced sfx_iterator_make_feed and associated code by Audio::makeLinearInputStream
svn-id: r39115
|
2009-03-04 07:31:31 +00:00 |
|
Max Horn
|
0a206fb031
|
SCI: Use Audio::Timestamp instead of sfx_timestamp_t
svn-id: r39113
|
2009-03-04 06:58:51 +00:00 |
|
Max Horn
|
92eceb741a
|
SCI: mixer cleanup
svn-id: r39111
|
2009-03-04 06:23:14 +00:00 |
|
Filippos Karapetis
|
a4e4de9ecd
|
Fixed crash in SQ4
svn-id: r39091
|
2009-03-03 17:20:02 +00:00 |
|
Max Horn
|
00db87563a
|
SCI: Reimplemented the SCI mixer based on the old SCI DC mixer by walter, and by taking advantage of ScummVM's mixers capabilities. Got rid of sfx_pcm_mixer_t
svn-id: r39053
|
2009-03-01 21:23:44 +00:00 |
|
Willem Jan Palenstijn
|
82e4168d47
|
Don't free a sfx_pcm_feed_t that's still in use.
It's a rather hackish fix, but this feed-wrapping code should only be
temporary anyway.
svn-id: r39033
|
2009-03-01 12:08:44 +00:00 |
|
Max Horn
|
7ee049ab8f
|
SCI: Forgot to commit a couple files after renaming sfx headers
svn-id: r39010
|
2009-03-01 06:17:52 +00:00 |
|
Max Horn
|
d0c477e930
|
SCI: Removed unused pause/resume methods from the mixer, and rewrote the feeds handling to use Common::List
svn-id: r39009
|
2009-03-01 06:02:42 +00:00 |
|
Max Horn
|
4e0ee7abea
|
SCI: cleanup
svn-id: r39008
|
2009-03-01 06:02:34 +00:00 |
|
Max Horn
|
6f290b7cd6
|
SCI: Removed some unused code from the SCI mixer
svn-id: r39007
|
2009-03-01 06:02:26 +00:00 |
|
Max Horn
|
25e7d3a08d
|
SCI: Renamed some sfx header files
svn-id: r39006
|
2009-03-01 06:02:17 +00:00 |
|
Max Horn
|
6454a3dee1
|
SCI: Replaced fake struct 'inheritance' (using #defines) with regular C++ subclassing
svn-id: r39005
|
2009-03-01 06:01:48 +00:00 |
|
Jordi Vilalta Prat
|
7050c7b03f
|
SCI: Use the ResourceType enum instead of integers where it makes sense
svn-id: r38988
|
2009-02-28 23:46:50 +00:00 |
|
Greg Frieger
|
61ab59138a
|
resource_t struct replaced with stub Resource class for future objectifying. Also the crash when exiting SCI1 games was fixed
svn-id: r38982
|
2009-02-28 21:59:49 +00:00 |
|
Greg Frieger
|
4dd1b7dad5
|
Turned ResourceManager into a class, along with all related functions
svn-id: r38978
|
2009-02-28 20:45:36 +00:00 |
|
Andre Heider
|
b2cd5beb9e
|
clean up some warnings
svn-id: r38965
|
2009-02-28 13:41:43 +00:00 |
|
Andre Heider
|
aff4aeae14
|
set the correct OPL2 frequency for Wii
svn-id: r38964
|
2009-02-28 13:39:56 +00:00 |
|
Willem Jan Palenstijn
|
c76dc0b71c
|
Initialize mixer feed variables
svn-id: r38951
|
2009-02-28 10:04:40 +00:00 |
|
Max Horn
|
6f72cc45a3
|
cleanup
svn-id: r38950
|
2009-02-28 07:23:31 +00:00 |
|
Max Horn
|
413ded4ce4
|
SCI: Get rid around the first layer around the ScummVM audio mixer. Also resolve the FIXME about releasing the mixer channel we allocated
svn-id: r38949
|
2009-02-28 06:48:53 +00:00 |
|
Max Horn
|
a26b3bfde6
|
SCI: Get rid of extra layer around our timer manager
svn-id: r38947
|
2009-02-28 06:14:42 +00:00 |
|
Willem Jan Palenstijn
|
6eeec1d295
|
Add FIXME: We need a pcm_device->exit() function,
to release the mixer channel allocated for pcm_device in ScummVM's mixer.
svn-id: r38941
|
2009-02-27 23:53:52 +00:00 |
|
Willem Jan Palenstijn
|
d3e60f2ae3
|
Depend on backend timer API instead of a new mutex
This fixes a deadlock between the backend's timer mutex and
the sound callbackMutex that would occur while restoring a game.
svn-id: r38939
|
2009-02-27 22:20:11 +00:00 |
|
Eugene Sandulenko
|
d53c75fc8f
|
Fix code formatting
svn-id: r38930
|
2009-02-27 12:59:02 +00:00 |
|
Max Horn
|
479751104f
|
SCI: Renamed include/engine.h to engine/state.h; added a corresponding .cpp file with the EngineState constructor
svn-id: r38921
|
2009-02-27 02:23:40 +00:00 |
|
Max Horn
|
170916201c
|
SCI: Moved almost all files from include/ to other dirs; only include/engine.h remains
svn-id: r38920
|
2009-02-27 02:23:00 +00:00 |
|
Andre Heider
|
dbe632e8ed
|
protect the sfx timer with the callbackMutex to fix the race the condition when restarting or restoring a game.
svn-id: r38913
|
2009-02-26 19:32:22 +00:00 |
|
Max Horn
|
fde001ce81
|
SCI: Changed 'typedef enum { } NAME' into C++-style 'enum NAME { }'
svn-id: r38908
|
2009-02-26 16:16:46 +00:00 |
|
Paweł Kołodziejski
|
91ee9a3eb8
|
not needed this includes anymore
svn-id: r38857
|
2009-02-24 21:13:32 +00:00 |
|
Andre Heider
|
357299c570
|
substitute all time related functions, removing sci_gettime sci_get_current_time altogether.
svn-id: r38845
|
2009-02-24 18:31:05 +00:00 |
|