Commit Graph

44 Commits (aef9ea73875ac763a89d1c51307f53faa87d535f)

Author SHA1 Message Date
dgcole 6f0649a86d Update getting started section of README.md 2023-05-24 21:49:55 -04:00
Rémi Verschelde e31e15bb3b
Add compatibility warning: godot-cpp is still in beta 2023-03-01 15:32:36 +01:00
Rémi Verschelde b0f9ca7918
Merge pull request #808 from Calinou/readme-add-branch-warning
Add a more prominent warning about repository branches in README
2023-01-19 13:55:01 +01:00
Rémi Verschelde bab247dcb6
Rename godot-headers to gdextension, move header to top folder
Changes the `<godot/gdextension_interface.h>` include to simply
`<gdextension_interface.h>`.

Refactor and better document the SCons and CMake logic around setting
the paths to the header and API JSON file.
2022-12-14 12:36:59 +01:00
Gilles Roudière c02e644679 Rename GDNative to GDExtension
Non-exhaustive list of case-sensitive renames:

GDExtension -> GDNative
GDNATIVE -> GDEXTENSION
gdextension -> gdnative
ExtensionExtension -> Extension (for where there was GDNativeExtension)
EXTENSION_EXTENSION -> EXTENSION (for where there was GDNATIVE_EXTENSION)
gdnlib -> gdextension
gdn_interface -> gde_interface
gdni -> gde_interface
2022-12-12 11:06:38 +01:00
Emmanuel Leblond fe86a94dcf
Fix const qualifier for parameters in GDExtension api functions 2022-12-03 00:27:07 +01:00
Hugo Locurcio 624aeae2d3
Add a more prominent warning about repository branches in README 2022-08-10 15:10:05 +02:00
bruvzg 0ee980abae
Rename OSX to macOS. 2022-07-20 11:01:47 +03:00
Naryosha 832e04b93b
Update register initializer/terminator in README
Referencing https://github.com/godotengine/godot-cpp/pull/750
2022-06-26 16:25:42 +07:00
Aaron Franke e5c4351bc7
Unify bits, android_arch, macos_arch ios_arch into arch, support non-x86
Unify arguments and add support for ARM64 and RV64 Linux
2022-06-01 13:00:25 -05:00
Patrick Exner 31eddf9e87 Update README file for macos support 2022-01-29 17:03:35 +01:00
Bastiaan Olij 92d25bcda6 Update readme to include new info 2021-09-27 23:08:12 +10:00
George Marques f3dea4b752 Add readme file (stub) 2021-09-27 23:08:08 +10:00
Bastiaan Olij 74cee6e6b7 Updating readme for new branch info 2021-09-27 20:28:16 +10:00
Rémi Verschelde 907d35126e
Merge pull request #538 from anunknowperson/patch-1 2021-09-27 11:44:43 +02:00
BoomerDev 8efe619e3a
Fix typo in README.md (#608) 2021-09-03 16:43:01 +02:00
anunknowperson a3f1175f1c
Update godot version in README.MD
3.2.4 -> 3.3
2021-03-25 12:42:52 +07:00
Fabio Alessandrelli f6899e190f Add JavaScript platform support (emcc, wasm).
Includes update to `README.md` with instructions on how to build a
GDNative library for webassembly.
2021-03-11 05:11:13 +01:00
Rémi Verschelde b36df8f86c Rename godot_headers to godot-headers to match upstream rename
Also updated the URLs which were still pointing to the old GitHub org.
2021-02-26 10:07:38 +01:00
Jummit ecf0948f35
Remove semicolons from GDScript example 2020-12-19 18:40:15 +01:00
Marc 0afb66c11a
Merge branch 'master' into fix-android-build 2020-08-23 16:14:16 +01:00
Marc Gilleron 63066f2570 Replace ".os" with ".o" because it is "Object files" on Linux 2020-08-23 15:11:57 +01:00
smeikx d808f04497 fix Android build command in README
Using `*-linux-android29-clang` results in errors, adding `++` fixes this.

Credits go to zhangshiqian1214:
https://github.com/godotengine/godot-cpp/issues/372#issuecomment-596079055
2020-06-30 22:27:13 +02:00
Hugo Locurcio 66521bb416 Improve README
This improves the writing style and adds more information about
compiling for each platform.

This also adds an explicit mention that HTML5 and iOS don't support
GDNative yet.
2020-04-10 10:44:16 +02:00
sheepandshepherd 65295d6c44 Mention rules for using Godot classes in the readme 2019-12-29 22:34:13 +01:00
TGRCDev 7482074779 Android compile fixed for Windows 2019-09-18 11:01:54 -07:00
Jayanth-L 77cde5bb3a Add android support, Update README.md
Compiles and runs fine on Android platform
2019-09-18 10:44:46 -07:00
Olivier FAURE a76df5c7d1
Add instructions to use submodules
Git submodules are a little tricky to use, but are the default
way to go when adding a github project as a dependency in C++.

Add instructions on how to add godot-cpp as a dependency when
working from an existing repository.
2019-03-13 15:56:53 +01:00
Bastiaan Olij fc20fa3fce Implementing clang-format and applying it to all classes 2018-11-24 09:09:41 +11:00
Bastiaan Olij b7ee774a59 Added info about the older branches to the README.md 2018-11-07 21:48:16 +11:00
karroffel 200bf226bf Nativescript 1.1
implemented instance binding data usage

This commit changes the way C++ wrapper classes work.
Previously, wrapper classes were merely wrapper *interfaces*.
They used the `this` pointer to store the actual foreign Godot
Object.

With the NativeScript 1.1 extension it is now possible to have
low-overhead language binding data attached to Objects.

The C++ bindings use that feature to implement *proper* wrappers
and enable regular C++ inheritance usage that way.

Some things might still be buggy and untested, but the C++
SimpleDemo works with those changes.

new and free change, custom free will crash engine, be wary

fix exporting of non-object types

fix free() crash with custom resources

added type tags and safe object casting

fix global type registration order

fix cast_to

changed build system to be more self contained

updated .gitignore

use typeid() for type tags now

fix indentation in bindings generator

remove accidentally added files

fix gitignore

Fixed up registering tool and updated godot_headers

Fix crash when calling String::split/split_floats

Was casting to the wrong object type.
Also adds parse_ints function to String with the same logic

Better warning/error macros

Change gitignore so we get our gen folders

New documentation based on nativescript 1.1

Fixed GODOT_SUBCLASS macro

Preventing crash when function returned null ptr

Adds needed include <typeinfo>

 Solves this issue #168 due to not having the include of typeinfo

Fix compile error of 'WARN_PRINT' and 'ERR_PRINT'.

cannot pass non-trivial object of type 'godot::String' to variadic function; expected type from format string was 'char *' [-Wnon-pod-varargs]

update vector3::distance_to

Remove godot_api.json as its now in the godot_headers submodule (api.json)
2018-11-07 21:23:08 +11:00
Joe Alam 50c9ed60b1 Fix misleading typo regarding generate_bindings 2018-07-20 23:23:49 +01:00
Kowbell 2bed3eeb49 Update README.md to include compilation error fix
A PR and issue were already submitted related to this but they are dead
in the water for other reasons. I needed this fix as well, so I assume this isn't a one-off
error and that this information may be helpful to others.
2018-06-19 20:06:35 -04:00
danielytics 85e73de2e0 adds an example of registering signal with arguments to README 2018-03-07 10:34:25 +00:00
QuentinCaffeino 43f57c7f80 Bindings are generated by default; Replaced generate with regenerate flag; Updated readme 2018-02-25 16:25:42 +01:00
Nickolai Korshunov 00e1b47c6f Updated readme 2018-02-18 15:11:22 +03:00
Dharkael 67a9edba33
README: Enable cpp syntax highlighting 2018-01-29 23:05:42 +01:00
RameshRavone b8946ae829
Update README.md 2018-01-24 14:45:12 +05:30
Ramesh Ravone 50dec32bda
Updated README 2017-10-03 21:18:47 +05:30
Josh Taylor be14fd92ae Fixed typos
Multiple instances of "directory" were misspelled as "director". Fixed plural spellings.
2017-08-04 17:41:25 -04:00
Ramesh Ravone 49b0301b58
Update README.md 2017-07-26 08:50:23 +05:30
Thomas Herzog ba32738ec7 Update README.md 2017-05-30 23:13:48 +02:00
Ramesh Ravone 440a3ffa19
[GDNative] Creating Example library 2017-05-18 16:53:13 +05:30
Karroffel c5a7453a58 Create README.md 2017-03-02 23:50:27 +01:00