Age | Commit message (Collapse) | Author |
|
|
|
|
|
This change allows error messages to be printed in the editor debugger when the game fails on load, instead of displaying them in the console terminal only.
|
|
this commit causes godot executable to return non-zero exit code
once invalid script is passed via --script during --check-only
|
|
|
|
Game camera override
|
|
This closes #33322.
|
|
|
|
Implemented uniform API in Viewport class to override 2D and/or
3D camera.
Added buttons in 2D and 3D editor viewport toolbars that override
the running game camera transform with the editor viewport camera
transform. Implemented via remote debugger protocol and camera
override API.
Removed LiveEditFuncs function pointers from ScriptDebugger class.
Since the debugger got access to the SceneTree instance (if one
exists), there is no need to store the function pointers. The live
edit functions in SceneTree are used directly instead. Also removed
the static version of live edit functions in SceneTree for the same
reason. This reduced the SceneTree -> Debugger coupling too since
the function pointers don't need to be set from SceneTree anymore.
Moved script_debugger_remote.h/cpp from 'core/' to 'scene/debugger/'.
This is because the remote debugger is now using SceneTree directly
and 'core/' classes should not depend on 'scene/' classes.
|
|
|
|
|
|
This will exit early if the audio/video driver specified doesn't exist.
|
|
This doesn't affect the resulting binary size, but allows to save
a phew seconds during compilation if building export templates.
|
|
|
|
|
|
The V-Sync project setting also applies to the editor, but
it will only take effect when the editor is restarted.
|
|
Always use the GLES2 backend when generating the GDNative API JSON
|
|
This enables the automatic GLES2 fallback if the hardware
doesn't support the GLES3 backend.
This closes #27768.
|
|
connect_to_stream now accepts optional parameter to specify which
certificates to trust.
Implement accept_stream (SSL server) with key/cert parameters to specify
the RSA key and X509 certificate resources.
|
|
|
|
Add project settings to easily set the minimum and maximum window size.
|
|
|
|
This reproduces the behavior used for printing when using the remote
debugger. The default limit is 100 errors and 100 warnings per second,
which makes it possible to display much more GDScript warnings
before overflowing.
This also adds a "Too many warnings" message, so that warnings
don't look like errors when overflowing anymore.
This closes #21896.
|
|
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 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>
|
|
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.
|