aboutsummaryrefslogtreecommitdiff
path: root/engines/sci/include/vocabulary.h
diff options
context:
space:
mode:
authorJordi Vilalta Prat2009-02-21 10:47:56 +0000
committerJordi Vilalta Prat2009-02-21 10:47:56 +0000
commit3cc6cdf71942aba796f8d282020d1955f2fd84ef (patch)
treeaf85e63f9e3c5438aec367e3e3398609f2db9eff /engines/sci/include/vocabulary.h
parent5d67e3de0f941fc3008c0609f8f9e8bb08ff1713 (diff)
downloadscummvm-rg350-3cc6cdf71942aba796f8d282020d1955f2fd84ef.tar.gz
scummvm-rg350-3cc6cdf71942aba796f8d282020d1955f2fd84ef.tar.bz2
scummvm-rg350-3cc6cdf71942aba796f8d282020d1955f2fd84ef.zip
Replaced "typedef struct _state state_t" with "struct EngineState"
svn-id: r38678
Diffstat (limited to 'engines/sci/include/vocabulary.h')
-rw-r--r--engines/sci/include/vocabulary.h10
1 files changed, 4 insertions, 6 deletions
diff --git a/engines/sci/include/vocabulary.h b/engines/sci/include/vocabulary.h
index b51affc570..f890b3f4ba 100644
--- a/engines/sci/include/vocabulary.h
+++ b/engines/sci/include/vocabulary.h
@@ -372,12 +372,10 @@ vocab_dump_parse_tree(const char *tree_name, parse_tree_node_t *nodes);
-struct _state;
-
int
-said(struct _state *s, byte *spec, int verbose);
+said(EngineState *s, byte *spec, int verbose);
/* Builds a parse tree from a spec and compares it to a parse tree
-** Parameters: (state_t *) s: The affected state
+** Parameters: (EngineState *) s: The affected state
** (byte *) spec: Pointer to the spec to build
** (int) verbose: Whether to display the parse tree after building it
** Returns : (int) 1 on a match, 0 otherwise
@@ -394,9 +392,9 @@ vocab_get_any_group_word(int group, word_t **words, int words_nr);
void
-vocab_decypher_said_block(struct _state *s, byte *pos);
+vocab_decypher_said_block(EngineState *s, byte *pos);
/* Decyphers a said block and dumps its content via sciprintf.
-** Parameters: (state_t *) s: The state to use
+** Parameters: (EngineState *) s: The state to use
** (byte *) pos: Pointer to the data to dump
** For debugging only.
*/