From 3ef6e77e482c1f765c00596b80bf4b32a71783c1 Mon Sep 17 00:00:00 2001 From: Ruslan Mustakov Date: Fri, 4 Aug 2017 12:11:46 +0700 Subject: [PATCH] Update to godot-nim v0.4.1, remove NimRuntime --- project.godot | 4 ---- scripts/NimRuntime.gdns | 9 --------- src/stub.nim | 2 -- src/stub.nimble | 2 +- 4 files changed, 1 insertion(+), 16 deletions(-) delete mode 100644 scripts/NimRuntime.gdns diff --git a/project.godot b/project.godot index 658204c..a04b5b6 100644 --- a/project.godot +++ b/project.godot @@ -5,10 +5,6 @@ config/name="Godot-Nim Stub" run/main_scene="res://main.tscn" config/icon="res://icon.png" -[autoload] - -NimRuntime="*res://scripts/NimRuntime.gdns" - [rendering] environment/default_environment="res://default_env.tres" diff --git a/scripts/NimRuntime.gdns b/scripts/NimRuntime.gdns deleted file mode 100644 index 34656e9..0000000 --- a/scripts/NimRuntime.gdns +++ /dev/null @@ -1,9 +0,0 @@ -[gd_resource type="NativeScript" load_steps=2 format=2] - -[ext_resource path="res://nimlib.tres" type="GDNativeLibrary" id=1] - -[resource] - -resource_name = "NimRuntime" -library = ExtResource( 1 ) -class_name = "NimRuntime" \ No newline at end of file diff --git a/src/stub.nim b/src/stub.nim index 5e725b8..c3dd23c 100644 --- a/src/stub.nim +++ b/src/stub.nim @@ -6,7 +6,5 @@ when not defined(release): import segfaults # converts segfaults into NilAccessError -import nimruntime - import fpscounter import mainpanel diff --git a/src/stub.nimble b/src/stub.nimble index 28d67aa..3c453ca 100644 --- a/src/stub.nimble +++ b/src/stub.nimble @@ -4,7 +4,7 @@ description = "Godot-Nim Project Stub" license = "MIT" bin = @["stub"] -requires "godot >= 0.4.0 & < 0.5.0" +requires "godot >= 0.4.1 & < 0.5.0" task make, "build": const bitsPostfix = when sizeof(int) == 8: "_64" else: "_32"