aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2009-05-10 09:53:39 +0000
committerFilippos Karapetis2009-05-10 09:53:39 +0000
commitceee278def65e1a8641539602db4d7285d7a53fa (patch)
tree7d2bd97330ea1efa0cb42afd1db6f3c5b7ec1d05
parentaf3bf8a57544b402c2d9034dc67bed0b5f6160c4 (diff)
downloadscummvm-rg350-ceee278def65e1a8641539602db4d7285d7a53fa.tar.gz
scummvm-rg350-ceee278def65e1a8641539602db4d7285d7a53fa.tar.bz2
scummvm-rg350-ceee278def65e1a8641539602db4d7285d7a53fa.zip
Disabled some unused code
svn-id: r40411
-rw-r--r--engines/sci/scicore/vocab_debug.cpp2
-rw-r--r--engines/sci/scicore/vocabulary.h3
2 files changed, 4 insertions, 1 deletions
diff --git a/engines/sci/scicore/vocab_debug.cpp b/engines/sci/scicore/vocab_debug.cpp
index cc95b4ae3d..70c02672b3 100644
--- a/engines/sci/scicore/vocab_debug.cpp
+++ b/engines/sci/scicore/vocab_debug.cpp
@@ -280,6 +280,7 @@ static const char *sci1_default_knames[SCI1_KNAMES_DEFAULT_ENTRIES_NR] = {
/*0x7d*/ "IsItSkip"
};
+#if 0
int *vocabulary_get_classes(ResourceManager *resmgr, int* count) {
Resource* r;
int *c;
@@ -305,6 +306,7 @@ int vocabulary_get_class_count(ResourceManager *resmgr) {
return r->size / 4;
}
+#endif
bool vocabulary_get_snames(ResourceManager *resmgr, sci_version_t version, Common::StringList &selectorNames) {
int count;
diff --git a/engines/sci/scicore/vocabulary.h b/engines/sci/scicore/vocabulary.h
index a1277d89cd..504931b5be 100644
--- a/engines/sci/scicore/vocabulary.h
+++ b/engines/sci/scicore/vocabulary.h
@@ -186,9 +186,10 @@ struct parse_tree_node_t {
/*FIXME: These need freeing functions...*/
+#if 0
int *vocabulary_get_classes(ResourceManager *resmgr, int *count);
-
int vocabulary_get_class_count(ResourceManager *resmgr);
+#endif
/**
* Fills the given StringList with selector names.