#include <Win32GameEngine.h>
Inherits GameEngine.
Public Member Functions | |
| Win32GameEngine () | |
| virtual | ~Win32GameEngine () |
| virtual void | init (void) |
| initialization | |
| virtual void | reset (void) |
| reset engine | |
| virtual void | update (void) |
| update the game engine | |
| virtual void | serviceWindowsOS (void) |
| allow windows maintenance in background | |
Public Member Functions inherited from GameEngine | |
| GameEngine (void) | |
| virtual | ~GameEngine () |
| virtual void | init (int argc, char *argv[]) |
| Init engine by creating client and logic. | |
| virtual void | execute (void) |
| virtual void | setFramesPerSecondLimit (Int fps) |
| Set the maximum rate engine updates are allowed to occur. | |
| virtual Int | getFramesPerSecondLimit (void) |
| Get maxFPS. Not inline since it is called from another lib. | |
| virtual void | setQuitting (Bool quitting) |
| set quitting status | |
| virtual Bool | getQuitting (void) |
| is app getting ready to quit. | |
| virtual Bool | isMultiplayerSession (void) |
| virtual Bool | isActive (void) |
| service the native OS | |
| virtual void | setIsActive (Bool isActive) |
Public Member Functions inherited from SubsystemInterface | |
| SubsystemInterface () | |
| virtual | ~SubsystemInterface () |
| virtual void | postProcessLoad () |
| virtual void | draw (void) |
| void | UPDATE (void) |
| void | DRAW (void) |
| AsciiString | getName (void) |
| void | setName (AsciiString name) |
Protected Member Functions | |
| virtual GameLogic * | createGameLogic (void) |
| factory for game logic | |
| virtual GameClient * | createGameClient (void) |
| factory for game client | |
| virtual ModuleFactory * | createModuleFactory (void) |
| factory for creating modules | |
| virtual ThingFactory * | createThingFactory (void) |
| factory for the thing factory | |
| virtual FunctionLexicon * | createFunctionLexicon (void) |
| factory for function lexicon | |
| virtual LocalFileSystem * | createLocalFileSystem (void) |
| factory for local file system | |
| virtual ArchiveFileSystem * | createArchiveFileSystem (void) |
| factory for archive file system | |
| virtual NetworkInterface * | createNetwork (void) |
| Factory for the network. | |
| virtual Radar * | createRadar (void) |
| Factory for radar. | |
| virtual WebBrowser * | createWebBrowser (void) |
| Factory for embedded browser. | |
| virtual AudioManager * | createAudioManager (void) |
| Factory for audio device. | |
| virtual ParticleSystemManager * | createParticleSystemManager (void) |
Protected Member Functions inherited from GameEngine | |
| virtual FileSystem * | createFileSystem (void) |
| Factory for FileSystem classes. | |
| virtual MessageStream * | createMessageStream (void) |
| Factory for the message stream. | |
Protected Attributes | |
| UINT | m_previousErrorMode |
Protected Attributes inherited from GameEngine | |
| Int | m_maxFPS |
| Maximum frames per second allowed. | |
| Bool | m_quitting |
| true when we need to quit the game | |
| Bool | m_isActive |
| app has OS focus. | |
Protected Attributes inherited from SubsystemInterface | |
| AsciiString | m_name |
Class declaration for the Win32 game engine
Definition at line 59 of file Win32GameEngine.h.
| Win32GameEngine::Win32GameEngine | ( | ) |
Constructor for Win32GameEngine
Definition at line 43 of file Win32GameEngine.cpp.
|
virtual |
Destructor for Win32GameEngine
Definition at line 52 of file Win32GameEngine.cpp.
|
inlineprotectedvirtual |
factory for archive file system
Implements GameEngine.
Definition at line 99 of file Win32GameEngine.h.
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
factory for function lexicon
Implements GameEngine.
Definition at line 97 of file Win32GameEngine.h.
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
factory for local file system
Implements GameEngine.
Definition at line 98 of file Win32GameEngine.h.
|
inlineprotectedvirtual |
factory for creating modules
Implements GameEngine.
Definition at line 95 of file Win32GameEngine.h.
|
inlineprotectedvirtual |
Factory for the network.
Definition at line 102 of file Win32GameEngine.h.
|
inlineprotectedvirtual |
Implements GameEngine.
Definition at line 100 of file Win32GameEngine.h.
|
inlineprotectedvirtual |
|
inlineprotectedvirtual |
factory for the thing factory
Implements GameEngine.
Definition at line 96 of file Win32GameEngine.h.
|
inlineprotectedvirtual |
Factory for embedded browser.
Implements GameEngine.
Definition at line 104 of file Win32GameEngine.h.
|
virtual |
initialization
Initialize the game engine
Reimplemented from GameEngine.
Definition at line 62 of file Win32GameEngine.cpp.
|
virtual |
reset engine
Reset the system
Reimplemented from GameEngine.
Definition at line 73 of file Win32GameEngine.cpp.
|
virtual |
allow windows maintenance in background
This function may be called from within this application to let Microsoft Windows do its message processing and dispatching. Presumeably we would call this at least once each time around the game loop to keep Windows services from backing up
Reimplemented from GameEngine.
Definition at line 133 of file Win32GameEngine.cpp.
|
virtual |
update the game engine
Update the game engine by updating the GameClient and GameLogic singletons.
Reimplemented from GameEngine.
Definition at line 85 of file Win32GameEngine.cpp.
|
protected |
Definition at line 89 of file Win32GameEngine.h.