fFPSMovementC.h 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. //---------------------------------------------------------------------------
  2. #ifndef fFPSMovementCH
  3. #define fFPSMovementCH
  4. //---------------------------------------------------------------------------
  5. #include <System.Classes.hpp>
  6. #include <Vcl.Controls.hpp>
  7. #include <Vcl.StdCtrls.hpp>
  8. #include <Vcl.ExtCtrls.hpp>
  9. #include <Vcl.Forms.hpp>
  10. #include "GLS.BaseClasses.hpp"
  11. #include "GLS.Cadencer.hpp"
  12. #include "GLS.Coordinates.hpp"
  13. #include "GLS.FileJPEG.hpp"
  14. #include "GLS.FPSMovement.hpp"
  15. #include "GLS.Material.hpp"
  16. #include "GLS.Navigator.hpp"
  17. #include "GLS.Objects.hpp"
  18. #include "GLS.Scene.hpp"
  19. #include "GLS.Screen.hpp"
  20. #include "GLS.SimpleNavigation.hpp"
  21. #include "GLS.VectorFileObjects.hpp"
  22. #include "GLS.SceneViewer.hpp"
  23. #include "GLS.Keyboard.hpp"
  24. #include "GLS.GeomObjects.hpp"
  25. #include "GLS.VectorGeometry.hpp"
  26. #include "GLS.Octree.hpp"
  27. #include "GLS.VectorLists.hpp"
  28. #include "GLS.Collision.hpp"
  29. #include "GLS.Texture.hpp"
  30. #include <System.Classes.hpp>
  31. //---------------------------------------------------------------------------
  32. class TFormFPSMovement:public TForm
  33. {
  34. __published: // IDE-managed Components
  35. TGLScene * GLScene1;
  36. TGLSceneViewer *GLSceneViewer1;
  37. TGLCadencer *GLCadencer1;
  38. TGLCamera *FirstPersonCamera;
  39. TGLFreeForm *Map1;
  40. TGLMaterialLibrary *GLMaterialLibrary1;
  41. TGLLightSource *GLLight;
  42. TGLDummyCube *World;
  43. TGLCamera *ThirdPersonCamera;
  44. TGLSphere *PlayerSphere;
  45. TGLLightSource *GLLightSource1;
  46. TGLSphere *PlayerCentre;
  47. TGLDummyCube *Player;
  48. TGLFreeForm *Map2;
  49. TGLDummyCube *Bot;
  50. TGLSphere *BotCenter;
  51. TGLSphere *BotSphere;
  52. TGLNavigator *Navigator1;
  53. TGLFPSMovementManager *MovManager;
  54. TGLSimpleNavigation *GLSimpleNavigation1;
  55. void __fastcall FormKeyDown(TObject * Sender, WORD & Key, TShiftState Shift);
  56. void __fastcall GLCadencer1Progress(TObject * Sender, const double deltaTime,
  57. const double newTime);
  58. private: // User declarations
  59. public: // User declarations
  60. __fastcall TFormFPSMovement(TComponent * Owner);
  61. };
  62. //---------------------------------------------------------------------------
  63. extern PACKAGE TFormFPSMovement *FormFPSMovement;
  64. //---------------------------------------------------------------------------
  65. #endif