aboutsummaryrefslogtreecommitdiff
path: root/engines/saga/resource.h
diff options
context:
space:
mode:
authorFilippos Karapetis2008-12-29 18:35:18 +0000
committerFilippos Karapetis2008-12-29 18:35:18 +0000
commit14434659bc388ee44a2e21090ab20128788481ad (patch)
tree6af42376c14dfb852105279077ca69f08cf1f082 /engines/saga/resource.h
parent9a5f45a40c433cce2965eb4fc567296fb32ab6cc (diff)
downloadscummvm-rg350-14434659bc388ee44a2e21090ab20128788481ad.tar.gz
scummvm-rg350-14434659bc388ee44a2e21090ab20128788481ad.tar.bz2
scummvm-rg350-14434659bc388ee44a2e21090ab20128788481ad.zip
- 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
Diffstat (limited to 'engines/saga/resource.h')
-rw-r--r--engines/saga/resource.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/engines/saga/resource.h b/engines/saga/resource.h
index e6178407af..3519116682 100644
--- a/engines/saga/resource.h
+++ b/engines/saga/resource.h
@@ -60,19 +60,9 @@ struct ResourceData {
uint32 id; // SAGA2
size_t offset;
size_t size;
+ PatchData *patchData;
bool isExternal() { return ((offset & (1L<<31)) != 0L); } // SAGA2
-
- PatchData *patchData;
- void fillSoundPatch(const GameSoundInfo *&soundInfo) {
- if (patchData != NULL) {
- if (patchData->_patchDescription != NULL) {
- if (patchData->_patchDescription->soundInfo != NULL) {
- soundInfo = patchData->_patchDescription->soundInfo;
- }
- }
- }
- }
};
struct ResourceContext {