diff options
author | Max Horn | 2009-09-15 08:54:06 +0000 |
---|---|---|
committer | Max Horn | 2009-09-15 08:54:06 +0000 |
commit | a8e5df433f5ea5c51c612a8962894add46f239e8 (patch) | |
tree | acd245985f82e1d105f3e1106befbd6af0b0b432 /engines/teenagent/animation.h | |
parent | 9369d6b772f0a97ffca7639ba22fa07eee03549a (diff) | |
download | scummvm-rg350-a8e5df433f5ea5c51c612a8962894add46f239e8.tar.gz scummvm-rg350-a8e5df433f5ea5c51c612a8962894add46f239e8.tar.bz2 scummvm-rg350-a8e5df433f5ea5c51c612a8962894add46f239e8.zip |
TEEN: More code formatting & whitespace changes (automatically generated with astyle)
svn-id: r44101
Diffstat (limited to 'engines/teenagent/animation.h')
-rw-r--r-- | engines/teenagent/animation.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/engines/teenagent/animation.h b/engines/teenagent/animation.h index 86839bd79b..7e157ef897 100644 --- a/engines/teenagent/animation.h +++ b/engines/teenagent/animation.h @@ -31,31 +31,31 @@ namespace TeenAgent { class Animation { -public: +public: uint16 id, x, y; bool loop, paused; - + enum Type {TypeLan, TypeVaria, TypeInventory}; - + Animation(); void load(Common::SeekableReadStream *s, Type type = TypeLan); void free(); - + Surface *firstFrame(); Surface *currentFrame(int dt = 1); uint16 currentIndex() const { return index; } - + ~Animation(); - + bool empty() const { return frames == NULL; } - + //uint16 width() const { return frames? frames[0].w: 0; } //uint16 height() const { return frames? frames[0].h: 0; } protected: byte *data; uint16 data_size; - + uint16 frames_count; Surface *frames; uint16 index; |