aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorFilippos Karapetis2009-03-07 15:48:54 +0000
committerFilippos Karapetis2009-03-07 15:48:54 +0000
commitf05e49433ca8980ca533036613038c40ae8fa9ac (patch)
tree8487771d06a286addcfb960d78bc84a7c0f489da /engines
parent826638d45be45972a94dd683eb156f0753ecaa32 (diff)
downloadscummvm-rg350-f05e49433ca8980ca533036613038c40ae8fa9ac.tar.gz
scummvm-rg350-f05e49433ca8980ca533036613038c40ae8fa9ac.tar.bz2
scummvm-rg350-f05e49433ca8980ca533036613038c40ae8fa9ac.zip
Removed unused code
svn-id: r39188
Diffstat (limited to 'engines')
-rw-r--r--engines/sci/scicore/vocab.cpp34
1 files changed, 0 insertions, 34 deletions
diff --git a/engines/sci/scicore/vocab.cpp b/engines/sci/scicore/vocab.cpp
index 9af387b967..14c82eae13 100644
--- a/engines/sci/scicore/vocab.cpp
+++ b/engines/sci/scicore/vocab.cpp
@@ -42,24 +42,6 @@ int vocab_version;
VOCAB_RESOURCE_SCI1_SUFFIX_VOCAB : \
VOCAB_RESOURCE_SCI0_SUFFIX_VOCAB
-const char *class_names[] = {"", // These strange names were taken from an SCI01 interpreter
- "",
- "conj", // conjunction
- "ass", // ?
- "pos", // preposition ?
- "art", // article
- "adj", // adjective
- "pron", // pronoun
- "noun", // noun
- "auxv", // auxillary verb
- "adv", // adverb
- "verb", // verb
- "",
- "",
- "",
- ""
- };
-
int _vocab_cmp_words(const void *word1, const void *word2) {
return scumm_stricmp((*((word_t **) word1))->word, (*((word_t **)word2))->word);
}
@@ -357,22 +339,6 @@ result_word_t *vocab_lookup_word(char *word, int word_len, word_t **words, int w
return NULL;
}
-int vocab_get_said_spec_length(byte *addr) {
- int result = 0;
-
- while (*addr != 0xff) {
- if (*addr < 0xf0) {
- result += 2;
- addr += 2;
- } else {
- result += 1;
- addr += 1;
- }
- }
-
- return result + 1;
-}
-
void vocab_decypher_said_block(EngineState *s, byte *addr) {
int nextitem;