-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathUnit1.h
71 lines (69 loc) · 2.13 KB
/
Unit1.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
//---------------------------------------------------------------------------
#ifndef Unit1H
#define Unit1H
//---------------------------------------------------------------------------
#include <System.Classes.hpp>
#include <FMX.Controls.hpp>
#include <FMX.Forms.hpp>
#include <FMX.Controls3D.hpp>
#include <FMX.Layers3D.hpp>
#include <FMX.Types.hpp>
#include <FMX.Viewport3D.hpp>
#include <System.Math.Vectors.hpp>
#include <FMX.Objects.hpp>
#include <FMX.Ani.hpp>
#include <FMX.Effects.hpp>
#include <FMX.Graphics.hpp>
#include <FMX.Layouts.hpp>
#include <FMX.Media.hpp>
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published: // IDE-managed Components
TViewport3D *IDE;
TLayer3D *plain;
TTimer *game_engin;
TPath *plain1;
TPath *lbsw;
TPath *rbsw;
TPath *lfsw;
TPath *lf1;
TPath *lf2;
TPath *Path2;
TPath *rfsw;
TPath *rf2;
TPath *rf1;
TPath *Path3;
TPath *plan_body;
TPath *fhead;
TPath *mhead;
TPath *bhead;
TPath *flame;
TFloatAnimation *FloatAnimation1;
TCircle *Circle1;
TInnerGlowEffect *InnerGlowEffect1;
TText *Text1;
TCircle *Circle2;
TLayout *lay_status;
TLayout *Layout1;
TRectangle *Rectangle1;
TRoundRect *RoundRect1;
TRoundRect *RoundRect2;
void __fastcall game_enginTimer(TObject *Sender);
void __fastcall FormCreate(TObject *Sender);
private: // User declarations
public: // User declarations
__fastcall TForm1(TComponent* Owner);
void __fastcall check_boundary(TViewport3D * ide,TLayer3D * pln);
void __fastcall create_star(TViewport3D * ide,TComponent* Owner);
void __fastcall move_object(TViewport3D * ide,TComponent* Owner,TLayer3D * pln);
void __fastcall create_target(TViewport3D * ide,TComponent* Owner);
void __fastcall create_bulet(TViewport3D * ide,TComponent* Owner,TLayer3D * pln);
void __fastcall create_shrap(TViewport3D * ide,TComponent* Owner,TCircle * clr);
unsigned int __fastcall create_color();
void __fastcall do_thread_event( );
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif