The Snivy Video Game Is Complete

This commit is contained in:
2025-12-29 05:10:56 -05:00
parent d0f9669b8b
commit 62b988a678
705 changed files with 210576 additions and 162 deletions

10
src/resource/font.cpp Normal file
View File

@@ -0,0 +1,10 @@
#include "font.h"
namespace game::resource
{
Font::Font(const std::string& path, float size)
{
internal = ImGui::GetIO().Fonts->AddFontFromFileTTF(path.c_str(), size);
}
ImFont* Font::get() { return internal; };
}