58 Commits

Author SHA1 Message Date
Thomas Staudinger
ef63d2e657 README: Add link to 4.5 branch and fix link to Godot compile docs
Signed-off-by: Thomas Staudinger <Staudi.Kaos@gmail.com>
2025-09-21 17:49:08 +02:00
Lukas Tenbrink
c58dfa4d99 Update contributing section in README.md 2025-09-11 19:48:13 +02:00
MJacred
f25c4df5c4 Fix URL to gdextension cpp example in the official docs 2025-06-09 11:49:03 +02:00
David Snopek
7660dd28b3 Stop referring to GDExtension as experimental in the README 2025-04-04 09:11:54 -05:00
Brecht Kuppens
bd3cf478c6 Update README.md with new pre-commit instructions 2025-01-20 09:25:59 +01:00
Hugo Locurcio
26459dc47b Use GitHub admonition syntax for the warning in README 2024-08-05 19:31:32 +02:00
Aaron Janeiro Stone
996d229b26 Fix README table of contents 2024-05-09 17:40:44 -04:00
Thaddeus Crews
a537b4af4d Use GDREGISTER defines in example 2024-04-10 14:15:28 -05:00
MJacred
8a535d0ecc Update README: fix godot-cpp issue tracker url 2024-01-22 10:50:27 +01:00
nightblade9
ee169b201b Update README.md with basic pre-requisites 2024-01-10 15:29:23 -05:00
Rémi Verschelde
54136ee835 Add 4.2 branch to README 2023-11-30 10:02:53 +01:00
A Thousand Ships
b3596a18e1 Fix formatting of compatibility_minimum examples
Without quotes the values is parsed as a float, breaking in various
cases.
2023-08-31 12:45:11 +02:00
David Snopek
1588dc8437 Clarify versions and examples in the README 2023-08-17 09:39:13 -05:00
A Thousand Ships
e586e11637 Fix link to test project in readme
Also updated format for library paths
2023-08-17 10:51:12 +02:00
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