This repository has been archived by the owner on Jul 5, 2021. It is now read-only.
forked from duke12468/Carat-Hack
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Home.h
198 lines (182 loc) · 8.05 KB
/
Home.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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
#pragma once
#include "includes.h"
namespace Home {
using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data;
using namespace System::Drawing;
/// <summary>
/// Summary for Home
/// </summary>
public ref class Home : public System::Windows::Forms::Form
{
public:
Home(void)
{
InitializeComponent();
//
//TODO: Add the constructor code here
//
}
protected:
/// <summary>
/// Clean up any resources being used.
/// </summary>
~Home()
{
if (components)
{
delete components;
}
}
private: System::Windows::Forms::Button^ carat_hack_button;
protected:
private: System::Windows::Forms::Button^ disable_hacks_button;
private: System::Windows::Forms::LinkLabel^ home_label;
private: System::Windows::Forms::DateTimePicker^ dateTimePicker1;
private: System::Windows::Forms::Button^ exp_hack_button;
private: System::Windows::Forms::Button^ bonus_present_hack_button;
private: System::Windows::Forms::PictureBox^ pictureBox1;
private: System::Windows::Forms::CheckBox^ speed_checkbox;
private:
/// <summary>
/// Required designer variable.
/// </summary>
System::ComponentModel::Container ^components;
#pragma region Windows Form Designer generated code
/// <summary>
/// Required method for Designer support - do not modify
/// the contents of this method with the code editor.
/// </summary>
void InitializeComponent(void)
{
this->carat_hack_button = (gcnew System::Windows::Forms::Button());
this->disable_hacks_button = (gcnew System::Windows::Forms::Button());
this->home_label = (gcnew System::Windows::Forms::LinkLabel());
this->dateTimePicker1 = (gcnew System::Windows::Forms::DateTimePicker());
this->exp_hack_button = (gcnew System::Windows::Forms::Button());
this->bonus_present_hack_button = (gcnew System::Windows::Forms::Button());
this->pictureBox1 = (gcnew System::Windows::Forms::PictureBox());
this->speed_checkbox = (gcnew System::Windows::Forms::CheckBox());
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->pictureBox1))->BeginInit();
this->SuspendLayout();
//
// carat_hack_button
//
this->carat_hack_button->Location = System::Drawing::Point(12, 12);
this->carat_hack_button->Name = L"carat_hack_button";
this->carat_hack_button->Size = System::Drawing::Size(47, 23);
this->carat_hack_button->TabIndex = 0;
this->carat_hack_button->Text = L"Carat";
this->carat_hack_button->UseVisualStyleBackColor = true;
this->carat_hack_button->Click += gcnew System::EventHandler(this, &Home::carat_hack_button_Click);
//
// disable_hacks_button
//
this->disable_hacks_button->Location = System::Drawing::Point(12, 12);
this->disable_hacks_button->Name = L"disable_hacks_button";
this->disable_hacks_button->Size = System::Drawing::Size(160, 23);
this->disable_hacks_button->TabIndex = 1;
this->disable_hacks_button->Text = L"Disable";
this->disable_hacks_button->UseVisualStyleBackColor = true;
this->disable_hacks_button->Click += gcnew System::EventHandler(this, &Home::disable_hacks_button_Click);
//
// home_label
//
this->home_label->AutoSize = true;
this->home_label->Location = System::Drawing::Point(56, 61);
this->home_label->Name = L"home_label";
this->home_label->Size = System::Drawing::Size(69, 13);
this->home_label->TabIndex = 3;
this->home_label->TabStop = true;
this->home_label->Text = L"Source Code";
this->home_label->LinkClicked += gcnew System::Windows::Forms::LinkLabelLinkClickedEventHandler(this, &Home::home_label_LinkClicked);
//
// dateTimePicker1
//
this->dateTimePicker1->Location = System::Drawing::Point(178, 67);
this->dateTimePicker1->Name = L"dateTimePicker1";
this->dateTimePicker1->Size = System::Drawing::Size(200, 20);
this->dateTimePicker1->TabIndex = 6;
this->dateTimePicker1->Visible = false;
//
// exp_hack_button
//
this->exp_hack_button->Location = System::Drawing::Point(124, 12);
this->exp_hack_button->Margin = System::Windows::Forms::Padding(2, 3, 2, 3);
this->exp_hack_button->Name = L"exp_hack_button";
this->exp_hack_button->Size = System::Drawing::Size(46, 23);
this->exp_hack_button->TabIndex = 11;
this->exp_hack_button->Text = L"Exp";
this->exp_hack_button->UseVisualStyleBackColor = true;
this->exp_hack_button->Click += gcnew System::EventHandler(this, &Home::exp_hack_button_Click);
//
// bonus_present_hack_button
//
this->bonus_present_hack_button->Location = System::Drawing::Point(64, 12);
this->bonus_present_hack_button->Margin = System::Windows::Forms::Padding(2, 3, 2, 3);
this->bonus_present_hack_button->Name = L"bonus_present_hack_button";
this->bonus_present_hack_button->Size = System::Drawing::Size(56, 23);
this->bonus_present_hack_button->TabIndex = 10;
this->bonus_present_hack_button->Text = L"Bonus";
this->bonus_present_hack_button->UseVisualStyleBackColor = true;
this->bonus_present_hack_button->Click += gcnew System::EventHandler(this, &Home::bonus_present_hack_button_Click);
//
// pictureBox1
//
this->pictureBox1->Location = System::Drawing::Point(12, 12);
this->pictureBox1->Name = L"pictureBox1";
this->pictureBox1->Size = System::Drawing::Size(160, 59);
this->pictureBox1->TabIndex = 13;
this->pictureBox1->TabStop = false;
//
// speed_checkbox
//
this->speed_checkbox->AutoSize = true;
this->speed_checkbox->Location = System::Drawing::Point(45, 41);
this->speed_checkbox->Name = L"speed_checkbox";
this->speed_checkbox->Size = System::Drawing::Size(86, 17);
this->speed_checkbox->TabIndex = 14;
this->speed_checkbox->Text = L"Speed Hack";
this->speed_checkbox->UseVisualStyleBackColor = true;
this->speed_checkbox->CheckedChanged += gcnew System::EventHandler(this, &Home::speed_checkbox_CheckedChanged);
//
// Home
//
this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
this->ClientSize = System::Drawing::Size(184, 83);
this->Controls->Add(this->speed_checkbox);
this->Controls->Add(this->exp_hack_button);
this->Controls->Add(this->bonus_present_hack_button);
this->Controls->Add(this->dateTimePicker1);
this->Controls->Add(this->home_label);
this->Controls->Add(this->carat_hack_button);
this->Controls->Add(this->pictureBox1);
this->Controls->Add(this->disable_hacks_button);
this->MaximizeBox = false;
this->MinimizeBox = false;
this->Name = L"Home";
this->ShowIcon = false;
this->Text = L"Duke\'s Carat Hack";
this->Load += gcnew System::EventHandler(this, &Home::Home_Load);
(cli::safe_cast<System::ComponentModel::ISupportInitialize^>(this->pictureBox1))->EndInit();
this->ResumeLayout(false);
this->PerformLayout();
}
#pragma endregion
private: unsigned long carat_address;
private: unsigned long exp_address;
private: unsigned long speed_prec_address;
private: unsigned long speed_reg_address;
private: System::Void Home_Load(System::Object^ sender, System::EventArgs^ e);
private: System::Void carat_hack_button_Click(System::Object^ sender, System::EventArgs^ e);
private: System::Void disable_hacks_button_Click(System::Object^ sender, System::EventArgs^ e);
private: System::Void bonus_present_hack_button_Click(System::Object^ sender, System::EventArgs^ e);
private: System::Void exp_hack_button_Click(System::Object^ sender, System::EventArgs^ e);
private: System::Void speed_checkbox_CheckedChanged(System::Object^ sender, System::EventArgs^ e);
private: System::Void home_label_LinkClicked(System::Object^ sender, System::Windows::Forms::LinkLabelLinkClickedEventArgs^ e);
};
}