summaryrefslogtreecommitdiffstats
path: root/core/config/engine.h
diff options
context:
space:
mode:
authorAnatoli Babenia <anatoli@rainforce.org>2023-07-07 20:07:09 +0300
committerAnatoli Babenia <anatoli@rainforce.org>2024-02-15 14:10:11 +0300
commite25cfffc7f038246e276c1aa29660dcc2d87685f (patch)
treeb7b728d13e39d2e5f020cc9d49462335ee6b8c16 /core/config/engine.h
parent907db8eebcecb97d527edcaff77a1c87a6c068f5 (diff)
downloadredot-engine-e25cfffc7f038246e276c1aa29660dcc2d87685f.tar.gz
Add `--no-header` option to clean output
* Do not print empty line when header is disabled * Do not print Vulcan header * Also add "Print header" project setting (default On) (suggested by @kaissouDev) * Add docs for the project setting (with suggestions by @Mickeon and @akien-mga) Co-authored-by: Micky <66727710+Mickeon@users.noreply.github.com> Co-authored-by: A Thousand Ships <96648715+AThousandShips@users.noreply.github.com> Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
Diffstat (limited to 'core/config/engine.h')
-rw-r--r--core/config/engine.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/core/config/engine.h b/core/config/engine.h
index b64309a9e8..be7cd62f66 100644
--- a/core/config/engine.h
+++ b/core/config/engine.h
@@ -84,6 +84,8 @@ private:
bool project_manager_hint = false;
bool extension_reloading = false;
+ bool _print_header = true;
+
static Engine *singleton;
String write_movie_path;
@@ -123,6 +125,7 @@ public:
void set_print_error_messages(bool p_enabled);
bool is_printing_error_messages() const;
+ void print_header(const String &p_string) const;
void set_frame_delay(uint32_t p_msec);
uint32_t get_frame_delay() const;