Table of Contents

 
GetScrollX
 

Purpose

Determines how much the map has been scrolled horizontally

 

Protoype

int CTileMngr::GetScrollX ()
 

Description

This function returns the difference in pixels from the left of the map to the spot where the map viewport is currently located

 

Use

CTileMngr tile_mngr;
int i_scrollx = tile_mngr.GetScrollX();
 

Prev: GetNumLayers