mElite  1.0
An Elite clone based on TextElite by Jan-Philipp Kappmeier and Melanie Schmidt.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Public Member Functions | Public Attributes | List of all members
TextureAccess Struct Reference

Contains the necessary data for a texture in mElite. More...

#include <FileAccess.h>

Public Member Functions

 TextureAccess ()
 
 TextureAccess (std::string n, bool h, std::string t)
 

Public Attributes

std::string name
 
bool hasQualities
 
std::string type
 

Detailed Description

Contains the necessary data for a texture in mElite.

A texture is defined by its name (the file name on the hard drive), the type of the image (bmp as default). Additionally, textures for mElite are produced in different qualities (resolutions). These are reflected by different prefixes to the file name, such as xs and l.

Definition at line 25 of file FileAccess.h.

Constructor & Destructor Documentation

TextureAccess::TextureAccess ( )
inline

Definition at line 26 of file FileAccess.h.

TextureAccess::TextureAccess ( std::string  n,
bool  h,
std::string  t 
)
inline

Definition at line 27 of file FileAccess.h.

Member Data Documentation

bool TextureAccess::hasQualities

Definition at line 30 of file FileAccess.h.

std::string TextureAccess::name

Definition at line 29 of file FileAccess.h.

std::string TextureAccess::type

Definition at line 31 of file FileAccess.h.


The documentation for this struct was generated from the following file: