aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/resource.cpp
AgeCommit message (Collapse)Author
2012-06-18SCI: Add setter/getter methods to reg_t'sFilippos Karapetis
No functionality change has been made with this commit. This avoids setting and getting the reg_t members directly, and is the basis of any future work on large SCI3 scripts (larger than 64KB)
2012-05-15SCI: Resolve some resource related FIXMEsFilippos Karapetis
These were introduced in 4f6d42d. The odd comment dates back to FreeSCI, as far as our history goes, and seems to be a leftover from an old refactoring during FreeSCI's history
2012-05-13SCI: Add a few FIXMEsWillem Jan Palenstijn
2012-03-08SCI: Fix SCI1.1+ Mac games with resource fork container namesMatthew Hoops
2012-02-20COMMON: Move isFoo functions to namespace Common, add doxygen commentsMax Horn
2012-02-15ALL: Avoid using is* macros from ctype.hMax Horn
On some systems, passing signed chars to macros like isspace() etc. lead to a runtime error. Hence, mark these macros as forbidden by default, and introduce otherwise equivalent alternatives for them.
2012-01-15SCI: Clean up some memory management and loopsWillem Jan Palenstijn
2012-01-15SCI: Plug a leak in ResourceManager::detectSciVersion()Filippos Karapetis
Many thanks to digitall for finding this one
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