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
Sven Hesse
2bb204b5f8
Ensuring correct endianness
...
svn-id: r35365
2008-12-14 21:58:09 +00:00
Sven Hesse
8770cef478
16bit background "music" for Urban Runner
...
svn-id: r35353
2008-12-14 04:13:48 +00:00
Sven Hesse
68dcb1ffee
Background "music" for Urban Runner, though only 8bit for now
...
svn-id: r35352
2008-12-14 03:44:39 +00:00
Sven Hesse
bbe6ff006e
Music/Video handling fixes/stubs
...
svn-id: r35351
2008-12-14 03:08:02 +00:00
Robin Watts
8f3b2e9b4d
Remove warnings from NDS build.
...
svn-id: r35172
2008-11-29 18:01:16 +00:00
Max Horn
9b160804ab
Renamed Engine::quit to Engine::shouldQuit (previously, it was easily confused with Engine::quitGame); also cleaned up engine.h a bit
...
svn-id: r34700
2008-09-30 12:27:38 +00:00
Christopher Page
8d8c46e36f
Cleanup: Got rid of _quit and _rtl variables in engine.h/.cpp which are not used anymore. Found some _quit flags in Agos and Gob and replaced with bool quit() where appropriate
...
svn-id: r33848
2008-08-13 20:45:00 +00:00
Christopher Page
d2e8d4831e
Merged revisions 32744-32745,32747,32750-32759,32762-32764,32769,32777,32783,32785-32786,32789-32791,32798-32799,32801-32807,32809-32812,32816-32817,32819-32821,32823-32830,32832-32836,32838-32844,32846-32850,32852-32854,32858-32859,32865-32868,32873-32874,32879,32883,32895,32899,32902-32904,32910-32912,32923-32924,32930-32931,32938,32940,32948-32949,32951,32960-32964,32966-32970,32972-32974,32976,32978,32983,32986-32990,32992,32994,33002-33004,33006-33007,33009-33010,33014,33017,33021-33023,33030,33033 via svnmerge from
...
https://scummvm.svn.sourceforge.net/svnroot/scummvm/scummvm/trunk
svn-id: r33051
2008-07-14 00:10:09 +00:00
Sven Hesse
c1ec21d999
Changed tricky variable access from pointers to a new class that minds endianess.
...
This should fix a few regressions with BE games on LE systems and vice versa that I introduced when I changed how variables are stored (which was necessary to get Woodruff work on BE systems).
svn-id: r33014
2008-07-12 15:21:38 +00:00
Max Horn
815d75e870
Don't use kPlainSoundType if you don't have to
...
svn-id: r33009
2008-07-11 20:28:14 +00:00
Christopher Page
c14804e22f
Added main menu dialog files. Gob is now using the new _quit flag
...
svn-id: r32771
2008-06-24 23:19:23 +00:00
Sven Hesse
8da68b2964
Script variables are now always stored in the game version's native endianess.
...
This should make Woodruff playable on big-endian systems.
svn-id: r32352
2008-05-28 21:15:11 +00:00
Sven Hesse
a70d37009a
Correctly delete'ing CDROM and Backgroundatmosphere, fixing segfaults on machines slower than mine (thanks, LordHoto ;))
...
svn-id: r32210
2008-05-22 14:25:27 +00:00