Unit1.h 2.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. //---------------------------------------------------------------------------
  2. #ifndef Unit1H
  3. #define Unit1H
  4. //---------------------------------------------------------------------------
  5. //#include <System.Classes.hpp>
  6. #include <Vcl.Controls.hpp>
  7. #include <Vcl.StdCtrls.hpp>
  8. #include <Vcl.Forms.hpp>
  9. #include "GLBaseClasses.hpp"
  10. #include "GLCadencer.hpp"
  11. #include "GLCoordinates.hpp"
  12. #include "GLCrossPlatform.hpp"
  13. #include "GLLensFlare.hpp"
  14. #include "GLMaterial.hpp"
  15. #include "GLNavigator.hpp"
  16. #include "GLObjects.hpp"
  17. #include "GLScene.hpp"
  18. #include "GLSimpleNavigation.hpp"
  19. #include "GLSkyBox.hpp"
  20. #include "GLWin32Viewer.hpp"
  21. #include "GLKeyBoard.hpp"
  22. #include "JPeg.hpp"
  23. #include "GLFileJPEG.hpp"
  24. #include "GLUtils.hpp"
  25. #include <System.Classes.hpp>
  26. //---------------------------------------------------------------------------
  27. class TForm1 : public TForm
  28. {
  29. __published: // IDE-managed Components
  30. TGLSceneViewer *GLSceneViewer1;
  31. TGLScene *GLScene1;
  32. TGLSkyBox *GLSkyBox1;
  33. TGLSphere *GLSphere1;
  34. TGLSphere *GLSphere2;
  35. TGLSkyBox *GLSkyBox2;
  36. TGLDummyCube *Castle;
  37. TGLCube *GLCube1;
  38. TGLCube *GLCube2;
  39. TGLCube *GLCube11;
  40. TGLCube *GLCube21;
  41. TGLCube *GLCube111;
  42. TGLCube *GLCube211;
  43. TGLCube *GLCube112;
  44. TGLCube *GLCube212;
  45. TGLLightSource *GLLightSource1;
  46. TGLLensFlare *GLLensFlare1;
  47. TGLCamera *GLCamera1;
  48. TGLMaterialLibrary *GLMaterialLibrary1;
  49. TGLNavigator *GLNavigator1;
  50. TGLCadencer *GLCadencer1;
  51. TGLUserInterface *GLUserInterface1;
  52. TGLSimpleNavigation *GLSimpleNavigation1;
  53. void __fastcall FormCreate(TObject *Sender);
  54. void __fastcall GLCadencer1Progress(TObject *Sender, const double deltaTime, const double newTime);
  55. private: // User declarations
  56. int mx, my;
  57. void __fastcall HandleKeys(double d);
  58. TGLLibMaterial* __fastcall LoadTexture(String Matname, String Filename);
  59. public: // User declarations
  60. __fastcall TForm1(TComponent* Owner);
  61. };
  62. //---------------------------------------------------------------------------
  63. extern PACKAGE TForm1 *Form1;
  64. //---------------------------------------------------------------------------
  65. #endif