summaryrefslogtreecommitdiffstats
path: root/game/client/globals.cc
diff options
context:
space:
mode:
authoruntodesu <kirill@untode.su>2025-06-29 22:24:42 +0500
committeruntodesu <kirill@untode.su>2025-06-29 22:24:42 +0500
commit6cd00aacfa22fed6a54a9b812f6b069ad16feec0 (patch)
treeb77f4e665da3dd235cdb01e7e6ea78c1c02ecf2e /game/client/globals.cc
parentf440914e1ae453768d09383f332bc7844e0a700e (diff)
downloadvoxelius-6cd00aacfa22fed6a54a9b812f6b069ad16feec0.tar.bz2
voxelius-6cd00aacfa22fed6a54a9b812f6b069ad16feec0.zip
Move game sources into src subdirectory
Diffstat (limited to 'game/client/globals.cc')
-rw-r--r--game/client/globals.cc48
1 files changed, 0 insertions, 48 deletions
diff --git a/game/client/globals.cc b/game/client/globals.cc
deleted file mode 100644
index 6e00680..0000000
--- a/game/client/globals.cc
+++ /dev/null
@@ -1,48 +0,0 @@
-#include "client/pch.hh"
-
-#include "client/globals.hh"
-
-#include "core/config.hh"
-
-#include "client/gui_screen.hh"
-
-Config 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;
-
-Dimension* globals::dimension = nullptr;
-entt::entity globals::player;
-
-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;
-
-unsigned int globals::gui_scale = 0U;
-unsigned int globals::gui_screen = GUI_SCREEN_NONE;
-
-ALCdevice* globals::sound_dev;
-ALCcontext* globals::sound_ctx;