Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merging master into XML converter #185

Merged
merged 43 commits into from
Oct 27, 2023
Merged
Show file tree
Hide file tree
Changes from 41 commits
Commits
Show all changes
43 commits
Select commit Hold shift + click to select a range
7d2dc04
cleaning up the mumble link code
AsherGlick Dec 5, 2021
42b484b
adding a timeout for burrito link to allow it to exit if it is orphaned
AsherGlick Dec 6, 2021
c01f846
adding a method to allow for burrito link to be launched automatically
AsherGlick Dec 6, 2021
49a070c
removing trailing whitespace from some gdscript files
AsherGlick Dec 6, 2021
2be26b5
Adding a new setting that allows for a minimum size to be specified
AsherGlick Dec 6, 2021
c1d7cc0
forcing minimum size value from settings when resizing window
AsherGlick Dec 6, 2021
7211318
making the size settings more intuitive to understand
AsherGlick Dec 6, 2021
fc2513d
Autolaunch Burrito Link (#48)
AsherGlick Dec 10, 2021
becbbcd
Merge branch 'master' into minimum_size_setting
AsherGlick Dec 10, 2021
60927ef
Merge pull request #49 from AsherGlick/minimum_size_setting
AsherGlick Dec 11, 2021
3bb5bd6
updating burrito_link formatting with mostly clang-format
AsherGlick Nov 21, 2022
e247d51
Cleaning up burrito_link Makefile to only reference burrito_link
AsherGlick Nov 21, 2022
365c08c
Adding sanity check for memory mapped sruct sizes
AsherGlick Nov 21, 2022
e6d0e1f
swapping memory map struct types for standard types
AsherGlick Nov 21, 2022
41848b2
splitting out the struct definitions to a seperate file
AsherGlick Nov 21, 2022
7445b09
renaming gw2mumbleudp.c to burrito_link.c
AsherGlick Nov 21, 2022
467d459
replacing make with cmake to get compile_commands.json for clangd mor…
AsherGlick Nov 21, 2022
9b554a2
moving some globals to the top of the file
AsherGlick Nov 22, 2022
b498493
Removing non _WIN32 memory mapping code
AsherGlick Nov 22, 2022
bcb88de
splitting out function to get the x11 window id from the windows proc…
AsherGlick Nov 22, 2022
ca57358
adding a barebones linked library proxy
AsherGlick Nov 27, 2022
89bc9b6
Getting burrito link to work in d3d11.dll
AsherGlick Nov 27, 2022
084aabe
Closing the thread when the dll is unloaded
AsherGlick Feb 24, 2023
fc7bdc1
supporting burrito link dll as an arcdps plugin
AsherGlick Feb 25, 2023
d9bee01
burrito link cmake build
AsherGlick Feb 25, 2023
42d8060
Merge pull request #125 from AsherGlick/burrito_link_updates
AsherGlick Feb 26, 2023
80e80d6
Removing artifact retention 7 day limit
AsherGlick Mar 5, 2023
b084d24
Merge pull request #131 from AsherGlick/extend_artifact_retention
AsherGlick Apr 14, 2023
edbffaa
Shifted the burrito button to the right
klingbolt Aug 25, 2023
31ae872
Change so that the button should work
klingbolt Aug 25, 2023
ad4798d
Changed the pass through coordinates
klingbolt Aug 25, 2023
3479b6a
Changed numbers to be the properties the numbers were coming from
klingbolt Aug 25, 2023
2a2ae5a
Changed some numbers
klingbolt Aug 29, 2023
70a7446
Update Spatial.tscn
klingbolt Sep 19, 2023
c6df8e1
Changed margin for editor bar
klingbolt Sep 20, 2023
b716c61
Merge branch 'master' of https://github.com/klingbolt/Burrito
klingbolt Sep 20, 2023
9f6ae70
Merge pull request #156 from klingbolt/master
AsherGlick Sep 20, 2023
0a691a6
pinning docker build version
AsherGlick Sep 20, 2023
a344bdf
Merge pull request #160 from AsherGlick/pinning_ci_linux_version
AsherGlick Sep 20, 2023
ac0fbb4
Merge branch 'master' into merging_master_into_xml_converter
AsherGlick Oct 25, 2023
cd875c5
fixing burrito link build dir from merge
AsherGlick Oct 25, 2023
78274d4
Update Spatial.gd
AsherGlick Oct 27, 2023
2f60b09
Update Spatial.tscn
AsherGlick Oct 27, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 22 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,14 +93,23 @@ jobs:

- name: Build Burrito Link
run: |
cd burrito_link
mkdir burrito_link/build
cd burrito_link/build
cmake ..
make

- name: Upload created file
- name: Upload Standalone Executable Burrito Link
uses: actions/upload-artifact@v3
with:
name: burrito_link_exe
path: burrito_link/build/burrito_link.exe
if-no-files-found: error

- name: Upload Shared Library Burrito Link
uses: actions/upload-artifact@v3
with:
name: burrito_link
path: burrito_link/burrito_link.exe
name: burrito_link_dll
path: burrito_link/build/d3d11.dll
if-no-files-found: error

Build-BurritoFG-Linux:
Expand Down Expand Up @@ -228,15 +237,22 @@ jobs:
with:
name: xml_converter

- name: Download Burrito Link
- name: Download Burrito Link Exe
uses: actions/download-artifact@v3
with:
name: burrito_link
name: burrito_link_exe

- name: Download Burrito Link DLL
uses: actions/download-artifact@v3
with:
name: burrito_link_dll


- name: Move Burrito Link
run: |
mkdir burrito_link/
mv burrito_link.exe burrito_link/
mv d3d11.dll burrito_link/

- uses: actions/upload-artifact@v3
with:
Expand Down
2 changes: 1 addition & 1 deletion Gizmo/PointEdit.gd
Original file line number Diff line number Diff line change
Expand Up @@ -69,5 +69,5 @@ func _process(delta):
)
$Plane.scale = new_scale
$Pillar.scale = new_scale

update_point()
4 changes: 2 additions & 2 deletions Route.gd
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ func refresh_mesh():
var tmpMesh = Mesh.new()
var i = 0
var last_uv: float = 0.0
for point_index in range(len(point_list)-1):
for point_index in range(len(point_list)-1):
var point:Vector3 = point_list[point_index]
var next_point:Vector3 = point_list[point_index+1]
# If the line starts or ends at map coordinates (0,0,0), don't draw the line.
Expand Down Expand Up @@ -56,7 +56,7 @@ func refresh_mesh():
var st = SurfaceTool.new()
st.begin(Mesh.PRIMITIVE_TRIANGLE_FAN)

for v in vertices.size():
for v in vertices.size():
st.add_color(color)
st.add_uv(UVs[v])
st.add_vertex(vertices[v])
Expand Down
13 changes: 11 additions & 2 deletions Settings.gd
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ const CONFIG_PATH = "user://settings.json"
var _config_data = {}
var local_category_data = {}

var minimum_width: int = 800
var minimum_height: int = 600

var override_size_enabled: bool = false;
var override_size_height: int = 1080
var override_size_width: int = 1920
Expand All @@ -18,14 +21,18 @@ func _ready():
var file = File.new()
file.open(CONFIG_PATH, file.READ)
var text = file.get_as_text()
var datum = JSON.parse(text)
var datum = JSON.parse(text)
self._config_data = JSON.parse(text).result

if self._config_data == null:
self._config_data = {}

if "local_category_data" in self._config_data:
self.local_category_data = self._config_data["local_category_data"]
if "minimum_width" in self._config_data:
self.minimum_width = self._config_data["minimum_width"]
if "minimum_height" in self._config_data:
self.minimum_height = self._config_data["minimum_height"]
if "override_size_enabled" in self._config_data:
self.override_size_enabled = self._config_data["override_size_enabled"]
if "override_size_height" in self._config_data:
Expand All @@ -42,6 +49,8 @@ func _ready():

func save():
_config_data = {
"minimum_width": minimum_width,
"minimum_height": minimum_height,
"override_size_enabled": override_size_enabled,
"override_size_height": override_size_height,
"override_size_width": override_size_width,
Expand All @@ -50,7 +59,7 @@ func save():
"burrito_link_env_args": burrito_link_env_args,
"local_category_data": local_category_data
}

var file = File.new()
file.open(CONFIG_PATH, File.WRITE)
file.store_string(JSON.print(self._config_data, " "))
36 changes: 23 additions & 13 deletions SettingsDialog.gd
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()

Loading