Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Libgodot c api #6

Closed
wants to merge 158 commits into from
Closed

Libgodot c api #6

wants to merge 158 commits into from

Conversation

JiepengTan
Copy link
Owner

No description provided.

m4rr5 and others added 30 commits May 5, 2024 09:09
…, with a description and a reference to the setting when the limit is hit and an ERR_FAIL_COND is hit.
- Implements the concept of GDExtension loaders that can be used to customize how GDExtensions are loaded and initialized.
- Moves the parsing of `.gdextension` config files to the new `GDExtensionLibraryLoader`.
- `GDExtensionManager` is now meant to be the main way to load/unload extensions and can optionally take a `GDExtensionLoader`.
- `EditorFileSystem` avoids unloading extensions if the file still exists, this should prevent unloading extensions that are outside the user project.
* Based on top of the GDExtensionLoader PR: godotengine#91166
* Add a new GodotInstance GDCLASS that provides startup and iteration commands to control a Godot instance.
* Adds a libgodot_create_godot_instance entry point that creates a new Godot instance and returns a GodotInstance object.
* Adds a libgodot_destroy_godot_instance entry point that destroys the Godot instance.
* Allow specifying an external native rendering surface handle to render Godot into the UI of a host application.
  * It is also possible to embed multiple Godot windows into the UI of a host application.
  * Currently supported on MacOS and iOS

Sample Apps: https://github.com/migeran/libgodot_project

Developed by [Migeran](https://migeran.com)

Sponsors & Acknowledgements:

* Initial development sponsored by [Smirk Software](https://www.smirk.gg/)
* Rebasing to Godot 4.3 and further development sponsored by [Xibbon Inc.](https://xibbon.com)
* The GDExtension registration of the host process & build system changes were based
  on @Faolan-Rad's LibGodot PR: godotengine#72883

Co-Authored-By: Gabor Koncz <[email protected]>
And fix a few occurrences of formatting errors that led me to this.
Blender commit https://projects.blender.org/blender/blender/commit/0f0a8df8a922cdb0796c0b3fdbdc5c669efb3059 which is landing in 4.2 deprecated `vertex_colors` GLTF property, use `export_vertex_color` instead.
Oops, forgot to do that. Motion-dependent stuff should now work properly
when using scaled displays.
…uery_elements

Add a project setting to configure the maximum number of timestamps.
akien-mga and others added 27 commits July 11, 2024 00:27
Fix a bunch of orphan StringName errors at ProjectSettings/Editor exit
…positor

Pre transparent compositor effects needs to run later
Fix RichTextLabel + `ui_down` scrolling too far
Clarify that some exclude properties of physics query parameters are copied
…lags

SCons: Pass optimization flags to the linker too, needed by Emscripten
…thread_guard

Remove our `ERR_ON_RENDER_THREAD` guard, it is not reliable
…meta_keyword

Add `push_url` as a keyword for `push_meta`
…uninitialized

Fix a couple GCC 14 `-Wmaybe-uninitialized` warnings
…size-error-fail-silently

Silence Vulkan "Unable to acquire framebuffer." swapchain error
…tion-warning-dialog-text

Fixes/node configuration warning dialog text
Properly linearize depth buffer for SSAO when using orthogonal camera
…crash

Fix edited node being removed before editor plugin handles focus loss
@JiepengTan JiepengTan closed this Jul 18, 2024
@JiepengTan JiepengTan deleted the libgodot_c_api branch July 18, 2024 05:16
JiepengTan added a commit that referenced this pull request Feb 17, 2025
Fixed spx2: updateProject failed when  editorCanvas is invisible
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.