diff options
author | lukaslw | 2014-04-02 01:35:07 +0200 |
---|---|---|
committer | lukaslw | 2014-06-22 19:24:28 +0200 |
commit | ebf362571807ca514c521c8fbeac340edead7a1b (patch) | |
tree | f71bf1b5af37c714fc2ed37fe633d4fa7a495b43 /engines/prince/detail/animation.h | |
parent | 94f51358508cacc1b8fa1aa4745dbba4917128ca (diff) | |
download | scummvm-rg350-ebf362571807ca514c521c8fbeac340edead7a1b.tar.gz scummvm-rg350-ebf362571807ca514c521c8fbeac340edead7a1b.tar.bz2 scummvm-rg350-ebf362571807ca514c521c8fbeac340edead7a1b.zip |
PRINCE: Animation classes fix.
Diffstat (limited to 'engines/prince/detail/animation.h')
-rw-r--r-- | engines/prince/detail/animation.h | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/engines/prince/detail/animation.h b/engines/prince/detail/animation.h deleted file mode 100644 index f9f289dc71..0000000000 --- a/engines/prince/detail/animation.h +++ /dev/null @@ -1,51 +0,0 @@ -/* ScummVM - Graphic Adventure Engine
- *
- * ScummVM is the legal property of its developers, whose names
- * are too numerous to list here. Please refer to the COPYRIGHT
- * file distributed with this source distribution.
- *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License
- * as published by the Free Software Foundation; either version 2
- * of the License, or (at your option) any later version.
-
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU General Public License for more details.
-
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
- *
- */
-
-#ifndef PRINCE_DETAIL_ANIMATION_H
-#define PRINCE_DETAIL_ANIMATION_H
-
-#include "graphics/surface.h"
-
-namespace Prince { namespace Detail {
-
-class Animation {
-public:
- Animation(byte *data, uint32 dataSize);
- ~Animation();
- int16 getLoopCount() const;
- int16 getBaseX() const;
- int16 getBaseY() const;
- uint getPhaseCount() const;
- uint getFrameCount() const;
- int16 getPhaseOffsetX(uint phaseIndex) const;
- int16 getPhaseOffsetY(uint phaseIndex) const;
- int16 getPhaseFrameIndex(uint phaseIndex) const;
- Graphics::Surface *getFrame(uint frameIndex);
-protected:
- byte *_data;
- uint32 _dataSize;
- byte *getPhaseEntry(uint phaseIndex) const;
-};
-
-} }
-
-#endif
|