| Home
| Previous
| Next
| Up

GM_cleanup

Cleans up the Game Framework and restores original mode

Declaration

void MGLAPI GM_cleanup(void)

Prototype In

gm/gm.h

Description

This function calls the users registered exit function, exits the MGL (which puts the system back into text mode for DOS or GDI mode for Windows) and then does some final Game Framework cleanup. Normally you wont call this function unless you have replaced the GM_mainLoop function with your own custom version.

See Also

GM_mainLoop, GM_processEvents, GM_processEventsWin

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