home *** CD-ROM | disk | FTP | other *** search
- #ifndef __ConsoleInfo_h__
- #define __ConsoleInfo_h__
-
- #include "SubSystemInfo.h"
- #include "CVar.h"
- #include "CAlias.h"
- #include "ConsoleCCmds.h"
-
- typedef struct ConsoleInfoVar_s{
- float* fontColor;
- // float* backgroundColor;
- // char* backgroundTexture;
- }ConsoleInfoVar_t;
-
- typedef struct ConsoleInfoCVar_s{
- CVarRealVector* console_fontColor;
- // CVarRealVector* console_backgroundColor;
- // CVarString* console_backgroundTexture;
- }ConsoleInfoCVar_t;
-
- typedef struct ConsoleInfoCCmd_s{
- CCmdConsoleToggle* console_toggle;
- CCmdConsoleClear* console_clear;
- CCmdConsoleStartLog* console_startLog;
- CCmdConsoleEndLog* console_endLog;
- CCmdConsoleRestart* console_restart;
- }ConsoleInfoCCmd_t;
-
-
- class ConsoleInfo{
- public:
- static ConsoleInfoVar_t var;
- static ConsoleInfoCVar_t cvar;
- static ConsoleInfoCCmd_t ccmd;
-
- static bool init();
- static bool shutdown();
- static bool wasInit();
-
- static bool initFrontEnd();
- static bool shutdownFrontEnd();
- static bool wasFrontEndInit();
-
-
- static bool registerCVarsAndCCmds();
- static bool unregisterCVarsAndCCmds();
-
- protected:
- static bool initialized;
- static bool frontEndInitialized;
- };
-
- #endif /* __ConsoleInfo_h__ */
-