Age | Commit message (Collapse) | Author |
|
Also added support for SCons project-absolute paths (starting with #) and
warning about duplicates in add_source_files(), and fixed
default_controller_mappings.gen.cpp being included twice after first build
due to *.cpp globbing.
Part of #30270.
|
|
Add access to interpolation fraction for fixed timestep interpolation
|
|
|
|
Addresses #30068
This is a prerequisite for allowing proper support for fixed timestep interpolation, exposing the interpolation fraction to the engine, modules and gdscript.
The interpolation fraction is the fraction through the current physics tick at the time of the current frame.
|
|
This results in slightly smaller binaries (-17 KB for an editor binary)
as no strings need to be allocated.
|
|
Make `--doctool` create directories if they don't exist
|
|
|
|
This prevents errors due to missing directories when generating
engine documentation.
This closes #17297.
|
|
|
|
Replace ` + "/" + ` with `String::file_add()`
|
|
Add godot version in backtrace message
|
|
Ensure --export implies --editor
|
|
Fixes #30149
|
|
Also, make spacing of "=" in the editor help a bit more consistent.
Closes #16086
|
|
Remove redundant code, possible NULL pointers and others
|
|
|
|
|
|
This is an editor setting and its value can also be toggled
using an entry in the Editor toolbar. The console will still
appear briefly when starting the project manager or editor,
as it's still compiled as console application.
Does not impact exported games, which will still run without
console in release and with console in debug mode.
A project setting or export option could be added to disable
it in debug mode if there's demand for it, but that would
greatly reduce the usefulness of debug builds if Windows users
can no longer report error and crash messages.
Fixes #17889.
Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
|
|
This can help to solve compilation issues on systems with Japanese
locale with encodings like Shift_JIS and UTF-8-BOM.
Also be more consistent using String::utf8() to represent cyrilic
unicode characters in test_string.cpp
Clarified some comments in test_string.cpp for some Unicode characters.
|
|
Add a separator in debug output for readability
|
|
Add an option to disable boot splash filtering
|
|
Disabling filtering is usually desired in projects using a pixel art style.
This closes #19415.
|
|
Resolves: #19734
|
|
Removes redundant "splash" setting, improves per pixel transparency documentation.
|
|
It's not necessary, but the vast majority of calls of error macros
do have an ending semicolon, so it's best to be consistent.
Most WARN_DEPRECATED calls did *not* have a semicolon, but there's
no reason for them to be treated differently.
|
|
|
|
improves per pixel transparency documentation.
|
|
Due to the high number of commits in the Godot repository,
7-character hashes were starting to become occasionally ambiguous.
In contrast, 9-character hashes are currently unambiguous for
all commits.
|
|
Supersedes #27736.
|
|
Also include website URL and make it configurable via version.py
together with the rest of the engine branding.
Add mention to MIT license in --help output.
|
|
Add native window/taskbar icon support for Windows and macOS.
|
|
Hide non-applicable CLI arguments in the server platform
|
|
This refactors some of the CLI parsing code to follow the CLI help's
order, making it easier to toggle using compile-time defines.
|
|
Co-authored-by: Markus Törnqvist <mjt@nysv.org>
|
|
Tweak the default low-processor usage mode to be 144 Hz-friendly
|
|
(cherry picked from commit a31bbb4bd920e28cbb2c737a785e91da5e7a599f)
|
|
On high-refresh rate displays, the old default value (8000) effectively
limited redrawing to 125 FPS, no matter whether V-Sync was enabled
or not. The new value limits redrawing to a value slightly above
144 FPS, decreasing input lag and making the editor feel smoother
when using freelook.
60 Hz displays aren't affected by this change when V-Sync is enabled,
since V-Sync will take care of limiting redrawing to 60 FPS.
|
|
|
|
Co-authored-by: bruvzg <7645683+bruvzg@users.noreply.github.com>
Co-authored-by: Marcelo Fernandez <marcelofg55@gmail.com>
|
|
|
|
- Allow the user to keep track of the nodes that might leak
- Possible fix for #27103
|
|
[Clean up] Removed unused/unnecessary methods.
|
|
Closes #27489
Fixup of 466a76ac2c7c6634ed1d78fde4ac011e2e70b710
Additionally, update `GDScriptCompiler` test to use Ref and to include `as` expressions.
|
|
It seems to stay compatible with formatting done by clang-format 6.0 and 7.0,
so contributors can keep using those versions for now (they will not undo those
changes).
|
|
Reorder reverse caps characters table for string lower case conversion
|
|
Fixes physic_fps=0 bug that prevented quit.
|
|
Adds `FALLTHROUGH` macro to specify when a fallthrough is intentional.
Can be replaced by `[[fallthrough]]` if/when we switch to C++17.
The warning is now enabled by default for GCC on `extra` warnings level
(part of GCC's `-Wextra`). It's not enabled in Clang's `-Wextra` yet,
but we could enable it manually once we switch to C++11. There's no
equivalent feature in MSVC for now.
Fixes #26135.
|
|
The binary search algorithm used to lookup character codes in the table
relies that the data must be ordered. This fixes `to_lower()` string
method to convert upper case to lower case properly, so that the
algorithm doesn't terminate prematurely.
Co-authored-by: AndreevAndrei (avandrei) <avandrei@MacBookAAV.local>
|
|
This reverts commit fb37284c027b494ed3ec21124001fcb729f42cc4.
This reverts commit 4db0f51b9aa76cfc7649787fe1970af606ce8dab.
|
|
|