fTerrain.h 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. //---------------------------------------------------------------------------
  2. #ifndef fTerrainH
  3. #define fTerrainH
  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 "GLS.LensFlare.hpp"
  13. #include "GLS.VectorGeometry.hpp"
  14. #include "Sounds.BASS.hpp"
  15. #include "GLS.Sound.hpp"
  16. #include "GLS.SceneViewer.hpp"
  17. #include "GLS.SkyDome.hpp"
  18. #include "GLS.BitmapFont.hpp"
  19. #include "GLS.HUDObjects.hpp"
  20. #include "GLS.Texture.hpp"
  21. #include "GLS.Cadencer.hpp"
  22. #include "GLS.HeightData.hpp"
  23. #include "GLS.Objects.hpp"
  24. #include "GLS.TerrainRenderer.hpp"
  25. #include "GLS.Scene.hpp"
  26. #include "GLS.BaseClasses.hpp"
  27. #include "GLS.Coordinates.hpp"
  28. #include "GLS.Material.hpp"
  29. #include "GLS.FileMP3.hpp"
  30. #include "Jpeg.hpp"
  31. #include "GLS.Utils.hpp"
  32. //---------------------------------------------------------------------------
  33. class TForm1:public TForm
  34. {
  35. __published: // IDE-managed Components
  36. TGLSceneViewer * GLSceneViewer1;
  37. TGLBitmapHDS *GLBitmapHDS1;
  38. TGLScene *GLScene1;
  39. TGLCamera *GLCamera1;
  40. TGLDummyCube *DummyCube1;
  41. TGLTerrainRenderer *TerrainRenderer1;
  42. TTimer *Timer1;
  43. TGLCadencer *GLCadencer1;
  44. TGLMaterialLibrary *GLMaterialLibrary1;
  45. TGLBitmapFont *BitmapFont1;
  46. TGLHUDText *HUDText1;
  47. TGLSkyDome *SkyDome1;
  48. TGLSprite *SPMoon;
  49. TGLSprite *SPSun;
  50. TGLDummyCube *DCSound;
  51. TGLSMBASS *GLSMBASS1;
  52. TTimer *TISound;
  53. TGLSoundLibrary *GLSoundLibrary;
  54. TGLLensFlare *GLLensFlare;
  55. TGLDummyCube *GLDummyCube1;
  56. TGLRenderPoint *InitialRenderPoint;
  57. void __fastcall GLCadencer1Progress(TObject * Sender, const double deltaTime,
  58. const double newTime);
  59. void __fastcall GLSceneViewer1MouseDown(TObject * Sender, TMouseButton Button,
  60. TShiftState Shift, int X, int Y);
  61. void __fastcall GLSceneViewer1MouseMove(TObject * Sender, TShiftState Shift,
  62. int X, int Y);
  63. void __fastcall Timer1Timer(TObject * Sender);
  64. void __fastcall FormKeyPress(TObject * Sender, char &Key);
  65. void __fastcall TISoundTimer(TObject * Sender);
  66. private: // User declarations
  67. public: // User declarations
  68. __fastcall TForm1(TComponent * Owner);
  69. int mx, my;
  70. bool fullScreen;
  71. float FCamHeight;
  72. };
  73. //---------------------------------------------------------------------------
  74. extern PACKAGE TForm1 *Form1;
  75. //---------------------------------------------------------------------------
  76. #endif