Unit1.h 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. //---------------------------------------------------------------------------
  2. #ifndef Unit1H
  3. #define Unit1H
  4. //---------------------------------------------------------------------------
  5. #include <vcl.h>
  6. #include <tchar.h>
  7. //---------------------------------------------------------------------------
  8. #include <System.Classes.hpp>
  9. #include <Vcl.Controls.hpp>
  10. #include <Vcl.StdCtrls.hpp>
  11. #include <Vcl.Forms.hpp>
  12. #include <Vcl.Buttons.hpp>
  13. #include <Vcl.ComCtrls.hpp>
  14. #include <Vcl.ExtCtrls.hpp>
  15. #include <Vcl.Imaging.jpeg.hpp>
  16. #include "GLScene.hpp"
  17. #include "GLCadencer.hpp"
  18. #include "GLCoordinates.hpp"
  19. #include "GLCrossPlatform.hpp"
  20. #include "GLGeomObjects.hpp"
  21. #include "GLObjects.hpp"
  22. #include "GLVectorFileObjects.hpp"
  23. #include "GLWin32Viewer.hpp"
  24. #include "GLFileMD2.hpp"
  25. #include "GLBaseClasses.hpp"
  26. #include "GLUtils.hpp"
  27. //---------------------------------------------------------------------------
  28. class TForm1 : public TForm
  29. {
  30. __published: // IDE-managed Components
  31. TGLSceneViewer *GLSceneViewer1;
  32. TStatusBar *StatusBar1;
  33. TPanel *Panel1;
  34. TSpeedButton *SBPlay;
  35. TSpeedButton *SBStop;
  36. TSpeedButton *SBFrameToFrame;
  37. TLabel *Label1;
  38. TLabel *LabelFPS;
  39. TComboBox *CBAnimations;
  40. TBitBtn *BBLoadWeapon;
  41. TCheckBox *CBSmooth;
  42. TGLScene *GLScene1;
  43. TGLDummyCube *DummyCube1;
  44. TGLLightSource *GLLightSource1;
  45. TGLCamera *GLCamera1;
  46. TGLDisk *Disk1;
  47. TGLActor *Actor1;
  48. TGLActor *Actor2;
  49. TGLCadencer *GLCadencer1;
  50. TTimer *Timer1;
  51. void __fastcall FormCreate(TObject *Sender);
  52. void __fastcall CBAnimationsChange(TObject *Sender);
  53. void __fastcall SBFrameToFrameClick(TObject *Sender);
  54. void __fastcall SBPlayClick(TObject *Sender);
  55. void __fastcall SBStopClick(TObject *Sender);
  56. void __fastcall BBLoadWeaponClick(TObject *Sender);
  57. void __fastcall GLSceneViewer1MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift,
  58. int X, int Y);
  59. void __fastcall Timer1Timer(TObject *Sender);
  60. void __fastcall GLSceneViewer1MouseMove(TObject *Sender, TShiftState Shift, int X,
  61. int Y);
  62. private: // User declarations
  63. public: // User declarations
  64. __fastcall TForm1(TComponent* Owner);
  65. };
  66. //---------------------------------------------------------------------------
  67. extern PACKAGE TForm1 *Form1;
  68. //---------------------------------------------------------------------------
  69. #endif