-
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.
Revert "Merging master into XML converter"
- Loading branch information
1 parent
cb266c5
commit 7f6eae2
Showing
16 changed files
with
363 additions
and
1,190 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,44 +1,34 @@ | ||
extends WindowDialog | ||
|
||
func load_settings(): | ||
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 | ||
var override_size: CheckButton = $GridContainer/OverrideSize | ||
override_size.pressed = Settings.override_size_enabled | ||
var override_height: LineEdit = $ScrollContainer/GridContainer/OverrideHeight | ||
var override_height: LineEdit = $GridContainer/OverrideHeight | ||
override_height.text = String(Settings.override_size_height) | ||
var override_width: LineEdit = $ScrollContainer/GridContainer/OverrideWidth | ||
var override_width: LineEdit = $GridContainer/OverrideWidth | ||
override_width.text = String(Settings.override_size_width) | ||
|
||
var autolaunch_burrito_link: CheckButton = $ScrollContainer/GridContainer/AutoLaunchBurritoLink | ||
var autolaunch_burrito_link: CheckButton = $GridContainer/AutoLaunchBurritoLink | ||
autolaunch_burrito_link.pressed = Settings.burrito_link_auto_launch_enabled | ||
var wine_path: LineEdit = $ScrollContainer/GridContainer/WinePath | ||
var wine_path: LineEdit = $GridContainer/WinePath | ||
wine_path.text = Settings.burrito_link_wine_path | ||
var environment_vars: TextEdit = $ScrollContainer/GridContainer/EnvironmentVars | ||
var environment_vars: TextEdit = $GridContainer/EnvironmentVars | ||
environment_vars.text = Settings.burrito_link_env_args | ||
|
||
func save_settings(new_value=null): | ||
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 | ||
var override_size: CheckButton = $GridContainer/OverrideSize | ||
Settings.override_size_enabled = override_size.pressed | ||
var override_height: LineEdit = $ScrollContainer/GridContainer/OverrideHeight | ||
var override_height: LineEdit = $GridContainer/OverrideHeight | ||
Settings.override_size_height = int(override_height.text) | ||
var override_width: LineEdit = $ScrollContainer/GridContainer/OverrideWidth | ||
var override_width: LineEdit = $GridContainer/OverrideWidth | ||
Settings.override_size_width = int(override_width.text) | ||
|
||
var autolaunch_burrito_link: CheckButton = $ScrollContainer/GridContainer/AutoLaunchBurritoLink | ||
var autolaunch_burrito_link: CheckButton = $GridContainer/AutoLaunchBurritoLink | ||
Settings.burrito_link_auto_launch_enabled = autolaunch_burrito_link.pressed | ||
var wine_path: LineEdit = $ScrollContainer/GridContainer/WinePath | ||
var wine_path: LineEdit = $GridContainer/WinePath | ||
Settings.burrito_link_wine_path = wine_path.text | ||
var environment_vars: TextEdit = $ScrollContainer/GridContainer/EnvironmentVars | ||
var environment_vars: TextEdit = $GridContainer/EnvironmentVars | ||
Settings.burrito_link_env_args = environment_vars.text | ||
|
||
Settings.save() | ||
|
Oops, something went wrong.