Skip to content

Commit 3d07e72

Browse files
committed
v1.3
Commit 2892d65
1 parent e469a26 commit 3d07e72

File tree

7 files changed

+13
-5
lines changed

7 files changed

+13
-5
lines changed
57.2 KB
Binary file not shown.
12.6 KB
Binary file not shown.
25.1 KB
Binary file not shown.
14.2 KB
Binary file not shown.

addons/godot-openmpt/mpt_importer.gd

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,16 @@ func _get_import_options(path, preset_index) -> Array[Dictionary]:
3434
"property_hint": PROPERTY_HINT_ENUM,
3535
"hint_string": "Disabled,Enabled",
3636
"default_value": 0
37+
},
38+
{
39+
"name": "load/skip_plugins",
40+
"type": TYPE_BOOL,
41+
"default_value": false
42+
},
43+
{
44+
"name": "load/skip_subsongs_init",
45+
"type": TYPE_BOOL,
46+
"default_value": false
3747
}]
3848

3949
func _get_option_visibility(path, option_name, options) -> bool:
@@ -57,6 +67,8 @@ func _import(source_file, save_path, options, r_platform_variants, r_gen_files)
5767
return ERR_PARSE_ERROR
5868

5969
var stream = AudioStreamMPT.new()
70+
stream.skip_plugins = options["load/skip_plugins"]
71+
stream.skip_subsongs_init = options["load/skip_subsongs_init"]
6072
stream.data = file_data
6173
if stream.data.is_empty():
6274
return stream.get_module_error()

addons/godot-openmpt/openmpt.gdextension

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,7 @@ compatibility_minimum = "4.2"
77

88
macos.debug = "bin/libgdmpt-macos.debug.64.framework"
99
macos.release = "bin/libgdmpt-macos.release.64.framework"
10-
windows.debug.x86_32 = "bin/libgdmpt-windows.debug.32.dll"
11-
windows.release.x86_32 = "bin/libgdmpt-windows.release.32.dll"
1210
windows.debug.x86_64 = "bin/libgdmpt-windows.debug.64.dll"
1311
windows.release.x86_64 = "bin/libgdmpt-windows.release.64.dll"
14-
linux.debug.x86_32 = "bin/libgdmpt-linux.debug.32.so"
15-
linux.release.x86_32 = "bin/libgdmpt-linux.release.32.so"
1612
linux.debug.x86_64 = "bin/libgdmpt-linux.debug.64.so"
1713
linux.release.x86_64 = "bin/libgdmpt-linux.release.64.so"

addons/godot-openmpt/plugin.cfg

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@
33
name="Godot OpenMPT"
44
description="Integrates OpenMPT as a playable AudioStream"
55
author="Dudejoe870"
6-
version="1.0.0"
6+
version="1.3"
77
script="mpt_import.gd"

0 commit comments

Comments
 (0)