TilesTexture Class Reference
#include <tiletex.h>
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] |
Member Data Documentation
The documentation for this class was generated from the following file: