fSynthTerrainC.h 2.1 KB

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