Open Source Tomb Raider Engine
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Console.h 505B

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