Unit1.h 2.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  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 <Vcl.Graphics.hpp>
  11. #include "GLS.BaseClasses.hpp"
  12. #include "GLS.Behaviours.hpp"
  13. #include "GLS.BitmapFont.hpp"
  14. #include "GLS.Blur.hpp"
  15. #include "GLS.Cadencer.hpp"
  16. #include "GLS.Coordinates.hpp"
  17. #include "GLS.HUDObjects.hpp"
  18. #include "GLS.Navigator.hpp"
  19. #include "GLS.Objects.hpp"
  20. #include "GLS.ParticleFX.hpp"
  21. #include "GLS.PerlinPFX.hpp"
  22. #include "GLS.Scene.hpp"
  23. #include "GLS.SpaceText.hpp"
  24. #include "GLS.SceneViewer.hpp"
  25. //---------------------------------------------------------------------------
  26. class TForm1 : public TForm
  27. {
  28. __published: // IDE-managed Components
  29. TGLSceneViewer *GLSceneViewer1;
  30. TPanel *Panel1;
  31. TLabel *Label1;
  32. TCheckBox *chkMouseLook;
  33. TCheckBox *chkFloor;
  34. TCheckBox *chkBlur;
  35. TGLCadencer *GLCadencer1;
  36. TGLPerlinPFXManager *PFXElectro;
  37. TGLPerlinPFXManager *PFXRail;
  38. TGLPerlinPFXManager *PFXBurning;
  39. TGLPerlinPFXManager *PFXSmoke;
  40. TGLBitmapFont *BitmapFont1;
  41. TGLScene *GLScene1;
  42. TGLDummyCube *WorldRoot;
  43. TGLLightSource *GLLightSource1;
  44. TGLPlane *GLPlane1;
  45. TGLSpaceText *ICE;
  46. TGLSpaceText *MAGMA;
  47. TGLSpaceText *SMOKE;
  48. TGLSpaceText *FOG;
  49. TGLSpaceText *FIRE;
  50. TGLSpaceText *RAIL;
  51. TGLSpaceText *ELECTRIC;
  52. TGLSpaceText *WATER;
  53. TGLParticleFXRenderer *PfxRenderer;
  54. TGLBlur *GLBlur1;
  55. TGLCamera *GLCamera1;
  56. TGLPerlinPFXManager *PFXBlueArea;
  57. TTimer *Timer1;
  58. TGLNavigator *GLNavigator1;
  59. TGLUserInterface *GLUserInterface1;
  60. TGLPerlinPFXManager *PFXRedArea;
  61. TGLPerlinPFXManager *PFXFog;
  62. TGLPerlinPFXManager *PFXWaterfall;
  63. void __fastcall chkFloorClick(TObject *Sender);
  64. void __fastcall chkBlurClick(TObject *Sender);
  65. void __fastcall chkMouseLookClick(TObject *Sender);
  66. void __fastcall Timer1Timer(TObject *Sender);
  67. void __fastcall GLCadencer1Progress(TObject *Sender, const double deltaTime, const double newTime);
  68. void __fastcall FormCreate(TObject *Sender);
  69. private: // User declarations
  70. void __fastcall HandleKeys(double deltaTime);
  71. public: // User declarations
  72. __fastcall TForm1(TComponent* Owner);
  73. };
  74. //---------------------------------------------------------------------------
  75. extern PACKAGE TForm1 *Form1;
  76. //---------------------------------------------------------------------------
  77. #endif