aboutsummaryrefslogtreecommitdiff
path: root/engines/glk/frotz/processor.h
diff options
context:
space:
mode:
authorPaul Gilbert2019-01-01 00:56:42 -0800
committerPaul Gilbert2019-01-01 00:56:42 -0800
commit9bbd0474fab672ff843caf40305475f856b30f74 (patch)
tree2c731ee853d72d041763a5e6b5312353191e5379 /engines/glk/frotz/processor.h
parent7643382ff4c19bf69ac36c015ca9e8e046c20c77 (diff)
downloadscummvm-rg350-9bbd0474fab672ff843caf40305475f856b30f74.tar.gz
scummvm-rg350-9bbd0474fab672ff843caf40305475f856b30f74.tar.bz2
scummvm-rg350-9bbd0474fab672ff843caf40305475f856b30f74.zip
GLK: FROTZ: Support shorthand abbreviations in earlier Infocom games
Diffstat (limited to 'engines/glk/frotz/processor.h')
-rw-r--r--engines/glk/frotz/processor.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/engines/glk/frotz/processor.h b/engines/glk/frotz/processor.h
index 5b9926bbf4..83d24433cf 100644
--- a/engines/glk/frotz/processor.h
+++ b/engines/glk/frotz/processor.h
@@ -630,8 +630,12 @@ protected:
zword lookup_text(int padding, zword dct);
/**
- * tokenise_text
- *
+ * Handles converting abbreviations that weren't handled by early Infocom games
+ * into their expanded versions
+ */
+ void handleAbbreviations();
+
+ /**
* Translate a single word to a token and append it to the token
* buffer. Every token consists of the address of the dictionary
* entry, the length of the word and the offset of the word from