Commit Graph

24 Commits

Author SHA1 Message Date
Johannes Schickel
c1be2aedbb SAGA: Make GPL headers consistent in themselves. 2014-02-18 02:39:37 +01:00
Tarek Soliman
921f602ab8 JANITORIAL: Fix whitespace in pointer template arg 2012-02-15 10:07:08 -06:00
strangerke
69b1485a22 GIT: Clean up: Suppress SVN tags, now useless 2011-05-12 01:16:22 +02:00
Filippos Karapetis
dce4f404e6 SAGA: Fixed compilation with MSVC
svn-id: r55683
2011-01-31 14:05:47 +00:00
Filippos Karapetis
7cc8d8d403 SAGA: Fixed compilation
svn-id: r55680
2011-01-31 12:01:24 +00:00
Filippos Karapetis
8bd7ace4d2 SAGA: Split the resource patching code into appropriate game-specific resource methods
svn-id: r55678
2011-01-31 11:40:40 +00:00
Filippos Karapetis
90d58cf487 SAGA: Rewrote the MacBinary resource loading code
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
2011-01-31 10:46:52 +00:00
Andrew Kurushin
67cc1b8a84 SAGA: replace Resource:loadResource malloc with ByteArray class
svn-id: r53779
2010-10-24 22:17:44 +00:00
Filippos Karapetis
b57bab8e3b Added automatic detection for the non-interactive ITE demos
svn-id: r49046
2010-05-16 10:23:44 +00:00
Max Horn
2149a2383d Reduce indirect header dependencies further
svn-id: r48936
2010-05-04 12:00:16 +00:00
Ori Avtalion
aee05cd21d Remove extra semicolons
svn-id: r48457
2010-04-01 15:03:08 +00:00
Andrew Kurushin
9511b474dc fix resource refactor regression
svn-id: r46659
2009-12-27 20:56:10 +00:00
Torbjörn Andersson
01e12310ae Silenced GCC warnings.
svn-id: r46258
2009-12-04 19:00:40 +00:00
Andrew Kurushin
aa147a2f5a refactor resource module:
- struct ResourceContext => class ResourceContext
- replace "*alloc","free" with array templates
- simplify createContexts routines

svn-id: r46254
2009-12-04 17:52:42 +00:00
Eugene Sandulenko
12828d3aaf Cache resource file size to avoid excess file->size() calls.
svn-id: r46138
2009-11-25 20:43:49 +00:00
Torbjörn Andersson
1a0dea396d Made the music and sound file names part of the class, instead of local
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-03-23 20:25:25 +00:00
Filippos Karapetis
203358bcb7 Improved handling of sound resources
svn-id: r35724
2009-01-04 14:38:03 +00:00
Filippos Karapetis
d5b6996c45 - Split the IHNM script functions into a different file
- 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
2009-01-02 16:52:38 +00:00
Filippos Karapetis
14434659bc - Removed game sound information for sound types that it can be determined 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-29 18:35:18 +00:00
Filippos Karapetis
dd7ea11ac4 SAGA2 HRS resources should be loaded correctly now
svn-id: r35539
2008-12-25 15:19:33 +00:00
Filippos Karapetis
c8ca4d59bc - Implemented the SAGA2 resource loader
- Some cleanup

svn-id: r35536
2008-12-25 12:09:24 +00:00
Filippos Karapetis
e27c463595 Some initial code for HRS resource loading
svn-id: r35497
2008-12-23 16:29:26 +00:00
Torbjörn Andersson
3e0b81a99e Fixed GCC warning.
svn-id: r35487
2008-12-22 14:34:32 +00:00
Filippos Karapetis
437384a838 - Split the SAGA resource manager in 3 different ones, depending on the 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
2008-12-22 14:13:15 +00:00