From d0fbd68055e3f4a796330cc8acc6c0954b5327ff Mon Sep 17 00:00:00 2001 From: untodesu Date: Thu, 11 Sep 2025 15:48:53 +0500 Subject: Run clang-format across the project --- game/client/globals.cc | 94 +++++++++++++++++++++++++------------------------- 1 file changed, 47 insertions(+), 47 deletions(-) (limited to 'game/client/globals.cc') diff --git a/game/client/globals.cc b/game/client/globals.cc index 1932675..1cf1aeb 100644 --- a/game/client/globals.cc +++ b/game/client/globals.cc @@ -1,47 +1,47 @@ -#include "client/pch.hh" - -#include "client/globals.hh" - -#include "core/io/config_map.hh" - -#include "client/gui/gui_screen.hh" - -io::ConfigMap globals::client_config; - -GLFWwindow* globals::window; - -float globals::window_frametime; -float globals::window_frametime_avg; -std::uint64_t globals::window_frametime_us; -std::uint64_t globals::window_framecount; - -std::uint64_t globals::fixed_accumulator; - -int globals::width; -int globals::height; -float globals::aspect; - -GLuint globals::world_fbo; -GLuint globals::world_fbo_color; -GLuint globals::world_fbo_depth; - -std::size_t globals::num_drawcalls; -std::size_t globals::num_triangles; - -ENetHost* globals::client_host; - -world::Dimension* globals::dimension = nullptr; -entt::entity globals::player; - -ImFont* globals::font_unscii16; -ImFont* globals::font_unscii8; - -config::KeyBind* globals::gui_keybind_ptr = nullptr; -config::GamepadAxis* globals::gui_gamepad_axis_ptr = nullptr; -config::GamepadButton* globals::gui_gamepad_button_ptr = nullptr; - -unsigned int globals::gui_scale = 0U; -unsigned int globals::gui_screen = GUI_SCREEN_NONE; - -ALCdevice* globals::sound_dev; -ALCcontext* globals::sound_ctx; +#include "client/pch.hh" + +#include "client/globals.hh" + +#include "core/io/config_map.hh" + +#include "client/gui/gui_screen.hh" + +io::ConfigMap globals::client_config; + +GLFWwindow* globals::window; + +float globals::window_frametime; +float globals::window_frametime_avg; +std::uint64_t globals::window_frametime_us; +std::uint64_t globals::window_framecount; + +std::uint64_t globals::fixed_accumulator; + +int globals::width; +int globals::height; +float globals::aspect; + +GLuint globals::world_fbo; +GLuint globals::world_fbo_color; +GLuint globals::world_fbo_depth; + +std::size_t globals::num_drawcalls; +std::size_t globals::num_triangles; + +ENetHost* globals::client_host; + +world::Dimension* globals::dimension = nullptr; +entt::entity globals::player; + +ImFont* globals::font_unscii16; +ImFont* globals::font_unscii8; + +config::KeyBind* globals::gui_keybind_ptr = nullptr; +config::GamepadAxis* globals::gui_gamepad_axis_ptr = nullptr; +config::GamepadButton* globals::gui_gamepad_button_ptr = nullptr; + +unsigned int globals::gui_scale = 0U; +unsigned int globals::gui_screen = GUI_SCREEN_NONE; + +ALCdevice* globals::sound_dev; +ALCcontext* globals::sound_ctx; -- cgit