diff options
Diffstat (limited to 'game/client/window_title.cc')
| -rw-r--r-- | game/client/window_title.cc | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/game/client/window_title.cc b/game/client/window_title.cc deleted file mode 100644 index 517429d..0000000 --- a/game/client/window_title.cc +++ /dev/null @@ -1,22 +0,0 @@ -#include "client/pch.hh" - -#include "client/window_title.hh" - -#include "core/version.hh" - -#include "shared/splash.hh" - -#include "client/globals.hh" - -void window_title::update(void) -{ - std::string title; - - if(globals::sound_ctx && globals::sound_dev) { - title = std::format("Voxelius {}: {}", project_version_string, splash::get()); - } else { - title = std::format("Voxelius {}: {} [NOSOUND]", project_version_string, splash::get()); - } - - glfwSetWindowTitle(globals::window, title.c_str()); -} |
