Update license year and fix doc to have Godot 3.0 download URL
This commit is contained in:
parent
5ccf351b5a
commit
0aab6e17ef
37 changed files with 42 additions and 55 deletions
2
.vscode/settings.json
vendored
2
.vscode/settings.json
vendored
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
2
LICENSE
2
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,
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
Copyright (c) 2018 Xored Software, Inc.
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 2017 Xored Software, Inc.
|
||||
# Copyright 2018 Xored Software, Inc.
|
||||
|
||||
import threadpool, os, osproc, strutils, sequtils, pegs
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 2017 Xored Software, Inc.
|
||||
# Copyright 2018 Xored Software, Inc.
|
||||
|
||||
import os, pegs, strutils
|
||||
import docbuild
|
||||
|
|
|
|||
|
|
@ -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 <https://git-scm.com/downloads>`_,
|
||||
`Python 2.7 <https://www.python.org/downloads/>`_,
|
||||
`SCons <http://www.scons.org/>`_):
|
||||
|
||||
.. code-block:: bash
|
||||
git clone https://github.com/godotengine/godot.git
|
||||
cd godot
|
||||
scons platform=<your_platform>
|
||||
|
||||
where ``<your_platform>`` 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
|
||||
<https://godot.readthedocs.io/en/stable/development/compiling/index.html>`_.
|
||||
|
||||
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.
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
version = "0.7.4"
|
||||
version = "0.7.5"
|
||||
author = "Xored Software, Inc."
|
||||
description = "Godot Engine bindings"
|
||||
license = "MIT"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (c) 2017 Xored Software, Inc.
|
||||
# Copyright (c) 2018 Xored Software, Inc.
|
||||
|
||||
import internal.godotinternaltypes, internal.godotstrings
|
||||
import godotcoretypes, gdnativeapi
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 2017 Xored Software, Inc.
|
||||
# Copyright 2018 Xored Software, Inc.
|
||||
|
||||
import hashes
|
||||
import internal.godotinternaltypes, internal.godotarrays
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (c) 2017 Xored Software, Inc.
|
||||
# Copyright (c) 2018 Xored Software, Inc.
|
||||
|
||||
import math
|
||||
import godotbase, vector3, quats
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (c) 2017 Xored Software, Inc.
|
||||
# Copyright (c) 2018 Xored Software, Inc.
|
||||
|
||||
import godotcoretypes, gdnativeapi
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 2017 Xored Software, Inc.
|
||||
# Copyright 2018 Xored Software, Inc.
|
||||
|
||||
import hashes
|
||||
import internal.godotinternaltypes, internal.godotdictionaries,
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (c) 2017 Xored Software, Inc.
|
||||
# Copyright (c) 2018 Xored Software, Inc.
|
||||
|
||||
import math
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 2017 Xored Software, Inc.
|
||||
# Copyright 2018 Xored Software, Inc.
|
||||
|
||||
type
|
||||
Color* {.byref.} = object
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 2017 Xored Software, Inc.
|
||||
# Copyright 2018 Xored Software, Inc.
|
||||
|
||||
import internal.godotinternaltypes, internal.godotnodepaths,
|
||||
internal.godotstrings
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (c) 2017 Xored Software, Inc.
|
||||
# Copyright (c) 2018 Xored Software, Inc.
|
||||
|
||||
import vector3
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 2017 Xored Software, Inc.
|
||||
# Copyright 2018 Xored Software, Inc.
|
||||
|
||||
import godotcoretypes
|
||||
import internal.godotinternaltypes, internal.godotpoolarrays,
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (c) 2017 Xored Software, Inc.
|
||||
# Copyright (c) 2018 Xored Software, Inc.
|
||||
|
||||
import internal.godotinternaltypes, internal.godotstrings
|
||||
import godotcoretypes, gdnativeapi
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (c) 2017 Xored Software, Inc.
|
||||
# Copyright (c) 2018 Xored Software, Inc.
|
||||
|
||||
import vector2
|
||||
import internal.godotinternaltypes, internal.godotstrings
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (c) 2017 Xored Software, Inc.
|
||||
# Copyright (c) 2018 Xored Software, Inc.
|
||||
|
||||
import godotcoretypes, internal.godotinternaltypes, gdnativeapi
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (c) 2017 Xored Software, Inc.
|
||||
# Copyright (c) 2018 Xored Software, Inc.
|
||||
|
||||
import internal.godotinternaltypes, internal.godotstrings
|
||||
import godotcoretypes, gdnativeapi
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (c) 2017 Xored Software, Inc.
|
||||
# Copyright (c) 2018 Xored Software, Inc.
|
||||
|
||||
import internal.godotinternaltypes, internal.godotstrings
|
||||
import godotcoretypes, gdnativeapi
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (c) 2017 Xored Software, Inc.
|
||||
# Copyright (c) 2018 Xored Software, Inc.
|
||||
|
||||
import internal.godotinternaltypes, internal.godotstrings
|
||||
import godotcoretypes, gdnativeapi
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (c) 2017 Xored Software, Inc.
|
||||
# Copyright (c) 2018 Xored Software, Inc.
|
||||
|
||||
import math
|
||||
import godotbase, godotcoretypes
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 2017 Xored Software, Inc.
|
||||
# Copyright 2018 Xored Software, Inc.
|
||||
|
||||
import internal.godotinternaltypes, core.godotcoretypes, macros
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 2017 Xored Software, Inc.
|
||||
# Copyright 2018 Xored Software, Inc.
|
||||
|
||||
import core.godotbase, godotinternal
|
||||
import core.godotcoretypes
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (c) 2017 Xored Software, Inc.
|
||||
# Copyright (c) 2018 Xored Software, Inc.
|
||||
|
||||
import godotinternaltypes, gdnativeapi, core.godotcoretypes
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (c) 2017 Xored Software, Inc.
|
||||
# Copyright (c) 2018 Xored Software, Inc.
|
||||
|
||||
import godotinternaltypes, gdnativeapi
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 2017 Xored Software, Inc.
|
||||
# Copyright 2018 Xored Software, Inc.
|
||||
|
||||
const MAX_ARG_COUNT* = 256
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 2017 Xored Software, Inc.
|
||||
# Copyright 2018 Xored Software, Inc.
|
||||
|
||||
import godotinternaltypes, gdnativeapi
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (c) 2017 Xored Software, Inc.
|
||||
# Copyright (c) 2018 Xored Software, Inc.
|
||||
|
||||
import godotinternaltypes, gdnativeapi
|
||||
import core.godotcoretypes
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright (c) 2017 Xored Software, Inc.
|
||||
# Copyright (c) 2018 Xored Software, Inc.
|
||||
|
||||
import godotinternaltypes, gdnativeapi
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 2017 Xored Software, Inc.
|
||||
# Copyright 2018 Xored Software, Inc.
|
||||
|
||||
import core.godotcoretypes, godotinternaltypes, gdnativeapi
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 2017 Xored Software, Inc.
|
||||
# Copyright 2018 Xored Software, Inc.
|
||||
|
||||
import macros, tables, typetraits
|
||||
import godotinternal, internal.godotvariants
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 2017 Xored Software, Inc.
|
||||
# Copyright 2018 Xored Software, Inc.
|
||||
|
||||
import tables, typetraits, macros
|
||||
import gdnativeapi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue