Table of Contents

 
GetMapSize
 

Purpose

Returns the map size

 

Protoype

int CTileMngr::GetMapSize ()
 

Description

This function returns the size of the map relative to the primary surface (or clip window). One of the following predefined values will be returned

MAP_SIZE_SMALL the map is smaller than the primary surface in both X and Y dimensions
MAP_SIZE_LARGE the map is larger than the primary surface in both X and Y dimensions
MAP_SIZE_LARGE_X the map is larger than the primary surface in only the X dimension
MAP_SIZE_LARGE_Y the map is larger than the primary surface in only the Y dimension
 

Use

CTileMngr tile_mngr;
int i_size = tile_mngr.GetMapSize();
 

Prev: GetMapHeight