diff --git a/addons/native_dialogs/LICENSE b/addons/native_dialogs/LICENSE deleted file mode 100644 index 21c88e9..0000000 --- a/addons/native_dialogs/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2022 Tomás Espejo Gómez - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. \ No newline at end of file diff --git a/addons/native_dialogs/bin/native_dialog_message.gdns b/addons/native_dialogs/bin/native_dialog_message.gdns deleted file mode 100644 index 0d0e666..0000000 --- a/addons/native_dialogs/bin/native_dialog_message.gdns +++ /dev/null @@ -1,9 +0,0 @@ -[gd_resource type="NativeScript" load_steps=2 format=2] - -[ext_resource path="res://addons/native_dialogs/bin/native_dialogs.gdnlib" type="GDNativeLibrary" id=1] - -[resource] -resource_name = "native_dialog_message" -class_name = "NativeDialogMessage" -library = ExtResource( 1 ) -script_class_icon_path = "res://addons/native_dialogs/icons/native_dialog_message.png" diff --git a/addons/native_dialogs/bin/native_dialog_notify.gdns b/addons/native_dialogs/bin/native_dialog_notify.gdns deleted file mode 100644 index 31a1322..0000000 --- a/addons/native_dialogs/bin/native_dialog_notify.gdns +++ /dev/null @@ -1,9 +0,0 @@ -[gd_resource type="NativeScript" load_steps=2 format=2] - -[ext_resource path="res://addons/native_dialogs/bin/native_dialogs.gdnlib" type="GDNativeLibrary" id=1] - -[resource] -resource_name = "native_dialog_notify" -class_name = "NativeDialogNotify" -library = ExtResource( 1 ) -script_class_icon_path = "res://addons/native_dialogs/icons/native_dialog_notify.png" diff --git a/addons/native_dialogs/bin/native_dialog_open_file.gdns b/addons/native_dialogs/bin/native_dialog_open_file.gdns deleted file mode 100644 index cfb5bbc..0000000 --- a/addons/native_dialogs/bin/native_dialog_open_file.gdns +++ /dev/null @@ -1,9 +0,0 @@ -[gd_resource type="NativeScript" load_steps=2 format=2] - -[ext_resource path="res://addons/native_dialogs/bin/native_dialogs.gdnlib" type="GDNativeLibrary" id=1] - -[resource] -resource_name = "native_dialog_open_file" -class_name = "NativeDialogOpenFile" -library = ExtResource( 1 ) -script_class_icon_path = "res://addons/native_dialogs/icons/native_dialog_open_file.png" diff --git a/addons/native_dialogs/bin/native_dialog_save_file.gdns b/addons/native_dialogs/bin/native_dialog_save_file.gdns deleted file mode 100644 index 01ad849..0000000 --- a/addons/native_dialogs/bin/native_dialog_save_file.gdns +++ /dev/null @@ -1,9 +0,0 @@ -[gd_resource type="NativeScript" load_steps=2 format=2] - -[ext_resource path="res://addons/native_dialogs/bin/native_dialogs.gdnlib" type="GDNativeLibrary" id=1] - -[resource] -resource_name = "native_dialog_save_file" -class_name = "NativeDialogSaveFile" -library = ExtResource( 1 ) -script_class_icon_path = "res://addons/native_dialogs/icons/native_dialog_save_file.png" diff --git a/addons/native_dialogs/bin/native_dialog_select_folder.gdns b/addons/native_dialogs/bin/native_dialog_select_folder.gdns deleted file mode 100644 index 2fa3655..0000000 --- a/addons/native_dialogs/bin/native_dialog_select_folder.gdns +++ /dev/null @@ -1,9 +0,0 @@ -[gd_resource type="NativeScript" load_steps=2 format=2] - -[ext_resource path="res://addons/native_dialogs/bin/native_dialogs.gdnlib" type="GDNativeLibrary" id=1] - -[resource] -resource_name = "native_dialog_select_folder" -class_name = "NativeDialogSelectFolder" -library = ExtResource( 1 ) -script_class_icon_path = "res://addons/native_dialogs/icons/native_dialog_select_folder.png" diff --git a/addons/native_dialogs/bin/native_dialogs.gdnlib b/addons/native_dialogs/bin/native_dialogs.gdnlib deleted file mode 100644 index e4f4792..0000000 --- a/addons/native_dialogs/bin/native_dialogs.gdnlib +++ /dev/null @@ -1,18 +0,0 @@ -[general] - -singleton=false -load_once=true -symbol_prefix="godot_" -reloadable=false - -[entry] - -X11.64="res://addons/native_dialogs/bin/x11/libnativedialogs.so" -Windows.64="res://addons/native_dialogs/bin/win64/libnativedialogs.dll" -OSX.64="res://addons/native_dialogs/bin/osx/libnativedialogs.dylib" - -[dependencies] - -X11.64=[ ] -Windows.64=[ ] -OSX.64=[ ] diff --git a/addons/native_dialogs/bin/osx/libnativedialogs.dylib b/addons/native_dialogs/bin/osx/libnativedialogs.dylib deleted file mode 100644 index 7df60e9..0000000 Binary files a/addons/native_dialogs/bin/osx/libnativedialogs.dylib and /dev/null differ diff --git a/addons/native_dialogs/bin/win64/libnativedialogs.dll b/addons/native_dialogs/bin/win64/libnativedialogs.dll deleted file mode 100644 index 1e8ed3c..0000000 Binary files a/addons/native_dialogs/bin/win64/libnativedialogs.dll and /dev/null differ diff --git a/addons/native_dialogs/bin/win64/libnativedialogs.exp b/addons/native_dialogs/bin/win64/libnativedialogs.exp deleted file mode 100644 index b7196c9..0000000 Binary files a/addons/native_dialogs/bin/win64/libnativedialogs.exp and /dev/null differ diff --git a/addons/native_dialogs/bin/win64/libnativedialogs.lib b/addons/native_dialogs/bin/win64/libnativedialogs.lib deleted file mode 100644 index 626b97d..0000000 Binary files a/addons/native_dialogs/bin/win64/libnativedialogs.lib and /dev/null differ diff --git a/addons/native_dialogs/bin/x11/libnativedialogs.so b/addons/native_dialogs/bin/x11/libnativedialogs.so deleted file mode 100644 index 0392edb..0000000 Binary files a/addons/native_dialogs/bin/x11/libnativedialogs.so and /dev/null differ diff --git a/addons/native_dialogs/icons/native_dialog_message.png b/addons/native_dialogs/icons/native_dialog_message.png deleted file mode 100644 index 5df8877..0000000 Binary files a/addons/native_dialogs/icons/native_dialog_message.png and /dev/null differ diff --git a/addons/native_dialogs/icons/native_dialog_message.png.import b/addons/native_dialogs/icons/native_dialog_message.png.import deleted file mode 100644 index 21aa28d..0000000 --- a/addons/native_dialogs/icons/native_dialog_message.png.import +++ /dev/null @@ -1,35 +0,0 @@ -[remap] - -importer="texture" -type="StreamTexture" -path="res://.import/native_dialog_message.png-d3a3788b812cbdd538caffc1bd4f6303.stex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://addons/native_dialogs/icons/native_dialog_message.png" -dest_files=[ "res://.import/native_dialog_message.png-d3a3788b812cbdd538caffc1bd4f6303.stex" ] - -[params] - -compress/mode=0 -compress/lossy_quality=0.7 -compress/hdr_mode=0 -compress/bptc_ldr=0 -compress/normal_map=0 -flags/repeat=0 -flags/filter=true -flags/mipmaps=false -flags/anisotropic=false -flags/srgb=2 -process/fix_alpha_border=true -process/premult_alpha=false -process/HDR_as_SRGB=false -process/invert_color=false -process/normal_map_invert_y=false -stream=false -size_limit=0 -detect_3d=true -svg/scale=1.0 diff --git a/addons/native_dialogs/icons/native_dialog_notify.png b/addons/native_dialogs/icons/native_dialog_notify.png deleted file mode 100644 index 4760f51..0000000 Binary files a/addons/native_dialogs/icons/native_dialog_notify.png and /dev/null differ diff --git a/addons/native_dialogs/icons/native_dialog_notify.png.import b/addons/native_dialogs/icons/native_dialog_notify.png.import deleted file mode 100644 index 1235e69..0000000 --- a/addons/native_dialogs/icons/native_dialog_notify.png.import +++ /dev/null @@ -1,35 +0,0 @@ -[remap] - -importer="texture" -type="StreamTexture" -path="res://.import/native_dialog_notify.png-5ccb03b82c726e402d1ee63705cdfce9.stex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://addons/native_dialogs/icons/native_dialog_notify.png" -dest_files=[ "res://.import/native_dialog_notify.png-5ccb03b82c726e402d1ee63705cdfce9.stex" ] - -[params] - -compress/mode=0 -compress/lossy_quality=0.7 -compress/hdr_mode=0 -compress/bptc_ldr=0 -compress/normal_map=0 -flags/repeat=0 -flags/filter=true -flags/mipmaps=false -flags/anisotropic=false -flags/srgb=2 -process/fix_alpha_border=true -process/premult_alpha=false -process/HDR_as_SRGB=false -process/invert_color=false -process/normal_map_invert_y=false -stream=false -size_limit=0 -detect_3d=true -svg/scale=1.0 diff --git a/addons/native_dialogs/icons/native_dialog_open_file.png b/addons/native_dialogs/icons/native_dialog_open_file.png deleted file mode 100644 index eb0a803..0000000 Binary files a/addons/native_dialogs/icons/native_dialog_open_file.png and /dev/null differ diff --git a/addons/native_dialogs/icons/native_dialog_open_file.png.import b/addons/native_dialogs/icons/native_dialog_open_file.png.import deleted file mode 100644 index 97a88b8..0000000 --- a/addons/native_dialogs/icons/native_dialog_open_file.png.import +++ /dev/null @@ -1,35 +0,0 @@ -[remap] - -importer="texture" -type="StreamTexture" -path="res://.import/native_dialog_open_file.png-94d31b95f481d556dcb2679a4986fc3e.stex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://addons/native_dialogs/icons/native_dialog_open_file.png" -dest_files=[ "res://.import/native_dialog_open_file.png-94d31b95f481d556dcb2679a4986fc3e.stex" ] - -[params] - -compress/mode=0 -compress/lossy_quality=0.7 -compress/hdr_mode=0 -compress/bptc_ldr=0 -compress/normal_map=0 -flags/repeat=0 -flags/filter=true -flags/mipmaps=false -flags/anisotropic=false -flags/srgb=2 -process/fix_alpha_border=true -process/premult_alpha=false -process/HDR_as_SRGB=false -process/invert_color=false -process/normal_map_invert_y=false -stream=false -size_limit=0 -detect_3d=true -svg/scale=1.0 diff --git a/addons/native_dialogs/icons/native_dialog_save_file.png b/addons/native_dialogs/icons/native_dialog_save_file.png deleted file mode 100644 index 72515a7..0000000 Binary files a/addons/native_dialogs/icons/native_dialog_save_file.png and /dev/null differ diff --git a/addons/native_dialogs/icons/native_dialog_save_file.png.import b/addons/native_dialogs/icons/native_dialog_save_file.png.import deleted file mode 100644 index af8db81..0000000 --- a/addons/native_dialogs/icons/native_dialog_save_file.png.import +++ /dev/null @@ -1,35 +0,0 @@ -[remap] - -importer="texture" -type="StreamTexture" -path="res://.import/native_dialog_save_file.png-488c5f5500af041c2ce0b2fc9836df36.stex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://addons/native_dialogs/icons/native_dialog_save_file.png" -dest_files=[ "res://.import/native_dialog_save_file.png-488c5f5500af041c2ce0b2fc9836df36.stex" ] - -[params] - -compress/mode=0 -compress/lossy_quality=0.7 -compress/hdr_mode=0 -compress/bptc_ldr=0 -compress/normal_map=0 -flags/repeat=0 -flags/filter=true -flags/mipmaps=false -flags/anisotropic=false -flags/srgb=2 -process/fix_alpha_border=true -process/premult_alpha=false -process/HDR_as_SRGB=false -process/invert_color=false -process/normal_map_invert_y=false -stream=false -size_limit=0 -detect_3d=true -svg/scale=1.0 diff --git a/addons/native_dialogs/icons/native_dialog_select_folder.png b/addons/native_dialogs/icons/native_dialog_select_folder.png deleted file mode 100644 index dc5328a..0000000 Binary files a/addons/native_dialogs/icons/native_dialog_select_folder.png and /dev/null differ diff --git a/addons/native_dialogs/icons/native_dialog_select_folder.png.import b/addons/native_dialogs/icons/native_dialog_select_folder.png.import deleted file mode 100644 index 821f3bd..0000000 --- a/addons/native_dialogs/icons/native_dialog_select_folder.png.import +++ /dev/null @@ -1,35 +0,0 @@ -[remap] - -importer="texture" -type="StreamTexture" -path="res://.import/native_dialog_select_folder.png-38710e428d30ce3e92fad43e6141022e.stex" -metadata={ -"vram_texture": false -} - -[deps] - -source_file="res://addons/native_dialogs/icons/native_dialog_select_folder.png" -dest_files=[ "res://.import/native_dialog_select_folder.png-38710e428d30ce3e92fad43e6141022e.stex" ] - -[params] - -compress/mode=0 -compress/lossy_quality=0.7 -compress/hdr_mode=0 -compress/bptc_ldr=0 -compress/normal_map=0 -flags/repeat=0 -flags/filter=true -flags/mipmaps=false -flags/anisotropic=false -flags/srgb=2 -process/fix_alpha_border=true -process/premult_alpha=false -process/HDR_as_SRGB=false -process/invert_color=false -process/normal_map_invert_y=false -stream=false -size_limit=0 -detect_3d=true -svg/scale=1.0 diff --git a/addons/native_dialogs/native_dialogs.gd b/addons/native_dialogs/native_dialogs.gd deleted file mode 100644 index 6a67dcc..0000000 --- a/addons/native_dialogs/native_dialogs.gd +++ /dev/null @@ -1,11 +0,0 @@ -const Message = preload("./bin/native_dialog_message.gdns") -const Notify = preload("./bin/native_dialog_notify.gdns") -const OpenFile = preload("./bin/native_dialog_open_file.gdns") -const SaveFile = preload("./bin/native_dialog_save_file.gdns") -const SelectFolder = preload("./bin/native_dialog_select_folder.gdns") - -enum MessageChoices { OK, OK_CANCEL, YES_NO, YES_NO_CANCEL } -enum MessageIcons { INFO, WARNING, ERROR, QUESTION } -enum MessageResults { OK, CANCEL, YES, NO } - -enum NotifyIcons { INFO, WARNING, ERROR } diff --git a/addons/native_dialogs/plugin.cfg b/addons/native_dialogs/plugin.cfg deleted file mode 100644 index f14747f..0000000 --- a/addons/native_dialogs/plugin.cfg +++ /dev/null @@ -1,7 +0,0 @@ -[plugin] - -name="Native Dialogs" -description="Native Dialogs is a plugin for Godot that allows you to interact with OS-specific dialogs, such as notifications, messages and file dialogs. " -author="Teggy" -version="1.0.0" -script="plugin.gd" diff --git a/addons/native_dialogs/plugin.gd b/addons/native_dialogs/plugin.gd deleted file mode 100644 index 594e814..0000000 --- a/addons/native_dialogs/plugin.gd +++ /dev/null @@ -1,50 +0,0 @@ -tool -extends EditorPlugin - - -const NativeDialogs = preload("./native_dialogs.gd") - - -func _enter_tree(): - add_custom_type( - "NativeDialogMessage", - "Node", - NativeDialogs.Message, - preload("./icons/native_dialog_message.png") - ) - - add_custom_type( - "NativeDialogNotify", - "Node", - NativeDialogs.Notify, - preload("./icons/native_dialog_notify.png") - ) - - add_custom_type( - "NativeDialogOpenFile", - "Node", - NativeDialogs.OpenFile, - preload("./icons/native_dialog_open_file.png") - ) - - add_custom_type( - "NativeDialogSaveFile", - "Node", - NativeDialogs.SaveFile, - preload("./icons/native_dialog_save_file.png") - ) - - add_custom_type( - "NativeDialogSelectFolder", - "Node", - NativeDialogs.SelectFolder, - preload("./icons/native_dialog_select_folder.png") - ) - - -func _exit_tree(): - remove_custom_type("NativeDialogMessage") - remove_custom_type("NativeDialogNotify") - remove_custom_type("NativeDialogOpenFile") - remove_custom_type("NativeDialogSaveFile") - remove_custom_type("NativeDialogSelectFolder")