fTerrainC.h 2.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. //---------------------------------------------------------------------------
  2. #ifndef fTerrainCH
  3. #define fTerrainCH
  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 "GLScene.VectorGeometry.hpp"
  14. #include "GLS.Sounds.BASS.hpp"
  15. #include "GLS.SoundManager.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 "GLScene.Utils.hpp"
  32. #include "GLS.SoundManager.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. TTimer *Timer2;
  59. void __fastcall GLCadencer1Progress(TObject * Sender, const double deltaTime,
  60. const double newTime);
  61. void __fastcall GLSceneViewer1MouseDown(TObject * Sender, TMouseButton Button,
  62. TShiftState Shift, int X, int Y);
  63. void __fastcall GLSceneViewer1MouseMove(TObject * Sender, TShiftState Shift,
  64. int X, int Y);
  65. void __fastcall Timer1Timer(TObject * Sender);
  66. void __fastcall FormKeyPress(TObject * Sender, char &Key);
  67. void __fastcall TISoundTimer(TObject * Sender);
  68. private: // User declarations
  69. public: // User declarations
  70. __fastcall TForm1(TComponent * Owner);
  71. int mx, my;
  72. bool fullScreen;
  73. float FCamHeight;
  74. };
  75. //---------------------------------------------------------------------------
  76. extern PACKAGE TForm1 *Form1;
  77. //---------------------------------------------------------------------------
  78. #endif