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.

OpenRaider.h 638B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /*!
  2. * \file include/OpenRaider.h
  3. * \brief Main Game Object
  4. *
  5. * \author xythobuz
  6. */
  7. #ifndef _OPENRAIDER_H_
  8. #define _OPENRAIDER_H_
  9. #include "Window.h"
  10. /*!
  11. * \brief Main Game Singleton
  12. */
  13. class OpenRaider {
  14. public:
  15. /*!
  16. * \brief Constructs an object of OpenRaider
  17. */
  18. OpenRaider();
  19. /*!
  20. * \brief Deconstructs an object of OpenRaider
  21. */
  22. ~OpenRaider();
  23. /*!
  24. * \brief Load the configuration file
  25. * \returns 0 on success
  26. */
  27. int loadConfig(const char *config);
  28. int initialize();
  29. void run();
  30. private:
  31. bool mInit;
  32. bool mRunning;
  33. Window *mWindow;
  34. };
  35. #endif