fGameMenuC.h 2.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970
  1. //---------------------------------------------------------------------------
  2. #ifndef fGameMenuCH
  3. #define fGameMenuCH
  4. //---------------------------------------------------------------------------
  5. #include <Windows.hpp>
  6. #include <Messages.hpp>
  7. #include <SysUtils.hpp>
  8. #include <Graphics.hpp>
  9. #include <Vcl.Controls.hpp>
  10. #include <Vcl.Forms.hpp>
  11. #include <Vcl.ExtCtrls.hpp>
  12. #include <System.Classes.hpp>
  13. #include <Dialogs.hpp>
  14. #include <Vcl.StdCtrls.hpp>
  15. #include <Vcl.Imaging.jpeg.hpp>
  16. #include "GLS.Scene.hpp"
  17. #include "GLS.Objects.hpp"
  18. #include "GLS.SceneViewer.hpp"
  19. #include "GLS.GeomObjects.hpp"
  20. #include "GLS.BitmapFont.hpp"
  21. #include "GLS.WindowsFont.hpp"
  22. #include "GLS.GameMenu.hpp"
  23. #include "GLS.Cadencer.hpp"
  24. #include "GLS.Texture.hpp"
  25. #include "GLScene.Keyboard.hpp"
  26. #include "GLS.Material.hpp"
  27. #include "GLS.Coordinates.hpp"
  28. #include "GLS.BaseClasses.hpp"
  29. #include "GLScene.Utils.hpp"
  30. //---------------------------------------------------------------------------
  31. class TForm1 : public TForm
  32. {
  33. __published: // IDE-managed Components
  34. TGLSceneViewer *GLSceneViewer1;
  35. TPanel *MainPanel;
  36. TLabel *Label1;
  37. TCheckBox *ShowTitleCheckbox;
  38. TGLScene *GLScene1;
  39. TGLDummyCube *GLDummyCube1;
  40. TGLCube *GLCube1;
  41. TGLCamera *GLCamera1;
  42. TGLLightSource *GLLightSource1;
  43. TGLWindowsBitmapFont *GLWindowsBitmapFont1;
  44. TGLCadencer *GLCadencer1;
  45. TGLMaterialLibrary *GLMaterialLibrary1;
  46. void __fastcall FormCreate(TObject *Sender);
  47. void __fastcall FormKeyDown(TObject *Sender, WORD &Key, TShiftState Shift);
  48. void __fastcall GLCadencer1Progress(TObject *Sender, const double deltaTime, const double newTime);
  49. void __fastcall GLSceneViewer1MouseMove(TObject *Sender, TShiftState Shift, int X,
  50. int Y);
  51. void __fastcall GLSceneViewer1MouseDown(TObject *Sender, TMouseButton Button, TShiftState Shift,
  52. int X, int Y);
  53. void __fastcall ShowTitleCheckboxClick(TObject *Sender);
  54. void __fastcall MainPanelResize(TObject *Sender);
  55. private: // User declarations
  56. int mx, my;
  57. TGLGameMenu *GameMenu;
  58. public: // User declarations
  59. __fastcall TForm1(TComponent* Owner);
  60. };
  61. //---------------------------------------------------------------------------
  62. extern PACKAGE TForm1 *Form1;
  63. //---------------------------------------------------------------------------
  64. #endif