Open Source Tomb Raider Engine
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

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