ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Wintermute::AdSpriteSet Class Reference

#include <ad_sprite_set.h>

Inheritance diagram for Wintermute::AdSpriteSet:
Collaboration diagram for Wintermute::AdSpriteSet:

List of all members.

Public Member Functions

bool containsSprite (BaseSprite *sprite)
bool saveAsText (BaseDynamicBuffer *buffer, int indent=0) override
BaseSpritegetSprite (TDirection direction)
 AdSpriteSet (BaseGame *inGame, BaseObject *owner=nullptr)
 ~AdSpriteSet () override
bool loadFile (const char *filename, int lifeTime=-1, TSpriteCacheType cacheType=CACHE_ALL)
bool loadBuffer (char *buffer, bool complete=true, int lifeTime=-1, TSpriteCacheType cacheType=CACHE_ALL)

Public Attributes

BaseObject_owner
BaseSprite_sprites [NUM_DIRECTIONS]

Detailed Description

Definition at line 37 of file ad_sprite_set.h.


Constructor & Destructor Documentation

Wintermute::AdSpriteSet::AdSpriteSet ( BaseGame inGame,
BaseObject owner = nullptr 
)

Definition at line 41 of file ad_sprite_set.cpp.

Wintermute::AdSpriteSet::~AdSpriteSet (  )  [override]

Definition at line 51 of file ad_sprite_set.cpp.


Member Function Documentation

bool Wintermute::AdSpriteSet::containsSprite ( BaseSprite sprite  ) 

Definition at line 348 of file ad_sprite_set.cpp.

BaseSprite * Wintermute::AdSpriteSet::getSprite ( TDirection  direction  ) 

Definition at line 265 of file ad_sprite_set.cpp.

TOKEN_DEF_START TOKEN_DEF_END bool Wintermute::AdSpriteSet::loadBuffer ( char *  buffer,
bool  complete = true,
int  lifeTime = -1,
TSpriteCacheType  cacheType = CACHE_ALL 
)

Definition at line 96 of file ad_sprite_set.cpp.

bool Wintermute::AdSpriteSet::loadFile ( const char *  filename,
int  lifeTime = -1,
TSpriteCacheType  cacheType = CACHE_ALL 
)

Definition at line 62 of file ad_sprite_set.cpp.

bool Wintermute::AdSpriteSet::saveAsText ( BaseDynamicBuffer buffer,
int  indent = 0 
) [override, virtual]

Reimplemented from Wintermute::BaseObject.

Definition at line 302 of file ad_sprite_set.cpp.


Member Data Documentation

Definition at line 48 of file ad_sprite_set.h.


The documentation for this class was generated from the following files:


Generated on Sat Sep 26 2020 05:04:11 for ResidualVM by doxygen 1.7.1
curved edge   curved edge