From 0aab6e17efd99253912889a222c7878ba3208e4c Mon Sep 17 00:00:00 2001 From: Ruslan Mustakov Date: Wed, 31 Jan 2018 20:52:15 +0700 Subject: [PATCH] Update license year and fix doc to have Godot 3.0 download URL --- .vscode/settings.json | 2 +- LICENSE | 2 +- README.md | 2 +- docs/docbuild.nim | 2 +- docs/docpublish.nim | 2 +- docs/index.rst | 25 ++++++------------------- godot.nimble | 2 +- godot/core/aabb.nim | 2 +- godot/core/arrays.nim | 2 +- godot/core/basis.nim | 2 +- godot/core/colors.nim | 2 +- godot/core/dictionaries.nim | 2 +- godot/core/godotbase.nim | 2 +- godot/core/godotcoretypes.nim | 2 +- godot/core/nodepaths.nim | 2 +- godot/core/planes.nim | 2 +- godot/core/poolarrays.nim | 2 +- godot/core/quats.nim | 2 +- godot/core/rect2.nim | 2 +- godot/core/rids.nim | 2 +- godot/core/transform2d.nim | 2 +- godot/core/transforms.nim | 2 +- godot/core/vector2.nim | 2 +- godot/core/vector3.nim | 2 +- godot/gdnativeapi.nim | 2 +- godot/godot.nim | 2 +- godot/godotapigen.nim | 2 +- godot/godotinternal.nim | 2 +- godot/internal/godotarrays.nim | 2 +- godot/internal/godotdictionaries.nim | 2 +- godot/internal/godotinternaltypes.nim | 2 +- godot/internal/godotnodepaths.nim | 2 +- godot/internal/godotpoolarrays.nim | 2 +- godot/internal/godotstrings.nim | 2 +- godot/internal/godotvariants.nim | 2 +- godot/nim/godotmacros.nim | 2 +- godot/nim/godotnim.nim | 2 +- 37 files changed, 42 insertions(+), 55 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index aa6f1c7..6960f9a 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -9,7 +9,7 @@ "godot/godotapigen.nim"], "nim.buildOnSave": false, "nim.lintOnSave": true, - "nim.licenseString": "# Copyright 2017 Xored Software, Inc.\n\n", + "nim.licenseString": "# Copyright 2018 Xored Software, Inc.\n\n", "files.exclude": { "**/nimcache/**": true } diff --git a/LICENSE b/LICENSE index 16a448a..07ecdb6 100644 --- a/LICENSE +++ b/LICENSE @@ -2,7 +2,7 @@ godot-nim - Nim bindings for Godot Engine The MIT License -Copyright (c) 2017 Xored Software Inc. +Copyright (c) 2018 Xored Software Inc. 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, diff --git a/README.md b/README.md index 7c518a2..891a920 100644 --- a/README.md +++ b/README.md @@ -13,4 +13,4 @@ Documentation: https://pragmagic.github.io/godot-nim/ This project is licensed under the MIT license. Read [LICENSE](LICENSE) file for details. -Copyright (c) 2017 Xored Software, Inc. \ No newline at end of file +Copyright (c) 2018 Xored Software, Inc. \ No newline at end of file diff --git a/docs/docbuild.nim b/docs/docbuild.nim index fb957f5..bb3e21c 100644 --- a/docs/docbuild.nim +++ b/docs/docbuild.nim @@ -1,4 +1,4 @@ -# Copyright 2017 Xored Software, Inc. +# Copyright 2018 Xored Software, Inc. import threadpool, os, osproc, strutils, sequtils, pegs diff --git a/docs/docpublish.nim b/docs/docpublish.nim index d682aec..e55974c 100644 --- a/docs/docpublish.nim +++ b/docs/docpublish.nim @@ -1,4 +1,4 @@ -# Copyright 2017 Xored Software, Inc. +# Copyright 2018 Xored Software, Inc. import os, pegs, strutils import docbuild diff --git a/docs/index.rst b/docs/index.rst index bffe100..e14d38d 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -5,6 +5,7 @@ Nim bindings for Godot Engine :Author: Ruslan Mustakov :Version: |godotnimversion| :GitHub: `$GODOTNIM_GITHUB_URL <$GODOTNIM_GITHUB_URL>`_ +:License: MIT .. contents:: @@ -32,25 +33,11 @@ which adds features for editing GDScript and Godot resource files. Getting Started =============== -Building Godot +Getting Godot -------------- -The library requires a not yet released Godot version 3.0, which you can -build yourself by running the commands below (requires -`Git `_, -`Python 2.7 `_, -`SCons `_): - -.. code-block:: bash - git clone https://github.com/godotengine/godot.git - cd godot - scons platform= - -where ```` can be ``windows``, ``osx``, ``x11``. After build -is finished, Godot binaries will be under the ``bin`` folder. More details -about compiling Godot can be found in `Godot documentation -`_. - +The library requires Godot version 3.0, which you can get here: +https://godotengine.org/download Installing Nim ------------- @@ -63,7 +50,7 @@ Make sure you also have ``nimble`` (Nim's package manager) installed. Creating Project ---------------- -The fastest way to set up a Godot-Nim project is to use an existing stub: +The fastest way to set up a Godot-Nim project is to use the existing stub: .. code-block:: bash git clone --depth=1 https://github.com/pragmagic/godot-nim-stub.git myproject @@ -88,7 +75,7 @@ If you would like to use Nim in an existing project: build scripts (``nakefile.nim``, ``src/stub.nimble``) according to your own project structure. -2. Copy ``project/nimlib.tres`` to your Godot project folder. It is a +2. Copy ``nimlib.gdnlib`` to your Godot project folder. It is a GDNative library resource that contains paths to dynamic libraries compiled by Nim. diff --git a/godot.nimble b/godot.nimble index 7cd8c26..ba9987f 100644 --- a/godot.nimble +++ b/godot.nimble @@ -1,4 +1,4 @@ -version = "0.7.4" +version = "0.7.5" author = "Xored Software, Inc." description = "Godot Engine bindings" license = "MIT" diff --git a/godot/core/aabb.nim b/godot/core/aabb.nim index 5892081..88bf66a 100644 --- a/godot/core/aabb.nim +++ b/godot/core/aabb.nim @@ -1,4 +1,4 @@ -# Copyright (c) 2017 Xored Software, Inc. +# Copyright (c) 2018 Xored Software, Inc. import internal.godotinternaltypes, internal.godotstrings import godotcoretypes, gdnativeapi diff --git a/godot/core/arrays.nim b/godot/core/arrays.nim index a2b4580..afe8131 100644 --- a/godot/core/arrays.nim +++ b/godot/core/arrays.nim @@ -1,4 +1,4 @@ -# Copyright 2017 Xored Software, Inc. +# Copyright 2018 Xored Software, Inc. import hashes import internal.godotinternaltypes, internal.godotarrays diff --git a/godot/core/basis.nim b/godot/core/basis.nim index 6f7e9d9..1d4f33c 100644 --- a/godot/core/basis.nim +++ b/godot/core/basis.nim @@ -1,4 +1,4 @@ -# Copyright (c) 2017 Xored Software, Inc. +# Copyright (c) 2018 Xored Software, Inc. import math import godotbase, vector3, quats diff --git a/godot/core/colors.nim b/godot/core/colors.nim index dedb1a2..46fcaf3 100644 --- a/godot/core/colors.nim +++ b/godot/core/colors.nim @@ -1,4 +1,4 @@ -# Copyright (c) 2017 Xored Software, Inc. +# Copyright (c) 2018 Xored Software, Inc. import godotcoretypes, gdnativeapi diff --git a/godot/core/dictionaries.nim b/godot/core/dictionaries.nim index 9897814..85970e5 100644 --- a/godot/core/dictionaries.nim +++ b/godot/core/dictionaries.nim @@ -1,4 +1,4 @@ -# Copyright 2017 Xored Software, Inc. +# Copyright 2018 Xored Software, Inc. import hashes import internal.godotinternaltypes, internal.godotdictionaries, diff --git a/godot/core/godotbase.nim b/godot/core/godotbase.nim index 0f410b8..7871a87 100644 --- a/godot/core/godotbase.nim +++ b/godot/core/godotbase.nim @@ -1,4 +1,4 @@ -# Copyright (c) 2017 Xored Software, Inc. +# Copyright (c) 2018 Xored Software, Inc. import math diff --git a/godot/core/godotcoretypes.nim b/godot/core/godotcoretypes.nim index cc5da9e..c4c4b71 100644 --- a/godot/core/godotcoretypes.nim +++ b/godot/core/godotcoretypes.nim @@ -1,4 +1,4 @@ -# Copyright 2017 Xored Software, Inc. +# Copyright 2018 Xored Software, Inc. type Color* {.byref.} = object diff --git a/godot/core/nodepaths.nim b/godot/core/nodepaths.nim index 537d93e..428e261 100644 --- a/godot/core/nodepaths.nim +++ b/godot/core/nodepaths.nim @@ -1,4 +1,4 @@ -# Copyright 2017 Xored Software, Inc. +# Copyright 2018 Xored Software, Inc. import internal.godotinternaltypes, internal.godotnodepaths, internal.godotstrings diff --git a/godot/core/planes.nim b/godot/core/planes.nim index 99dd652..66de34e 100644 --- a/godot/core/planes.nim +++ b/godot/core/planes.nim @@ -1,4 +1,4 @@ -# Copyright (c) 2017 Xored Software, Inc. +# Copyright (c) 2018 Xored Software, Inc. import vector3 diff --git a/godot/core/poolarrays.nim b/godot/core/poolarrays.nim index 6d412f5..55ce845 100644 --- a/godot/core/poolarrays.nim +++ b/godot/core/poolarrays.nim @@ -1,4 +1,4 @@ -# Copyright 2017 Xored Software, Inc. +# Copyright 2018 Xored Software, Inc. import godotcoretypes import internal.godotinternaltypes, internal.godotpoolarrays, diff --git a/godot/core/quats.nim b/godot/core/quats.nim index ea8cad4..a60efc8 100644 --- a/godot/core/quats.nim +++ b/godot/core/quats.nim @@ -1,4 +1,4 @@ -# Copyright (c) 2017 Xored Software, Inc. +# Copyright (c) 2018 Xored Software, Inc. import internal.godotinternaltypes, internal.godotstrings import godotcoretypes, gdnativeapi diff --git a/godot/core/rect2.nim b/godot/core/rect2.nim index ad813a9..6e7c99e 100644 --- a/godot/core/rect2.nim +++ b/godot/core/rect2.nim @@ -1,4 +1,4 @@ -# Copyright (c) 2017 Xored Software, Inc. +# Copyright (c) 2018 Xored Software, Inc. import vector2 import internal.godotinternaltypes, internal.godotstrings diff --git a/godot/core/rids.nim b/godot/core/rids.nim index a113f60..35e054a 100644 --- a/godot/core/rids.nim +++ b/godot/core/rids.nim @@ -1,4 +1,4 @@ -# Copyright (c) 2017 Xored Software, Inc. +# Copyright (c) 2018 Xored Software, Inc. import godotcoretypes, internal.godotinternaltypes, gdnativeapi diff --git a/godot/core/transform2d.nim b/godot/core/transform2d.nim index 922b24b..6fa4619 100644 --- a/godot/core/transform2d.nim +++ b/godot/core/transform2d.nim @@ -1,4 +1,4 @@ -# Copyright (c) 2017 Xored Software, Inc. +# Copyright (c) 2018 Xored Software, Inc. import internal.godotinternaltypes, internal.godotstrings import godotcoretypes, gdnativeapi diff --git a/godot/core/transforms.nim b/godot/core/transforms.nim index fe43ccb..c9021d6 100644 --- a/godot/core/transforms.nim +++ b/godot/core/transforms.nim @@ -1,4 +1,4 @@ -# Copyright (c) 2017 Xored Software, Inc. +# Copyright (c) 2018 Xored Software, Inc. import internal.godotinternaltypes, internal.godotstrings import godotcoretypes, gdnativeapi diff --git a/godot/core/vector2.nim b/godot/core/vector2.nim index 86c8a7e..b665dbd 100644 --- a/godot/core/vector2.nim +++ b/godot/core/vector2.nim @@ -1,4 +1,4 @@ -# Copyright (c) 2017 Xored Software, Inc. +# Copyright (c) 2018 Xored Software, Inc. import internal.godotinternaltypes, internal.godotstrings import godotcoretypes, gdnativeapi diff --git a/godot/core/vector3.nim b/godot/core/vector3.nim index ded30ce..f90bcfa 100644 --- a/godot/core/vector3.nim +++ b/godot/core/vector3.nim @@ -1,4 +1,4 @@ -# Copyright (c) 2017 Xored Software, Inc. +# Copyright (c) 2018 Xored Software, Inc. import math import godotbase, godotcoretypes diff --git a/godot/gdnativeapi.nim b/godot/gdnativeapi.nim index 53aba0e..0037b8a 100644 --- a/godot/gdnativeapi.nim +++ b/godot/gdnativeapi.nim @@ -1,4 +1,4 @@ -# Copyright 2017 Xored Software, Inc. +# Copyright 2018 Xored Software, Inc. import internal.godotinternaltypes, core.godotcoretypes, macros diff --git a/godot/godot.nim b/godot/godot.nim index d72c4f1..f4a9bf8 100644 --- a/godot/godot.nim +++ b/godot/godot.nim @@ -1,4 +1,4 @@ -# Copyright 2017 Xored Software, Inc. +# Copyright 2018 Xored Software, Inc. import core.godotbase, godotinternal import core.godotcoretypes diff --git a/godot/godotapigen.nim b/godot/godotapigen.nim index 4075229..c3c07cd 100644 --- a/godot/godotapigen.nim +++ b/godot/godotapigen.nim @@ -1,4 +1,4 @@ -# Copyright 2017 Xored Software, Inc. +# Copyright 2018 Xored Software, Inc. import streams, json, os, strutils, times, sets, tables import sequtils, algorithm diff --git a/godot/godotinternal.nim b/godot/godotinternal.nim index 90903a7..0314624 100644 --- a/godot/godotinternal.nim +++ b/godot/godotinternal.nim @@ -1,4 +1,4 @@ -# Copyright 2017 Xored Software, Inc. +# Copyright 2018 Xored Software, Inc. import internal.godotinternaltypes, internal.godotarrays, internal.godotnodepaths, internal.godotpoolarrays, internal.godotstrings, diff --git a/godot/internal/godotarrays.nim b/godot/internal/godotarrays.nim index 32bcefa..c0736b5 100644 --- a/godot/internal/godotarrays.nim +++ b/godot/internal/godotarrays.nim @@ -1,4 +1,4 @@ -# Copyright (c) 2017 Xored Software, Inc. +# Copyright (c) 2018 Xored Software, Inc. import godotinternaltypes, gdnativeapi, core.godotcoretypes diff --git a/godot/internal/godotdictionaries.nim b/godot/internal/godotdictionaries.nim index 7c61b76..447647a 100644 --- a/godot/internal/godotdictionaries.nim +++ b/godot/internal/godotdictionaries.nim @@ -1,4 +1,4 @@ -# Copyright (c) 2017 Xored Software, Inc. +# Copyright (c) 2018 Xored Software, Inc. import godotinternaltypes, gdnativeapi diff --git a/godot/internal/godotinternaltypes.nim b/godot/internal/godotinternaltypes.nim index 2ae38c3..cfba553 100644 --- a/godot/internal/godotinternaltypes.nim +++ b/godot/internal/godotinternaltypes.nim @@ -1,4 +1,4 @@ -# Copyright 2017 Xored Software, Inc. +# Copyright 2018 Xored Software, Inc. const MAX_ARG_COUNT* = 256 diff --git a/godot/internal/godotnodepaths.nim b/godot/internal/godotnodepaths.nim index 11a0280..b4578c0 100644 --- a/godot/internal/godotnodepaths.nim +++ b/godot/internal/godotnodepaths.nim @@ -1,4 +1,4 @@ -# Copyright 2017 Xored Software, Inc. +# Copyright 2018 Xored Software, Inc. import godotinternaltypes, gdnativeapi diff --git a/godot/internal/godotpoolarrays.nim b/godot/internal/godotpoolarrays.nim index e655adb..52b1f3a 100644 --- a/godot/internal/godotpoolarrays.nim +++ b/godot/internal/godotpoolarrays.nim @@ -1,4 +1,4 @@ -# Copyright (c) 2017 Xored Software, Inc. +# Copyright (c) 2018 Xored Software, Inc. import godotinternaltypes, gdnativeapi import core.godotcoretypes diff --git a/godot/internal/godotstrings.nim b/godot/internal/godotstrings.nim index fce9a41..d3eb287 100644 --- a/godot/internal/godotstrings.nim +++ b/godot/internal/godotstrings.nim @@ -1,4 +1,4 @@ -# Copyright (c) 2017 Xored Software, Inc. +# Copyright (c) 2018 Xored Software, Inc. import godotinternaltypes, gdnativeapi diff --git a/godot/internal/godotvariants.nim b/godot/internal/godotvariants.nim index d48e876..3f961ca 100644 --- a/godot/internal/godotvariants.nim +++ b/godot/internal/godotvariants.nim @@ -1,4 +1,4 @@ -# Copyright 2017 Xored Software, Inc. +# Copyright 2018 Xored Software, Inc. import core.godotcoretypes, godotinternaltypes, gdnativeapi diff --git a/godot/nim/godotmacros.nim b/godot/nim/godotmacros.nim index 682f8ec..384aa2b 100644 --- a/godot/nim/godotmacros.nim +++ b/godot/nim/godotmacros.nim @@ -1,4 +1,4 @@ -# Copyright 2017 Xored Software, Inc. +# Copyright 2018 Xored Software, Inc. import macros, tables, typetraits import godotinternal, internal.godotvariants diff --git a/godot/nim/godotnim.nim b/godot/nim/godotnim.nim index f9da831..b989bda 100644 --- a/godot/nim/godotnim.nim +++ b/godot/nim/godotnim.nim @@ -1,4 +1,4 @@ -# Copyright 2017 Xored Software, Inc. +# Copyright 2018 Xored Software, Inc. import tables, typetraits, macros import gdnativeapi