From f05e49433ca8980ca533036613038c40ae8fa9ac Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sat, 7 Mar 2009 15:48:54 +0000 Subject: Removed unused code svn-id: r39188 --- engines/sci/scicore/vocab.cpp | 34 ---------------------------------- 1 file changed, 34 deletions(-) (limited to 'engines/sci') 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; -- cgit v1.2.3