Open Source Tomb Raider Engine
Ви не можете вибрати більше 25 тем Теми мають розпочинатися з літери або цифри, можуть містити дефіси (-) і не повинні перевищувати 35 символів.

1234567891011121314151617181920212223242526272829
  1. /*!
  2. * \file include/Console.h
  3. * \brief Console class
  4. *
  5. * \author xythobuz
  6. */
  7. #ifndef _CONSOLE_H_
  8. #define _CONSOLE_H_
  9. #include <string>
  10. #include <vector>
  11. class Console {
  12. public:
  13. static void display();
  14. private:
  15. const static int bufferLength = 256;
  16. static char buffer[bufferLength + 1];
  17. static bool scrollToBottom;
  18. static bool focusInput;
  19. static unsigned long lastLogLength;
  20. static std::vector<std::string> lastCommands;
  21. static long lastCommandIndex;
  22. };
  23. #endif