fSynthTerrainC.h 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364
  1. //---------------------------------------------------------------------------
  2. #ifndef fSynthTerrainCH
  3. #define fSynthTerrainCH
  4. //---------------------------------------------------------------------------
  5. #include <vcl.h>
  6. #include <tchar.h>
  7. //---------------------------------------------------------------------------
  8. #include <System.Classes.hpp>
  9. #include <Vcl.Controls.hpp>
  10. #include <Vcl.StdCtrls.hpp>
  11. #include <Vcl.Forms.hpp>
  12. #include <Vcl.ExtCtrls.hpp>
  13. #include "GLS.BaseClasses.hpp"
  14. #include "GLS.Cadencer.hpp"
  15. #include "GLS.Coordinates.hpp"
  16. #include "GLS.Material.hpp"
  17. #include "GLS.Objects.hpp"
  18. #include "GLS.Scene.hpp"
  19. #include "GLS.TerrainRenderer.hpp"
  20. #include "GLS.HeightData.hpp"
  21. #include "GLS.SceneViewer.hpp"
  22. #include "Jpeg.hpp"
  23. #include "GLS.Keyboard.hpp"
  24. //---------------------------------------------------------------------------
  25. class TForm1 : public TForm
  26. {
  27. __published: // IDE-managed Components
  28. TGLSceneViewer *GLSceneViewer1;
  29. TGLScene *GLScene1;
  30. TGLDummyCube *DummyCube1;
  31. TGLCamera *GLCamera1;
  32. TGLTerrainRenderer *TerrainRenderer1;
  33. TTimer *Timer1;
  34. TGLCadencer *GLCadencer1;
  35. TGLMaterialLibrary *GLMaterialLibrary1;
  36. TGLCustomHDS *GLCustomHDS;
  37. void __fastcall FormCreate(TObject *Sender);
  38. void __fastcall GLCustomHDSStartPreparingData(TGLHeightData *HeightData);
  39. void __fastcall GLSceneViewer1MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift,
  40. int X, int Y);
  41. void __fastcall GLSceneViewer1MouseMove(TObject *Sender, TShiftState Shift, int X,
  42. int Y);
  43. void __fastcall Timer1Timer(TObject *Sender);
  44. void __fastcall FormKeyPress(TObject *Sender, System::WideChar &Key);
  45. void __fastcall GLCadencer1Progress(TObject *Sender, const double deltaTime, const double newTime);
  46. private: // User declarations
  47. int mx, my;
  48. bool fullScreen;
  49. float FCamHeight;
  50. public: // User declarations
  51. __fastcall TForm1(TComponent* Owner);
  52. };
  53. //---------------------------------------------------------------------------
  54. extern PACKAGE TForm1 *Form1;
  55. //---------------------------------------------------------------------------
  56. #endif