aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/resource.cpp
AgeCommit message (Collapse)Author
2009-07-11Some work on QFG1VGA (looks like a mix of SCI1 and SCI1.1)Filippos Karapetis
svn-id: r42393
2009-07-11If we fail to auto-detect either the volume or the map version, set the one ↵Filippos Karapetis
to be equal to the other svn-id: r42386
2009-07-11Applied slightly modified patch 2819002 - "SCI: resource-view-patch on ↵Filippos Karapetis
SQ5/German fix" svn-id: r42374
2009-07-09Oops specify the correct revsision number in the fixme.Johannes Schickel
svn-id: r42306
2009-07-09Add fixme about SCI32 specific code.Johannes Schickel
svn-id: r42305
2009-07-09By comparing the commit log of r42300, it seems that "off" was renamed to ↵Johannes Schickel
"lastDirectoryOffset". I changed the SCI32 specific code to use that now. I can't assure this is anyhow correct, so anyone with knowledge of this code please check it. svn-id: r42303
2009-07-09Fix wrong format arugment.Johannes Schickel
svn-id: r42301
2009-07-09Applied patch #2818845 - "SCI: resource.map detection for SCI1/1.1 fixed", ↵Filippos Karapetis
with some slight formatting changes svn-id: r42300
2009-07-07Removed the weird checks for a maximum resource number (the ↵Filippos Karapetis
sci_max_resource_nr array), as it doesn't serve any real purpose and leads to strange errors: if a resource is found which is bigger than the maximum number, it will be remapped to an incorrect number from this check. This makes KQ5CD work properly again (resources would be remapped to incorrect resource numbers from this code as a result of not updating this array with the latest SCI version merges). svn-id: r42219
2009-07-07Removed the superfluous sci_version_types array (it's essentially the same ↵Filippos Karapetis
as the versionNames array) svn-id: r42216
2009-07-07Cleanup: added an enum for the auto-detected features, removed the selectors ↵Filippos Karapetis
which are only used for auto-detection from the convenience selector map and placed feature auto-detection in a separate function. Also, now the automatically detected graphics resources are shown in the console. svn-id: r42212
2009-07-07- Added auto-detection for EGA graphics. As a result of this, GF_SCI1_EGA ↵Filippos Karapetis
has been removed and versions SCI_VERSION_01_EGA and SCI_VERSION_01_VGA have been merged into SCI_VERSION_01 - Simplified the checks for EGA and VGA graphics - Fixed a bug in script_adjust_opcode_formats() - Simplified the code in GfxResManager::getView() a bit svn-id: r42206
2009-07-06Renamed SCI_VERSION_01 -> SCI_VERSION_01_EGAFilippos Karapetis
svn-id: r42181
2009-07-06Replaced sciprintf() calls with printf, DebugPrintf, warning and error callsFilippos Karapetis
svn-id: r42167
2009-07-04Merged SCI1 versions in one more fileFilippos Karapetis
svn-id: r42098
2009-07-04- Merged the "early" and "late" SCI1 versions - these are functionally ↵Filippos Karapetis
equivalent, and the code that does the version check is unreliable (e.g. it sets SQ1 VGA to SCI1 "late" and EcoQuest 1 to SCI1 "early") - Cleanup of the vocabulary setting functions - Cleanup of the cursor manipulation code svn-id: r42097
2009-07-01Fixed some more warnings observed on buildbotMax Horn
svn-id: r42010
2009-06-12SCI: Moved audio code from AudioResource to the sfx core.Walter van Niftrik
svn-id: r41486
2009-06-09SCI: Moved SCI1 audio map handling into the resource manager.Walter van Niftrik
svn-id: r41408
2009-06-08SCI: CleanupWalter van Niftrik
svn-id: r41368
2009-06-07SCI: Moved resource36 handling into resource manager.Walter van Niftrik
svn-id: r41349
2009-06-07SCI: Resmgr cleanup and preparations for moving resource36 handling into resmgr.Walter van Niftrik
svn-id: r41318
2009-06-06SCI: Fix audio regression in KQ5CD, introduced in r41205.Walter van Niftrik
svn-id: r41222
2009-06-06SCI: Moved the handling of 65535.map into the resource manager.Walter van Niftrik
svn-id: r41205
2009-06-05SCI: Audio: Fixed bug in sample length computation.Walter van Niftrik
svn-id: r41186
2009-06-04SCI: Fixed some endian bugs related to speech handling. READ_UINT* are not LE,Walter van Niftrik
but use native endianness. Thanks to clone2727 for pointing this out. svn-id: r41181
2009-06-04SCI: Made some members of class Resource protected; some cleanupMax Horn
svn-id: r41180
2009-06-04SCI: Audio: Fixed bug in reading of SOL header.Walter van Niftrik
svn-id: r41171
2009-06-04SCI: Added support for early SCI1.1 audio maps.Walter van Niftrik
svn-id: r41170
2009-06-04SCI: Support for 16-bit DPCM.Walter van Niftrik
svn-id: r41164
2009-06-03SCI: Added some of the missing pieces for speech support in CD games. It now ↵Walter van Niftrik
partially works. svn-id: r41146
2009-05-31The error() and warning() functions add ! and newline automatically. (I didn'tTorbjörn Andersson
look at debug() and debugC(), since I'm really bored with this now. :-) svn-id: r41061
2009-05-29Some WIP code on the speech used in KQ6CDFilippos Karapetis
svn-id: r40996
2009-05-26Fixed regression of commit #40904, which caused the audio in KQ5CD to be ↵Filippos Karapetis
played incorrectly svn-id: r40923
2009-05-26Silenced MSVC warningFilippos Karapetis
svn-id: r40916
2009-05-26Rewrote the Audio stream parser. The introduction of KQ6 should work more ↵Filippos Karapetis
correctly now (apart from Cassima's speech) svn-id: r40904
2009-05-25WIP code for the speech in the floppy version of KQ6 (still needs work)Filippos Karapetis
svn-id: r40894
2009-05-25- Fix various valgrind warnings in the audio sync codeJohannes Schickel
- Fix crash when qutting KQ 5 CD (It was caused by resources of type "kResourceTypeSync" getting allocated an "Resource" object instead of an "ResourceSync" object, I hope this is the correct fix) svn-id: r40888
2009-05-25Fix mismatching new[]/delete pair (silences a valgrind warning).Johannes Schickel
svn-id: r40887
2009-05-25Objectified the AudioResource code (used for speech and digitized music in ↵Filippos Karapetis
CD talkie games) svn-id: r40880
2009-05-24Fixed audio synchronization in the CD version of KQ5Filippos Karapetis
svn-id: r40855
2009-05-20removed trailing whitespacesMax Horn
svn-id: r40742
2009-05-19SCI: Changed K_FILEIO_FILE_EXISTS to check regular files too.Walter van Niftrik
svn-id: r40724
2009-05-19SCI: Added some stubs for LSL6CD (lores).Walter van Niftrik
svn-id: r40719
2009-05-15- Moved all the files out of /sci/scicore and into /sciFilippos Karapetis
- Moved /scicore/sciconsole.h into /engine, and renamed /engine/scriptconsole.cpp to /engine/sciconsole.cpp svn-id: r40608