Table of Contents

 
GetMapWidth
 

Purpose

Returns the width of the map

 

Protoype

int CTileMngr::GetMapWidth (int i_flag)
 

Parameters

flag

the format to return the width in

 

Description

This function returns the width of the entire map. It can return the width in pixels using the PIXEL flag or tiles using the CELL flag.

 

Use

CTileMngr tile_mngr;
int i_width = tile_mngr.GetMapWidth(CELL);
 

Prev: GetMapSize
Next: GetMapX