#include <gauge3d/engine.h>
Public Types | |
enum | tSubSystems { INPUT = 1 << 0, VIDEO = 1 << 1, FILESYSTEM = 1 << 2, OBJECT_LOADER = 1 << 3, ALL_SUBSYSTEMS = 0x7FFFFFFF } |
Bits for subsystems. More... | |
Static Public Methods | |
void | CommandLine (int argc,char *argv[]) |
Call this when your program starts to tell GAUGE the command-line arguments used. | |
void | CommandLine (char *args) |
Call this when your program starts to tell GAUGE the command-line arguments used. | |
void | CommandLine (int argc,GString argv[]) |
Call this when your program starts to tell GAUGE the command-line arguments used. | |
void | CommandLine (GArray< GString >args) |
Call this when your program starts to tell GAUGE the command-line arguments used. | |
GArray<GString> | CommandLine () |
Get the command-line arguments. | |
void | ProgName (GString name) |
GString | ProgName () |
Get the program's name. | |
void | Init (int subsystems) |
int | InitializedSubSystems () |
Get the initialized subsystems. | |
void | ShutdownSubSystem (int subsystems) |
Shutdown one or more subsystems. | |
void | Shutdown () |
Shutdown the engine and all active subsystems. | |
void | MainLoop () |
Execute main loop. More... | |
void | Quit () |
Stop the main loop. More... |
All the functions in this class are static.
|
Bits for subsystems.
|
|
\breif Set the program's name.
|
|
\breif Initialize the engine and one or more sub-systems.
|
|
Execute main loop. While running the main loop, GAUGE will repeatedly call the DoFrame() functions of each subsystem's scheduler. See GScheduler for more. |
|
Stop the main loop. |