Table of Contents

 
SaveMap
 

Purpose

Outputs the contents of the current loaded map to the file passed in

 

Protoype

void CTileMngr::SaveMap (string str_filename)
 

Parameters

filename the name or path of the file to save the map
 

Description

This function saves the current map to the specified file. Saved data consists of all layers and tiles and object IDs.

 

Use

CTileMngr tile_mngr;
tile_mngr.SaveMap("save.map");
 

Prev: RestartAnimation