aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/resource.cpp
AgeCommit message (Collapse)Author
2010-05-29Removed the hack inside findGameObject(), and replaced it with code from the ↵Filippos Karapetis
segment manager, till we find out why the segment is sometimes off by 1 (note that findGameObject() works fine for finding the game ID itself) svn-id: r49310
2010-05-29Fixed regression in SCI2-SCI21 games from commit 49308Filippos Karapetis
svn-id: r49309
2010-05-29Added a method to the resource manager, to limit the places where script ↵Filippos Karapetis
exports are accessed, since for SCI11 and newer exports can be functions and objects (first step in removing scriptRelocateExportsSci11(), which is a gross hack and it fails in QFG1VGA) svn-id: r49308
2010-05-27Added an explanation for audio36 and sync36 external patchesFilippos Karapetis
svn-id: r49262
2010-05-27Split all of the audio-related functions of the resource manager in a ↵Filippos Karapetis
separate file svn-id: r49260
2010-05-27Slight formatting, and added a note that audio36 and sync36 resource patches ↵Filippos Karapetis
were introduced in SCI2, and didn't exist in SCI0-SCI1.1 svn-id: r49259
2010-05-27Add the Mac sync resource type and allow for more than 9 Mac SCI1.1+ data files.Matthew Hoops
svn-id: r49255
2010-05-26SCI: Simplify appending string 'seeker' to sierraIdMax Horn
svn-id: r49244
2010-05-26Avoid adding a null char in the sierraId Common::StringFilippos Karapetis
svn-id: r49234
2010-05-26CleanupFilippos Karapetis
svn-id: r49227
2010-05-24Add support for showing the icon bar in SCI1.1 Mac.Matthew Hoops
svn-id: r49196
2010-05-23Cleaned up the game ID code:Filippos Karapetis
- The game ID is now obtained from ScummVM ID directly, not by converting Sierra's internal ID - Moved the code which reads the internal Sierra ID inside the resource manager - Moved the code which converts the internal Sierra ID to ScummVM's IDs together with the rest of the detection code svn-id: r49152
2010-05-18Add initial support for KQ6 Mac. Wrapper functions for read/writing to ↵Matthew Hoops
pointers are now used (found in util.*) for code that has different endianness in SCI1.1+ Mac games. Add support for Mac 'snd ' and 'CURS' resources. QFG1 Mac is not yet playable due to script compression. svn-id: r49070
2010-05-13Remove useless const on a value return type.Johannes Schickel
svn-id: r49022
2010-05-10Add support for loading SCI games from Mac resource forks. The games ↵Matthew Hoops
themselves do not work yet as some (not all) of the data is in BE order instead of LE. They currently error out because it thinks the relocation block is outside of the script. svn-id: r48998
2010-05-03SCI: calculate sampleLen for WAVEs as wellMartin Kiewitz
svn-id: r48906
2010-05-02SCI: make audio decompression (mp3/ogg/flac) work on BE devicesMartin Kiewitz
svn-id: r48889
2010-05-01SCI: fix sync resources not loading correctly when compressed (mp3/ogg/flac) ↵Martin Kiewitz
audio resource file was used svn-id: r48881
2010-05-01SCI: fix bugs in audio decompression (mp3, ogg, flac)Martin Kiewitz
svn-id: r48880
2010-04-29Silence gcc warnings.Matthew Hoops
svn-id: r48858
2010-04-29SCI: remove unneeded #includes from resource.cppMartin Kiewitz
svn-id: r48857
2010-04-29SCI: audio compression supportMartin Kiewitz
svn-id: r48856
2010-04-24SCI: first byte of resource patch must have 0x80 added to the resource type, ↵Martin Kiewitz
otherwise sierra sci0+ interpreter won't accept the file, fixing this on debug export function svn-id: r48780
2010-04-17SCI: key presses of extended chars (umlauts, etc.) will now get ignored in ↵Martin Kiewitz
games that don't support them (which is all non-multilingual games) svn-id: r48693
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