Unit1.h 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263
  1. //---------------------------------------------------------------------------
  2. #ifndef Unit1H
  3. #define Unit1H
  4. //---------------------------------------------------------------------------
  5. #include <Classes.hpp>
  6. #include <Controls.hpp>
  7. #include <StdCtrls.hpp>
  8. #include <Forms.hpp>
  9. #include <ExtCtrls.hpp>
  10. #include "GLCadencer.hpp"
  11. #include "GLObjects.hpp"
  12. #include "GLScene.hpp"
  13. #include "GLTexture.hpp"
  14. #include "GLVectorFileObjects.hpp"
  15. #include "GLWin32Viewer.hpp"
  16. #include "GLBaseClasses.hpp"
  17. #include "GLCoordinates.hpp"
  18. #include "GLCrossPlatform.hpp"
  19. #include "GLMaterial.hpp"
  20. #include "GLFileMD2.hpp"
  21. #include <Jpeg.hpp>
  22. #include "GLFileMD2.hpp"
  23. #include "GLUtils.hpp"
  24. //---------------------------------------------------------------------------
  25. class TForm1 : public TForm
  26. {
  27. __published:
  28. TGLSceneViewer *Viewer;
  29. TGLScene *GLScene;
  30. TGLLightSource *GLLightSource1;
  31. TGLDummyCube *DCTarget;
  32. TGLCamera *GLCamera1;
  33. TGLDummyCube *DCSpheres;
  34. TGLDummyCube *DCActors;
  35. TGLActor *ACReference;
  36. TGLCadencer *GLCadencer;
  37. TTimer *Timer1;
  38. TGLMaterialLibrary *GLMaterialLibrary;
  39. TPanel *Panel2;
  40. TLabel *Label1;
  41. TRadioButton *RBNone;
  42. TRadioButton *RBObject;
  43. TRadioButton *RBHierarchical;
  44. TLabel *Label2;
  45. TRadioButton *RBSpheres;
  46. TRadioButton *RBActors;
  47. TLabel *LabelFPS;
  48. void __fastcall RBSpheresClick(TObject *Sender);
  49. void __fastcall GLCadencerProgress(TObject *Sender,
  50. const double deltaTime, const double newTime);
  51. void __fastcall Timer1Timer(TObject *Sender);
  52. void __fastcall RBNoneClick(TObject *Sender);
  53. private: // Déclarations de l'utilisateur
  54. public: // Déclarations de l'utilisateur
  55. __fastcall TForm1(TComponent* Owner);
  56. };
  57. //---------------------------------------------------------------------------
  58. extern PACKAGE TForm1 *Form1;
  59. //---------------------------------------------------------------------------
  60. #endif