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.

GLUTSystem.h 2.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. /* -*- Mode: C++; tab-width: 3; indent-tabs-mode: t; c-basic-offset: 3 -*- */
  2. /*================================================================
  3. *
  4. * Project : UnRaider
  5. * Author : Terry 'Mongoose' Hendrix II
  6. * Website : http://www.westga.edu/~stu7440/
  7. * Email : stu7440@westga.edu
  8. * Object : GLUTSystem
  9. * License : No use w/o permission (C) 2002 Mongoose
  10. * Comments:
  11. *
  12. *
  13. * This file was generated using Mongoose's C++
  14. * template generator script. <stu7440@westga.edu>
  15. *
  16. *-- Test Defines -----------------------------------------------
  17. *
  18. * UNIT_TEST_GLUTSYSTEM - Builds GLUTSystem class as a console unit test
  19. *
  20. *-- History ------------------------------------------------
  21. *
  22. * 2002.08.09:
  23. * Mongoose - Created
  24. ================================================================*/
  25. #ifndef GUARD__UNRAIDER_MONGOOSE_GLUTSYSTEM_H_
  26. #define GUARD__UNRAIDER_MONGOOSE_GLUTSYSTEM_H_
  27. #include "System.h"
  28. class GLUTSystem : public System
  29. {
  30. public:
  31. ////////////////////////////////////////////////////////////
  32. // Constructors
  33. ////////////////////////////////////////////////////////////
  34. GLUTSystem();
  35. /*------------------------------------------------------
  36. * Pre :
  37. * Post : Constructs an object of GLUTSystem
  38. *
  39. *-- History ------------------------------------------
  40. *
  41. * 2002.08.09:
  42. * Mongoose - Created
  43. ------------------------------------------------------*/
  44. ~GLUTSystem();
  45. /*------------------------------------------------------
  46. * Pre : GLUTSystem object is allocated
  47. * Post : Deconstructs an object of GLUTSystem
  48. *
  49. *-- History ------------------------------------------
  50. *
  51. * 2002.08.09:
  52. * Mongoose - Created
  53. ------------------------------------------------------*/
  54. ////////////////////////////////////////////////////////////
  55. // Public Accessors
  56. ////////////////////////////////////////////////////////////
  57. ////////////////////////////////////////////////////////////
  58. // Public Mutators
  59. ////////////////////////////////////////////////////////////
  60. void shutdown(int i);
  61. void initVideo(unsigned int width, unsigned int height,
  62. bool fullscreen);
  63. void runGame();
  64. void toggleFullscreen();
  65. void swapBuffersGL();
  66. private:
  67. ////////////////////////////////////////////////////////////
  68. // Private Accessors
  69. ////////////////////////////////////////////////////////////
  70. ////////////////////////////////////////////////////////////
  71. // Private Mutators
  72. ////////////////////////////////////////////////////////////
  73. /* */
  74. };
  75. #endif