Unit1.h 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. //---------------------------------------------------------------------------
  2. #ifndef Unit1H
  3. #define Unit1H
  4. //---------------------------------------------------------------------------
  5. #include <System.Classes.hpp>
  6. #include <Vcl.Controls.hpp>
  7. #include <Vcl.StdCtrls.hpp>
  8. #include <Vcl.Forms.hpp>
  9. #include <Vcl.ExtCtrls.hpp>
  10. #include "GLBaseClasses.hpp"
  11. #include "GLBitmapFont.hpp"
  12. #include "GLCadencer.hpp"
  13. #include "GLCoordinates.hpp"
  14. #include "GLCrossPlatform.hpp"
  15. #include "GLHeightData.hpp"
  16. #include "GLHUDObjects.hpp"
  17. #include "GLLensFlare.hpp"
  18. #include "GLMaterial.hpp"
  19. #include "GLNavigator.hpp"
  20. #include "GLObjects.hpp"
  21. #include "GLODECustomColliders.hpp"
  22. #include "GLODEManager.hpp"
  23. #include "GLScene.hpp"
  24. #include "GLSkydome.hpp"
  25. #include "GLTerrainRenderer.hpp"
  26. #include "GLWin32Viewer.hpp"
  27. #include "GLUtils.hpp"
  28. #include "JPeg.hpp"
  29. #include "GLKeyBoard.hpp"
  30. //---------------------------------------------------------------------------
  31. class TForm1 : public TForm
  32. {
  33. __published: // IDE-managed Components
  34. TGLSceneViewer *GLSceneViewer1;
  35. TGLBitmapHDS *GLBitmapHDS1;
  36. TGLScene *GLScene1;
  37. TGLLightSource *GLLightSource1;
  38. TGLSkyDome *SkyDome1;
  39. TGLSprite *SPMoon;
  40. TGLSprite *SPSun;
  41. TGLTerrainRenderer *TerrainRenderer1;
  42. TGLDummyCube *ODEObjects;
  43. TGLRenderPoint *ODERenderPoint;
  44. TGLHUDText *HUDText1;
  45. TGLLensFlare *GLLensFlare;
  46. TGLDummyCube *GLDummyCube1;
  47. TGLCamera *GLCamera1;
  48. TGLDummyCube *ODEDrop;
  49. TTimer *Timer1;
  50. TGLCadencer *GLCadencer1;
  51. TGLMaterialLibrary *GLMaterialLibrary1;
  52. TGLBitmapFont *BitmapFont1;
  53. TGLODEManager *GLODEManager1;
  54. TGLNavigator *GLNavigator1;
  55. TGLUserInterface *GLUserInterface1;
  56. void __fastcall FormCreate(TObject *Sender);
  57. void __fastcall GLCadencer1Progress(TObject *Sender, const double deltaTime, const double newTime);
  58. void __fastcall Timer1Timer(TObject *Sender);
  59. void __fastcall FormKeyPress(TObject *Sender, System::WideChar &Key);
  60. void __fastcall GLSceneViewer1BeforeRender(TObject *Sender);
  61. private: // User declarations
  62. public: // User declarations
  63. __fastcall TForm1(TComponent* Owner);
  64. };
  65. //---------------------------------------------------------------------------
  66. extern PACKAGE TForm1 *Form1;
  67. //---------------------------------------------------------------------------
  68. #endif