Table of Contents

 
GetTileSetWidth
 

Purpose

Returns the width of the tileset

 

Protoype

int GetTileSetWidth (int i_flag)
 

Parameters

flag the format to return the width in
 

Description

This function returns the width of the entire map tile set. The width can be returned in pixels with the flag PIXEL or cells with the flag CELL.

 

Use

CTileMngr tile_mngr;
int i_tileset_width = tile_mngr.GetTileSetWidth(CELL);
 

Prev: GetTileSetProps