Unit1.h 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. //---------------------------------------------------------------------------
  2. #ifndef Unit1H
  3. #define Unit1H
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <ExtCtrls.hpp>
  9. #include <Forms.hpp>
  10. #include "OpenGL1x.hpp"
  11. #include "GLBaseClasses.hpp"
  12. #include "GLCadencer.hpp"
  13. #include "GLCoordinates.hpp"
  14. #include "GLCrossPlatform.hpp"
  15. #include "GLFPSMovement.hpp"
  16. #include "GLMaterial.hpp"
  17. #include "GLNavigator.hpp"
  18. #include "GLObjects.hpp"
  19. #include "GLScene.hpp"
  20. #include "GLSimpleNavigation.hpp"
  21. #include "GLVectorFileObjects.hpp"
  22. #include "GLWin32Viewer.hpp"
  23. #include "GLKeyboard.hpp"
  24. #include "GLGeomObjects.hpp"
  25. #include "GLVectorGeometry.hpp"
  26. #include "GLOctree.hpp"
  27. #include "GLVectorLists.hpp"
  28. #include "GLNavigator.hpp"
  29. #include "GLCollision.hpp"
  30. #include "GLTexture.hpp"
  31. //---------------------------------------------------------------------------
  32. class TForm1:public TForm
  33. {
  34. __published: // IDE-managed Components
  35. TGLScene * GLScene1;
  36. TGLSceneViewer *GLSceneViewer1;
  37. TGLCadencer *GLCadencer1;
  38. TGLCamera *FirstPersonCamera;
  39. TGLFreeForm *Map1;
  40. TGLMaterialLibrary *GLMaterialLibrary1;
  41. TGLLightSource *GLLight;
  42. TGLDummyCube *World;
  43. TGLCamera *ThirdPersonCamera;
  44. TGLSphere *PlayerSphere;
  45. TGLLightSource *GLLightSource1;
  46. TGLSphere *PlayerCentre;
  47. TGLDummyCube *Player;
  48. TGLFreeForm *Map2;
  49. TGLDummyCube *Bot;
  50. TGLSphere *BotCenter;
  51. TGLSphere *BotSphere;
  52. TGLNavigator *Navigator1;
  53. TGLFPSMovementManager *MovManager;
  54. TGLSimpleNavigation *GLSimpleNavigation1;
  55. void __fastcall FormKeyDown(TObject * Sender, WORD & Key, TShiftState Shift);
  56. void __fastcall GLCadencer1Progress(TObject * Sender, const double deltaTime,
  57. const double newTime);
  58. private: // User declarations
  59. public: // User declarations
  60. __fastcall TForm1(TComponent * Owner);
  61. };
  62. //---------------------------------------------------------------------------
  63. extern PACKAGE TForm1 *Form1;
  64. //---------------------------------------------------------------------------
  65. #endif