Table of Contents

 
UnloadMap
 

Purpose

Unloads the current map and frees all the associated memory

 

Protoype

void CTileMngr::UnloadMap ()
 

Description

This function should be called before loading a new map to ensure that there are no memory leaks

 

Use

CTileMngr tile_mngr;
tile_mngr.UnloadMap();
 

Prev: TileVisible