aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/include
diff options
context:
space:
mode:
authorMax Horn2009-02-20 15:47:37 +0000
committerMax Horn2009-02-20 15:47:37 +0000
commit617c63c1ede44de5f64ffab29842b233575032c1 (patch)
treeb8785f2c3a7cc507bc9b8932923dae6a96a1f916 /engines/sci/include
parent7422e98f8f3be70347243b353144178dfd248fcd (diff)
downloadscummvm-rg350-617c63c1ede44de5f64ffab29842b233575032c1.tar.gz
scummvm-rg350-617c63c1ede44de5f64ffab29842b233575032c1.tar.bz2
scummvm-rg350-617c63c1ede44de5f64ffab29842b233575032c1.zip
SCI: Removed unused allow_patches param/member
svn-id: r38595
Diffstat (limited to 'engines/sci/include')
-rw-r--r--engines/sci/include/sciresource.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/engines/sci/include/sciresource.h b/engines/sci/include/sciresource.h
index 5f37c080b2..fb98951e85 100644
--- a/engines/sci/include/sciresource.h
+++ b/engines/sci/include/sciresource.h
@@ -188,8 +188,6 @@ typedef struct {
resource_t *lru_first, *lru_last; /* Pointers to the first and last LRU queue entries */
/* LRU queue: lru_first points to the most recent entry */
-
- unsigned char allow_patches;
} ResourceManager;
/**** FUNCTION DECLARATIONS ****/
@@ -197,14 +195,12 @@ typedef struct {
/**--- New Resource manager ---**/
ResourceManager *
-scir_new_resource_manager(char *dir, int version, char allow_patches, int max_memory);
+scir_new_resource_manager(char *dir, int version, int max_memory);
/* Creates a new FreeSCI resource manager
** Parameters: (char *) dir: Path to the resource and patch files (not modified or freed
** by the resource manager)
** (int) version: The SCI version to look for; use SCI_VERSION_AUTODETECT
** in the default case.
-** (char ) allow_patches: Set to 1 if external patches (those look like
-** "view.101" or "script.093") should be applied
** (int) max_memory: Maximum number of bytes to allow allocated for resources
** Returns : (ResourceManager *) A newly allocated resource manager
** max_memory will not be interpreted as a hard limit, only as a restriction for resources