-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated godot-cpp, patches and build scripts
- Loading branch information
1 parent
29d4104
commit 74cb551
Showing
13 changed files
with
110 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Submodule godot-cpp
updated
13 files
+4 −5 | .github/actions/godot-cache-restore/action.yml | |
+17 −0 | .github/actions/godot-cache-save/action.yml | |
+8 −2 | .github/workflows/ci.yml | |
+38 −8 | binding_generator.py | |
+13 −9 | include/godot_cpp/classes/wrapped.hpp | |
+9 −11 | include/godot_cpp/core/type_info.hpp | |
+1 −1 | include/godot_cpp/templates/safe_refcount.hpp | |
+14 −2 | test/project/example.gdextension | |
+14 −0 | test/src/example.cpp | |
+1 −0 | test/src/example.h | |
+7 −0 | tools/godotcpp.py | |
+3 −13 | tools/ios.py | |
+9 −4 | tools/web.py |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
diff --git a/tools/web.py b/tools/web.py | ||
index 79b4b24..075936e 100644 | ||
index c8f07c5..010efac 100644 | ||
--- a/tools/web.py | ||
+++ b/tools/web.py | ||
@@ -41,6 +41,9 @@ def generate(env): | ||
env.Append(CPPFLAGS=["-s", "SIDE_MODULE=1"]) | ||
env.Append(LINKFLAGS=["-s", "SIDE_MODULE=1"]) | ||
|
||
@@ -45,6 +45,9 @@ def generate(env): | ||
# Force wasm longjmp mode. | ||
env.Append(CCFLAGS=["-sSUPPORT_LONGJMP='wasm'"]) | ||
env.Append(LINKFLAGS=["-sSUPPORT_LONGJMP='wasm'"]) | ||
+ | ||
+ # Use big int | ||
+ env.Append(LINKFLAGS=["-sWASM_BIGINT"]) | ||
+ | ||
env.Append(CPPDEFINES=["WEB_ENABLED", "UNIX_ENABLED"]) | ||
|
||
common_compiler_flags.generate(env) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
|
||
#include "../thirdparty/tracy/public/TracyClient.cpp" | ||
|
||
// Undefine `poll` as it may override godot::HTTPClient::poll | ||
#undef poll |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters