aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/vocabulary.h
diff options
context:
space:
mode:
authorFilippos Karapetis2009-08-27 23:39:59 +0000
committerFilippos Karapetis2009-08-27 23:39:59 +0000
commitfaa3c64d1b22c87ef01adb885fba57293fda4aa7 (patch)
treec8c7726d5bf63711fbf8c23ad9b9f13ec22f80b5 /engines/sci/vocabulary.h
parente8406cc7c3603622cd0dea83683d35902ef72749 (diff)
downloadscummvm-rg350-faa3c64d1b22c87ef01adb885fba57293fda4aa7.tar.gz
scummvm-rg350-faa3c64d1b22c87ef01adb885fba57293fda4aa7.tar.bz2
scummvm-rg350-faa3c64d1b22c87ef01adb885fba57293fda4aa7.zip
Stop loading opcodes from vocab.998. They are the same in all SCI games and are hardcoded anyway (plus, vocab.998 is unreliable in some games, e.g. QFG3, or completely missing in others). Also hardcoded the opcode names for the script debugger, the only place they're actually used. The only place where vocab.998 is loaded on demand is when using the "opcodes" console command (for debug/verification purposes)
svn-id: r43775
Diffstat (limited to 'engines/sci/vocabulary.h')
-rw-r--r--engines/sci/vocabulary.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/engines/sci/vocabulary.h b/engines/sci/vocabulary.h
index edb4288387..d9d5989ee7 100644
--- a/engines/sci/vocabulary.h
+++ b/engines/sci/vocabulary.h
@@ -43,10 +43,7 @@ class ResourceManager;
#define PARSE_HEAP_SIZE 64
enum {
- VOCAB_RESOURCE_CLASSES = 996,
- VOCAB_RESOURCE_SNAMES = 997,
- VOCAB_RESOURCE_OPCODES = 998,
- VOCAB_RESOURCE_KNAMES = 999,
+ VOCAB_RESOURCE_SELECTORS = 997,
VOCAB_RESOURCE_SCI0_MAIN_VOCAB = 0,
VOCAB_RESOURCE_SCI0_PARSE_TREE_BRANCHES = 900,
@@ -54,8 +51,7 @@ enum {
VOCAB_RESOURCE_SCI1_MAIN_VOCAB = 900,
VOCAB_RESOURCE_SCI1_PARSE_TREE_BRANCHES = 901,
- VOCAB_RESOURCE_SCI1_SUFFIX_VOCAB = 902,
- VOCAB_RESOURCE_SCI1_CHAR_TRANSFORMS = 913
+ VOCAB_RESOURCE_SCI1_SUFFIX_VOCAB = 902
};