-
Notifications
You must be signed in to change notification settings - Fork 0
/
Unit1.h
117 lines (116 loc) · 4.38 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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
//---------------------------------------------------------------------------
#ifndef Unit1H
#define Unit1H
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include <ExtCtrls.hpp>
#include <jpeg.hpp>
//---------------------------------------------------------------------------
class TForm1 : public TForm
{
__published: // IDE-managed Components
TLabel *titleScreenName;
TButton *playButton;
TButton *howToPlayButton;
TButton *exitButton;
TPanel *sealandHappinessBar;
TTimer *statsTimer;
TTimer *gameTimer;
TImage *sealand;
TLabel *Label1;
TLabel *Label2;
TLabel *Label3;
TLabel *sealandHappinessBarLabel;
TButton *tryAgainButton;
TLabel *sealandDeath;
TLabel *sealandDeathCause;
TButton *workButton;
TPanel *ground;
TPanel *treeLog1;
TPanel *treeLog2;
TPanel *treeLeave1;
TPanel *treeLeave2;
TPanel *treeLeave3;
TPanel *treeLeave6;
TPanel *treeLeave5;
TPanel *treeLeave4;
TPanel *sealandHungerBar;
TLabel *sealandHungerBarLabel;
TButton *shopButton;
TLabel *statsLabel;
TButton *buyWineHQButton;
TButton *buyPierogiButton;
TButton *buyItalianPizzaButton;
TButton *buyBaguetteButton;
TButton *buyFrenchFriesButton;
TButton *buySMG4PlushieButton;
TButton *buyPolishFlagButton;
TButton *buyFrenchFlagButton;
TLabel *WineHQPrice;
TLabel *italianPizzaPrice;
TLabel *frenchFlagPrice;
TLabel *SMG4PlushiePrice;
TLabel *pierogiPrice;
TLabel *baguettePrice;
TLabel *polishFlagPrice;
TLabel *frenchFriesPrice;
TListBox *itemsBox;
TLabel *itemsLabel;
TButton *useItem;
TImage *frenchFlag;
TImage *polishFlag;
TImage *window;
TImage *SMG4Plushie;
TButton *goBackButton;
TMemo *howToPlay;
TRadioButton *useOnSealand;
TRadioButton *useOnBeniu;
TRadioButton *useOnStonkFish;
TImage *beniu;
TImage *stonkFish;
TLabel *beniuHappinessBarLabel;
TLabel *beniuHungerBarLabel;
TPanel *beniuHappinessBar;
TPanel *beniuHungerBar;
TLabel *stonkFishHappinessBarLabel;
TLabel *stonkFishHungerBarLabel;
TPanel *stonkFishHappinessBar;
TPanel *stonkFishHungerBar;
void __fastcall exitButtonClick(TObject *Sender);
void __fastcall playButtonClick(TObject *Sender);
void __fastcall gameTimerTimer(TObject *Sender);
void __fastcall sealandClick(TObject *Sender);
void __fastcall statsTimerTimer(TObject *Sender);
void __fastcall workButtonClick(TObject *Sender);
void __fastcall shopButtonClick(TObject *Sender);
void __fastcall buyWineHQButtonClick(TObject *Sender);
void __fastcall buyItalianPizzaButtonClick(TObject *Sender);
void __fastcall buyFrenchFlagButtonClick(TObject *Sender);
void __fastcall buySMG4PlushieButtonClick(TObject *Sender);
void __fastcall buyPierogiButtonClick(TObject *Sender);
void __fastcall buyBaguetteButtonClick(TObject *Sender);
void __fastcall buyPolishFlagButtonClick(TObject *Sender);
void __fastcall buyFrenchFriesButtonClick(TObject *Sender);
void __fastcall useItemClick(TObject *Sender);
void __fastcall howToPlayButtonClick(TObject *Sender);
void __fastcall goBackButtonClick(TObject *Sender);
void __fastcall useOnSealandClick(TObject *Sender);
void __fastcall useOnBeniuClick(TObject *Sender);
void __fastcall useOnStonkFishClick(TObject *Sender);
void __fastcall itemsBoxKeyDown(TObject *Sender, WORD &Key,
TShiftState Shift);
void __fastcall stonkFishClick(TObject *Sender);
void __fastcall beniuClick(TObject *Sender);
void __fastcall FormKeyUp(TObject *Sender, WORD &Key,
TShiftState Shift);
private: // User declarations
public: // User declarations
__fastcall TForm1(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TForm1 *Form1;
//---------------------------------------------------------------------------
#endif