mirror of
https://github.com/0TheSpy/Seaside.git
synced 2025-01-10 11:19:38 +08:00
42 lines
651 B
C
42 lines
651 B
C
|
#ifndef GAMECONSOLE_H
|
||
|
#define GAMECONSOLE_H
|
||
|
#ifdef _WIN32
|
||
|
#pragma once
|
||
|
#endif
|
||
|
|
||
|
#include "IGameConsole.h"
|
||
|
|
||
|
class CGameConsoleDialog;
|
||
|
|
||
|
class CGameConsole : public IGameConsole
|
||
|
{
|
||
|
public:
|
||
|
CGameConsole();
|
||
|
~CGameConsole();
|
||
|
|
||
|
void Initialize();
|
||
|
|
||
|
virtual void Activate();
|
||
|
virtual void Hide();
|
||
|
virtual void Clear();
|
||
|
|
||
|
void HideImmediately(void);
|
||
|
|
||
|
virtual bool IsConsoleVisible();
|
||
|
|
||
|
void ActivateDelayed(float time);
|
||
|
|
||
|
void SetParent(int parent);
|
||
|
|
||
|
void Shutdown(void);
|
||
|
|
||
|
static void OnCmdCondump();
|
||
|
private:
|
||
|
|
||
|
bool m_bInitialized;
|
||
|
CGameConsoleDialog* m_pConsole;
|
||
|
};
|
||
|
|
||
|
extern CGameConsole& GameConsole();
|
||
|
|
||
|
#endif
|