_________ __ __
/ _____// |_____________ _/ |______ ____ __ __ ______
\_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
/ \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
/_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
\/ \/ \//_____/ \/
______________________ ______________________
T H E W A R B E G I N S
Stratagus - A free fantasy real time strategy game engine
#include <video.h>
◆ _getData()
void * Mng::_getData |
( |
| ) |
const |
|
virtual |
Gets the data of the Image. Image data can be different things depending on what ImageLoader you use. If you for instance use the SDLImageLoader then an SDL_Surface will be returned.
- Returns
- a void pointer to the Image data.
- See also
- SDLImageLoader, AllegroImageLoader
Reimplemented from gcn::Image.
◆ Draw()
void Mng::Draw |
( |
int |
x, |
|
|
int |
y |
|
) |
| |
Display a MNG
- Parameters
-
x | X coordinate |
y | Y coordinate |
◆ Free()
◆ getHeight()
virtual int Mng::getHeight |
( |
| ) |
const |
|
inlinevirtual |
Gets the height of the Image.
- Returns
- the image height
Reimplemented from gcn::Image.
◆ getWidth()
virtual int Mng::getWidth |
( |
| ) |
const |
|
inlinevirtual |
Gets the width of the Image.
- Returns
- the image width
Reimplemented from gcn::Image.
◆ isDirty()
virtual bool Mng::isDirty |
( |
| ) |
const |
|
inlinevirtual |
◆ Load()
◆ New()
Mng * Mng::New |
( |
const std::string & |
name | ) |
|
|
static |
◆ Reset()
◆ buffer
unsigned char* Mng::buffer |
◆ fd
◆ handle
◆ is_dirty
◆ iteration
◆ MaxFPS
uint32_t Mng::MaxFPS = 15 |
|
static |
◆ name
◆ surface
SDL_Surface* Mng::surface |
◆ ticks
The documentation for this class was generated from the following files:
(C) Copyright 1998-2012 by The