Open Source Tomb Raider Engine
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

Console.h 501B

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