summary refs log tree commit diff stats
path: root/src/input_system.h
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2021-07-06 14:40:01 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2021-07-06 14:40:01 -0400
commit73411749a50f523fb56b2cfda78d759b667b811f (patch)
treebc1b0b76d17590f95530f949ac83a194bd948b8b /src/input_system.h
parent45f6bfffd8940cb71dbff8224566aa3292bbb98f (diff)
downloadtanetane-73411749a50f523fb56b2cfda78d759b667b811f.tar.gz
tanetane-73411749a50f523fb56b2cfda78d759b667b811f.tar.bz2
tanetane-73411749a50f523fb56b2cfda78d759b667b811f.zip
Added debug console command history HEAD main
#5
Diffstat (limited to 'src/input_system.h')
-rw-r--r--src/input_system.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/input_system.h b/src/input_system.h index a7757b8..c8e0d8c 100644 --- a/src/input_system.h +++ b/src/input_system.h
@@ -1,6 +1,7 @@
1#ifndef INPUT_SYSTEM_H_47764575 1#ifndef INPUT_SYSTEM_H_47764575
2#define INPUT_SYSTEM_H_47764575 2#define INPUT_SYSTEM_H_47764575
3 3
4#include <deque>
4#include <string> 5#include <string>
5#include "system.h" 6#include "system.h"
6 7
@@ -24,6 +25,8 @@ private:
24 Game& game_; 25 Game& game_;
25 bool debugConsole_ = false; 26 bool debugConsole_ = false;
26 std::string debugText_; 27 std::string debugText_;
28 std::deque<std::string> debugHistory_;
29 int debugHistorySelection_ = 0;
27}; 30};
28 31
29#endif /* end of include guard: INPUT_SYSTEM_H_47764575 */ 32#endif /* end of include guard: INPUT_SYSTEM_H_47764575 */