-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.cpp
811 lines (757 loc) · 20.1 KB
/
config.cpp
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
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
class CfgPatches
{
class MyAddon
{
// Meta information for editor
name = "JZ's Arty Suppory System";
author = "JinZhao";
requiredAddons[] = {};
// List of objects (CfgVehicles classes) contained in the addon. Important also for Zeus content (units and groups) unlocking.
units[] = {};
// List of weapons (CfgWeapons classes) contained in the addon.
weapons[] = {};
};
};
class CfgFunctions
{
class JZASS
{
class InititalFunction
{
class initASSCP {file = "\ArtySupportSystem_MOD\functions\fn_initASSCP.sqf";};
class closeAASCP {file = "\ArtySupportSystem_MOD\functions\fn_closeAASCP.sqf";};
class initASSCPInfoReflash {file = "\ArtySupportSystem_MOD\functions\fn_initASSCPInfoReflash.sqf";};
};
class AASFunction
{
class AASMap {file = "\ArtySupportSystem_MOD\functions\fn_AASMap.sqf";};
class AASSight {file = "\ArtySupportSystem_MOD\functions\fn_AASSight.sqf";};
};
class ExecuteFunction
{
class Request {file = "\ArtySupportSystem_MOD\functions\fn_Request.sqf";};
class CTOM {file = "\ArtySupportSystem_MOD\functions\fn_CTOM.sqf";};
};
class SupportFunction
{
class posToGrid8 {file = "\ArtySupportSystem_MOD\functions\fn_posToGrid8.sqf";};
class Grid8Topos {file = "\ArtySupportSystem_MOD\functions\fn_Grid8Topos.sqf";};
};
class modInit
{
class init{postInit = 1;file = "\ArtySupportSystem_MOD\functions\fn_init.sqf";};
};
};
};
// Generated by: "Default" call BIS_fnc_exportGUIBaseClasses;
// Control types
#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_SHORTCUTBUTTON 16
#define CT_HITZONES 17
#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 CT_LISTNBOX 102
#define CT_ITEMSLOT 103
#define CT_CHECKBOX 77
// Static styles
#define ST_POS 0x0F
#define ST_HPOS 0x03
#define ST_VPOS 0x0C
#define ST_LEFT 0x00
#define ST_RIGHT 0x01
#define ST_CENTER 0x02
#define ST_DOWN 0x04
#define ST_UP 0x08
#define ST_VCENTER 0x0C
#define ST_TYPE 0xF0
#define ST_SINGLE 0x00
#define ST_MULTI 0x10
#define ST_TITLE_BAR 0x20
#define ST_PICTURE 0x30
#define ST_FRAME 0x40
#define ST_BACKGROUND 0x50
#define ST_GROUP_BOX 0x60
#define ST_GROUP_BOX2 0x70
#define ST_HUD_BACKGROUND 0x80
#define ST_TILE_PICTURE 0x90
#define ST_WITH_RECT 0xA0
#define ST_LINE 0xB0
#define ST_UPPERCASE 0xC0
#define ST_LOWERCASE 0xD0
#define ST_SHADOW 0x100
#define ST_NO_RECT 0x200
#define ST_KEEP_ASPECT_RATIO 0x800
// Slider styles
#define SL_DIR 0x400
#define SL_VERT 0
#define SL_HORZ 0x400
#define SL_TEXTURES 0x10
// progress bar
#define ST_VERTICAL 0x01
#define ST_HORIZONTAL 0
// Listbox styles
#define LB_TEXTURES 0x10
#define LB_MULTI 0x20
// Tree styles
#define TR_SHOWROOT 1
#define TR_AUTOCOLLAPSE 2
// Default grid
#define GUI_GRID_WAbs ((safezoneW / safezoneH) min 1.2)
#define GUI_GRID_HAbs (GUI_GRID_WAbs / 1.2)
#define GUI_GRID_W (GUI_GRID_WAbs / 40)
#define GUI_GRID_H (GUI_GRID_HAbs / 25)
#define GUI_GRID_X (safezoneX)
#define GUI_GRID_Y (safezoneY + safezoneH - GUI_GRID_HAbs)
// Default text sizes
#define GUI_TEXT_SIZE_SMALL (GUI_GRID_H * 0.8)
#define GUI_TEXT_SIZE_MEDIUM (GUI_GRID_H * 1)
#define GUI_TEXT_SIZE_LARGE (GUI_GRID_H * 1.2)
// Pixel grid
#define pixelScale 0.50
#define GRID_W (pixelW * pixelGrid * pixelScale)
#define GRID_H (pixelH * pixelGrid * pixelScale)
class ASSScrollBar
{
color[] = {1,1,1,0.6};
colorActive[] = {1,1,1,1};
colorDisabled[] = {1,1,1,0.3};
thumb = "\A3\ui_f\data\gui\cfg\scrollbar\thumb_ca.paa";
arrowEmpty = "\A3\ui_f\data\gui\cfg\scrollbar\arrowEmpty_ca.paa";
arrowFull = "\A3\ui_f\data\gui\cfg\scrollbar\arrowFull_ca.paa";
border = "\A3\ui_f\data\gui\cfg\scrollbar\border_ca.paa";
shadow = 0;
scrollSpeed = 0.06;
width = 0;
height = 0;
autoScrollEnabled = 0;
autoScrollSpeed = -1;
autoScrollDelay = 5;
autoScrollRewind = 0;
};
class RscASSText
{
deletable = 0;
fade = 0;
access = 0;
type = CT_STATIC;
idc = -1;
colorBackground[] = {0,0,0,0};
colorText[] = {1,1,1,1};
text = "";
fixedWidth = 0;
x = 0;
y = 0;
h = 0.037;
w = 0.3;
style = ST_LEFT;
shadow = 1;
colorShadow[] = {0,0,0,0.5};
font = "RobotoCondensed";
SizeEx = GUI_TEXT_SIZE_MEDIUM;
linespacing = 1;
tooltipColorText[] = {1,1,1,1};
tooltipColorBox[] = {1,1,1,1};
tooltipColorShade[] = {0,0,0,0.65};
};
class RscASSButton
{
deletable = 0;
fade = 0;
access = 0;
type = CT_BUTTON;
text = "";
colorText[] = {1,1,1,1};
colorDisabled[] = {1,1,1,0.25};
colorBackground[] = {0,0,0,0.5};
colorBackgroundDisabled[] = {0,0,0,0.5};
colorBackgroundActive[] = {0,0,0,1};
colorFocused[] = {0,0,0,1};
colorShadow[] = {0,0,0,0};
colorBorder[] = {0,0,0,1};
soundEnter[] =
{
"\A3\ui_f\data\sound\RscButton\soundEnter",
0.09,
1
};
soundPush[] =
{
"\A3\ui_f\data\sound\RscButton\soundPush",
0.09,
1
};
soundClick[] =
{
"\A3\ui_f\data\sound\RscButton\soundClick",
0.09,
1
};
soundEscape[] =
{
"\A3\ui_f\data\sound\RscButton\soundEscape",
0.09,
1
};
idc = -1;
style = ST_CENTER;
x = 0;
y = 0;
w = 0.095589;
h = 0.039216;
shadow = 2;
font = "RobotoCondensed";
sizeEx = GUI_TEXT_SIZE_MEDIUM;
url = "";
offsetX = 0;
offsetY = 0;
offsetPressedX = 0;
offsetPressedY = 0;
borderSize = 0;
};
class RscASSEdit
{
deletable = 0;
fade = 0;
access = 0;
type = CT_EDIT;
x = 0;
y = 0;
h = 0.04;
w = 0.2;
colorBackground[] = {0,0,0,0};
colorText[] = {0.95,0.95,0.95,1};
colorDisabled[] = {1,1,1,0.25};
colorSelection[] =
{
"(profilenamespace getvariable ['GUI_BCG_RGB_R',0.13])",
"(profilenamespace getvariable ['GUI_BCG_RGB_G',0.54])",
"(profilenamespace getvariable ['GUI_BCG_RGB_B',0.21])",
1
};
autocomplete = "";
text = "";
size = 0.2;
style = ST_FRAME;
font = "RobotoCondensed";
shadow = 2;
sizeEx = GUI_TEXT_SIZE_MEDIUM;
canModify = 1;
tooltipColorText[] = {1,1,1,1};
tooltipColorBox[] = {1,1,1,1};
tooltipColorShade[] = {0,0,0,0.65};
};
class RscASSCombo
{
deletable = 0;
fade = 0;
access = 0;
type = CT_COMBO;
colorSelect[] = {0,0,0,1};
colorText[] = {1,1,1,1};
colorBackground[] = {0,0,0,1};
colorScrollbar[] = {1,0,0,1};
colorDisabled[] = {1,1,1,0.25};
colorPicture[] = {1,1,1,1};
colorPictureSelected[] = {1,1,1,1};
colorPictureDisabled[] = {1,1,1,0.25};
colorPictureRight[] = {1,1,1,1};
colorPictureRightSelected[] = {1,1,1,1};
colorPictureRightDisabled[] = {1,1,1,0.25};
colorTextRight[] = {1,1,1,1};
colorSelectRight[] = {0,0,0,1};
colorSelect2Right[] = {0,0,0,1};
tooltipColorText[] = {1,1,1,1};
tooltipColorBox[] = {1,1,1,1};
tooltipColorShade[] = {0,0,0,0.65};
soundSelect[] =
{
"\A3\ui_f\data\sound\RscCombo\soundSelect",
0.1,
1
};
soundExpand[] =
{
"\A3\ui_f\data\sound\RscCombo\soundExpand",
0.1,
1
};
soundCollapse[] =
{
"\A3\ui_f\data\sound\RscCombo\soundCollapse",
0.1,
1
};
maxHistoryDelay = 1;
class ComboScrollBar: ASSScrollBar
{
color[] = {1,1,1,1};
};
style = ST_MULTI + ST_NO_RECT;
font = "RobotoCondensed";
sizeEx = GUI_TEXT_SIZE_MEDIUM;
shadow = 0;
x = 0;
y = 0;
w = 0.12;
h = 0.035;
colorSelectBackground[] = {1,1,1,0.7};
arrowEmpty = "\A3\ui_f\data\GUI\RscCommon\rsccombo\arrow_combo_ca.paa";
arrowFull = "\A3\ui_f\data\GUI\RscCommon\rsccombo\arrow_combo_active_ca.paa";
wholeHeight = 0.45;
colorActive[] = {1,0,0,1};
};
class RscASSCheckBox
{
idc = -1;
type = CT_CHECKBOX;
deletable = 0;
style = ST_LEFT;
checked = 0;
font = "RobotoCondensed";
x = "0.375 * safezoneW + safezoneX";
y = "0.36 * safezoneH + safezoneY";
w = "0.025 * safezoneW";
h = "0.04 * safezoneH";
color[] = {1,1,1,0.7};
colorFocused[] = {1,1,1,1};
colorHover[] = {1,1,1,1};
colorPressed[] = {1,1,1,1};
colorDisabled[] = {1,1,1,0.2};
colorBackground[] = {0,0,0,0};
colorBackgroundFocused[] = {0,0,0,0};
colorBackgroundHover[] = {0,0,0,0};
colorBackgroundPressed[] = {0,0,0,0};
colorBackgroundDisabled[] = {0,0,0,0};
textureChecked = "A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_checked_ca.paa";
textureUnchecked = "A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_unchecked_ca.paa";
textureFocusedChecked = "A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_checked_ca.paa";
textureFocusedUnchecked = "A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_unchecked_ca.paa";
textureHoverChecked = "A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_checked_ca.paa";
textureHoverUnchecked = "A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_unchecked_ca.paa";
texturePressedChecked = "A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_checked_ca.paa";
texturePressedUnchecked = "A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_unchecked_ca.paa";
textureDisabledChecked = "A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_checked_ca.paa";
textureDisabledUnchecked = "A3\Ui_f\data\GUI\RscCommon\RscCheckBox\CheckBox_unchecked_ca.paa";
tooltipColorText[] = {1,1,1,1};
tooltipColorBox[] = {1,1,1,1};
tooltipColorShade[] = {0,0,0,0.65};
soundEnter[] =
{
"",
0.1,
1
};
soundPush[] =
{
"",
0.1,
1
};
soundClick[] =
{
"",
0.1,
1
};
soundEscape[] =
{
"",
0.1,
1
};
};
#define GUI_GRID_X (0)
#define GUI_GRID_Y (0)
#define GUI_GRID_W (0.025)
#define GUI_GRID_H (0.04)
#define GUI_GRID_WAbs (1)
#define GUI_GRID_HAbs (1)
class JZ_ASS_CommanderPanel
{
idd = 2900;
movingEnable = true ;
//onload = "[] spawn JZASS_fnc_initASSCP";
class ControlsBackground
{
class textBackground: RscASSText
{
idc = 1000;
x = 7 * GUI_GRID_W + GUI_GRID_X;
y = 1.5 * GUI_GRID_H + GUI_GRID_Y;
w = 26 * GUI_GRID_W;
h = 21.5 * GUI_GRID_H;
colorBackground[] = {-1,-1,-1,0.7};
};
class textHeader: RscASSText
{
idc = 1001;
text = "$STR_JZASS_Header"; //--- ToDo: Localize;
x = 7 * GUI_GRID_W + GUI_GRID_X;
y = 1.5 * GUI_GRID_H + GUI_GRID_Y;
w = 18 * GUI_GRID_W;
h = 1 * GUI_GRID_H;
colorBackground[] = {-1,-1,-1,0.7};
};
class textVersion: RscASSText
{
idc = 1002;
text = "$STR_JZASS_Version"; //--- ToDo: Localize;
x = 25 * GUI_GRID_W + GUI_GRID_X;
y = 1.5 * GUI_GRID_H + GUI_GRID_Y;
w = 8 * GUI_GRID_W;
h = 1 * GUI_GRID_H;
colorBackground[] = {-1,-1,-1,0.75};
};
class textBackgroundAI: RscASSText
{
idc = 1003;
x = 22 * GUI_GRID_W + GUI_GRID_X;
y = 7 * GUI_GRID_H + GUI_GRID_Y;
w = 10 * GUI_GRID_W;
h = 6 * GUI_GRID_H;
colorBackground[] = {-1,-1,-1,0.7};
};
class textAmmo: RscASSText
{
idc = 1004;
text = "$STR_JZASS_Ammo"; //--- ToDo: Localize;
x = 8 * GUI_GRID_W + GUI_GRID_X;
y = 8 * GUI_GRID_H + GUI_GRID_Y;
w = 5 * GUI_GRID_W;
h = 1 * GUI_GRID_H;
colorBackground[] = {-1,-1,-1,0.7};
};
class textRound: RscASSText
{
idc = 1005;
text = "$STR_JZASS_Round"; //--- ToDo: Localize;
x = 8 * GUI_GRID_W + GUI_GRID_X;
y = 11 * GUI_GRID_H + GUI_GRID_Y;
w = 5 * GUI_GRID_W;
h = 1 * GUI_GRID_H;
colorBackground[] = {-1,-1,-1,0.7};
};
class textNumber: RscASSText
{
idc = 1006;
text = "$STR_JZASS_ArtyNumber"; //--- ToDo: Localize;
x = 8 * GUI_GRID_W + GUI_GRID_X;
y = 13 * GUI_GRID_H + GUI_GRID_Y;
w = 5 * GUI_GRID_W;
h = 1 * GUI_GRID_H;
colorBackground[] = {-1,-1,-1,0.7};
};
class textBullet: RscASSText
{
idc = 1007;
text = "$STR_JZASS_AmmoInformation"; //--- ToDo: Localize;
x = 22 * GUI_GRID_W + GUI_GRID_X;
y = 7 * GUI_GRID_H + GUI_GRID_Y;
w = 10 * GUI_GRID_W;
h = 1 * GUI_GRID_H;
};
class textETA: RscASSText
{
idc = 1008;
text = "ETA(s)"; //--- ToDo: Localize;
x = 22 * GUI_GRID_W + GUI_GRID_X;
y = 8 * GUI_GRID_H + GUI_GRID_Y;
w = 3 * GUI_GRID_W;
h = 1 * GUI_GRID_H;
};
class textCaliber: RscASSText
{
idc = 1009;
text = "$STR_JZASS_Caliber"; //--- ToDo: Localize;
x = 22 * GUI_GRID_W + GUI_GRID_X;
y = 9 * GUI_GRID_H + GUI_GRID_Y;
w = 6 * GUI_GRID_W;
h = 1 * GUI_GRID_H;
};
class textDispersion: RscASSText
{
idc = 1010;
text = "$STR_JZASS_Dispersion"; //--- ToDo: Localize;
x = 22 * GUI_GRID_W + GUI_GRID_X;
y = 10 * GUI_GRID_H + GUI_GRID_Y;
w = 6 * GUI_GRID_W;
h = 1 * GUI_GRID_H;
};
class textTotal: RscASSText
{
idc = 1014;
text = "$STR_JZASS_TotalShells"; //--- ToDo: Localize;
x = 22 * GUI_GRID_W + GUI_GRID_X;
y = 15 * GUI_GRID_H + GUI_GRID_Y;
w = 6 * GUI_GRID_W;
h = 1 * GUI_GRID_H;
colorBackground[] = {-1,-1,-1,0.7};
};
class textChatmod: RscASSText
{
idc = 1016;
text = "$STR_JZASS_Broadcast"; //--- ToDo: Localize;
x = 8 * GUI_GRID_W + GUI_GRID_X;
y = 15 * GUI_GRID_H + GUI_GRID_Y;
w = 5 * GUI_GRID_W;
h = 1 * GUI_GRID_H;
colorBackground[] = {-1,-1,-1,0.7};
};
class textETA1: RscASSText
{
idc = 1017;
text = "$STR_JZASS_About"; //--- ToDo: Localize;
x = 25 * GUI_GRID_W + GUI_GRID_X;
y = 8 * GUI_GRID_H + GUI_GRID_Y;
w = 3 * GUI_GRID_W;
h = 1 * GUI_GRID_H;
};
class textAAS: RscASSText
{
idc = 1018;
text = "$STR_JZASS_AAS"; //--- ToDo: Localize;
x = 8 * GUI_GRID_W + GUI_GRID_X;
y = 5 * GUI_GRID_H + GUI_GRID_Y;
w = 13 * GUI_GRID_W;
h = 1 * GUI_GRID_H;
colorBackground[] = {-1,-1,-1,0.7};
};
class textRemain: RscASSText
{
idc = 1019;
text = "$STR_JZASS_RemainAmmo"; //--- ToDo: Localize;
x = 22 * GUI_GRID_W + GUI_GRID_X;
y = 12 * GUI_GRID_H + GUI_GRID_Y;
w = 6 * GUI_GRID_W;
h = 1 * GUI_GRID_H;
};
class textGrid: RscASSText
{
idc = 1020;
text = "$STR_JZASS_Grid8"; //--- ToDo: Localize;
x = 8 * GUI_GRID_W + GUI_GRID_X;
y = 4 * GUI_GRID_H + GUI_GRID_Y;
w = 5 * GUI_GRID_W;
h = 1 * GUI_GRID_H;
colorBackground[] = {-1,-1,-1,0.7};
};
class textCategory: RscASSText
{
idc = 1009;
text = "$STR_JZASS_Category"; //--- ToDo: Localize;
x = 22 * GUI_GRID_W + GUI_GRID_X;
y = 11 * GUI_GRID_H + GUI_GRID_Y;
w = 6 * GUI_GRID_W;
h = 1 * GUI_GRID_H;
};
};
class Controls
{
class buttonExit: RscASSButton
{
idc = 1600;
onButtonClick = "[] spawn JZASS_fnc_closeAASCP";
text = "$STR_JZASS_Exit"; //--- ToDo: Localize;
x = 29 * GUI_GRID_W + GUI_GRID_X;
y = 23.1 * GUI_GRID_H + GUI_GRID_Y;
w = 4 * GUI_GRID_W;
h = 1 * GUI_GRID_H;
colorBackground[] = {-1,-1,-1,0.7};
};
class buttonRequest: RscASSButton
{
idc = 1601;
onButtonClick = "[] spawn JZASS_fnc_Request";
text = "$STR_JZASS_Request"; //--- ToDo: Localize;
x = 28 * GUI_GRID_W + GUI_GRID_X;
y = 19 * GUI_GRID_H + GUI_GRID_Y;
w = 4 * GUI_GRID_W;
h = 1 * GUI_GRID_H;
};
class buttonHelp: RscASSButton
{
idc = 1606;
onButtonClick = "hint (Localize 'STR_JZASS_implemented')";
text = "$STR_JZASS_HelpAbout"; //--- ToDo: Localize;
x = 7 * GUI_GRID_W + GUI_GRID_X;
y = 23.1 * GUI_GRID_H + GUI_GRID_Y;
w = 4.5 * GUI_GRID_W;
h = 1 * GUI_GRID_H;
colorBackground[] = {-1,-1,-1,0.7};
};
class buttonAASMap: RscASSButton
{
idc = 1602;
onButtonClick = "[] spawn JZASS_fnc_AASMap";
text = "$STR_JZASS_ByMap"; //--- ToDo: Localize;
x = 8 * GUI_GRID_W + GUI_GRID_X;
y = 6 * GUI_GRID_H + GUI_GRID_Y;
w = 5 * GUI_GRID_W;
h = 1 * GUI_GRID_H;
};
class buttonAASSight: RscASSButton
{
idc = 1603;
onButtonClick = "[] spawn JZASS_fnc_AASSight";
text = "$STR_JZASS_BySight"; //--- ToDo: Localize;
x = 16 * GUI_GRID_W + GUI_GRID_X;
y = 6 * GUI_GRID_H + GUI_GRID_Y;
w = 5 * GUI_GRID_W;
h = 1 * GUI_GRID_H;
};
class buttonCTOM: RscASSButton
{
idc = 1604;
onButtonClick = "[] spawn JZASS_fnc_CTOM";
text = "$STR_JZASS_CTOM"; //--- ToDo: Localize;
x = 22 * GUI_GRID_W + GUI_GRID_X;
y = 16 * GUI_GRID_H + GUI_GRID_Y;
w = 10 * GUI_GRID_W;
h = 1 * GUI_GRID_H;
};
class buttonRefresh: RscASSButton
{
idc = 1605;
onButtonClick = "[]spawn JZASS_fnc_initASSCPInfoReflash";
text = "$STR_JZASS_Refresh"; //--- ToDo: Localize;
x = 28 * GUI_GRID_W + GUI_GRID_X;
y = 17 * GUI_GRID_H + GUI_GRID_Y;
w = 4 * GUI_GRID_W;
h = 1 * GUI_GRID_H;
};
class inputGrid8: RscASSEdit
{
idc = 1700;
text = "12345678"; //--- ToDo: Localize;
x = 14.5 * GUI_GRID_W + GUI_GRID_X;
y = 4 * GUI_GRID_H + GUI_GRID_Y;
w = 6.5 * GUI_GRID_W;
h = 1 * GUI_GRID_H;
colorBackground[] = {-1,-1,-1,0.7};
};
class checkboxChatmod: RscASSCheckBox
{
idc = 1701;
onCheckedChanged = "[]spawn JZASS_fnc_initASSCPInfoReflash";
x = 14.5 * GUI_GRID_W + GUI_GRID_X;
y = 15 * GUI_GRID_H + GUI_GRID_Y;
w = 1 * GUI_GRID_W;
h = 1 * GUI_GRID_H;
colorBackground[] = {-1,-1,-1,0.7};
};
class inputAmmo: RscASSCombo
{
idc = 1702;
onLBSelChanged = "[]spawn JZASS_fnc_initASSCPInfoReflash";
x = 8 * GUI_GRID_W + GUI_GRID_X;
y = 9 * GUI_GRID_H + GUI_GRID_Y;
w = 13 * GUI_GRID_W;
h = 1 * GUI_GRID_H;
colorBackground[] = {-1,-1,-1,0.7};
};
class inputRound: RscASSEdit
{
idc = 1703;
onKillFocus = "[]spawn JZASS_fnc_initASSCPInfoReflash";
text = "4"; //--- ToDo: Localize;
x = 14.5 * GUI_GRID_W + GUI_GRID_X;
y = 11 * GUI_GRID_H + GUI_GRID_Y;
w = 6.5 * GUI_GRID_W;
h = 1 * GUI_GRID_H;
colorBackground[] = {-1,-1,-1,0.7};
};
class inputNumber: RscASSEdit
{
idc = 1704;
onKillFocus = "[]spawn JZASS_fnc_initASSCPInfoReflash";
text = "1"; //--- ToDo: Localize;
x = 14.5 * GUI_GRID_W + GUI_GRID_X;
y = 13 * GUI_GRID_H + GUI_GRID_Y;
w = 6.5 * GUI_GRID_W;
h = 1 * GUI_GRID_H;
colorBackground[] = {-1,-1,-1,0.7};
};
class infoETA: RscASSText
{
idc = 1900;
text = "40"; //--- ToDo: Localize;
x = 28 * GUI_GRID_W + GUI_GRID_X;
y = 8 * GUI_GRID_H + GUI_GRID_Y;
w = 4 * GUI_GRID_W;
h = 1 * GUI_GRID_H;
};
class infoCaliber: RscASSText
{
idc = 1901;
text = "152"; //--- ToDo: Localize;
x = 28 * GUI_GRID_W + GUI_GRID_X;
y = 9 * GUI_GRID_H + GUI_GRID_Y;
w = 4 * GUI_GRID_W;
h = 1 * GUI_GRID_H;
};
class infoDispersion: RscASSText
{
idc = 1902;
text = "50"; //--- ToDo: Localize;
x = 28 * GUI_GRID_W + GUI_GRID_X;
y = 10 * GUI_GRID_H + GUI_GRID_Y;
w = 4 * GUI_GRID_W;
h = 1 * GUI_GRID_H;
};
class infoTotal: RscASSText
{
idc = 1903;
text = "4"; //--- ToDo: Localize;
x = 28 * GUI_GRID_W + GUI_GRID_X;
y = 15 * GUI_GRID_H + GUI_GRID_Y;
w = 4 * GUI_GRID_W;
h = 1 * GUI_GRID_H;
colorBackground[] = {-1,-1,-1,0.7};
};
class infoRemain: RscASSText
{
idc = 1904;
text = "70"; //--- ToDo: Localize;
x = 28 * GUI_GRID_W + GUI_GRID_X;
y = 12 * GUI_GRID_H + GUI_GRID_Y;
w = 4 * GUI_GRID_W;
h = 1 * GUI_GRID_H;
};
class infoCategory: RscASSText
{
idc = 1905;
text = "Smoke"; //--- ToDo: Localize;
x = 28 * GUI_GRID_W + GUI_GRID_X;
y = 11 * GUI_GRID_H + GUI_GRID_Y;
w = 4 * GUI_GRID_W;
h = 1 * GUI_GRID_H;
};
};
};