Table of Contents

 
GetClipHeight
 

Purpose

Returns the height of the clipping window

 

Protoype

int CTileMngr::GetClipHeight (int i_flag)
 

Parameters

flag the format to return the height in
 

Description

This function returns the height of the clipping rectangle for the map. It can return the height in either pixels using the PIXEL flag or tiles, using the CELL flag.

 

Use

CTileMngr tile_mngr;
int i_height = tile_mngr.GetClipHeight(PIXEL);
 

Prev: GetAnimID