Table of Contents

 
GetMapHeight
 

Purpose

Returns the height of the map

 

Protoype

int CTileMngr::GetMapHeight (int i_flag)
 

Parameters

flag

the format to return the height in

 

Description

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

 

Use

CTileMngr tile_mngr;
int i_height = tile_mngr.GetMapHeight(CELL);
 

Prev: GetLayerType