diff options
author | Strangerke | 2011-09-17 23:03:37 +0200 |
---|---|---|
committer | Strangerke | 2011-09-17 23:04:12 +0200 |
commit | 17802f8903d82cd703cc1ede8d2b91291826248e (patch) | |
tree | c0b1a0883b9fb4600fea8ca64637900b96de8a31 /engines/cge/snail.h | |
parent | f8ee4f385f38a734fb9a872e79ed415cec21c7ff (diff) | |
download | scummvm-rg350-17802f8903d82cd703cc1ede8d2b91291826248e.tar.gz scummvm-rg350-17802f8903d82cd703cc1ede8d2b91291826248e.tar.bz2 scummvm-rg350-17802f8903d82cd703cc1ede8d2b91291826248e.zip |
CGE: Fix a potential bug in insertCommand(), some renaming
Diffstat (limited to 'engines/cge/snail.h')
-rw-r--r-- | engines/cge/snail.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/cge/snail.h b/engines/cge/snail.h index 481f0a5542..883c2b9766 100644 --- a/engines/cge/snail.h +++ b/engines/cge/snail.h @@ -53,11 +53,11 @@ enum SnCom { class Snail { public: - struct Com { + struct Command { SnCom _com; int _ref; int _val; - void *_ptr; + void *_spritePtr; CallbackType _cbType; } *_snList; static const char *_comText[]; @@ -65,10 +65,10 @@ public: Snail(CGEEngine *vm, bool turbo); ~Snail(); - void runCom(); - void addCom(SnCom com, int ref, int val, void *ptr); - void addCom2(SnCom com, int ref, int val, CallbackType cbType); - void insCom(SnCom com, int ref, int val, void *ptr); + void runCommand(); + void addCommand(SnCom com, int ref, int val, void *ptr); + void addCallback(SnCom com, int ref, int val, CallbackType cbType); + void insertCommand(SnCom com, int ref, int val, void *ptr); bool idle(); private: CGEEngine *_vm; |