aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/resource.h
AgeCommit message (Collapse)Author
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