[Scummvm-cvs-logs] SF.net SVN: scummvm:[39188] scummvm/trunk/engines/sci/scicore/vocab.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Sat Mar 7 16:48:54 CET 2009
Revision: 39188
http://scummvm.svn.sourceforge.net/scummvm/?rev=39188&view=rev
Author: thebluegr
Date: 2009-03-07 15:48:54 +0000 (Sat, 07 Mar 2009)
Log Message:
-----------
Removed unused code
Modified Paths:
--------------
scummvm/trunk/engines/sci/scicore/vocab.cpp
Modified: scummvm/trunk/engines/sci/scicore/vocab.cpp
===================================================================
--- scummvm/trunk/engines/sci/scicore/vocab.cpp 2009-03-07 15:46:21 UTC (rev 39187)
+++ scummvm/trunk/engines/sci/scicore/vocab.cpp 2009-03-07 15:48:54 UTC (rev 39188)
@@ -42,24 +42,6 @@
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 @@
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;
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
More information about the Scummvm-git-logs
mailing list