|
|
|
|
GM_chooseMode
Display a dialog box to choose a fullscreen graphics mode
Declaration
ibool MGLAPI GM_chooseMode(
GM_modeInfo *mode,
ibool *startWindowed)
Prototype In
gm/gm.h
Parameters
mode |
Place to return the selected mode information |
startWindowed |
True if use wishes to start windowed, false if not |
Return Value
True if a mode was chosen, false on error or if the user clicked cancel.
Description
This function will bring up a dialog box allowing the user to interactively choose the graphics mode to be used for fullscreen modes, as well as allowing then to change the OpenGL implementation, WinDirect and DirectDraw support and also force the game to start in a window or fullscreen. This is mostly a convenience function which is great for debugging, testing and demonstration purposes. Note that if you do call this function, you must add the resources for the dialog box used to your application, which are located in the SCITECH\INCLUDE\GM\GMDLG.RC resource file.
Copyright © 2002 SciTech Software, Inc. Visit our web site at http://www.scitechsoft.com