diff options
author | Paweł Kołodziejski | 2006-12-06 19:27:02 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2006-12-06 19:27:02 +0000 |
commit | 1d3ca2e40908ababd16fe8b1c9070198f9b75c82 (patch) | |
tree | 3c38e45040b1bbd97694b6eaf0ea4dec6f460753 /engines/agi/words.cpp | |
parent | 1a85adfa833e78d4460e89ff5db1c6bc8688b048 (diff) | |
download | scummvm-rg350-1d3ca2e40908ababd16fe8b1c9070198f9b75c82.tar.gz scummvm-rg350-1d3ca2e40908ababd16fe8b1c9070198f9b75c82.tar.bz2 scummvm-rg350-1d3ca2e40908ababd16fe8b1c9070198f9b75c82.zip |
first phase of objectisation of agi engine
svn-id: r24808
Diffstat (limited to 'engines/agi/words.cpp')
-rw-r--r-- | engines/agi/words.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
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; |