Commit Graph

36 Commits

Author SHA1 Message Date
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
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
ac2d012ae5 SCI: Merged sfx/mixer.cpp into sfx/player/polled.cpp
svn-id: r39116
2009-03-04 07:38:49 +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
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
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
25e7d3a08d SCI: Renamed some sfx header files
svn-id: r39006
2009-03-01 06:02:17 +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
Eugene Sandulenko
d53c75fc8f Fix code formatting
svn-id: r38930
2009-02-27 12:59:02 +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
Max Horn
eb37789f6f SCI: Renamed include/gfx_*.h to gfx/gfx_*.h and likewise for sfx header files
svn-id: r38735
2009-02-21 19:33:01 +00:00
Paweł Kołodziejski
a5cf6bfd85 cleanup
svn-id: r38712
2009-02-21 17:29:03 +00:00
Paweł Kołodziejski
f18d5500b1 formating
svn-id: r38709
2009-02-21 17:23:28 +00:00
Willem Jan Palenstijn
34f90ac043 revert large parts of r38621. error() is for fatal errors and does not return. warning() is not for debugging status messages.
svn-id: r38696
2009-02-21 14:11:41 +00:00
Willem Jan Palenstijn
baa7c7b997 remove some endlines from warning() calls
svn-id: r38683
2009-02-21 11:26:54 +00:00
Oystein Eftevaag
25f7c37171 Wrapped the SCI engine in the Sci namespace.
svn-id: r38676
2009-02-21 10:23:36 +00:00
Filippos Karapetis
2ddce51a56 Changed more messages to warnings/errors
svn-id: r38621
2009-02-20 20:39:02 +00:00
Max Horn
a2aba2f18e SCI: Renamed resource_mgr_t -> ResourceManager; added remark to 'the other resource manager' that it should be renamed to GraphicsManager or so
svn-id: r38592
2009-02-20 15:24:22 +00:00
Max Horn
766783b493 SCI: Some random cleanup
svn-id: r38497
2009-02-18 19:14:40 +00:00
Eugene Sandulenko
b0abacf7cd Update headers. sfx/
svn-id: r38410
2009-02-17 15:07:44 +00:00
Travis Howell
2d0a897d16 Replace strcasecmp with scumm_stricmp.
svn-id: r38356
2009-02-16 09:17:49 +00:00
Max Horn
29611bc7ea SCI: Run astyle to make the code be more compliant with our Code Formatting Guidelines: sfx dir
svn-id: r38322
2009-02-15 22:34:41 +00:00
Paweł Kołodziejski
7d0d96ecc1 fixed compilation with msvc
svn-id: r38285
2009-02-15 20:02:43 +00:00
Max Horn
a49d29cf6f cleanup, fixed warnings
svn-id: r38282
2009-02-15 19:15:43 +00:00
Max Horn
9daed50e01 Fixed lots of warnings and errors (on my system) by backporting a patch I had sent the FreeSCI folks some time ago (but apparently it never made it, or only made it to a branch not imported?)
svn-id: r38245
2009-02-15 14:46:42 +00:00
Eugene Sandulenko
e241843bec - Remove some unneeded files
- Mass rename .c to .cpp

svn-id: r38227
2009-02-15 11:39:07 +00:00
Jordi Vilalta Prat
003317e89d SCI: Get rid of the include directory hack (it compiles but it doesn't link yet)
svn-id: r38201
2009-02-15 08:34:13 +00:00
Max Horn
75f4c44fd0 Removing various unused files (backups remain in vendor/sci/, of course)
svn-id: r38197
2009-02-15 08:11:58 +00:00
Jordi Vilalta Prat
fa6e10e9ce Import the SCI engine sources from the FreeSCI Glutton branch (it doesn't compile yet)
svn-id: r38192
2009-02-15 06:10:59 +00:00