aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/resource.cpp
AgeCommit message (Collapse)Author
2010-01-12Rename all "Adlib" uses to "AdLib" to match the real name of the sound card ↵Johannes Schickel
/ 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-10SCI: changed SoundResource constructor to set values for ↵Martin Kiewitz
digitalChannelNr/digitalSampleRate and digitalSampleSize at any time svn-id: r47220
2010-01-09SCI: Move music device IDs to drivers.Walter van Niftrik
svn-id: r47190
2010-01-08SCI: Fix view detection in Hoyle 2Walter van Niftrik
svn-id: r47154
2010-01-06SCI: add robot/.rbt files to resourcemanager classMartin Kiewitz
svn-id: r47096
2010-01-04SCI/newmusic: fadeout in sci0 (not stopping music yet), revert of ↵Martin Kiewitz
SoundResource changes svn-id: r46972
2010-01-04SCI: channels[] work, sci0 fading still not working (volume is changed though)Martin Kiewitz
svn-id: r46969
2010-01-03Renamed SCI_VERSION_AUTODETECT to SCI_VERSION_NONE to signify its actual purposeFilippos Karapetis
svn-id: r46959
2010-01-03Fix the GK1 view segfault. szUnpacked was overflowing in SCI32 -- it should ↵Matthew Hoops
be uint32. GK1 now is a bit more playable, with many many glitches. svn-id: r46917
2010-01-03Add support for wave files in the audio volume. This is used in Pharkas CD ↵Matthew Hoops
and GK1 CD. svn-id: r46916
2010-01-02SCI/new sound code: disabled some unused code and named a previously unknown ↵Filippos Karapetis
variable of the sound channel data svn-id: r46872
2009-12-27Fix regression in SCI1/1.1 wave sound from r46660. I knew it was a bad omen ↵Matthew Hoops
to have that revision number :P svn-id: r46664
2009-12-27wCompressed is still a uint16 in SCI32, so correct the vol version detection.Matthew Hoops
svn-id: r46661
2009-12-27Add support for external wave files used as audio resources in the ↵Matthew Hoops
ResourceManager. The GK1 CD main menu music now works. svn-id: r46660
2009-12-27SCI/newmusic: moving commented assertMartin Kiewitz
svn-id: r46632
2009-12-27SCI/newmusic: now playing sample data for sci0 games (this also fixes sq3 ↵Martin Kiewitz
amiga freezing during pot exit) svn-id: r46631
2009-12-27SCI/newmusic: now adding digital sample data as separate channel for sci0 ↵Martin Kiewitz
games (not yet playing) svn-id: r46629
2009-12-27Changed some commentsFilippos Karapetis
svn-id: r46624
2009-12-27Silenced a chatty console debug messageFilippos Karapetis
svn-id: r46612
2009-12-25SCI/newmusic: Added comments about sound resource headersMartin Kiewitz
svn-id: r46567
2009-12-25Silence a bunch of gcc warnings (and Merry Christmas, if you celebrate).Matthew Hoops
svn-id: r46565
2009-12-25SCI/newmusic: Change to channel filtering for sci0early to reflect actual ↵Martin Kiewitz
sierra driver behaviour svn-id: r46564
2009-12-25SCI/newmusic: added filter support for kq4early and adlibMartin Kiewitz
svn-id: r46563
2009-12-25SCI/newmusic: support for early sound resource format, early kq4 version now ↵Martin Kiewitz
gets music, is not filtered yet svn-id: r46561
2009-12-25- Introduced a new version in the sound version detection routine, as SCI0 ↵Filippos Karapetis
early games had different sound than SCI0 late ones - Changed sound-related debug output from printf's into debugC calls svn-id: r46560
2009-12-24SCI: new music code / dont filter channel 15 (control) at any timeMartin Kiewitz
svn-id: r46526
2009-12-24SCI: channels are now filtered for sci0 (fixes garbled music)Martin Kiewitz
svn-id: r46525
2009-12-23SCI: Fix warningMax Horn
svn-id: r46509
2009-12-23SCI: new music code / wip support for sci0 musicMartin Kiewitz
svn-id: r46507
2009-12-23SCI: new music code / variable-names changed to make it more verboseMartin Kiewitz
svn-id: r46502
2009-12-23SCI: sound resource added data format commentsMartin Kiewitz
svn-id: r46495
2009-12-23SCI: sound resource handling fixed (fixes lsl5 music w/ new music code)Martin Kiewitz
svn-id: r46494
2009-12-20Implemented cmdUpdateCues() in the new sound code and fixed a crash when ↵Filippos Karapetis
loading music with a resource number of zero svn-id: r46435
2009-12-20Directly modify the sound objects, instead of modifying a local copy. Remove ↵Filippos Karapetis
duplicate code (which now resides in resource.*) svn-id: r46427
2009-12-19- Started wrapping the current sound code around appropriate definesFilippos Karapetis
- Introduced a new resource type, SoundResource, used in the new music code svn-id: r46421
2009-12-15Got rid of ReadStream::ioFailed()Max Horn
svn-id: r46379
2009-12-08Fix some MSVC warnings (part of patch #2909981)Max Horn
svn-id: r46291
2009-10-26Added proper detection and handling of transitive SCI1-SCI1.1 games, like ↵Filippos Karapetis
PQ1 VGA. These used SCI1 resources and compression with a SCI1.1 kernel (thanks to waltervn's observations) svn-id: r45420
2009-10-16Moved sci_ffs() inside iterator.cpp, the only place where it's actually ↵Filippos Karapetis
used, and removed tools.*. Also, removed all the unused includes to tools.h from several places svn-id: r45176
2009-10-10Introduced a new debug level, kDebugLevelResMan, and reduced some of the ↵Filippos Karapetis
messages printed to the console svn-id: r44858
2009-10-08Updated comment to indicate that QFG1VGA is one of the newer SCI1.1 games ↵Filippos Karapetis
that has word-aligned resources svn-id: r44775
2009-09-30Fix code formatting (esp. 'if(' -> 'if (' etc., but also indention and other ↵Max Horn
things) svn-id: r44495
2009-09-23SCI: Rename _sciVersion to s_sciVersion and made it local to resource.cpp ↵Max Horn
(i.e. follow CFG and achieve code/data isolation) svn-id: r44271
2009-09-23- Moved the SCI version in a global variableFilippos Karapetis
- Changed all the SCI version checks to use getSciVersion() - Also made getSciVersionDesc a global function (removes some ugly accessing of the SCI engine) The fallback detector should work correctly now svn-id: r44269
2009-09-02Some renaming:Filippos Karapetis
getresourceManager -> getResourceManger resourceManager -> resMan segmentManager ->segMan svn-id: r43908
2009-08-30SCI: Fix detection of QFG1 remake.Walter van Niftrik
svn-id: r43832
2009-08-30SCI: CleanupWalter van Niftrik
svn-id: r43811
2009-08-26If a resource map entry can't be read, retry with the volume version ↵Filippos Karapetis
instead, if it's different than the map version svn-id: r43755
2009-08-25Fixed compilation when ENABLE_SCI32 is not setFilippos Karapetis
svn-id: r43744
2009-08-25- Split SCI_VERSION_32 into SCI_VERSION_2, SCI_VERSION_2_1, and ↵Matthew Hoops
SCI_VERSION_3 (each version has a different kernel table). - Improve map detection. - Fix SCI32 object and script initialization (Torin's Passage and GK1 scripts now start up, and probably most SCI2/2.1 games). - Add SCI2 and SCI2.1 kernel tables. svn-id: r43742