-
Notifications
You must be signed in to change notification settings - Fork 19
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into merging_master_into_xml_converter
- Loading branch information
Showing
16 changed files
with
1,190 additions
and
362 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -69,5 +69,5 @@ func _process(delta): | |
) | ||
$Plane.scale = new_scale | ||
$Pillar.scale = new_scale | ||
|
||
update_point() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,44 @@ | ||
extends WindowDialog | ||
|
||
func load_settings(): | ||
var override_size: CheckButton = $GridContainer/OverrideSize | ||
var minimum_width: LineEdit = $ScrollContainer/GridContainer/MinimumWidth | ||
minimum_width.text = String(Settings.minimum_width) | ||
var minimum_height: LineEdit = $ScrollContainer/GridContainer/MinimumHeight | ||
minimum_height.text = String(Settings.minimum_height) | ||
|
||
var override_size: CheckButton = $ScrollContainer/GridContainer/OverrideSize | ||
override_size.pressed = Settings.override_size_enabled | ||
var override_height: LineEdit = $GridContainer/OverrideHeight | ||
var override_height: LineEdit = $ScrollContainer/GridContainer/OverrideHeight | ||
override_height.text = String(Settings.override_size_height) | ||
var override_width: LineEdit = $GridContainer/OverrideWidth | ||
var override_width: LineEdit = $ScrollContainer/GridContainer/OverrideWidth | ||
override_width.text = String(Settings.override_size_width) | ||
|
||
var autolaunch_burrito_link: CheckButton = $GridContainer/AutoLaunchBurritoLink | ||
var autolaunch_burrito_link: CheckButton = $ScrollContainer/GridContainer/AutoLaunchBurritoLink | ||
autolaunch_burrito_link.pressed = Settings.burrito_link_auto_launch_enabled | ||
var wine_path: LineEdit = $GridContainer/WinePath | ||
var wine_path: LineEdit = $ScrollContainer/GridContainer/WinePath | ||
wine_path.text = Settings.burrito_link_wine_path | ||
var environment_vars: TextEdit = $GridContainer/EnvironmentVars | ||
var environment_vars: TextEdit = $ScrollContainer/GridContainer/EnvironmentVars | ||
environment_vars.text = Settings.burrito_link_env_args | ||
|
||
func save_settings(new_value=null): | ||
var override_size: CheckButton = $GridContainer/OverrideSize | ||
var minimum_width: LineEdit = $ScrollContainer/GridContainer/MinimumWidth | ||
Settings.minimum_width = int(minimum_width.text) | ||
var minimum_height: LineEdit = $ScrollContainer/GridContainer/MinimumHeight | ||
Settings.minimum_height = int(minimum_height.text) | ||
|
||
var override_size: CheckButton = $ScrollContainer/GridContainer/OverrideSize | ||
Settings.override_size_enabled = override_size.pressed | ||
var override_height: LineEdit = $GridContainer/OverrideHeight | ||
var override_height: LineEdit = $ScrollContainer/GridContainer/OverrideHeight | ||
Settings.override_size_height = int(override_height.text) | ||
var override_width: LineEdit = $GridContainer/OverrideWidth | ||
var override_width: LineEdit = $ScrollContainer/GridContainer/OverrideWidth | ||
Settings.override_size_width = int(override_width.text) | ||
|
||
var autolaunch_burrito_link: CheckButton = $GridContainer/AutoLaunchBurritoLink | ||
var autolaunch_burrito_link: CheckButton = $ScrollContainer/GridContainer/AutoLaunchBurritoLink | ||
Settings.burrito_link_auto_launch_enabled = autolaunch_burrito_link.pressed | ||
var wine_path: LineEdit = $GridContainer/WinePath | ||
var wine_path: LineEdit = $ScrollContainer/GridContainer/WinePath | ||
Settings.burrito_link_wine_path = wine_path.text | ||
var environment_vars: TextEdit = $GridContainer/EnvironmentVars | ||
var environment_vars: TextEdit = $ScrollContainer/GridContainer/EnvironmentVars | ||
Settings.burrito_link_env_args = environment_vars.text | ||
|
||
Settings.save() | ||
|
Oops, something went wrong.