TilesTexture Class Reference

#include <tiletex.h>

Inheritance diagram for TilesTexture:

Inheritance graph
[legend]
Collaboration diagram for TilesTexture:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 TilesTexture ()
void set_info (int max, tile_info_func *info)
const tile_info & get_info (tileidx_t idx) const
bool get_coords (tileidx_t idx, int ofs_x, int ofs_y, float &pos_sx, float &pos_sy, float &pos_ex, float &pos_ey, float &tex_sx, float &tex_sy, float &tex_ex, float &tex_ey, bool centre=true, int ymin=-1, int ymax=-1, float tile_x=TILE_X, float tile_y=TILE_Y) const

Protected Attributes

int m_tile_max
tile_info_func * m_info_func


Constructor & Destructor Documentation

TilesTexture::TilesTexture (  ) 


Member Function Documentation

void TilesTexture::set_info ( int  max,
tile_info_func *  info 
)

const tile_info & TilesTexture::get_info ( tileidx_t  idx  )  const [inline]

bool TilesTexture::get_coords ( tileidx_t  idx,
int  ofs_x,
int  ofs_y,
float &  pos_sx,
float &  pos_sy,
float &  pos_ex,
float &  pos_ey,
float &  tex_sx,
float &  tex_sy,
float &  tex_ex,
float &  tex_ey,
bool  centre = true,
int  ymin = -1,
int  ymax = -1,
float  tile_x = TILE_X,
float  tile_y = TILE_Y 
) const [inline]

Here is the call graph for this function:


Member Data Documentation

int TilesTexture::m_tile_max [protected]

tile_info_func* TilesTexture::m_info_func [protected]


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

Generated on Thu Jan 13 13:42:38 2011 by  doxygen 1.5.6