-
Notifications
You must be signed in to change notification settings - Fork 4
/
RscDefines.hpp
277 lines (244 loc) · 5.57 KB
/
RscDefines.hpp
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
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
#define FontM "Zeppelin32"
#define FontHTML "Zeppelin32"
#define CT_STATIC 0
#define CT_BUTTON 1
#define CT_EDIT 2
#define CT_SLIDER 3
#define CT_COMBO 4
#define CT_LISTBOX 5
#define CT_TOOLBOX 6
#define CT_CHECKBOXES 7
#define CT_PROGRESS 8
#define CT_HTML 9
#define CT_STATIC_SKEW 10
#define CT_ACTIVETEXT 11
#define CT_TREE 12
#define CT_STRUCTURED_TEXT 13
#define CT_CONTEXT_MENU 14
#define CT_CONTROLS_GROUP 15
#define CT_XKEYDESC 40
#define CT_XBUTTON 41
#define CT_XLISTBOX 42
#define CT_XSLIDER 43
#define CT_XCOMBO 44
#define CT_ANIMATED_TEXTURE 45
#define CT_OBJECT 80
#define CT_OBJECT_ZOOM 81
#define CT_OBJECT_CONTAINER 82
#define CT_OBJECT_CONT_ANIM 83
#define CT_LINEBREAK 98
#define CT_USER 99
#define CT_MAP 100
#define CT_MAP_MAIN 101
#define ST_LEFT 0
#define ST_RIGHT 1
#define ST_CENTER 2
#define ST_MULTI 16
#define ST_PICTURE 48
#define ST_FRAME 64
#define ST_SHADOW 256
#define ST_NO_RECT 512
class RscText {
type = CT_STATIC;
idc = -1;
style = ST_LEFT;
colorBackground[] = {0, 0, 0, 0};
colorText[] = {1, 1, 1, 1};
font = FontM;
sizeEx = 0.02;
text = "";
};
class RscBgRahmen {
type = CT_STATIC;
idc = -1;
style = ST_FRAME;
colorBackground[] = {1.0, 1.0, 1.0, 0.75};
colorText[] = {1, 1, 1, 1};
font = FontM;
SizeEX = 0.025;
text = "";
};
class RscBackground
{
colorBackground[] = {0.14, 0.18, 0.13, 0.8};
text = "";
type = CT_STATIC;
idc = -1;
style = ST_LEFT;
colorText[] = {1, 1, 1, 1};
font = FontM;
sizeEx = 0.04;
};
class RscPicture
{
type = CT_STATIC;
idc = -1;
style = ST_PICTURE;
colorBackground[] = {0, 0, 0, 0};
colorText[] = {1, 1, 1, 1};
font = FontM;
sizeEx = 0.02;
text = "";
};
class RscBackgroundPicture
{
type = CT_STATIC;
idc = -1;
style = ST_PICTURE;
colorBackground[] = {0, 0, 0, 0};
colorText[] = {1, 1, 1, 1};
font = FontM;
sizeEx = 0.02;
text = "dbg.pac";
};
class RscButton
{
type = CT_BUTTON;
idc = -1;
style = ST_CENTER;
colorText[] = {1, 1, 1, 1};
font = FontHTML;
sizeEx = 0.025;
soundPush[] = {"", 0.2, 1};
soundClick[] = {"", 0.2, 1};
soundEscape[] = {"", 0.2, 1};
default = false;
text = "";
action = "";
colorActive[] = {0, 0, 0, 0};
colorDisabled[] = {0, 0, 0, 0.1};
colorBackground[] = {0.8,0.8,0.8,0.3};
colorBackgroundActive[] = {0.7,0.7,0.7,1};
colorBackgroundDisabled[] = {1,1,1,0.5};
colorFocused[] = {0.84,1,0.55,1};
colorShadow[] = {0, 0, 0, 0.1};
colorBorder[] = {1, 1, 1, 0.1};
offsetX = 0;
offsetY = 0;
offsetPressedX = 0;
offsetPressedY = 0;
borderSize = 0;
soundEnter[] = {"", 0.15, 1};
};
class RscDummy : RscButton
{
x = -1.0;
y = -1.0;
idc = -1;
w = 0.01;
h = 0.01;
default = true;
};
class RscEdit
{
type = CT_EDIT;
idc = -1;
style = ST_LEFT;
font = FontHTML;
sizeEx = 0.02;
colorText[] = {1, 1, 1, 1};
colorSelection[] = {0.5, 0.5, 0.5, 1};
autocomplete = false;text = "";
};
class RscLB_C
{
style = ST_LEFT;
idc = -1;
colorSelect[] = {0, 0, 0, 1.0};
colorSelectBackground[] = {0.7, 0.7, 0.7, 1};
colorText[] = {1, 1, 1, 1};
colorBackground[] = {0.8, 0.8, 0.8, 0.3};
colorScrollbar[] = {Dlg_Color_White,1};
font = FontHTML;
sizeEx = 0.025;
rowHeight = 0.04;
period = 1.200000;
maxHistoryDelay = 1.000000;
autoScrollSpeed = -1;
autoScrollDelay = 5;
autoScrollRewind = 0;
class ScrollBar {};
};
class RscListBox: RscLB_C {
soundSelect[] = {"", 0.1, 1};
type = CT_LISTBOX;
};
class RscCombo: RscLB_C {
type = CT_COMBO;
wholeHeight = 0.3;
soundSelect[] = {"", 0.15, 1};
soundExpand[] = {"", 0.15, 1};
soundCollapse[] = {"", 0.15, 1};
arrowEmpty = "\ca\ui\data\ui_arrow_combo_ca.paa";
arrowFull = "\ca\ui\data\ui_arrow_combo_active_ca.paa";
};
class RscSliderH {
access = ReadandWrite;
type = CT_SLIDER;
idc = -1;
sizeEx = 0.025;
style = 1024;
color[] = {0.2, 0.2, 0.2, 1};
colorActive[] = {1, 1, 1, 1};
};
class RscSliderV {
access = ReadandWrite;
type = CT_SLIDER;
idc = -1;
sizeEx = 0.025;
style = 0;
color[] = {0.2, 0.2, 0.2, 1};
colorActive[] = {1, 1, 1, 1};
};
class RscFrame {
type = 0;
idc = -1;
style = 64;
shadow = 2;
colorBackground[] = {0,0,0,0};
colorText[] = {1,1,1,1};
font = "Zeppelin32";
sizeEx = 0.02;
text = "";
};
class RscStructuredTitleText {
access = 0;
type = 13;
idc = -1;
style = 0;
colorText[] = {0.8784,0.8471,0.651,1};
class Attributes
{
font = "Zeppelin32";
color = "#e0d8a6";
align = "center";
shadow = 1;
};
x = 0;
y = 0;
h = 0.035;
w = 0.1;
size = 0.03921;
text = "";
shadow = 2;
};
class RscStructuredText {
access = 0;
type = 13;
idc = -1;
style = 0;
class Attributes
{
font = "Zeppelin32";
color = "#FFFFFF";
align = "center";
shadow = 1;
};
x = 0;
y = 0;
h = 0.035;
w = 0.1;
size = 0.025;
text = "";
shadow = 2;
};