SysSystemDriver
In file libs/cssys/wcc/csdoswat.h:
class SysSystemDriver : public csSystemDriver
This is the System driver for DOS
Inheritance:
Public Methods
-
virtual void Loop()
-
System loop
-
virtual void Sleep(int SleepTime)
- The system is idle: we can sleep for a while
-
SysSystemDriver()
- Initialize system-dependent data
Public Fields
IConfig* cfg_engine
csColOption* com_options
csConsole* Console
static int debug_level
static bool DemoReady
int Depth
csEventQueue* EventQueue
static bool ExitLoop
int FrameHeight
int FrameWidth
bool FullScreen
bool IsFocused
csKeyboardDriver* Keyboard
csMouseDriver* Mouse
IGraphics2D* piG2D
IGraphics3D* piG3D
IGraphicsInfo* piGI
INetworkDriver* piNetDrv
INetworkManager* piNetMan
ISoundRender* piSound
static bool Shutdown
Public Methods
virtual void Close()
static void debugprintf(bool flush, const char* str, ...)
static FILE* fopen(const char* filename, const char* mode)
virtual void Help()
virtual bool InitGraphics()
virtual bool Initialize(int argc, char *argv[], IConfig* cfg_engine)
virtual bool InitKeyboard()
virtual bool InitMouse()
virtual bool InitNetwork()
virtual bool InitSound()
virtual void NextFrame(long elapsed_time, long current_time)
virtual bool Open(char *Title)
bool ParseCmdLine(int argc, char* argv[])
bool ParseCmdLineDriver(int argc, char* argv[])
static void Printf(int mode, const char* str, ...)
static void printf_init()
virtual void SetSystemDefaults()
static long Time()
Protected Methods
virtual void Alert(const char* msg)
csColOption* CollectOptions(IConfig* config, csColOption* already_collected)
virtual void DemoWrite(const char* msg)
void do_focus(int enable)
void Help(IConfig* piConf)
virtual bool ParseArg(int argc, char* argv[], int& i)
virtual bool ParseArgDriver(int argc, char* argv[], int& i)
void SetMode(const char* mode)
virtual void Warn(const char* msg)
Documentation
This is the System driver for DOS. It implements all required functionality
for standard csSystemDriver class plus adds some DOS-specific command-line
options.
SysSystemDriver()
- Initialize system-dependent data
virtual void Loop()
-
System loop. This should be called last since it returns
only on program exit
virtual void Sleep(int SleepTime)
- The system is idle: we can sleep for a while
- This class has no child classes.
alphabetic index hierarchy of classes
this page has been generated automatically by doc++
(c)opyright by Malte Zöckler, Roland Wunderling
contact: doc++@zib.de