Compare commits
8 Commits
28cbd0d8bf
...
58d2e6d62f
Author | SHA1 | Date |
---|---|---|
|
58d2e6d62f | |
|
0ddef6ed96 | |
|
64529361b4 | |
|
edf1637c2c | |
|
ee169b201b | |
|
bd40a94424 | |
|
f037a697eb | |
|
b17e668c15 |
|
@ -177,7 +177,7 @@ jobs:
|
||||||
GODOT=../godot-artifacts/godot.linuxbsd.editor.x86_64.mono ./run-tests.sh
|
GODOT=../godot-artifacts/godot.linuxbsd.editor.x86_64.mono ./run-tests.sh
|
||||||
|
|
||||||
- name: Upload artifact
|
- name: Upload artifact
|
||||||
uses: actions/upload-artifact@v3
|
uses: actions/upload-artifact@v4
|
||||||
with:
|
with:
|
||||||
name: ${{ matrix.artifact-name }}
|
name: ${{ matrix.artifact-name }}
|
||||||
path: ${{ matrix.artifact-path }}
|
path: ${{ matrix.artifact-path }}
|
||||||
|
|
|
@ -74,7 +74,10 @@ so formatting is done before your changes are submitted.
|
||||||
|
|
||||||
## Getting started
|
## Getting started
|
||||||
|
|
||||||
It's a bit similar to what it was for 3.x but also a bit different.
|
You need the same C++ pre-requisites installed that are required for the `godot` repository. Follow the [official build instructions for your target platform](https://docs.godotengine.org/en/latest/contributing/development/compiling/index.html#building-for-target-platforms).
|
||||||
|
|
||||||
|
Getting started with GDExtensions is a bit similar to what it was for 3.x but also a bit different.
|
||||||
|
|
||||||
This new approach is much more akin to how core Godot modules are structured.
|
This new approach is much more akin to how core Godot modules are structured.
|
||||||
|
|
||||||
Compiling this repository generates a static library to be linked with your shared lib,
|
Compiling this repository generates a static library to be linked with your shared lib,
|
||||||
|
|
|
@ -1778,9 +1778,9 @@ def generate_global_constant_binds(api, output_dir):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if enum_def["is_bitfield"]:
|
if enum_def["is_bitfield"]:
|
||||||
header.append(f'VARIANT_BITFIELD_CAST(godot::{enum_def["name"]});')
|
header.append(f'VARIANT_BITFIELD_CAST({enum_def["name"]});')
|
||||||
else:
|
else:
|
||||||
header.append(f'VARIANT_ENUM_CAST(godot::{enum_def["name"]});')
|
header.append(f'VARIANT_ENUM_CAST({enum_def["name"]});')
|
||||||
|
|
||||||
# Variant::Type is not a global enum, but only one line, it is worth to place in this file instead of creating new file.
|
# Variant::Type is not a global enum, but only one line, it is worth to place in this file instead of creating new file.
|
||||||
header.append(f"VARIANT_ENUM_CAST(godot::Variant::Type);")
|
header.append(f"VARIANT_ENUM_CAST(godot::Variant::Type);")
|
||||||
|
@ -2433,6 +2433,7 @@ def get_operator_id_name(op):
|
||||||
"unary-": "negate",
|
"unary-": "negate",
|
||||||
"unary+": "positive",
|
"unary+": "positive",
|
||||||
"%": "module",
|
"%": "module",
|
||||||
|
"**": "power",
|
||||||
"<<": "shift_left",
|
"<<": "shift_left",
|
||||||
">>": "shift_right",
|
">>": "shift_right",
|
||||||
"&": "bit_and",
|
"&": "bit_and",
|
||||||
|
|
|
@ -122,6 +122,7 @@ public:
|
||||||
OP_NEGATE,
|
OP_NEGATE,
|
||||||
OP_POSITIVE,
|
OP_POSITIVE,
|
||||||
OP_MODULE,
|
OP_MODULE,
|
||||||
|
OP_POWER,
|
||||||
// bitwise
|
// bitwise
|
||||||
OP_SHIFT_LEFT,
|
OP_SHIFT_LEFT,
|
||||||
OP_SHIFT_RIGHT,
|
OP_SHIFT_RIGHT,
|
||||||
|
|
Loading…
Reference in New Issue