SPR_mgrEmpty

Empties Sprite Manager of all loaded bitmaps

Declaration

void MGLAPI SPR_mgrEmpty(
    SPR_bitmapManager *mgr)

Prototype In

gm/sprite.h

Parameters

mgr

Bitmap manager to empty

 

Description

This function empties the Sprite Manager of all currently loaded bitmaps and deallocates the memory owned by those bitmaps. This function is most useful to clearing the Sprite Manager of all bitmaps when moving from one level to another in your game.

See Also

SPR_mgrInit, SPR_mgrEmpty

Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com