aboutsummaryrefslogtreecommitdiff
path: root/engines/sword25/gfx/animationresource.h
diff options
context:
space:
mode:
authorEugene Sandulenko2010-10-12 19:38:40 +0000
committerEugene Sandulenko2010-10-13 00:10:18 +0000
commiteb66750137c1f32276ed4d66512deca2ee6aae93 (patch)
tree6e312550817d985f49c37add98b9081e458d2381 /engines/sword25/gfx/animationresource.h
parent063cb5d84ca5846ac0eff9388759a9b6662e764f (diff)
downloadscummvm-rg350-eb66750137c1f32276ed4d66512deca2ee6aae93.tar.gz
scummvm-rg350-eb66750137c1f32276ed4d66512deca2ee6aae93.tar.bz2
scummvm-rg350-eb66750137c1f32276ed4d66512deca2ee6aae93.zip
SWORD25: Enforce code naming conventions in gfx/animation*
svn-id: r53393
Diffstat (limited to 'engines/sword25/gfx/animationresource.h')
-rw-r--r--engines/sword25/gfx/animationresource.h22
1 files changed, 5 insertions, 17 deletions
diff --git a/engines/sword25/gfx/animationresource.h b/engines/sword25/gfx/animationresource.h
index b2ff82d1bf..da07b55c3b 100644
--- a/engines/sword25/gfx/animationresource.h
+++ b/engines/sword25/gfx/animationresource.h
@@ -35,10 +35,6 @@
#ifndef SWORD25_ANIMATIONRESOURCE_H
#define SWORD25_ANIMATIONRESOURCE_H
-// -----------------------------------------------------------------------------
-// Includes
-// -----------------------------------------------------------------------------
-
#include "common/xmlparser.h"
#include "sword25/kernel/common.h"
#include "sword25/kernel/resource.h"
@@ -47,17 +43,9 @@
namespace Sword25 {
-// -----------------------------------------------------------------------------
-// Forward Declarations
-// -----------------------------------------------------------------------------
-
class Kernel;
class PackageManager;
-// -----------------------------------------------------------------------------
-// Class Definition
-// -----------------------------------------------------------------------------
-
class AnimationResource : public Resource, public AnimationDescription, public Common::XMLParser {
public:
AnimationResource(const Common::String &filename);
@@ -97,15 +85,15 @@ public:
}
private:
- bool _valid;
+ bool _valid;
- Common::Array<Frame> _frames;
+ Common::Array<Frame> _frames;
- PackageManager * _pPackage;
+ PackageManager *_pPackage;
- bool ComputeFeatures();
- bool PrecacheAllFrames() const;
+ bool computeFeatures();
+ bool precacheAllFrames() const;
// Parser
CUSTOM_XML_PARSER(AnimationResource) {