From 9c86e1a0a8abcee29bf8696b37594d17b589990c Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 6 Jun 2011 11:16:59 +0200 Subject: SWORD25: Fix whitespace --- engines/sword25/gfx/animationresource.h | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'engines/sword25/gfx/animationresource.h') diff --git a/engines/sword25/gfx/animationresource.h b/engines/sword25/gfx/animationresource.h index 2a1e3ce882..d6c2b1c50f 100644 --- a/engines/sword25/gfx/animationresource.h +++ b/engines/sword25/gfx/animationresource.h @@ -48,36 +48,36 @@ public: AnimationResource(const Common::String &filename); virtual ~AnimationResource(); - virtual const Frame &getFrame(uint index) const { + virtual const Frame &getFrame(uint index) const { assert(index < _frames.size()); return _frames[index]; } - virtual uint getFrameCount() const { + virtual uint getFrameCount() const { return _frames.size(); } - virtual void unlock() { + virtual void unlock() { release(); } - Animation::ANIMATION_TYPES getAnimationType() const { + Animation::ANIMATION_TYPES getAnimationType() const { return _animationType; } - int getFPS() const { + int getFPS() const { return _FPS; } - int getMillisPerFrame() const { + int getMillisPerFrame() const { return _millisPerFrame; } - bool isScalingAllowed() const { + bool isScalingAllowed() const { return _scalingAllowed; } - bool isAlphaAllowed() const { + bool isAlphaAllowed() const { return _alphaAllowed; } - bool isColorModulationAllowed() const { + bool isColorModulationAllowed() const { return _colorModulationAllowed; } - bool isValid() const { + bool isValid() const { return _valid; } -- cgit v1.2.3