From 1d3ca2e40908ababd16fe8b1c9070198f9b75c82 Mon Sep 17 00:00:00 2001 From: PaweÅ‚ KoÅ‚odziejski Date: Wed, 6 Dec 2006 19:27:02 +0000 Subject: first phase of objectisation of agi engine svn-id: r24808 --- engines/agi/words.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'engines/agi/words.cpp') diff --git a/engines/agi/words.cpp b/engines/agi/words.cpp index 43f049cda3..e9279e6a1d 100644 --- a/engines/agi/words.cpp +++ b/engines/agi/words.cpp @@ -44,7 +44,7 @@ static char *my_strndup(char *src, int n) { return tmp; } -int load_words(const char *fname) { +int AgiEngine::load_words(const char *fname) { Common::File fp; uint32 flen; uint8 *mem = NULL; @@ -75,7 +75,7 @@ int load_words(const char *fname) { return err_OK; } -void unload_words() { +void AgiEngine::unload_words() { if (words != NULL) { free(words); words = NULL; @@ -89,7 +89,7 @@ void unload_words() { * * Thomas Åkesson, November 2001 */ -int find_word(char *word, int *flen) { +int AgiEngine::find_word(char *word, int *flen) { int mchr = 0; /* matched chars */ int len, fchr, id = -1; uint8 *p = words; @@ -140,7 +140,7 @@ int find_word(char *word, int *flen) { return id; } -void dictionary_words(char *msg) { +void AgiEngine::dictionary_words(char *msg) { char *p = NULL; char *q = NULL; int wid, wlen; -- cgit v1.2.3