169 Commits

Author SHA1 Message Date
Hugo Locurcio
58fde764eb Mention GDNative versus shared libraries in Custom modules in C++ 2022-04-07 18:57:17 +02:00
Hugo Locurcio
73a22bf64b Rework the Optimizing for size page
- Order options from most important to least important.
- Give estimates on space saved for each option.
- Clarify the benefits of stripping binaries.
- Link to the Godot build options generator in the Overriding build
  options link instead of linking it in the Optimizing for size page.

(cherry picked from commit 8a95663768)
2021-12-21 16:16:56 +01:00
Matthew
cebf0e4550 Fix VS Code Compiling for X11 page link following cherry-pick (#5243) 2021-09-12 20:08:49 +02:00
developer
28630a62f6 Recommend LLDB over GDB for VSCode 2021-08-31 01:16:52 +02:00
hpnrep6
ddf52c28af Fix sub resource ID formatting in Object Class (#5175)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-08-16 04:38:38 +02:00
Rémi Verschelde
37a75713c3 Fixup linuxbsd reference in VS Code config
Should have been amended when cherry-picking 599b039194.
2021-07-22 23:02:17 +02:00
Yuri Sizov
599b039194 Add Windows configuration example for VS Code
(cherry picked from commit f1b05afd19)
2021-07-22 21:07:36 +02:00
Rémi Verschelde
e2b95576d8 Cleanup uses of double spaces between words or after punctuation 2021-07-13 00:44:58 +02:00
Aaron R
f8161ded64 Minor improvements to Custom modules in C++ 2021-07-13 00:13:39 +02:00
bruvzg
43dd5808e0 Add Xcode Instruments to the "Using C++ profilers with Godot" page. (#5037)
* Add Xcode Instruments to the "Using C++ profilers with Godot" page.
2021-07-12 23:09:57 +02:00
Max Hilbrunner
2649a8748f Merge pull request #4951 from Calinou/add-cpp-profilers-page-3.3
Add a page on using C++ profilers (3.3)
2021-07-06 08:48:27 +02:00
Adam Trhoň
30ed5e8043 Remove obsolete C++11 flag from C++ module examples (#5057)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-06-29 19:00:21 +02:00
Hugo Locurcio
a2c3770c51 Add a page on using C++ profilers
This is useful for troubleshooting performance issues that can't be
solved with the GDScript profiler.

The profilers covered aren't the most powerful ones, but they are quick
to set up and understand for occasional users.
2021-06-04 00:29:55 +02:00
ayushk7
f2178c02af Broken links fixed in developement/cpp 2021-05-25 00:59:18 +05:30
Hugo Locurcio
09de57369f Remove obsolete CXXFLAGS override in Custom modules in C++
This line is actually harmful now that Godot defaults to C++17.

(cherry picked from commit 8c4bd39379)
2021-05-18 12:22:16 +02:00
CssTeja
5f37360f38 Fix three typos
Fix typo in custom resource format loaders tutorial (#4765)

(cherry picked from commit 6cacd11cac)

Fix typo in audio streams tutorial (#4766)

(cherry picked from commit 3d8e3c90c4)

Fix typo in Soft Body tutorial (#4767)

(cherry picked from commit 836f8490f1)
2021-03-19 12:43:30 +01:00
bogdasar1985
0175c3e4fe Use "code editor" instead of "IDE" to refer to Visual Studio Code (#4760)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-03-18 14:36:54 +01:00
Anton Ivanov
bcf9a86a08 CLion setup: Update path and screenshot for CMakeLists.txt (#4490) 2021-03-01 16:42:56 +01:00
Kowalski
6ef35292ce Add documentation for debugging Godot Engine with CLion (#4376)
Co-authored-by: Gwendhal CLAUDEL <gwendhal.claudel@epitech.eu>
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2021-03-01 16:42:46 +01:00
Rémi Verschelde
a16e10538f Merge branch 'master' into 3.2 2020-09-28 15:43:06 +02:00
Andrii Doroshenko
8c5a168966 Document unit testing in the engine and modules (#4017) 2020-09-27 15:06:37 +02:00
bggd
3b1bf36647 Fix typo "C98" -> "C99" 2020-09-22 16:52:36 +09:00
Rémi Verschelde
36659945b9 Merge branch 'master' into 3.2 2020-09-18 14:50:35 +02:00
Yetizone
adc616fed2 qt_creator.rst: Add .glsl to the file extensions step 2020-09-17 14:25:57 +03:00
Rémi Verschelde
e337af304f Merge branch 'master' into 3.2 2020-09-09 13:02:26 +02:00
Yetizone
6ab6e7f609 Qt Creator tutorial: Specify C++ code style settings location (#3979) 2020-09-07 18:14:21 +02:00
parishrutpandey
d356d12421 Fix typo in Custom Godot servers (#3919)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2020-08-22 00:18:19 +02:00
Rémi Verschelde
76cf11c890 Merge branch 'master' into 3.2 2020-07-30 17:14:54 +02:00
Hugo Locurcio
515fb6bd6a Link to the Object class reference on the Object class page
People who end up on this page from a search engine might be confused
as to where they can find the Object class reference.
2020-07-10 23:33:20 +02:00
Rémi Verschelde
d48ff2b0a1 Merge branch 'master' into 3.2 2020-07-06 14:30:28 +02:00
unknown
abb92f1e10 Fix typos in Common engine methods and macros 2020-07-03 22:26:14 +03:00
Andy Maloney
c52533fc46 Clarify setting of library environment variables in module examples (#3730)
Co-authored-by: Hugo Locurcio <hugo.locurcio@hugo.pro>
2020-06-26 19:46:04 +02:00
Rémi Verschelde
c90dfba3a7 Merge branch 'master' into 3.2 2020-06-22 13:39:44 +02:00
Rémi Verschelde
206577f9a7 Merge pull request #3698 from madmiraal/add-code_blocks
Add instructions for configuring Code::Blocks as an IDE.
2020-06-22 13:39:27 +02:00
Marcel Admiraal
1f95afa0e1 Add instructions for configuring Code::Blocks as an IDE. 2020-06-22 12:12:34 +01:00
Rémi Verschelde
80957b8581 Merge branch 'master' into 3.2 2020-06-22 13:05:41 +02:00
Rémi Verschelde
06b5afcc03 Merge pull request #3701 from Calinou/fix-vformat-example
Fix `vformat()` example in Common engine methods and macros
2020-06-22 10:13:52 +02:00
Andy Maloney
bd4d9f4cd6 Add note about register_types file locations (#3702) 2020-06-19 23:37:15 +02:00
Hugo Locurcio
a135d305ff Fix vformat() example in Common engine methods and macros 2020-06-16 16:53:51 +02:00
Hugo Locurcio
7ee5001213 Add a page about common methods in Godot's C++ codebase
This is geared towards beginner engine contributors, but it could
also be useful to those writing custom C++ modules.
2020-06-08 22:17:34 +02:00
Maganty Rushyendra
08e298c082 Replace register_method with bind_method
ClassDB exposes `bind_method` in order to register functions, and not
`register_method` anymore.
2020-06-08 09:28:44 +08:00
Rémi Verschelde
f3d374ebf1 Merge branch 'master' into 3.2 2020-06-05 17:15:28 +02:00
Rémi Verschelde
ce7a9a6eab Images: Remove unused images (no 'image::' or 'figure::' reference) 2020-06-05 14:43:20 +02:00
Rémi Verschelde
39dbbb29e1 Images: always use relative 'img/' paths, without './' prefix
Move some files from root '/img' folder to the location where they are
actually used.
2020-06-05 14:38:25 +02:00
Yuri Sizov
e2e3ecc5b0 Fix typo in VS Code configuration guide (#3628) 2020-06-02 15:11:25 +02:00
Hugo Locurcio
55543f7bac Tweak arguments in the VS Code configuration guide
- Use the long name for the `--editor` option to make it more obvious.
- Document how to run a project directly while debugging.
- Put comments above the line to avoid horizontal overflow.
2020-05-30 22:46:05 +02:00
Dean Brettle
8fb5c787aa Add --path option to sample VS Code launch.json (#3617) 2020-05-30 22:18:53 +02:00
Rémi Verschelde
8f6b4a2ace Merge branch 'master' into 3.2 2020-05-27 13:45:21 +02:00
Hugo Locurcio
43410b3c86 Tweak LD_LIBRARY_PATH export to work with paths that contain spaces (#3585)
This also uses the `$PWD` environment variable which should always
be defined. It's also minutely faster than calling `$(pwd)` or using
the deprecated backtick syntax.
2020-05-26 14:24:56 +02:00
Andrii Doroshenko
9539091084 Document custom_modules build option (#3595)
* Document `custom_modules` build option
2020-05-26 14:23:15 +02:00