From 73411749a50f523fb56b2cfda78d759b667b811f Mon Sep 17 00:00:00 2001 From: Star Rauchenberger Date: Tue, 6 Jul 2021 14:40:01 -0400 Subject: Added debug console command history #5 --- src/input_system.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/input_system.h') 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 @@ #ifndef INPUT_SYSTEM_H_47764575 #define INPUT_SYSTEM_H_47764575 +#include #include #include "system.h" @@ -24,6 +25,8 @@ private: Game& game_; bool debugConsole_ = false; std::string debugText_; + std::deque debugHistory_; + int debugHistorySelection_ = 0; }; #endif /* end of include guard: INPUT_SYSTEM_H_47764575 */ -- cgit 1.4.1