_________ __ __
/ _____// |_____________ _/ |______ ____ __ __ ______
\_____ \\ __\_ __ \__ \\ __\__ \ / ___\| | \/ ___/
/ \| | | | \// __ \| | / __ \_/ /_/ > | /\___ \
/_______ /|__| |__| (____ /__| (____ /\___ /|____//____ >
\/ \/ \//_____/ \/
______________________ ______________________
T H E W A R B E G I N S
Stratagus - A free fantasy real time strategy game engine
#include <video.h>
Public Member Functions | |
mng.cpp - The mng graphic file loader. | |
| Mng () | |
| ~Mng () | |
| int | Load (const std::string &name) |
| void | Reset () |
| void | Draw (int x, int y) |
Public Attributes | |
| std::string | name |
| FILE * | fd |
| mng_handle | handle |
| SDL_Surface * | surface |
| unsigned char * | buffer |
| unsigned long | ticks |
| int | iteration |
| GLfloat | texture_width |
| GLfloat | texture_height |
| Width of the texture. More... | |
| GLuint | texture_name |
| Height of the texture. More... | |
| Mng::Mng | ( | ) |
| Mng::~Mng | ( | ) |
| void Mng::Draw | ( | int | x, |
| int | y | ||
| ) |
Display a MNG
| x | X coordinate |
| y | Y coordinate |
| int Mng::Load | ( | const std::string & | name | ) |
Load a MNG
| name | Name of the MNG file |
| void Mng::Reset | ( | ) |
Reset a MNG
| unsigned char* Mng::buffer |
| FILE* Mng::fd |
| mng_handle Mng::handle |
| int Mng::iteration |
| std::string Mng::name |
| SDL_Surface* Mng::surface |
| GLfloat Mng::texture_height |
Width of the texture.
| GLuint Mng::texture_name |
Height of the texture.
| GLfloat Mng::texture_width |
| unsigned long Mng::ticks |
1.8.9.1
(C) Copyright 1998-2012 by The Stratagus Project under the GNU General Public License.