Skip to content

Commit

Permalink
Update the gdextension api json to Godot 4.3 dev3
Browse files Browse the repository at this point in the history
  • Loading branch information
m4gr3d committed Feb 25, 2024
1 parent 99cc7fe commit 4a8eac9
Show file tree
Hide file tree
Showing 6 changed files with 287,905 additions and 13 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build-addon-on-push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,10 +94,10 @@ jobs:
- name: Create Godot-CPP library
run: |
cd aar/thirdparty/godot-cpp
scons platform=${{ matrix.platform }} target=template_debug arch=arm64
scons platform=${{ matrix.platform }} target=template_release arch=arm64
scons platform=${{ matrix.platform }} target=template_debug arch=x86_64
scons platform=${{ matrix.platform }} target=template_release arch=x86_64
scons platform=${{ matrix.platform }} target=template_debug arch=arm64 custom_api_file=../godot_cpp_gdextension_api/extension_api.json
scons platform=${{ matrix.platform }} target=template_release arch=arm64 custom_api_file=../godot_cpp_gdextension_api/extension_api.json
scons platform=${{ matrix.platform }} target=template_debug arch=x86_64 custom_api_file=../godot_cpp_gdextension_api/extension_api.json
scons platform=${{ matrix.platform }} target=template_release arch=x86_64 custom_api_file=../godot_cpp_gdextension_api/extension_api.json
cd ../../..
if: matrix.platform == 'android'
- name: Create Godot OpenXR Vendors AARs
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/mavencentral-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,10 @@ jobs:
- name: Release build
run: |
cd thirdparty/godot-cpp
scons platform=android target=template_debug arch=arm64
scons platform=android target=template_release arch=arm64
scons platform=android target=template_debug arch=x86_64
scons platform=android target=template_release arch=x86_64
scons platform=android target=template_debug arch=arm64 custom_api_file=../godot_cpp_gdextension_api/extension_api.json
scons platform=android target=template_release arch=arm64 custom_api_file=../godot_cpp_gdextension_api/extension_api.json
scons platform=android target=template_debug arch=x86_64 custom_api_file=../godot_cpp_gdextension_api/extension_api.json
scons platform=android target=template_release arch=x86_64 custom_api_file=../godot_cpp_gdextension_api/extension_api.json
cd ../..
./gradlew -Prelease_version=${{ github.ref_name }} build
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,10 @@ git submodule update --init
Build the Android C++ bindings using the following commands.
```
cd thirdparty/godot-cpp
scons platform=android target=template_debug arch=arm64
scons platform=android target=template_release arch=arm64
scons platform=android target=template_debug arch=x86_64
scons platform=android target=template_release arch=x86_64
scons platform=android target=template_debug arch=arm64 custom_api_file=../godot_cpp_gdextension_api/extension_api.json
scons platform=android target=template_release arch=arm64 custom_api_file=../godot_cpp_gdextension_api/extension_api.json
scons platform=android target=template_debug arch=x86_64 custom_api_file=../godot_cpp_gdextension_api/extension_api.json
scons platform=android target=template_release arch=x86_64 custom_api_file=../godot_cpp_gdextension_api/extension_api.json
```

When the command is completed, you should have static libraries stored in `thirdparty/godot-cpp/bin`
Expand Down
2 changes: 1 addition & 1 deletion thirdparty/godot-cpp
Submodule godot-cpp updated 45 files
+1 −1 .github/ISSUE_TEMPLATE/bug_report.yml
+1 −1 .github/workflows/ci.yml
+0 −11 CMakeLists.txt
+5 −2 README.md
+162 −15 binding_generator.py
+111 −3 gdextension/gdextension_interface.h
+32 −28 include/godot_cpp/classes/wrapped.hpp
+22 −22 include/godot_cpp/core/binder_common.hpp
+12 −0 include/godot_cpp/core/builtin_ptrcall.hpp
+45 −6 include/godot_cpp/core/class_db.hpp
+2 −0 include/godot_cpp/core/object.hpp
+11 −0 include/godot_cpp/core/property_info.hpp
+6 −0 include/godot_cpp/core/type_info.hpp
+4 −1 include/godot_cpp/godot.hpp
+132 −73 include/godot_cpp/templates/cowdata.hpp
+9 −0 include/godot_cpp/templates/safe_refcount.hpp
+53 −38 include/godot_cpp/templates/vector.hpp
+3 −3 include/godot_cpp/variant/aabb.hpp
+9 −9 include/godot_cpp/variant/char_string.hpp
+9 −0 include/godot_cpp/variant/typed_array.hpp
+7 −0 include/godot_cpp/variant/variant.hpp
+3 −0 include/godot_cpp/variant/vector2i.hpp
+11 −0 include/godot_cpp/variant/vector3i.hpp
+11 −0 include/godot_cpp/variant/vector4i.hpp
+41 −0 src/core/class_db.cpp
+13 −2 src/godot.cpp
+18 −18 src/variant/char_string.cpp
+20 −20 src/variant/packed_arrays.cpp
+8 −0 src/variant/vector2i.cpp
+0 −22 test/CMakeLists.txt
+5 −0 test/project/example.gd
+4 −0 test/project/main.gd
+3 −1 test/project/main.tscn
+31 −0 test/src/example.cpp
+33 −2 test/src/example.h
+3 −1 test/src/register_types.cpp
+9 −0 tools/android.py
+94 −0 tools/common_compiler_flags.py
+108 −39 tools/godotcpp.py
+3 −0 tools/ios.py
+4 −1 tools/linux.py
+3 −0 tools/macos.py
+0 −144 tools/targets.py
+3 −0 tools/web.py
+3 −2 tools/windows.py
22 changes: 22 additions & 0 deletions thirdparty/godot_cpp_gdextension_api/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# GDExtension API

This directory contains the API JSON for
[**Godot Engine**](https://github.com/godotengine/godot)'s *GDExtensions* API.

## Current API version
**Godot Engine v4.3.dev3.official**

## Updating API

The API JSON is synced with the latest version of Godot used when developing the plugin. Here is the
update procedure:

- Compile [Godot Engine](https://github.com/godotengine/godot) at the specific
version/commit which you are using.
* Or if you use an official release, download that version of the Godot editor.
- Use the compiled or downloaded executable to generate the `extension_api.json` file with:

```
godot --dump-extension-api
```
- Copy the generated `extension_api.json` file into this directory
Loading

0 comments on commit 4a8eac9

Please sign in to comment.