summaryrefslogtreecommitdiffstats
path: root/game/client/globals.cc
diff options
context:
space:
mode:
authoruntodesu <kirill@untode.su>2025-06-25 00:44:36 +0500
committeruntodesu <kirill@untode.su>2025-06-25 00:44:36 +0500
commit88c01588aa0830e219eaa62588839e4d1e2883ce (patch)
tree602bb27dd3399aab4aae8c19630e3b7a8dac824b /game/client/globals.cc
parent99cf6cca8dbbc1e563c10cf0167432d3d8af9783 (diff)
downloadvoxelius-88c01588aa0830e219eaa62588839e4d1e2883ce.tar.bz2
voxelius-88c01588aa0830e219eaa62588839e4d1e2883ce.zip
Clang-format the entire source code
Diffstat (limited to 'game/client/globals.cc')
-rw-r--r--game/client/globals.cc23
1 files changed, 12 insertions, 11 deletions
diff --git a/game/client/globals.cc b/game/client/globals.cc
index 071cf0a..6e00680 100644
--- a/game/client/globals.cc
+++ b/game/client/globals.cc
@@ -1,4 +1,5 @@
#include "client/pch.hh"
+
#include "client/globals.hh"
#include "core/config.hh"
@@ -7,7 +8,7 @@
Config globals::client_config;
-GLFWwindow *globals::window;
+GLFWwindow* globals::window;
float globals::window_frametime;
float globals::window_frametime_avg;
@@ -27,21 +28,21 @@ GLuint globals::world_fbo_depth;
std::size_t globals::num_drawcalls;
std::size_t globals::num_triangles;
-ENetHost *globals::client_host;
+ENetHost* globals::client_host;
-Dimension *globals::dimension = nullptr;
+Dimension* globals::dimension = nullptr;
entt::entity globals::player;
-ImFont *globals::font_debug;
-ImFont *globals::font_default;
-ImFont *globals::font_chat;
+ImFont* globals::font_debug;
+ImFont* globals::font_default;
+ImFont* globals::font_chat;
-ConfigKeyBind *globals::gui_keybind_ptr = nullptr;
-ConfigGamepadAxis *globals::gui_gamepad_axis_ptr = nullptr;
-ConfigGamepadButton *globals::gui_gamepad_button_ptr = nullptr;
+ConfigKeyBind* globals::gui_keybind_ptr = nullptr;
+ConfigGamepadAxis* globals::gui_gamepad_axis_ptr = nullptr;
+ConfigGamepadButton* 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;
+ALCdevice* globals::sound_dev;
+ALCcontext* globals::sound_ctx;