fActorC.h 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. //---------------------------------------------------------------------------
  2. #ifndef fActorCH
  3. #define fActorCH
  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 "GLS.Scene.hpp"
  17. #include "GLS.Cadencer.hpp"
  18. #include "GLS.Coordinates.hpp"
  19. #include "GLS.GeomObjects.hpp"
  20. #include "GLS.Objects.hpp"
  21. #include "GLS.VectorFileObjects.hpp"
  22. #include "GLS.SceneViewer.hpp"
  23. #include "GLS.FileMD2.hpp"
  24. #include "GLS.BaseClasses.hpp"
  25. #include "GLScene.Utils.hpp"
  26. //---------------------------------------------------------------------------
  27. class TFormActor : public TForm
  28. {
  29. __published: // IDE-managed Components
  30. TGLSceneViewer *GLSceneViewer1;
  31. TStatusBar *StatusBar1;
  32. TPanel *Panel1;
  33. TSpeedButton *SBPlay;
  34. TSpeedButton *SBStop;
  35. TSpeedButton *SBFrameToFrame;
  36. TLabel *Label1;
  37. TLabel *LabelFPS;
  38. TComboBox *CBAnimations;
  39. TBitBtn *BBLoadWeapon;
  40. TCheckBox *CBSmooth;
  41. TGLScene *GLScene1;
  42. TGLDummyCube *DummyCube1;
  43. TGLLightSource *GLLightSource1;
  44. TGLCamera *GLCamera1;
  45. TGLDisk *Disk1;
  46. TGLActor *Actor1;
  47. TGLActor *Actor2;
  48. TGLCadencer *GLCadencer1;
  49. TTimer *Timer1;
  50. void __fastcall FormCreate(TObject *Sender);
  51. void __fastcall CBAnimationsChange(TObject *Sender);
  52. void __fastcall SBFrameToFrameClick(TObject *Sender);
  53. void __fastcall SBPlayClick(TObject *Sender);
  54. void __fastcall SBStopClick(TObject *Sender);
  55. void __fastcall BBLoadWeaponClick(TObject *Sender);
  56. void __fastcall GLSceneViewer1MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift,
  57. int X, int Y);
  58. void __fastcall Timer1Timer(TObject *Sender);
  59. void __fastcall GLSceneViewer1MouseMove(TObject *Sender, TShiftState Shift, int X,
  60. int Y);
  61. private: // User declarations
  62. public: // User declarations
  63. __fastcall TFormActor(TComponent* Owner);
  64. };
  65. //---------------------------------------------------------------------------
  66. extern PACKAGE TFormActor *FormActor;
  67. //---------------------------------------------------------------------------
  68. #endif