summaryrefslogtreecommitdiffstats
path: root/src/game/client/gui/crosshair.cc
diff options
context:
space:
mode:
authoruntodesu <kirill@untode.su>2025-12-26 14:50:33 +0500
committeruntodesu <kirill@untode.su>2025-12-26 14:50:33 +0500
commit6c2abde5c99a236453b795abaa6d7d70105e31f7 (patch)
treef085049b9615a7d03cca5de40adb6529d6c13e11 /src/game/client/gui/crosshair.cc
parentf40d09cb8f712e87691af4912f3630d92d692779 (diff)
downloadvoxelius-6c2abde5c99a236453b795abaa6d7d70105e31f7.tar.bz2
voxelius-6c2abde5c99a236453b795abaa6d7d70105e31f7.zip
Just a big Ctrl+H refactoring
Diffstat (limited to 'src/game/client/gui/crosshair.cc')
-rw-r--r--src/game/client/gui/crosshair.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/client/gui/crosshair.cc b/src/game/client/gui/crosshair.cc
index 649602f..758a10b 100644
--- a/src/game/client/gui/crosshair.cc
+++ b/src/game/client/gui/crosshair.cc
@@ -13,7 +13,7 @@
static resource_ptr<TextureGUI> texture;
-void gui::crosshair::init(void)
+void crosshair::init(void)
{
texture = resource::load<TextureGUI>("textures/gui/hud_crosshair.png",
TEXTURE_GUI_LOAD_CLAMP_S | TEXTURE_GUI_LOAD_CLAMP_T | TEXTURE_GUI_LOAD_VFLIP);
@@ -24,12 +24,12 @@ void gui::crosshair::init(void)
}
}
-void gui::crosshair::shutdown(void)
+void crosshair::shutdown(void)
{
texture = nullptr;
}
-void gui::crosshair::layout(void)
+void crosshair::layout(void)
{
auto viewport = ImGui::GetMainViewport();
auto draw_list = ImGui::GetForegroundDrawList();