diff options
author | D G Turner | 2012-09-16 10:45:41 +0100 |
---|---|---|
committer | D G Turner | 2012-09-16 10:45:41 +0100 |
commit | fba9c88ea7a8b37a912cef90fce3a0df102976b0 (patch) | |
tree | 1262a7e31a86b19169740adfa2fb1409c7e402d2 /engines/teenagent/animation.h | |
parent | d501c4d4ae27a6a1fad9eaa1dd5a616ff00d0d96 (diff) | |
download | scummvm-rg350-fba9c88ea7a8b37a912cef90fce3a0df102976b0.tar.gz scummvm-rg350-fba9c88ea7a8b37a912cef90fce3a0df102976b0.tar.bz2 scummvm-rg350-fba9c88ea7a8b37a912cef90fce3a0df102976b0.zip |
TEENAGENT: Minor cleanups to Animation Class.
Renaming to remove underscores in member variables and minor method
reordering for readability.
Diffstat (limited to 'engines/teenagent/animation.h')
-rw-r--r-- | engines/teenagent/animation.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/teenagent/animation.h b/engines/teenagent/animation.h index 6942cc74eb..9be21a4c3d 100644 --- a/engines/teenagent/animation.h +++ b/engines/teenagent/animation.h @@ -35,6 +35,8 @@ public: enum Type {kTypeLan, kTypeVaria, kTypeInventory}; Animation(); + ~Animation(); + void load(Common::SeekableReadStream &, Type type = kTypeLan); void free(); @@ -43,8 +45,6 @@ public: uint16 currentIndex() const { return index; } void resetIndex() { index = 0; } - ~Animation(); - bool empty() const { return frames == NULL; } void restart(); @@ -53,9 +53,9 @@ public: protected: byte *data; - uint16 data_size; + uint16 dataSize; - uint16 frames_count; + uint16 framesCount; Surface *frames; uint16 index; }; |