Max Horn
2180b2d6b5
COMMON: Split common/stream.h into several headers
...
svn-id: r54385
2010-11-19 17:03:07 +00:00
Max Horn
059944e59c
COMMON: Push #include audiocd.h in system.h out to .cpp files
...
svn-id: r54148
2010-11-08 23:07:42 +00:00
Max Horn
82e473bc3b
BACKENDS: Partial merge of gsoc2010-opengl: Audio CD changes only
...
This commit contains the AudioCDManager changes from the gsoc2010-opengl
branch. The other changes in that branch are restricted to the backends
directory only (plus configure).
The Nintendo DS and Dreamcast ports still need to be ported over to
the new Audio CD system, but that should be fairly easy to do.
svn-id: r54147
2010-11-08 22:53:36 +00:00
Sven Hesse
16a3cc8a84
GOB: Clean up class DataIO
...
Removing the need for class DataStream and that handle mess.
svn-id: r53984
2010-10-31 20:07:14 +00:00
Sven Hesse
835455798f
GOB: Remove the now useless helper.h
...
svn-id: r53491
2010-10-15 13:55:18 +00:00
Sven Hesse
5c48c3fd2b
GOB: Remove strncpy0()
...
Replacing it (and some strncpy + manual terminating) with
Common::strlcpy()
svn-id: r53490
2010-10-15 13:54:23 +00:00
Sven Hesse
089988c11c
GOB: Fix Code analysis warnings
...
See bug report #3087831
svn-id: r53464
2010-10-15 04:37:44 +00:00
Johannes Schickel
75e8452b6e
OPENGL: Merged from trunk, from rev 52105 to 53396.
...
This includes an rather hacky attempt to merge all the recent gp2x backend
changes into the branch. I suppose the gp2x backend and probably all new
backends, i.e. gph, dingux etc., might not compile anymore.
Since I have no way of testing those it would be nice if porters could look
into getting those up to speed in this branch.
svn-id: r53399
2010-10-13 03:57:44 +00:00
Arnaud Boutonné
5cd3ea41db
GOB: Clean up of Fascination code
...
Move Fascination specific function to appropriate classes, plus some style modifications
svn-id: r52267
2010-08-21 18:16:04 +00:00
Arnaud Boutonné
bdedf90c59
Suppress one more useless debug message
...
svn-id: r52162
2010-08-17 19:04:04 +00:00
Arnaud Boutonné
8b649178ce
Fascination - Add workaround for script bug: wrong track name is called in storage room
...
svn-id: r52107
2010-08-15 23:40:24 +00:00
Alejandro Marzini
e1ef3cd9fc
Renamed getAudioCD to getAudioCDManager.
...
svn-id: r49678
2010-06-15 04:13:12 +00:00
Alejandro Marzini
e991cd8c53
- Revised abstract AudioCDManager.
...
- Removed AudioCDManager Singleton, and changed code for using AudioCDManager in OSystem.
- Added initialization code for new AudioCDManager in BaseBackend and OSystem_SDL.
svn-id: r49548
2010-06-09 20:09:57 +00:00
Johannes Schickel
cbbb78d9f2
Enforce conversion formatting on pointer casts in the DEV code.
...
svn-id: r49068
2010-05-17 22:46:53 +00:00
Max Horn
a1840bd573
AUDIO: Rename Mixer::playInputStream to playStream
...
svn-id: r48637
2010-04-12 09:14:17 +00:00
Max Horn
d78dba3bca
COMMON: Move Common::RandomSource to common/random.*
...
svn-id: r48279
2010-03-18 15:07:11 +00:00
Sven Hesse
d4949d03d4
Minor style-related changes
...
svn-id: r47839
2010-02-03 03:25:50 +00:00
Arnaud Boutonné
48c023cd5b
Fascination - Fix one wrong wait time
...
svn-id: r47826
2010-02-02 23:33:10 +00:00
Max Horn
1565f14bc1
Moved audio stream implementations (for MP3, FLAC, etc.) to new dir sound/decoders/
...
svn-id: r47579
2010-01-26 22:48:45 +00:00
Max Horn
dc5e08e623
Move raw audio flags from sound/mixer.h to sound/raw.h
...
svn-id: r47395
2010-01-19 22:30:33 +00:00
Johannes Schickel
0d995c5920
Rename all "Adlib" uses to "AdLib" to match the real name of the sound card / company.
...
Check this for reference:
http://en.wikipedia.org/wiki/Ad_Lib,_Inc .
http://www.crossfire-designs.de/images/articles/soundcards/adlib.jpg (note the upper left of the card)
This commit does not touch "adlib" and "ADLIB" uses!
Also it does not update all the SCUMM detection entries, which still use "Adlib".
svn-id: r47279
2010-01-12 21:07:56 +00:00
Max Horn
f720d99b0a
Switch Mixer::playInputStream to use DisposeAfterUse::Flag
...
svn-id: r47182
2010-01-08 22:09:43 +00:00
Arnaud Boutonné
0cfd6a4d76
Fix a buffer overflow (thanks to syke) and modify the way the instruments are loaded (bytes instead of uint16). This (sadly) doesn't fix the MDY player.
...
svn-id: r46936
2010-01-03 18:04:52 +00:00
Arnaud Boutonné
f3ca535038
Fix a buffer overflow, thanks to syke
...
svn-id: r46851
2010-01-01 21:18:19 +00:00
Max Horn
8ba75fc522
Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other things)
...
svn-id: r44495
2009-09-30 16:16:53 +00:00
Max Horn
37e51f1575
Fixed some (pedantic) warnings
...
svn-id: r44015
2009-09-08 22:03:07 +00:00
Johannes Schickel
b33b90ecd0
Made AGOS, DRASCULA, GOB, GROOVIE, MADE, SCUMM and TINSEL properly stop CD audio playback on engine quit. (This only problem affected playback from CD, not from ripped audio files)
...
svn-id: r43512
2009-08-18 15:31:26 +00:00
Sven Hesse
550d9cf39d
More alignment-related changes
...
svn-id: r42858
2009-07-28 16:28:32 +00:00
Johannes Schickel
7e71865e91
Move the event recorder to its own class (EventRecoder inside common/EventRecorder.[h/cpp]).
...
svn-id: r42751
2009-07-25 12:59:46 +00:00
Sven Hesse
e861fab808
Added a Key and ShortKey enum
...
svn-id: r42121
2009-07-05 11:27:11 +00:00
Sven Hesse
88062e90a0
Plugging some memory leaks
...
svn-id: r41859
2009-06-25 10:54:35 +00:00
Sven Hesse
d03dc08b64
Wrapping resources (out of TOT, EXT, IM? and EX? files) loading into its own class
...
svn-id: r41839
2009-06-24 21:49:37 +00:00
Sven Hesse
483c3a51c3
Clarifying some warnings
...
svn-id: r41836
2009-06-24 21:47:54 +00:00
Sven Hesse
65891626a2
Changing the TBR FIXME into a warning in setVoice()
...
svn-id: r41803
2009-06-23 08:51:55 +00:00
Sven Hesse
3f404ef3c9
Removing trailing tabs
...
svn-id: r41784
2009-06-22 20:52:08 +00:00
Sven Hesse
6c7a790b54
Removing trailing spaces
...
svn-id: r41783
2009-06-22 20:51:48 +00:00
Sven Hesse
4ab4517016
Added stream-reading loading wrappers to MDYPlayer and added a workaround to fix TBR reading for the moment
...
svn-id: r41781
2009-06-22 20:27:47 +00:00
Sven Hesse
dd9e62e31e
Adding DataIO::existData()
...
svn-id: r41752
2009-06-22 10:12:33 +00:00
Sven Hesse
d4855ff819
Splitting an ADLPlayer and MDYPlayer from the AdLib class
...
svn-id: r41633
2009-06-18 13:27:35 +00:00
Sven Hesse
c9517af76e
Replacing some #includes by forward declarations
...
svn-id: r41632
2009-06-18 13:27:14 +00:00
Sven Hesse
c73f11f0d1
Properly initializing _soundMode, for ADLs too
...
svn-id: r41591
2009-06-16 20:15:49 +00:00
Arnaud Boutonné
975a0d6567
MDY/TBR : fix a thing or two. Still far from being OK, but in-game ambiance "music" is (a little) less buggy
...
svn-id: r41584
2009-06-16 12:25:53 +00:00
Arnaud Boutonné
7eaf013bbf
Gob - *WIP* incomplete implementation of MDY/TBR
...
svn-id: r41498
2009-06-13 22:14:58 +00:00
Torbjörn Andersson
0999534749
The error() and warning() functions add ! and newline automatically. (I didn't
...
look at debug() and debugC(), since I'm really bored with this now. :-)
svn-id: r41061
2009-05-31 10:02:16 +00:00
Sven Hesse
10b1b28610
Splitting a few helper functions out of gob.h
...
svn-id: r40765
2009-05-21 17:12:33 +00:00
Arnaud Boutonné
8803d4b3a6
Gob - Added atmosphere music to WinGob1, WinGob2 and WinGob3
...
svn-id: r40363
2009-05-06 17:18:38 +00:00
Sven Hesse
51109a5cfc
Adding simple support for protracker playback
...
svn-id: r39550
2009-03-19 23:40:59 +00:00
Max Horn
ac59693be2
A ton of code formatting fixes; also fixed warnings about single line loops like 'while(cond);' by inserting newlines
...
svn-id: r36127
2009-01-29 05:26:12 +00:00
Eugene Sandulenko
696897b058
Whoa! Removing trailing spaces.
...
svn-id: r35648
2009-01-01 15:06:43 +00:00
Sven Hesse
0eee801261
No background "music" shading in Urban Runner
...
svn-id: r35373
2008-12-15 02:16:45 +00:00