first commit

This commit is contained in:
Leonid Pershin
2026-08-10 20:39:06 +03:00
commit f16f60445c
281 changed files with 43576 additions and 0 deletions
+212
View File
@@ -0,0 +1,212 @@
[gd_scene format=3 uid="uid://o1xvvu6dik4j"]
[ext_resource type="Theme" uid="uid://c6kkopjj3snag" path="res://themes/main_menu.theme.tres" id="1_mhswj"]
[ext_resource type="Script" uid="uid://jkhpwi3ngait" path="res://scripts/ui/settings_menu.gd" id="2_x3vyp"]
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_mhswj"]
content_margin_left = 22.0
content_margin_top = 14.0
content_margin_right = 22.0
content_margin_bottom = 14.0
bg_color = Color(1, 1, 1, 0.05882353)
border_width_left = 1
border_width_top = 1
border_width_right = 1
border_width_bottom = 1
border_color = Color(1, 1, 1, 0.14901961)
corner_radius_top_left = 6
corner_radius_top_right = 6
corner_radius_bottom_right = 6
corner_radius_bottom_left = 6
[sub_resource type="StyleBoxFlat" id="StyleBoxFlat_x3vyp"]
content_margin_left = 26.0
content_margin_top = 16.0
content_margin_right = 26.0
content_margin_bottom = 16.0
bg_color = Color(0.18039216, 0.9019608, 0.77254903, 0.14901961)
border_width_left = 1
border_width_top = 1
border_width_right = 1
border_width_bottom = 1
border_color = Color(0.18039216, 0.9019608, 0.77254903, 0.54901963)
corner_radius_top_left = 6
corner_radius_top_right = 6
corner_radius_bottom_right = 6
corner_radius_bottom_left = 6
[node name="SettingsMenu" type="Control" unique_id=1927393822]
layout_mode = 3
anchors_preset = 15
anchor_right = 1.0
anchor_bottom = 1.0
theme = ExtResource("1_mhswj")
script = ExtResource("2_x3vyp")
[node name="Dim" type="ColorRect" parent="." unique_id=1358217210]
layout_mode = 0
anchor_right = 1.0
anchor_bottom = 1.0
color = Color(0.015686275, 0.02745098, 0.05490196, 0.8509804)
[node name="Center" type="CenterContainer" parent="." unique_id=1673833279]
layout_mode = 0
anchor_right = 1.0
anchor_bottom = 1.0
mouse_filter = 2
[node name="Card" type="PanelContainer" parent="Center" unique_id=1902065458]
custom_minimum_size = Vector2(1000, 700)
layout_mode = 2
[node name="Body" type="VBoxContainer" parent="Center/Card" unique_id=1117582341]
layout_mode = 2
theme_override_constants/separation = 18
[node name="Heading" type="Label" parent="Center/Card/Body" unique_id=661708833]
layout_mode = 2
theme_override_colors/font_color = Color(0.9490196, 0.96862745, 0.9843137, 1)
theme_override_font_sizes/font_size = 34
text = "НАСТРОЙКИ"
[node name="Rule" type="ColorRect" parent="Center/Card/Body" unique_id=1046238764]
custom_minimum_size = Vector2(0, 1)
layout_mode = 2
color = Color(1, 1, 1, 0.101960786)
[node name="Tabs" type="TabContainer" parent="Center/Card/Body" unique_id=1317139586]
layout_mode = 2
size_flags_vertical = 3
current_tab = 0
[node name="VideoTab" type="MarginContainer" parent="Center/Card/Body/Tabs" unique_id=967887173]
layout_mode = 2
theme_override_constants/margin_top = 6
metadata/_tab_index = 0
[node name="Rows" type="VBoxContainer" parent="Center/Card/Body/Tabs/VideoTab" unique_id=1964139496]
layout_mode = 2
theme_override_constants/separation = 14
[node name="WindowModeRow" type="HBoxContainer" parent="Center/Card/Body/Tabs/VideoTab/Rows" unique_id=965687739]
layout_mode = 2
[node name="Caption" type="Label" parent="Center/Card/Body/Tabs/VideoTab/Rows/WindowModeRow" unique_id=2117469931]
layout_mode = 2
size_flags_horizontal = 3
text = "Режим окна"
[node name="WindowModeOption" type="OptionButton" parent="Center/Card/Body/Tabs/VideoTab/Rows/WindowModeRow" unique_id=775949120]
custom_minimum_size = Vector2(320, 0)
layout_mode = 2
size_flags_horizontal = 8
[node name="ResolutionRow" type="HBoxContainer" parent="Center/Card/Body/Tabs/VideoTab/Rows" unique_id=843455360]
layout_mode = 2
[node name="Caption" type="Label" parent="Center/Card/Body/Tabs/VideoTab/Rows/ResolutionRow" unique_id=1913756792]
layout_mode = 2
size_flags_horizontal = 3
text = "Разрешение окна"
[node name="ResolutionOption" type="OptionButton" parent="Center/Card/Body/Tabs/VideoTab/Rows/ResolutionRow" unique_id=1126807051]
custom_minimum_size = Vector2(320, 0)
layout_mode = 2
size_flags_horizontal = 8
[node name="VsyncRow" type="HBoxContainer" parent="Center/Card/Body/Tabs/VideoTab/Rows" unique_id=967859150]
layout_mode = 2
[node name="Caption" type="Label" parent="Center/Card/Body/Tabs/VideoTab/Rows/VsyncRow" unique_id=1807973676]
layout_mode = 2
size_flags_horizontal = 3
text = "Вертикальная синхронизация"
[node name="VsyncToggle" type="Button" parent="Center/Card/Body/Tabs/VideoTab/Rows/VsyncRow" unique_id=495664079]
custom_minimum_size = Vector2(320, 0)
layout_mode = 2
size_flags_horizontal = 8
theme_override_font_sizes/font_size = 20
toggle_mode = true
text = "Вкл"
[node name="FpsRow" type="HBoxContainer" parent="Center/Card/Body/Tabs/VideoTab/Rows" unique_id=808439030]
layout_mode = 2
[node name="Caption" type="Label" parent="Center/Card/Body/Tabs/VideoTab/Rows/FpsRow" unique_id=261904982]
layout_mode = 2
size_flags_horizontal = 3
text = "Ограничение кадров"
[node name="FpsOption" type="OptionButton" parent="Center/Card/Body/Tabs/VideoTab/Rows/FpsRow" unique_id=2080423748]
custom_minimum_size = Vector2(320, 0)
layout_mode = 2
size_flags_horizontal = 8
[node name="Hint" type="Label" parent="Center/Card/Body/Tabs/VideoTab/Rows" unique_id=954192669]
layout_mode = 2
theme_override_colors/font_color = Color(0.3647059, 0.44705883, 0.53333336, 1)
theme_override_font_sizes/font_size = 16
text = "Разрешение применяется только в оконном режиме."
[node name="AudioTab" type="MarginContainer" parent="Center/Card/Body/Tabs" unique_id=1009219885]
visible = false
layout_mode = 2
theme_override_constants/margin_top = 6
metadata/_tab_index = 1
[node name="Rows" type="VBoxContainer" parent="Center/Card/Body/Tabs/AudioTab" unique_id=1543186127]
layout_mode = 2
theme_override_constants/separation = 18
[node name="ControlsTab" type="MarginContainer" parent="Center/Card/Body/Tabs" unique_id=641448439]
visible = false
layout_mode = 2
theme_override_constants/margin_top = 6
metadata/_tab_index = 2
[node name="Wrap" type="VBoxContainer" parent="Center/Card/Body/Tabs/ControlsTab" unique_id=728196337]
layout_mode = 2
theme_override_constants/separation = 10
[node name="Scroll" type="ScrollContainer" parent="Center/Card/Body/Tabs/ControlsTab/Wrap" unique_id=1879224442]
layout_mode = 2
size_flags_vertical = 3
horizontal_scroll_mode = 0
[node name="Bindings" type="VBoxContainer" parent="Center/Card/Body/Tabs/ControlsTab/Wrap/Scroll" unique_id=1976953054]
layout_mode = 2
size_flags_horizontal = 3
theme_override_constants/separation = 6
[node name="Hint" type="Label" parent="Center/Card/Body/Tabs/ControlsTab/Wrap" unique_id=71595213]
layout_mode = 2
theme_override_colors/font_color = Color(0.3647059, 0.44705883, 0.53333336, 1)
theme_override_font_sizes/font_size = 16
text = "Нажмите на клавишу справа и введите новую. Esc — отмена."
[node name="Rule2" type="ColorRect" parent="Center/Card/Body" unique_id=634678966]
custom_minimum_size = Vector2(0, 1)
layout_mode = 2
color = Color(1, 1, 1, 0.101960786)
[node name="Actions" type="HBoxContainer" parent="Center/Card/Body" unique_id=2133549410]
layout_mode = 2
theme_override_constants/separation = 12
[node name="ResetButton" type="Button" parent="Center/Card/Body/Actions" unique_id=1287304788]
layout_mode = 2
theme_override_font_sizes/font_size = 20
theme_override_styles/normal = SubResource("StyleBoxFlat_mhswj")
text = "Сбросить всё"
[node name="Spacer" type="Control" parent="Center/Card/Body/Actions" unique_id=692961999]
layout_mode = 2
size_flags_horizontal = 3
mouse_filter = 2
[node name="DoneButton" type="Button" parent="Center/Card/Body/Actions" unique_id=1510089731]
custom_minimum_size = Vector2(220, 0)
layout_mode = 2
theme_override_styles/normal = SubResource("StyleBoxFlat_x3vyp")
text = "Готово"