Hosting courtesy of Sourceforge
Main Page Namespace List Class Hierarchy Compound List File List Namespace Members Compound Members File Members
Graphics::AnimatedImage Class Reference
#include <draw.h>
Inheritance diagram for Graphics::AnimatedImage:
[legend]Collaboration diagram for Graphics::AnimatedImage:
[legend]List of all members.
Detailed Description
Image that displays multiple frames.
File Format: Number of Images -> n
Screen draws per frame switch
Sequence of BMPs that are animated, must be >= n, all those > n are ignored
Definition at line 94 of file draw.h.
Constructor & Destructor Documentation
| AnimatedImage::AnimatedImage |
( |
|
) |
|
|
| AnimatedImage::AnimatedImage |
( |
const string & |
ANI_filename, |
|
|
Uint32 |
flags = 0 |
|
) |
|
|
Member Function Documentation
| void AnimatedImage::drawAt |
( |
SDL_Surface * |
screen, |
|
|
SDL_Rect * |
loc |
|
) |
[virtual] |
|
| void AnimatedImage::readFromFile |
( |
const string & |
ANI_filename |
) |
[virtual] |
|
| void AnimatedImage::setTransparency |
( |
Uint32 |
flags |
) |
[virtual] |
|
Member Data Documentation
size_t Graphics::AnimatedImage::curUpdates [protected]
|
|
vector<SDL_Surface*> Graphics::AnimatedImage::frameVec [protected]
|
|
size_t Graphics::AnimatedImage::maxUpdates [protected]
|
|
size_t Graphics::AnimatedImage::nextFrameIndex [protected]
|
|
size_t Graphics::AnimatedImage::numFrames [protected]
|
|
The documentation for this class was generated from the following files:
Generated on Tue May 21 07:26:55 2002 for BomberLAN by
1.2.12 written by Dimitri van Heesch,
© 1997-2001