Unit1.h 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. //---------------------------------------------------------------------------
  2. #ifndef Unit1H
  3. #define Unit1H
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include <StdCtrls.hpp>
  10. #include <ExtCtrls.hpp>
  11. #include <GIFImg.hpp>
  12. #include <GLLensFlare.hpp>
  13. #include <GLVectorGeometry.hpp>
  14. #include <GLSMBASS.hpp>
  15. #include <GLSound.hpp>
  16. #include <GLWin32Viewer.hpp>
  17. #include <GLSkydome.hpp>
  18. #include <GLBitmapFont.hpp>
  19. #include <GLHUDObjects.hpp>
  20. #include <GLTexture.hpp>
  21. #include <GLCadencer.hpp>
  22. #include <GLHeightData.hpp>
  23. #include <GLObjects.hpp>
  24. #include <GLTerrainRenderer.hpp>
  25. #include <GLScene.hpp>
  26. #include "GLBaseClasses.hpp"
  27. #include "GLCoordinates.hpp"
  28. #include "GLCrossPlatform.hpp"
  29. #include "GLMaterial.hpp"
  30. #include "GLFileMP3.hpp"
  31. #include "Jpeg.hpp"
  32. #include "GLUtils.hpp"
  33. //---------------------------------------------------------------------------
  34. class TForm1:public TForm
  35. {
  36. __published: // IDE-managed Components
  37. TGLSceneViewer * GLSceneViewer1;
  38. TGLBitmapHDS *GLBitmapHDS1;
  39. TGLScene *GLScene1;
  40. TGLCamera *GLCamera1;
  41. TGLDummyCube *DummyCube1;
  42. TGLTerrainRenderer *TerrainRenderer1;
  43. TTimer *Timer1;
  44. TGLCadencer *GLCadencer1;
  45. TGLMaterialLibrary *GLMaterialLibrary1;
  46. TGLBitmapFont *BitmapFont1;
  47. TGLHUDText *HUDText1;
  48. TGLSkyDome *SkyDome1;
  49. TGLSprite *SPMoon;
  50. TGLSprite *SPSun;
  51. TGLDummyCube *DCSound;
  52. TGLSMBASS *GLSMBASS1;
  53. TTimer *TISound;
  54. TGLSoundLibrary *GLSoundLibrary;
  55. TGLLensFlare *GLLensFlare;
  56. TGLDummyCube *GLDummyCube1;
  57. TGLRenderPoint *InitialRenderPoint;
  58. void __fastcall GLCadencer1Progress(TObject * Sender, const double deltaTime,
  59. const double newTime);
  60. void __fastcall GLSceneViewer1MouseDown(TObject * Sender, TMouseButton Button,
  61. TShiftState Shift, int X, int Y);
  62. void __fastcall GLSceneViewer1MouseMove(TObject * Sender, TShiftState Shift,
  63. int X, int Y);
  64. void __fastcall Timer1Timer(TObject * Sender);
  65. void __fastcall FormKeyPress(TObject * Sender, char &Key);
  66. void __fastcall TISoundTimer(TObject * Sender);
  67. private: // User declarations
  68. public: // User declarations
  69. __fastcall TForm1(TComponent * Owner);
  70. int mx, my;
  71. bool fullScreen;
  72. float FCamHeight;
  73. };
  74. //---------------------------------------------------------------------------
  75. extern PACKAGE TForm1 *Form1;
  76. //---------------------------------------------------------------------------
  77. #endif