aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/resource.cpp
AgeCommit message (Collapse)Author
2010-02-17SCI: Reduce header interdependenciesMax Horn
svn-id: r48086
2010-02-17SCI: Rename some members of class ResourceMax Horn
svn-id: r48085
2010-02-17SCI: Cleanup resource.hMax Horn
svn-id: r48084
2010-02-13SCI: Change getSciVersionDesc() to return 'const char *' instead of ↵Max Horn
'Common::String' svn-id: r48044
2010-02-03SCI: we checked first cel size when detecting hires instead of actual ↵Martin Kiewitz
picture resolution, now checking correctly svn-id: r47865
2010-02-01SCI: When removing audio resources from the resource manager, also remove ↵Walter van Niftrik
them from the LRU list. svn-id: r47789
2010-01-31SCI: Add support for early audio map files.Walter van Niftrik
svn-id: r47773
2010-01-31Removed the hack for kResourceTypeRobot patch filesFilippos Karapetis
svn-id: r47730
2010-01-29Added support for the hires graphic resources of the Windows version of GK1Filippos Karapetis
svn-id: r47673
2010-01-28Corrected the map number for the GK2 resource patch files, and added some ↵Filippos Karapetis
preliminary non-working code for the hires content in GK1 svn-id: r47658
2010-01-28SCI: detecting hires for SCI2+ games, qfg4cd is sci2.1 but still 320x200Martin Kiewitz
svn-id: r47651
2010-01-28SCI: process robot files again (i need those for REing)Martin Kiewitz
svn-id: r47644
2010-01-28Added support for the SCI2.1 resource patches (resmap.pat and ressci.pat). ↵Filippos Karapetis
GK2 goes a bit further now (but still dies because of a new script opcode) svn-id: r47641
2010-01-27SCI: fix view detection for sci1.1 pq4demoMartin Kiewitz
svn-id: r47614
2010-01-27SearchMan.listMatchingMembers does not return files in alphabetical order, ↵Matthew Hoops
so we can't rely on the order of the lists. Rework the SCI2.1+ loading code to iterate through both lists in nested loops to fix multi-archive SCI2.1 games (such as GK2). svn-id: r47612
2010-01-27Removing obsolete commentFilippos Karapetis
svn-id: r47609
2010-01-27Do not try and patch files for resource types greater or equal to audio36 ↵Filippos Karapetis
(i.e. audio36, sync36 etc), as these won't work with the current patch scheme svn-id: r47604
2010-01-27Don't patch audio36 resources, when the associated patches are for audio ↵Filippos Karapetis
resources (e.g. the sound effects in LB2CD) svn-id: r47603
2010-01-27The two unknown fields point to the beginning and end of the sound sampleFilippos Karapetis
svn-id: r47601
2010-01-27Turned the asserts about the unknown sound field into a warningFilippos Karapetis
svn-id: r47600
2010-01-27Improve support for the SCI2.1/SCI3 file naming scheme. Multiple maps can be ↵Matthew Hoops
used and have to be matched up with their volume counterparts. Adding detection for the Phantasmagoria Demo too. svn-id: r47588
2010-01-26SCI: Add driver for Yamaha FB-01. Cleanup.Walter van Niftrik
svn-id: r47571
2010-01-26SCI: also test for mapVersion == sci32 for setting viewtype to kViewVga11 - ↵Martin Kiewitz
fixes kq7 svn-id: r47568
2010-01-25Strip trailing spaces/tabs.Johannes Schickel
svn-id: r47541
2010-01-23Separated the parser codeFilippos Karapetis
svn-id: r47480
2010-01-18SCI: added comment about resource.p01 etc. (including possible TODO)Martin Kiewitz
svn-id: r47364
2010-01-18SCI: added comment for merging together resource.p* files, if no volume file ↵Martin Kiewitz
could get opened svn-id: r47363
2010-01-17SCI: added warning() when detection fails to detect map and volume versionMartin Kiewitz
svn-id: r47349
2010-01-17SCI: fixed detection to not crash when adding sierras pinball creep, also ↵Martin Kiewitz
changed detection so that we dont "accept" games that use unknown view resources (otherwise pinball creep will get detected as SCI) svn-id: r47348
2010-01-17SCI: Add comment to channel mask codeWalter van Niftrik
svn-id: r47337
2010-01-17SCI: CleanupWalter van Niftrik
svn-id: r47335
2010-01-16SCI: Fix rhythm channel handling in SCI0Walter van Niftrik
svn-id: r47326
2010-01-16The GM patches from Sierra's GM utility can now also be processed with their ↵Filippos Karapetis
original names. Thus, the user can just extract the patches from Sierra's GM utility in the extras folder, and it's not necessary to rename each individual file to "4.pat" and place it inside the associated game (works with the games that Sierra's GM patch updates, i.e. LSL1, LSL5, Hoyle3, SQ1, SQ4, Eco1, Longbow and Fairy tales) svn-id: r47318
2010-01-13SCI: Use prefix increment instead of postfix on iterators (more efficient); ↵Max Horn
also correct code formatting issues svn-id: r47295
2010-01-13SCI: empty() checks whether the map is empty... removing useless line of code :)Max Horn
svn-id: r47294
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