summaryrefslogtreecommitdiff
path: root/main/main.cpp
AgeCommit message (Collapse)Author
2023-01-13Refactor ProjectSetting overridesJuan Linietsky
* Overrides no longer happen for set/get. * They must be checked with a new function: `ProjectSettings::get_setting_with_override()`. * GLOBAL_DEF/GLOBAL_GET updated to use this This change solves many problems: * General confusion about getting the actual or overriden setting. * Feature tags available after settings are loaded were being ignored, they are now considered. * Hacks required for the Project Settings editor to work. Fixes #64100. Fixes #64014. Fixes #61908.
2023-01-13Fix duplicate NavigationServer processsmix8
NavigationServer process was called twice each frame Also adds 3 missing MONITOR_TYPE entries.
2023-01-12Add framework for avoidance of color flash in new windowsPedro J. Estébanez
2023-01-12Merge pull request #70731 from smix8/navigationserver_performance_monitor_4.xRémi Verschelde
Add NavigationServer Performance Monitor
2023-01-09Merge pull request #70863 from bruvzg/win_init_minRémi Verschelde
Set main window min. size via Window object instead of DisplayServer to preserve it during window updates.
2023-01-08Add NavigationServer Performance Monitorsmix8
Adds Performance Monitor for NavigationServer3D.
2023-01-07Rework const on NavigationServer methodsJosh Jones
`const` is used on all methods, even when they cause modification of the server. This reworks the methods of the server to only use `const` on method that don't change the state of the server.
2023-01-07Add support for the custom initial screen for the main window, fix primary ↵bruvzg
screen detection.
2023-01-06Merge pull request #68429 from KoBeWi/PropertySettingsRémi Verschelde
Add PropertyInfo overload for GLOBAL_DEF
2023-01-05One Copyright Update to rule them allRémi Verschelde
As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
2023-01-03Set main window min. size via Window object instead of DisplayServer to ↵bruvzg
preserve it during window updates.
2022-12-16Add boot splash for the Godot Android EditorFredia Huya-Kouadio
2022-12-14CI: Fix dumping GDExtension interface and API for godot-cppRémi Verschelde
Follow-up to https://github.com/godotengine/godot-cpp/pull/960. Fix exit code for --dump-extension-api and --dump-gdextension-interface. Removed the planned API validation step as we still didn't implement anything, and maintaining a stub isn't useful.
2022-12-12Merge pull request #69718 from groud/finally_rename_gdnative_to_gdextensionRémi Verschelde
Rename all gdnative occurences to gdextension
2022-12-12Rename all gdnative occurences to gdextensionGilles Roudière
Non-exhaustive list of case-sensitive renames: GDExtension -> GDNative GDNATIVE -> GDEXTENSION gdextension -> gdnative ExtensionExtension ->Extension (for where there was GDNativeExtension) EXTENSION_EXTENSION ->EXTENSION (for where there was GDNATIVE_EXTENSION) gdnlib -> gdextension gdn_interface -> gde_interface gdni -> gde_interface
2022-12-11Add PropertyInfo overload for GLOBAL_DEFkobewi
2022-12-08Move navigation server finalize before physics serverAdam Scott
2022-12-07Fix `ResourceLoader::thread_load_tasks` crashAdam Scott
2022-12-07Merge pull request #69654 from BastiaanOlij/openxr_submit_depth_optionalRémi Verschelde
Make submitting depth buffer in OpenXR optional
2022-12-07Fix Determining Window for TouchscreenMarkus Sauermann
DisplayServer::screen_is_touchscreen will likely never utilize its parameter p_screen. This PR replaces this function by DisplayServer::is_touchscreen_available() with the same functionality. This solves the problem, that a SubViewport was used for determining the screen, which resulted in error messages.
2022-12-06Make submitting depth buffer in OpenXR optionalBastiaan Olij
2022-12-05Merge pull request #68660 from Calinou/improve-cli-helpRémi Verschelde
Improve command line help to fit on narrower displays
2022-12-04Improve command line help to fit on narrower displaysHugo Locurcio
- Update shell completions to reference recently added CLI arguments.
2022-12-04Use system fonts as fallback and improve system font handling.bruvzg
Add support for font weight and stretch selection when using system fonts. Add function to get system fallback font from a font name, style, text, and language code. Implement system font support for Android. Use system fonts as a last resort fallback.
2022-11-29Enable GLES3 on Androidclayjohn
Add necessary build flags and switch from using a GLES2 context to a GLES3 one. This also enables building for OpenXR Co-authored-by: m4gr3d <fhuyakou@gmail.com> Co-authored-by: dsnopek <dsnopek@gmail.com>
2022-11-28Merge pull request #69272 from rune-scape/rune-avoid-global-baseRémi Verschelde
Avoid using `get_global_class_native_base`
2022-11-28Merge pull request #68532 from ↵Rémi Verschelde
Calinou/cmdline-user-args-add-alternative-separator Allow `++` as an alternative separator to `--` for user CLI arguments
2022-11-27GDScript: Avoid using `get_global_class_native_base`rune-scape
2022-11-25Merge pull request #69079 from adamscott/fix-singleton-scene-cyclic-loadRémi Verschelde
Fix singleton scene cyclic loading
2022-11-25Fix singleton scene cyclic loadingAdam Scott
2022-11-25[Editor] Add button to keep the debug server open.Fabio Alessandrelli
The setting is stored in the project editor metadata, and the server is automatically started/stopped when the option change (only stopped if no session is currently active). The CLI option `--debug-server` now also forces the server to stay open (without saving the state, unlike the menu option). This commit also removes the "Keep debugger open" option in the script editor "debug" menu. That option was really confusing, it used to hide the bottom panel if and only if the debugger pane was selected, so if you had your output log open instead (default when pressing play) it would effectively do nothing. Having an option to save a click in such a very specific case seems very overkill.
2022-11-18Merge pull request #60686 from trollodel/move_editor_registrationRémi Verschelde
Move editor class and plugin registrations to a dedicated file
2022-11-18Move editor class and plugin registrations to a dedicated filetrollodel
2022-11-16Main::setup2 move print engine version to topdzil123
2022-11-15Merge pull request #65836 from Calinou/add-max-physics-steps-per-frame-settingRémi Verschelde
Implement adjusting the maximum number of physics steps per rendered frame
2022-11-11Allow `++` as an alternative separator to `--` for user CLI argumentsHugo Locurcio
This is required when using `startx` to start a Godot project, as `--` is used by `startx` for its own arguments (and there is no way to escape it).
2022-11-11Use forward-declarations in EditorPlugin where possibletrollodel
2022-11-08Remove duplicate project settings definitionskobewi
2022-11-02Merge pull request #60273 from Calinou/cli-export-release-renameRémi Verschelde
Rename `--export` command line argument to `--export-release`
2022-11-02Rename `--export` command line argument to `--export-release`Hugo Locurcio
This makes the action of exporting to release mode more explicit.
2022-11-02Style: Misc docs and comment style and language fixesRémi Verschelde
- Removed empty paragraphs in XML. - Consistently use bold style for "Example:", on a new line. - Fix usage of `[code]` when hyperlinks could be used (`[member]`, `[constant]`). - Fix invalid usage of backticks for inline code in BBCode. - Fix some American/British English spelling inconsistencies. - Other minor fixes spotted along the way, including typo fixes with codespell. - Don't specify `@GlobalScope` for `enum` and `constant`.
2022-11-02Merge pull request #67593 from clayjohn/GLES3-pmRémi Verschelde
Default to Opengl3 driver when using the project manager
2022-10-31Merge pull request #68044 from ztc0611/ios-promotionRémi Verschelde
Add ProMotion/High Refresh Rate Support to iOS Exports
2022-10-31Add ProMotion Support to iOS ExportsZach Coleman
2022-10-31Merge pull request #67879 from bruvzg/fix_no_vlkRémi Verschelde
Fix build with Vulkan disabled and no Vulkan headers installed.
2022-10-31Merge pull request #67578 from KoBeWi/GEDITORRémi Verschelde
Unify usage of GLOBAL/EDITOR_GET
2022-10-31Merge pull request #67309 from groud/implement_gdnative_interface_h_dumpRémi Verschelde
Implement a way to dump the gdnative_interface.h file from the executable
2022-10-26Fix build with Vulkan disabled and no Vulkan headers installed.bruvzg
2022-10-24Make window creation with custom position do not flashWei Guo
2022-10-18Default to Opengl3 driver when using the project managerclayjohn
This only applies when starting the project manager without command line args