summaryrefslogtreecommitdiffstats
path: root/src/game/client/game.cc
diff options
context:
space:
mode:
authoruntodesu <kirill@untode.su>2025-12-26 23:17:56 +0500
committeruntodesu <kirill@untode.su>2025-12-26 23:17:56 +0500
commit0f111cf51b00c4e884b7e53b4fd7ff6e38d8af5e (patch)
tree90ddefa28b40b6384dd9618bb7573704de2733a9 /src/game/client/game.cc
parent6bb4233d5b2a1688e63c947542e92ec5d5a857a6 (diff)
downloadvoxelius-0f111cf51b00c4e884b7e53b4fd7ff6e38d8af5e.tar.bz2
voxelius-0f111cf51b00c4e884b7e53b4fd7ff6e38d8af5e.zip
Add include guards and header comments to sources
Diffstat (limited to 'src/game/client/game.cc')
-rw-r--r--src/game/client/game.cc9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/game/client/game.cc b/src/game/client/game.cc
index 6219ff9..09445c4 100644
--- a/src/game/client/game.cc
+++ b/src/game/client/game.cc
@@ -1,3 +1,8 @@
+// SPDX-License-Identifier: BSD-2-Clause
+// Copyright (c) 2025 Kirill Dmitrievich
+// File: game.cc
+// Description: Main game logic
+
#include "client/pch.hh"
#include "client/game.hh"
@@ -104,8 +109,8 @@ static ImFont* load_font(std::string_view path, float size, ImFontConfig& font_c
{
std::vector<std::byte> font;
- if(!read_file(path, font)) {
- spdlog::error("{}: utils::read_file failed", path);
+ if(!physfs::read_file(path, font)) {
+ spdlog::error("{}: utils::physfs::read_file failed", path);
std::terminate();
}