Skip to content
This repository was archived by the owner on Jan 5, 2024. It is now read-only.

Commit dbd8430

Browse files
authored
Merge pull request #56 from cortex-command-community/Resolution-Settings
Resolution Settings
2 parents 4aa1388 + 77bf471 commit dbd8430

File tree

5 files changed

+169
-64
lines changed

5 files changed

+169
-64
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ luac.out
4646
*.manifest
4747

4848
.vs/
49+
_Screenshots/
4950
Base.rte/Settings.ini
5051
Benchmark.rte/
5152
Scenes.rte/

Base.rte/GUIs/MainMenuGUI.ini

Lines changed: 154 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -13,28 +13,14 @@ DrawBackground = False
1313
DrawType = Color
1414
DrawColor = 8
1515

16-
/*
17-
[LabelDebug]
18-
ControlType = LABEL
19-
Parent = root
20-
X = 0
21-
Y = 40
22-
Width = 256
23-
Height = 10
24-
Visible = True
25-
Enabled = True
26-
Name = LabelDebug
27-
Anchor = Left, Top
28-
Text = Debug
29-
HAlignment = centre
30-
VAlignment = middle
31-
*/
16+
///////////////////////////////////////////////////////////////////////
17+
// Main Screen
3218

3319
[MainScreen]
3420
ControlType = COLLECTIONBOX
3521
Parent = root
3622
X = 256
37-
Y = 120
23+
Y = 140
3824
Width = 128
3925
Height = 172
4026
Visible = True
@@ -162,11 +148,14 @@ Name = ButtonResume
162148
Anchor = Left, Top
163149
Text = Resume Game
164150

151+
///////////////////////////////////////////////////////////////////////
152+
// Players Screen
153+
165154
[PlayersScreen]
166155
ControlType = COLLECTIONBOX
167156
Parent = root
168157
X = 256
169-
Y = 132
158+
Y = 140
170159
Width = 128
171160
Height = 124
172161
Visible = True
@@ -259,6 +248,9 @@ Name = ButtonFourPlayers
259248
Anchor = Left, Top
260249
Text = Four
261250

251+
///////////////////////////////////////////////////////////////////////
252+
// Scenario Screen
253+
262254
[SkirmishScreen]
263255
ControlType = COLLECTIONBOX
264256
Parent = root
@@ -570,11 +562,14 @@ Name = ButtonStartDeath
570562
Anchor = Left, Top
571563
Text = Death
572564

565+
///////////////////////////////////////////////////////////////////////
566+
// Options Screen
567+
573568
[OptionsScreen]
574569
ControlType = COLLECTIONBOX
575570
Parent = root
576571
X = 80
577-
Y = 114
572+
Y = 140
578573
Width = 480
579574
Height = 246
580575
Visible = True
@@ -588,20 +583,35 @@ DrawColor = 62
588583
[ButtonFullscreen]
589584
ControlType = BUTTON
590585
Parent = OptionsScreen
591-
X = 16
592-
Y = 18
593-
Width = 100
594-
Height = 28
586+
X = 12
587+
Y = 34
588+
Width = 66
589+
Height = 18
595590
Visible = True
596591
Enabled = True
597592
Name = ButtonFullscreen
598593
Anchor = Left, Top
599-
Text = Go Fullscreen
594+
ToolTip =
595+
Text = Fullscreen
596+
597+
[ButtonUpscaledFullscreen]
598+
ControlType = BUTTON
599+
Parent = OptionsScreen
600+
X = 82
601+
Y = 34
602+
Width = 120
603+
Height = 18
604+
Visible = True
605+
Enabled = True
606+
Name = ButtonUpscaledFullscreen
607+
Anchor = Left, Top
608+
ToolTip =
609+
Text = Upscaled Fullscreen
600610

601611
[LabelResolution]
602612
ControlType = LABEL
603613
Parent = OptionsScreen
604-
X = 136
614+
X = 14
605615
Y = 18
606616
Width = 100
607617
Height = 10
@@ -613,33 +623,18 @@ Text = Fit Display Size:
613623
HAlignment = left
614624
VAlignment = middle
615625

616-
[LabelResolutionNotice]
617-
ControlType = LABEL
618-
Parent = OptionsScreen
619-
X = 12
620-
Y = 152
621-
Width = 456
622-
Height = 28
623-
Visible = True
624-
Enabled = True
625-
Name = LabelResolutionNotice
626-
Anchor = Left, Top
627-
Text = Resolution Change Requires Restart!
628-
HAlignment = centre
629-
VAlignment = middle
630-
631626
[ComboResolution]
632627
ControlType = COMBOBOX
633628
Parent = OptionsScreen
634-
X = 128
635-
Y = 30
636-
Width = 108
629+
X = 98
630+
Y = 15
631+
Width = 138
637632
Height = 16
638633
Visible = True
639634
Enabled = True
640635
Name = ComboResolution
641636
Anchor = Left, Top
642-
DropHeight = 66
637+
DropHeight = 132
643638
DropDownStyle = DropDownList
644639

645640
[LabelSoundVolume]
@@ -865,7 +860,6 @@ ToolTip =
865860
Checked = Checked
866861
Text = O
867862

868-
869863
[BoxP2Controls]
870864
ControlType = COLLECTIONBOX
871865
Parent = OptionsScreen
@@ -1433,11 +1427,107 @@ ToolTip = If disabled may greatly improve performance at a cost of slightly more
14331427
Checked = Checked
14341428
Text = Precise collisions. Disable to improve performance at a cost of less accurate collisions
14351429

1430+
///////////////////////////////////////////////////////////////////////
1431+
// Resolution Change Dialog
1432+
1433+
[ResolutionChangeDialog]
1434+
ControlType = COLLECTIONBOX
1435+
Parent = root
1436+
X = 163
1437+
Y = 0
1438+
Width = 155
1439+
Height = 86
1440+
Visible = False
1441+
Enabled = True
1442+
Name = ResolutionChangeDialog
1443+
Anchor = Left, Top
1444+
ToolTip =
1445+
DrawBackground = True
1446+
DrawType = Image
1447+
DrawColor = 62
1448+
1449+
[LabelResolutionChangeNotice]
1450+
ControlType = LABEL
1451+
Parent = ResolutionChangeDialog
1452+
X = 0
1453+
Y = 5
1454+
Width = 155
1455+
Height = 30
1456+
Visible = True
1457+
Enabled = True
1458+
Name = LabelResolutionChangeNotice
1459+
Anchor = Left, Top
1460+
ToolTip =
1461+
Text = Resolution change during an Activity requires ending it.
1462+
HAlignment = centre
1463+
VAlignment = top
1464+
1465+
[LabelResolutionChangeProceed]
1466+
ControlType = LABEL
1467+
Parent = ResolutionChangeDialog
1468+
X = 0
1469+
Y = 40
1470+
Width = 155
1471+
Height = 15
1472+
Visible = True
1473+
Enabled = True
1474+
Name = LabelResolutionChangeProceed
1475+
Anchor = Left, Top
1476+
ToolTip =
1477+
Text = Do you want to proceed?
1478+
HAlignment = centre
1479+
VAlignment = top
1480+
1481+
[ButtonConfirmResolutionChangeFullscreen]
1482+
ControlType = BUTTON
1483+
Parent = ResolutionChangeDialog
1484+
X = 5
1485+
Y = 60
1486+
Width = 70
1487+
Height = 20
1488+
Visible = False
1489+
Enabled = True
1490+
Name = ButtonConfirmResolutionChangeFullscreen
1491+
Anchor = Left, Top
1492+
ToolTip =
1493+
Text = OK
1494+
1495+
[ButtonConfirmResolutionChange]
1496+
ControlType = BUTTON
1497+
Parent = ResolutionChangeDialog
1498+
X = 5
1499+
Y = 60
1500+
Width = 70
1501+
Height = 20
1502+
Visible = False
1503+
Enabled = True
1504+
Name = ButtonConfirmResolutionChange
1505+
Anchor = Left, Top
1506+
ToolTip =
1507+
Text = OK
1508+
1509+
[ButtonCancelResolutionChange]
1510+
ControlType = BUTTON
1511+
Parent = ResolutionChangeDialog
1512+
X = 80
1513+
Y = 60
1514+
Width = 70
1515+
Height = 20
1516+
Visible = True
1517+
Enabled = True
1518+
Name = ButtonCancelResolutionChange
1519+
Anchor = Left, Top
1520+
ToolTip =
1521+
Text = Cancel
1522+
1523+
///////////////////////////////////////////////////////////////////////
1524+
// Control Config Screen
1525+
14361526
[ConfigScreen]
14371527
ControlType = COLLECTIONBOX
14381528
Parent = root
14391529
X = 124
1440-
Y = 124
1530+
Y = 140
14411531
Width = 392
14421532
Height = 186
14431533
Visible = True
@@ -1723,11 +1813,14 @@ Name = ButtonConfigXBox360Type
17231813
Anchor = Left, Top
17241814
Text = 360 Preset
17251815

1816+
///////////////////////////////////////////////////////////////////////
1817+
// Editor Screen
1818+
17261819
[EditorScreen]
17271820
ControlType = COLLECTIONBOX
17281821
Parent = root
17291822
X = 256
1730-
Y = 132
1823+
Y = 140
17311824
Width = 128
17321825
Height = 148
17331826
Visible = True
@@ -1818,13 +1911,16 @@ Name = ButtonActorEditor
18181911
Anchor = Left, Top
18191912
Text = Actor Viewer
18201913

1914+
///////////////////////////////////////////////////////////////////////
1915+
// Credits Screen
1916+
18211917
[CreditsScreen]
18221918
ControlType = COLLECTIONBOX
18231919
Parent = root
18241920
X = 20
18251921
Y = 132
18261922
Width = 600
1827-
Height = 132
1923+
Height = 280
18281924
Visible = True
18291925
Enabled = True
18301926
Name = CreditsScreen
@@ -1876,11 +1972,14 @@ Name = ButtonBackToMain
18761972
Anchor = Left, Top
18771973
Text = Back to Main Menu
18781974

1975+
///////////////////////////////////////////////////////////////////////
1976+
// MetaGame Screen
1977+
18791978
[MetaScreen]
18801979
ControlType = COLLECTIONBOX
18811980
Parent = root
18821981
X = 20
1883-
Y = 132
1982+
Y = 140
18841983
Width = 600
18851984
Height = 132
18861985
Visible = True
@@ -1895,7 +1994,7 @@ DrawColor = 62
18951994
ControlType = LABEL
18961995
Parent = MetaScreen
18971996
X = 0
1898-
Y = 8
1997+
Y = 0
18991998
Width = 600
19001999
Height = 300
19012000
Visible = True
@@ -1910,7 +2009,7 @@ VAlignment = top
19102009
ControlType = BUTTON
19112010
Parent = root
19122011
X = 260
1913-
Y = 256
2012+
Y = 255
19142013
Width = 120
19152014
Height = 20
19162015
Visible = True
@@ -2001,11 +2100,14 @@ Name = QuitCancelButton
20012100
Anchor = Bottom, Right
20022101
Text = Cancel
20032102

2103+
///////////////////////////////////////////////////////////////////////
2104+
// Mod Manager Screen
2105+
20042106
[ModManagerScreen]
20052107
ControlType = COLLECTIONBOX
20062108
Parent = root
20072109
X = 105
2008-
Y = 15
2110+
Y = 140
20092111
Width = 430
20102112
Height = 330
20112113
Visible = True
@@ -2017,7 +2119,6 @@ DrawBackground = True
20172119
DrawType = Image
20182120
DrawColor = 62
20192121

2020-
20212122
[LabelModManager]
20222123
ControlType = LABEL
20232124
Parent = ModManagerScreen
-719 Bytes
Binary file not shown.
-60.9 KB
Binary file not shown.

0 commit comments

Comments
 (0)