Table of Contents

 
DeleteAnimation
 

Purpose

Strips a tile of its animation properties and sets a static image

 

Protoype

void CTileMngr::DeleteAnimation (int i_id)
 

Parameters

id the ID of the tile to replace the animation with
 

Description

This function deep-sixes an animated tile and replaces the animation with a static map tile.

NOTE: In order for the function to work you must have a tile locked with either LockTileRC() or LockTileXY()

 

Use

CTileMngr tile_mngr;
tile_mngr.DeleteAnimation(TILE_GRASS);
 

Prev: ChangeTileSet