Commit Graph

885 Commits

Author SHA1 Message Date
WraithGlade f0d6c52ab0 Fixed minor typo: missing subject noun ("the script").
This sentence was missing the proper subject of the verb and was slightly grammatically off.
2026-01-25 13:57:38 -05:00
Patrick Exner (FlameLizard) 18aed7f3ac Rename demo to project for GDExtension docs (#11658)
* Rename demo to project for GDExtension docs

Renames demo to project based on consensus in the GDExtension meeting to
convey that GDExtensions and by extension the godot-cpp-template can be
used to both write addons but also game code

* Update tutorials/scripting/cpp/gdextension_cpp_example.rst

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>

---------

Co-authored-by: Max Hilbrunner <mhilbrunner@users.noreply.github.com>
Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2026-01-23 14:07:39 +01:00
Phlegm 78d655b41b Merge pull request #11356 from Phlegmlee/patch-2
Update gdscript_exports.rst - Add info on how to create property descriptions
2026-01-22 11:07:46 +01:00
Max Hilbrunner 84b2b12786 Merge pull request #11569 from Cyberhead21/change-scenes-manually
Document functions used for changing scenes manually
2026-01-22 10:54:23 +01:00
Max Hilbrunner d0a111048d Merge pull request #11319 from Ivorforce/simplify-godot-cpp-class-ref
Simplify the "Adding documentation" article for godot-cpp, and de-duplicate format information.
2026-01-22 10:02:29 +01:00
Lukas Tenbrink 2d4cccbc84 Simplify the "Adding documentation" article for godot-cpp, and de-duplicate information. 2026-01-21 13:11:30 +01:00
Max Hilbrunner 6222cd617d Merge pull request #11070 from dalexeev/gds-update-annotation-desc-and-guidelines
GDScript: Update annotation description and development guidelines
2026-01-18 14:33:27 +01:00
Max Hilbrunner 4e7fd3f3f2 Merge pull request #11473 from stan220/patch-1
Add Java/Kotlin to the list of other language bindings
2026-01-18 04:45:22 +01:00
Max Hilbrunner f82cb0bb2a Merge pull request #11589 from dsnopek/gdextension-interface-json2
Update `gdextension_interface.json` docs for change to functions without return values
2026-01-10 01:14:25 +01:00
Max Hilbrunner 5ab0a695f9 Merge pull request #11578 from ColinSORourke/GDExt_Registers
Clarify GDExtension GDRegister types in C++ Tutorial
2026-01-10 01:10:35 +01:00
Colin O'Rourke 7b4ca19da4 Add Register Class clarifying note. 2026-01-08 11:45:50 -08:00
David Snopek 91c1e5c289 Update gdextension_interface.json docs for change to functions without return values 2026-01-08 13:15:23 -06:00
Rémi Verschelde 8b56c6dfce Merge pull request #11551 from dsnopek/gdextension-interface-json
Add documentation page about `gdextension_interface.json`
2026-01-08 17:55:27 +01:00
David Snopek 221e0edc46 Add documentation page about gdextension_interface.json 2026-01-08 06:22:14 -06:00
Cyberhead21 db6dc3b36c Document functions used for changing scenes manually 2025-12-29 00:40:18 +01:00
Lukas Tenbrink 5072a892d7 Fix GitHub Actions workflow link in documentation 2025-12-22 17:50:17 +01:00
Max Hilbrunner 46a8e010ca GDScript: Clarify the use of callv() to call variadic functions (#11501) 2025-12-19 11:42:35 +01:00
Max Hilbrunner 04609f757e Merge pull request #11516 from dsnopek/godot-cpp-packedarrays-ptr
godot-cpp: Explain that `ptr()`/`ptrw()` should be used to efficiently access `Packed*Array`s
2025-12-10 19:20:05 +01:00
David Snopek 062e1bd1c0 godot-cpp: Explain that ptr()/ptrw() should be used to efficiently access Packed*Arrays 2025-12-07 05:41:25 -06:00
Danil Alexeev ed5bc5ebc7 GDScript: Clarify the use of callv() to call variadic functions 2025-11-27 16:33:55 +03:00
Alexander Morland b5965dddcd fixed indentation causing render issue on code sample
bad indentation causing render error if this code sample
2025-11-24 16:31:37 +01:00
Hugo Locurcio a4d57d6a14 Fix typo in GD0001 C# diagnostic example code 2025-11-17 21:05:19 +01:00
stan220 23e65f3e1f Update other_languages.rst
Add Java/Kotlin language link
2025-11-17 14:53:57 +03:00
Max Hilbrunner b197efa329 Merge pull request #11463 from wk-y/patch-1
Change 'subclasses' to 'inner classes' in style guide
2025-11-16 03:10:42 +01:00
Russell Sanborn bd52d13fe7 Update casing for autoload in singletons_autoload.rst
Updating this for consistency in the docs since the other references are
"autoload" or "Autoload".
2025-11-14 09:54:07 -06:00
wk-y 67ce5abf2b Change 'subclasses' to 'inner classes' in style guide 2025-11-12 15:55:52 -08:00
Max Hilbrunner fbec851fe2 Merge pull request #11308 from Calinou/gdscript-exports-read-value-early
Document reading an exported property's values early on in GDScript exports
2025-11-09 18:41:00 +01:00
Max Hilbrunner 2998e262b0 Merge pull request #11429 from Calinou/add-objectdb-profiler
Add documentation on using the ObjectDB profiler
2025-11-09 18:27:48 +01:00
Lukas Tenbrink aa22c323ff Add a section to godot-cpp explaining core types and where to find their documentation. 2025-11-07 11:34:14 +01:00
Lukas Tenbrink c46a399eab Update SConstruct and .gdextension file of the godot-cpp example with newest conventions.
# Conflicts:
#	tutorials/scripting/cpp/gdextension_cpp_example.rst
2025-11-05 15:26:00 +01:00
Max Hilbrunner 124436d178 Merge pull request #11426 from charjr/destroy-vector2
Explicitly destroy Vector2
2025-11-05 14:56:34 +01:00
Max Hilbrunner 452a0e7c9f Merge pull request #11381 from Calinou/gdextension-file-libraries-relative-path
Document relative paths in `.gdextension` files being supported
2025-11-05 14:51:44 +01:00
Samuel Nicholas 9e754497d6 godot-cpp CMake documentation guideline conformance updates (#11376)
* cmake-updates

Documentation Guideline Conformance
- added sphinx reference name, matching the scons name
- fix admonition formatting
- use proper headings rather than topic::
- reflow due to change of indent.
- add code block language to fix highlighting
- fix bad formatting for bullet points
-  a couple of full stops, colons, and capitilsation
- added a link to the android documentation in the admonition

---------

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
2025-11-05 14:51:14 +01:00
Hugo Locurcio 9420053a95 Document relative paths in .gdextension files being supported
- Mention support for comments in `.gdextension` files.
- List recommended import options for GDExtension icons.
2025-11-04 18:34:50 +01:00
Hugo Locurcio 229d02c146 Document reading an exported property value's early on in GDScript exports 2025-11-04 18:19:06 +01:00
Hugo Locurcio c91f5076a8 Add documentation on using the ObjectDB profiler 2025-11-03 18:51:29 +01:00
Max Hilbrunner a502dee2a9 Merge pull request #11372 from Calinou/gdscript-basics-function-parameter-defaults
Document function parameter defaults in GDScript reference
2025-10-31 18:43:47 +01:00
John e24d1809ef Explicitly destroy Vector2 2025-10-29 17:29:34 +00:00
Max Hilbrunner f908cdcb72 Merge pull request #11369 from Ivorforce/godot-cpp-intro-mobile
Remove mentions of mobile platforms from godot-cpp "Getting started" document
2025-10-22 21:11:31 +02:00
Max Hilbrunner f762543357 Merge pull request #11389 from dsnopek/gdextension-c-extern
Add `extern` to global struct variables in GDExtension C example
2025-10-22 21:09:14 +02:00
Max Hilbrunner 24c7dba4b9 Merge pull request #11390 from dsnopek/gdextension-c-funcptr-cast
Always cast function pointers in GDExtension C example
2025-10-22 14:17:15 +02:00
David Snopek d807d2b54c Always cast function pointers in GDExtension C example 2025-10-19 09:11:21 -05:00
David Snopek 6f371fa60e Add extern to global struct variables in GDExtension C example 2025-10-19 06:35:33 -05:00
John 8f4277b9f2 Remove erroneous include guard
The tail end of an include guard is provided
within the defs.h code blocks,
however #pragma once is used at the top instead.
2025-10-18 20:51:18 +01:00
Hugo Locurcio 2481589819 Document function parameter defaults in GDScript reference
This also fixes some reStructuredText syntax issues.
2025-10-14 23:40:37 +02:00
Samuel Nicholas b61cd5d935 Update Working with CMake GDExtension documentation (#11370)
- Respect the 80 column rule.
- Be more explicit in code blocks.
- Re-arrange for faster grokking.
- Remove half-made tested toolchain section.
- Fix /s/mutially inclusive/mutially exclusive.
- Remove old warning.
- Update examples.

Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com>
Co-authored-by: Lukas Tenbrink <lukas.tenbrink@gmail.com>
2025-10-14 16:51:55 +02:00
Lukas Tenbrink bf1841e7d1 Remove mentions of mobile platforms from godot-cpp "Getting started" document. 2025-10-13 00:38:54 +02:00
Max Hilbrunner f6b40a054e Merge pull request #11352 from Calinou/remove-old-version-references
Remove old Godot version references to simplify documentation
2025-10-11 12:45:38 +02:00
Max Hilbrunner 4dac16745f Merge pull request #11344 from Ivorforce/godot-cpp-custom-bindings
Move godot-cpp custom API file information from "Getting Started" to build system information
2025-10-09 13:36:08 +02:00
Max Hilbrunner 424d523d35 Merge pull request #11348 from Calinou/csharp-basics-net-9
Update C# basics for .NET 9
2025-10-09 13:26:06 +02:00