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