aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/resource.cpp
AgeCommit message (Collapse)Author
2011-10-29SCI: Fixed speech in PQ4 CDFilippos Karapetis
2011-10-19SCI: Move the palette merging checking code inside the GfxPalette classFilippos Karapetis
2011-10-15SCI: Added a heuristic to distinguish Mac SCI1.1 from SCI2.1 versionsFilippos Karapetis
This removes the hack that checks for the existence of resource.cfg
2011-09-10SCI: Fixed bug #3404466 - "ScummVM crashes when trying to add non-SCI ↵Filippos Karapetis
resources file"
2011-09-08SCI: Made some static data const.Johannes Schickel
2011-08-26SCI: Fixed bug #3366295 - "SCI: User-translated files are ignored"Filippos Karapetis
Thanks to tinekefrineke and tdhs for pinpointing the actual problem in the resource manager
2011-06-23ANALYSIS: Add static casts to is* functionsLittleboy
This fixes a potential problem with passing char values that would be sign-extended and yield unexpected results. See http://msdn.microsoft.com/en-us/library/ms245348.aspx
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2011-04-28JANITORIAL: Reduce header dependencies in shared codeOri Avtalion
Some backends may break as I only compiled SDL
2011-04-27SCI: Removed unused variablesmd5
Thanks to LordHoto and the trusty -Wunused-but-set-variable option :)
2011-04-12COMMON: Replace MKID_BE by MKTAGMax Horn
MKID_BE relied on unspecified behavior of the C++ compiler, and as such was always a bit unsafe. The new MKTAG macro is slightly less elegant, but does no longer depend on the behavior of the compiler. Inspired by FFmpeg, which has an almost identical macro.
2011-03-13SCI: Fixed version and scene transitions for SCI1 Mac gamesmd5
2011-03-07SCI: Initial handling of the views in Longbow Amiga. Still not rightmd5
2011-03-05SCI: Added some support code for Longbow Amigamd5
2011-03-04SCI: Added support for 16/32 color view and picture patchesmd5
16 color patches (*.p16 and *.v16) are used in 16 color EGA SCI1 games 32 color patches (*.p32 and *.v32) are used in 32 color Amiga SCI1 games Removed a workaround for SCI1 EGA (bug #3044500), as that bug has been fixed already in the view patch. Thanks to waltervn for observing this.
2011-03-04SCI: Amiga SCI1 middle games are actually SCI1 latemd5
This fixes a lot of glitches, caused by the differences between the two versions
2011-02-27SCI: Renamed SCI_VERSION_1_EGA to SCI_VERSION_1_EGA_ONLYmd5
This renaming allows us to better distinguish that this version is for games that only had an EGA version, and avoid confusion with newer SCI1 game releases with EGA graphics (e.g. KQ5 EGA). The only game with this SCI version is QFG2, a SCI1 EGA game with a parser. Also, added some games for each SCI version.
2011-02-20SCI: Don't error out when a Mac resource has size 0Matthew Hoops
2011-02-19SCI: Reverted r914fe95, and silenced a false positive warningmd5
2011-02-19SCI: Added a FIXME for the KQ5 FM-TOWNS resource handling codemd5
2011-02-16SCI: Add support for the KQ5 FM Towns resource formatMatthew Hoops
Thanks to alexbevi for providing details on the format
2011-02-13SCI: Fix GK2 Mac picture 2315Matthew Hoops
It hardcodes the picture so it doesn't get run with the decompressor
2011-02-10SCI: Added resource manager support for changing the audio directory ↵Filippos Karapetis
dynamically. Also, moved some audio-specific resource code inside resource_audio.cpp This functionality is used by kSetLanguage(), called when switching the language in MUMG Deluxe from the game's main menu. svn-id: r55872
2011-02-10SCI: Renamed addInternalSources -> addAudioSources and separated the script ↵Filippos Karapetis
chunk loading code svn-id: r55866
2011-02-10SCI: Moved some audio resource code to resource_audio.cppFilippos Karapetis
svn-id: r55865
2011-02-09SCI: Improve speed of Mac resource fork sourcesMatthew Hoops
svn-id: r55859
2011-02-05SCI: Fix Mac SCI32 subdirectoriesMatthew Hoops
svn-id: r55783
2011-02-05SCI: Fix detectHires() for Mac SCI32 gamesMatthew Hoops
svn-id: r55781
2011-02-03SCI: Fix KQ6 Mac audio resourcesMatthew Hoops
A regression from r55715 svn-id: r55751
2011-02-02SCI: Set Mac cursors as a non-compressable type tooMatthew Hoops
svn-id: r55720
2011-02-02SCI: Fix Mac sync resource supportMatthew Hoops
svn-id: r55716
2011-02-02SCI: Add support for Mac audio36/sync36 resources in resource forksMatthew Hoops
svn-id: r55715
2011-02-01SCI: Mac SCI1.1+ games can use SYNC as the resource type for sync resources tooMatthew Hoops
svn-id: r55708
2011-01-31SCI: Update the Mac version detection commentsMatthew Hoops
svn-id: r55697
2011-01-31SCI: Add support for Mac SCI1.1+ resource compressionMatthew Hoops
Mac SCI1.1+ games should now start up. QFG1 and Hoyle4 are playable. GK1 starts its scripts, but errors out soon after. There are still some View bugs with each (somehow, view decompression seems to be adding a blank line after each line?). *Much* thanks to Walter for his help. svn-id: r55696
2010-12-14SCI: Close Memory Leaks in SCI Resource Loading, reported by Valgrind.David Turner
svn-id: r54916
2010-12-02SCI: Slight formatting fix.Johannes Schickel
svn-id: r54737
2010-12-02Disable error message regarding RESOURCE.AUD/.SFX for now.Lars Skovlund
svn-id: r54735
2010-11-17SCI3: added a SCI3 implementation of findGameObject(), based on a patch by ↵Filippos Karapetis
lskovlun svn-id: r54284
2010-11-17SCI: Some restructuring. Added some SCI3 placeholders/stubsFilippos Karapetis
svn-id: r54280
2010-11-17SCI: The heap was a separate resource in SCI1.1 - SCI2.1 games only. It was ↵Filippos Karapetis
later merged into the script files again in SCI3 svn-id: r54279
2010-11-13SCI: Update resource types for SCI2.1/3Matthew Hoops
svn-id: r54220
2010-11-11SCI: Properly adding SCI3 script patches (a regression of r54211)Filippos Karapetis
svn-id: r54213
2010-11-11SCI: Use the new CSC extension for SCI3 scriptsFilippos Karapetis
svn-id: r54211
2010-11-10SCI3: Some changesFilippos Karapetis
- Placed the SCI3 version detection in the proper place - Some new types of SCI3 MT-32 patches (e.g. in the Lighthouse SCI3 demo) are ignored, for now svn-id: r54188
2010-11-10SCI: Fix SCI2.1+ fallback detectionMatthew Hoops
Each map has to be mapped with its own specific volume (as opposed to earlier versions that had one map for all volumes); this code was passing the same map pointer for all volumes. svn-id: r54179
2010-11-09SCI: Some slight work on SCI3Filippos Karapetis
- Enabled the SCI3 game entries for testing purposes - The resource manager is initialized fully now (with a slight hack) - Added a hack for the demo of Shivers 2 (which seemingly has no scripts or vocabularies) - The engine will stop before parsing any game scripts in SCI3 games, and opens the console for resource manager-related functionality svn-id: r54167
2010-11-09SCI: Fixed the fallback detector againFilippos Karapetis
This is a regression from r54155, as we previously ignored the result of addInternalSources() in the fallback detector svn-id: r54163
2010-11-09SCI: Fix Lighthouse SCI2.1 demoMatthew Hoops
This is a regression from r54155. Fixed by moving the chunk resource loading earlier. svn-id: r54162