Supported Browsers Home   
GM_init Previous   
GM_initSysPalNoStatic Next   
External Functions Up   

GM_initPath

Tells the Game Framework where to find the MGL resources

Declaration

void MGLAPI GM_initPath(
    const char *MGLPath)

Prototype In

gm/gm.h

Parameters

MGLPath

path to MGL resources

 

Description

This function tells the Game Framework where to find the MGL resources such as bitmaps, fonts etc. By default the MGL always looks in the current directory, however you can use this to point to a directory that contains the resources such as on a CD-ROM drive. Functions such as MGL_loadBitmap and MGL_loadFont will use this path to locate the files.

See Also

GM_init

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