diff --git a/addons/godot_xterm_native/plugin.cfg b/addons/godot_xterm_native/plugin.cfg new file mode 100644 index 0000000..e9d179b --- /dev/null +++ b/addons/godot_xterm_native/plugin.cfg @@ -0,0 +1,7 @@ +[plugin] + +name="Godot Xterm Native" +description="" +author="Leroy Hopson" +version="0.1" +script="plugin.gd" diff --git a/addons/godot_xterm_native/plugin.gd b/addons/godot_xterm_native/plugin.gd new file mode 100644 index 0000000..49e712e --- /dev/null +++ b/addons/godot_xterm_native/plugin.gd @@ -0,0 +1,10 @@ +tool +extends EditorPlugin + + +func _enter_tree(): + pass + + +func _exit_tree(): + pass diff --git a/default_env.tres b/default_env.tres index 20207a4..98f26a7 100644 --- a/default_env.tres +++ b/default_env.tres @@ -1,7 +1,5 @@ [gd_resource type="Environment" load_steps=2 format=2] - [sub_resource type="ProceduralSky" id=1] - [resource] background_mode = 2 background_sky = SubResource( 1 ) diff --git a/icon.png b/icon.png index 0a4909c..c98fbb6 100644 Binary files a/icon.png and b/icon.png differ diff --git a/project.godot b/project.godot index 8d57f74..26d434c 100644 --- a/project.godot +++ b/project.godot @@ -8,109 +8,20 @@ config_version=4 -_global_script_classes=[ { -"base": "Node2D", -"class": "CanvasRenderingContext2D", -"language": "GDScript", -"path": "res://addons/godot_xterm/renderer/canvas_rendering_context_2d.gd" -} ] +_global_script_classes=[ ] _global_script_class_icons={ -"CanvasRenderingContext2D": "" -} -[WAT] - -Test_Directory="res://tests" -Results_Directory="res://tests/results/WAT" -Minimize_Window_When_Running_Tests=false -TestStrategy={ -"repeat": 1, -"strategy": "RunAll" } -Tags=PoolStringArray( ) -Display=8 [application] -config/name="GodotXterm" -config/description="Xterm.js in Godot." -run/main_scene="res://scenes/demo.tscn" +config/name="Godot Xterm Native" config/icon="res://icon.png" [editor_plugins] -enabled=PoolStringArray( "godot_xterm", "gut" ) - -[input] - -ui_accept={ -"deadzone": 0.5, -"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777222,"unicode":0,"echo":false,"script":null) -, Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":0,"pressure":0.0,"pressed":false,"script":null) - ] -} -ui_cancel={ -"deadzone": 0.5, -"events": [ Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":1,"pressure":0.0,"pressed":false,"script":null) - ] -} -ui_left={ -"deadzone": 0.5, -"events": [ Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":14,"pressure":0.0,"pressed":false,"script":null) - ] -} -ui_right={ -"deadzone": 0.5, -"events": [ Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":15,"pressure":0.0,"pressed":false,"script":null) - ] -} -ui_up={ -"deadzone": 0.5, -"events": [ Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":12,"pressure":0.0,"pressed":false,"script":null) - ] -} -ui_down={ -"deadzone": 0.5, -"events": [ Object(InputEventJoypadButton,"resource_local_to_scene":false,"resource_name":"","device":0,"button_index":13,"pressure":0.0,"pressed":false,"script":null) - ] -} -jump={ -"deadzone": 0.5, -"events": [ ] -} -sprint={ -"deadzone": 0.5, -"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777238,"unicode":0,"echo":false,"script":null) - ] -} -crouch={ -"deadzone": 0.5, -"events": [ ] -} -interact={ -"deadzone": 0.5, -"events": [ ] -} -walk={ -"deadzone": 0.5, -"events": [ Object(InputEventKey,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"pressed":false,"scancode":16777240,"unicode":0,"echo":false,"script":null) - ] -} -pick_up={ -"deadzone": 0.5, -"events": [ ] -} -throw={ -"deadzone": 0.5, -"events": [ Object(InputEventMouseButton,"resource_local_to_scene":false,"resource_name":"","device":0,"alt":false,"shift":false,"control":false,"meta":false,"command":false,"button_mask":0,"position":Vector2( 0, 0 ),"global_position":Vector2( 0, 0 ),"factor":1.0,"button_index":1,"pressed":false,"doubleclick":false,"script":null) - ] -} -reset={ -"deadzone": 0.5, -"events": [ ] -} +enabled=PoolStringArray( "godot_xterm_native" ) [rendering] -quality/filters/msaa=4 environment/default_environment="res://default_env.tres"