diff options
| author | Simon Robertshaw <simon@hardwired.org.uk> | 2012-03-03 17:58:33 (GMT) |
|---|---|---|
| committer | Simon Robertshaw <simon@hardwired.org.uk> | 2012-03-03 17:58:33 (GMT) |
| commit | 732b9d6a0d16f94cd1c39f8e023e369c5837bb9c (patch) | |
| tree | 7695c64eccd2e27c255b3185e1e1bee45ffb8bf6 /src/cat/CommandInterface.h | |
| parent | afe9e061e1d173731d8a5122c397a2caf4fe61ab (diff) | |
| download | powder-732b9d6a0d16f94cd1c39f8e023e369c5837bb9c.zip powder-732b9d6a0d16f94cd1c39f8e023e369c5837bb9c.tar.gz | |
Disable key repeat
Diffstat (limited to 'src/cat/CommandInterface.h')
| -rw-r--r-- | src/cat/CommandInterface.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/cat/CommandInterface.h b/src/cat/CommandInterface.h index 32b685e..c77d83c 100644 --- a/src/cat/CommandInterface.h +++ b/src/cat/CommandInterface.h @@ -17,10 +17,12 @@ protected: std::string lastError; GameModel * m; public: + enum LogType { LogError, LogWarning, LogNotice }; enum FormatType { FormatInt, FormatString, FormatChar, FormatFloat }; CommandInterface(GameModel * m); int GetPropertyOffset(std::string key_, FormatType & format); int GetParticleType(std::string type); + void Log(LogType type, std::string message); //void AttachGameModel(GameModel * m); virtual void Tick() {} virtual int Command(std::string command); |
