//--------------------------------------------------------------------------- #ifndef Unit1H #define Unit1H //--------------------------------------------------------------------------- #include #include //--------------------------------------------------------------------------- #include #include #include #include #include #include #include "GLBaseClasses.hpp" #include "GLCadencer.hpp" #include "GLCoordinates.hpp" #include "GLCrossPlatform.hpp" #include "GLGraph.hpp" #include "GLObjects.hpp" #include "GLScene.hpp" #include "GLSimpleNavigation.hpp" #include "GLSkydome.hpp" #include "GLThorFX.hpp" #include "GLWin32Viewer.hpp" #include "GLUtils.hpp" #include "JPeg.hpp" //--------------------------------------------------------------------------- class TForm1 : public TForm { __published: // IDE-managed Components TGLSceneViewer *GLSceneViewer1; TPanel *Panel1; TLabel *Label1; TLabel *Label6; TLabel *Label4; TLabel *Label3; TLabel *Label5; TTrackBar *DistanceBar; TTrackBar *GSbar; TTrackBar *GAbar; TTrackBar *WildBar; TTrackBar *VibBar; TCheckBox *SpinBox; TCheckBox *CoreBox; TMemo *Memo1; TCheckBox *PauseBox; TGLScene *GLScene1; TGLSkyDome *SkyDome1; TGLHeightField *HeightField1; TGLDummyCube *Objects; TGLCube *TargetCube; TGLCube *ThorCube; TGLLightSource *GLLightSource1; TGLCamera *GLCamera1; TGLCadencer *GLCadencer1; TGLThorFXManager *GLThorFXManager1; TGLSimpleNavigation *GLSimpleNavigation1; void __fastcall FormCreate(TObject *Sender); void __fastcall GSbarChange(TObject *Sender); void __fastcall GAbarChange(TObject *Sender); void __fastcall WildBarChange(TObject *Sender); void __fastcall VibBarChange(TObject *Sender); void __fastcall DistanceBarChange(TObject *Sender); void __fastcall CoreBoxClick(TObject *Sender); void __fastcall GLThorFXManager1CalcPoint(TObject *Sender, int PointNo, float &x, float &y, float &z); void __fastcall PauseBoxClick(TObject *Sender); void __fastcall HeightField1GetHeight(const float x, const float y, float &z, TVector4f &Color, TTexPoint &TexPoint); private: // User declarations int mx, my; public: // User declarations __fastcall TForm1(TComponent* Owner); }; //--------------------------------------------------------------------------- extern PACKAGE TForm1 *Form1; //--------------------------------------------------------------------------- #endif