From fba9c88ea7a8b37a912cef90fce3a0df102976b0 Mon Sep 17 00:00:00 2001 From: D G Turner Date: Sun, 16 Sep 2012 10:45:41 +0100 Subject: TEENAGENT: Minor cleanups to Animation Class. Renaming to remove underscores in member variables and minor method reordering for readability. --- engines/teenagent/animation.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'engines/teenagent/animation.h') 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; }; -- cgit v1.2.3