Hosting courtesy of Sourceforge

SourceForge Logo
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:

Inheritance graph
[legend]
Collaboration diagram for Graphics::AnimatedImage:

Collaboration graph
[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  
 

Definition at line 61 of file draw.cpp.

AnimatedImage::AnimatedImage const string &    ANI_filename,
Uint32    flags = 0
 

Definition at line 71 of file draw.cpp.


Member Function Documentation

void AnimatedImage::drawAt SDL_Surface *    screen,
SDL_Rect *    loc
[virtual]
 

Reimplemented from Graphics::AbstractImage.

Definition at line 119 of file draw.cpp.

AbstractImage * AnimatedImage::dynCopyImage   [virtual]
 

Reimplemented from Graphics::AbstractImage.

Definition at line 145 of file draw.cpp.

void AnimatedImage::readFromFile const string &    ANI_filename [virtual]
 

Reimplemented from Graphics::AbstractImage.

Definition at line 80 of file draw.cpp.

void AnimatedImage::setTransparency Uint32    flags [virtual]
 

Reimplemented from Graphics::AbstractImage.

Definition at line 133 of file draw.cpp.


Member Data Documentation

size_t Graphics::AnimatedImage::curUpdates [protected]
 

Definition at line 106 of file draw.h.

vector<SDL_Surface*> Graphics::AnimatedImage::frameVec [protected]
 

Definition at line 107 of file draw.h.

size_t Graphics::AnimatedImage::maxUpdates [protected]
 

Definition at line 105 of file draw.h.

size_t Graphics::AnimatedImage::nextFrameIndex [protected]
 

Definition at line 103 of file draw.h.

size_t Graphics::AnimatedImage::numFrames [protected]
 

Definition at line 104 of file draw.h.


The documentation for this class was generated from the following files:
Generated on Tue May 21 07:26:55 2002 for BomberLAN by doxygen1.2.12 written by Dimitri van Heesch, © 1997-2001