aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/resource.h
AgeCommit message (Collapse)Author
2011-01-31SAGA: Fixed compilation with MSVCFilippos Karapetis
svn-id: r55683
2011-01-31SAGA: Fixed compilationFilippos Karapetis
svn-id: r55680
2011-01-31SAGA: Split the resource patching code into appropriate game-specific ↵Filippos Karapetis
resource methods svn-id: r55678
2011-01-31SAGA: Rewrote the MacBinary resource loading codeFilippos Karapetis
This simplifies the overall code and makes it easier to understand. Also, a bug with the speech in the MacBinary packed version has been corrected, so there are no more clicking sounds before each sample. The Common::MacResMan code isn't really useful here, since it doesn't expose the offsets and sizes of the actual files, which is what is needed in SAGA. svn-id: r55674
2010-10-24SAGA: replace Resource:loadResource malloc with ByteArray classAndrew Kurushin
svn-id: r53779
2010-05-16Added automatic detection for the non-interactive ITE demosFilippos Karapetis
svn-id: r49046
2010-05-04Reduce indirect header dependencies furtherMax Horn
svn-id: r48936
2010-04-01Remove extra semicolonsOri Avtalion
svn-id: r48457
2009-12-27fix resource refactor regressionAndrew Kurushin
svn-id: r46659
2009-12-04Silenced GCC warnings.Torbjörn Andersson
svn-id: r46258
2009-12-04refactor resource module:Andrew Kurushin
- struct ResourceContext => class ResourceContext - replace "*alloc","free" with array templates - simplify createContexts routines svn-id: r46254
2009-11-25Cache resource file size to avoid excess file->size() calls.Eugene Sandulenko
svn-id: r46138
2009-03-23Made the music and sound file names part of the class, instead of localTorbjörn Andersson
variables. This fixes another Valgrind warning when SndRes::load() tries to access the file names. (I could also have made the variables static, but I've never been very fond of static variables.) svn-id: r39641
2009-01-04Improved handling of sound resourcesFilippos Karapetis
svn-id: r35724
2009-01-02- Split the IHNM script functions into a different fileFilippos Karapetis
- Added two new defines, ENABLE_IHNM and ENABLE_SAGA2 (enabled by default), which can be used to remove the parts of the SAGA engine which are specific to IHNM and SAGA 2 games. Hopefully, this will reduce the size of the engine even more for platforms with little memory (e.g. the Nintendo DS) svn-id: r35672
2008-12-29- Removed game sound information for sound types that it can be determined ↵Filippos Karapetis
automatically. The game sound information left is now used as override info for certain sound types (e.g. PCM) - Added stubs for Shorten audio type, used in SAGA2 games svn-id: r35616
2008-12-25SAGA2 HRS resources should be loaded correctly nowFilippos Karapetis
svn-id: r35539
2008-12-25- Implemented the SAGA2 resource loaderFilippos Karapetis
- Some cleanup svn-id: r35536
2008-12-23Some initial code for HRS resource loadingFilippos Karapetis
svn-id: r35497
2008-12-22Fixed GCC warning.Torbjörn Andersson
svn-id: r35487
2008-12-22- Split the SAGA resource manager in 3 different ones, depending on the ↵Filippos Karapetis
resource type (RSC for ITE, RES for IHNM and HRS for DINO/FTA2). The SAGA 2 HRS resource manager is still a stub - Added detection for the voice file of FTA2 svn-id: r35484