godot/main
Rémi Verschelde aa2215e681
Main: Fixup bogus fallback to project manager with more bolognese
WARNING: Hacks everywhere!

The logic in `main.cpp` is due a full rewrite as it's extremely hacky,
splitting argument parsing over several functions, with a mess of global state
and assumptions about what combinations of arguments or lack thereof should
mean in terms of what we want to read: game, editor, project manager, or
command line tools such as `--doctool`, `--export` or `--script`.

Until this is fully rewritten, this patch hacks things some more to ensure
that we don't fall back to the project manager in cases where it's not
warranted, and especially not *too late*, as it can mean that we haven't
properly initialized stuff like `EditorPaths` needed by the PM (which in turn
impacts what kind of path will be used for logs and the shader cache, etc...
the rabbit hole goes deep).

Fixes #41435.
Fixes #49392.
Fixes #49658.
Fixes https://github.com/godotengine/godot/issues/38202#issuecomment-773158477.
2021-06-16 19:11:08 +02:00
..
SCsub Fix new black style check failures in various files. 2020-08-21 16:51:30 +01:00
app_icon.png Optimize images losslessly using `oxipng -o6 --strip all --zopfli` 2018-06-28 19:17:41 +02:00
main.cpp Main: Fixup bogus fallback to project manager with more bolognese 2021-06-16 19:11:08 +02:00
main.h Main: Fixup bogus fallback to project manager with more bolognese 2021-06-16 19:11:08 +02:00
main_builders.py Tweak the editor splash screen color to better match the default theme 2021-03-17 22:57:35 +01:00
main_timer_sync.cpp Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
main_timer_sync.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
performance.cpp Reorganize Project Settings 2021-02-18 11:23:34 -03:00
performance.h Update copyright statements to 2021 2021-01-01 20:19:21 +01:00
splash.png Optimize images losslessly using `oxipng -o6 --strip all --zopfli` 2019-10-12 23:23:33 +02:00
splash_editor.png Update AUTHORS and DONORS list 2020-10-28 14:06:22 +01:00