Open Source Tomb Raider Engine
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

CommandRender.h 643B

123456789101112131415161718192021222324252627282930313233
  1. /*!
  2. * \file include/commands/CommandRender.h
  3. * \brief Render Command interface
  4. *
  5. * \author xythobuz
  6. */
  7. #ifndef _COMMAND_RENDER_H_
  8. #define _COMMAND_RENDER_H_
  9. #include "commands/Command.h"
  10. class CommandMode : public Command {
  11. public:
  12. virtual std::string name();
  13. virtual std::string brief();
  14. virtual void printHelp();
  15. virtual int execute(std::istream& args);
  16. };
  17. class CommandRenderflag : public Command {
  18. public:
  19. virtual std::string name();
  20. virtual std::string brief();
  21. virtual void printHelp();
  22. virtual int execute(std::istream& args);
  23. private:
  24. int stringToFlag(std::string flag);
  25. };
  26. #endif