Age | Commit message (Collapse) | Author |
|
Godot.NET.Sdk
-------------
Godot uses its own custom MSBuild Sdk for game
projects. This new Sdk adds its own functionality
on top of 'Microsoft.NET.Sdk'.
The new Sdk is resolved from the NuGet package.
All the default boilerplate was moved from game
projects to the Sdk. The default csproj for
game project can now be as simple as:
```
<Project Sdk="Godot.NET.Sdk/4.0.0-dev2">
<PropertyGroup>
<TargetFramework>netstandard2.1</TargetFramework>
</PropertyGroup>
</Project>
```
Source files are included by automatically so
Godot no longer needs to keep the csproj in sync
when creating new source files.
Define constants
----------------
Godot defines a list of constants for conditional
compilation. When exporting games, this list also
included engine 'features' and platform 'bits'.
There were a few problems with that:
- The 'features' constants were only defined when
exporting games. Not when building the game for
running in the editor player.
- If the project was built externally by an IDE,
the constants wouldn't be defined at all.
The new Sdk assigns default values to these
constants when not built from the Godot editor,
i.e.: when built from an IDE or from the command
line. The default define constants are determined
from the system MSBuild is running on.
However, it's not possible for MSBuild to
determine the set of supported engine features.
It's also not possible to determine if a project
is being built to run on a 32-bit or 64-bit
Godot executable.
As such the 'features' and 'bits' constants had
to be removed.
The benefit of checking those at compile time
was questionable, and they can still be checked
at runtime.
The new list of define constants includes:
- GODOT
- GODOT_<PLATFORM>
Defaults to the platform MSBuild is running on.
- GODOT_<PC/MOBILE/WEB>
- TOOLS
When building with the 'Debug' configuration
(editor and editor player).
- GODOT_REAL_T_IS_DOUBLE
Not defined by default unless $(GodotRealTIsDouble)
is overriden to be 'true'.
.NET Standard
-------------
The target framework of game projects was changed
to 'netstandard2.1'.
|
|
VisualScript: Fix -Wduplicate-branches warning
|
|
Vulkan: Fix struct init for VkClearAttachment
|
|
When VSDEBUG is a no-op (default), those branches did the same (nothing).
|
|
The changes from #38835 were not sufficient to fix #38829, as VkClearAttachment
still had uninitialized member structs in its VkClearColor member struct.
The struct rabbit hole goes deep and trying to do validation as done in #38829
doesn't appear realistic.
|
|
Fix may be used unitialized warnings in _render_pass_create() and _draw_list_insert_clear_region().
|
|
C#: Fix restore not called when building game projects
|
|
|
|
Document polling rate limitations in InputEventMouseMotion
|
|
This closes #40579.
|
|
Fixes the get_visible_line_count() of rich text label
|
|
Add option to disable virtual keyboard for LineEdit
|
|
Fix XML in Plane.cs
|
|
Co-authored-by: Alexander Holland <alexander.holland@live.de>
|
|
|
|
Fix spelling & grammar in comments, docs, and messages
|
|
Android: Keyboard modifier and arrow key support for text edit
|
|
Update core documentation to match recent C# changes
|
|
|
|
|
|
Remove duplicate displayed node update call
|
|
Fix crash when closing a TextFile
|
|
Mention `toggled` signal for pressed state in BaseButton documentation
|
|
Also a few minor API changes like adding AABB.abs()
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
|
|
Travis: Back to latest emsdk, use embedded mode properly
|
|
|
|
Reverts and supersedes #39168 and #40563.
|
|
Add Method get_inverse_inertia_tensor
|
|
|
|
fix crlf for clipboard
|
|
Fix Vulkan layer creation when compiling with OSXCross
|
|
ENetGodot: Apply clang-format and style guide
|
|
Set minimum osx version to 10.12 for OSXCross compilation
|
|
Fixes this compilation error:
In file included from thirdparty/vulkan/vk_mem_alloc.cpp:7:
thirdparty/vulkan/vk_mem_alloc.h:3691:18: error: 'shared_mutex' is unavailable: introduced in macOS 10.12
std::shared_mutex m_Mutex;
^
/home/[user]/sources/osxcross/target/bin/../SDK/MacOSX10.14.sdk/usr/include/c++/v1/shared_mutex:178:58: note: 'shared_mutex' has been explicitly marked unavailable here
class _LIBCPP_TYPE_VIS _LIBCPP_AVAILABILITY_SHARED_MUTEX shared_mutex
|
|
|
|
TileSet Editor: Check polygon size before indexing
|
|
|
|
Fixes #39722.
|
|
Travis: Pin Emscripten version to 1.39.19
|
|
1.39.20 dropped support for the no-embedded mode we use since #39168,
as our detection logic hasn't been fixed yet to support the embedded
mode.
|
|
Improve the VisibilityNotifier and VisibilityEnabler class descriptions
|
|
Complete the EditorSettings class documentation
|
|
Document several editor-related classes to 100% completion
|
|
Document `Vector2.dot()` and `Vector3.dot()` more extensively
|
|
Create strings.xml files in the Gradle project to handle localization
|
|
bug with Tween.is_active, fixes #39760
|
|
Allow gltf2 morph targets including animations with no default value…
|
|
|
|
Add DynamicFont::get_available_chars()
|
|
|