The Mega Snivy Update
Some checks failed
Build / Build Game (push) Has been cancelled

This commit is contained in:
2026-02-28 21:48:00 -05:00
parent 8b2edd1359
commit 17f3348e94
163 changed files with 8725 additions and 13281 deletions

View File

@@ -1,20 +1,28 @@
#pragma once
#include "imgui.h"
#include <string>
#include <filesystem>
#include <imgui.h>
#include "../util/physfs.hpp"
namespace game::resource
{
class Font
{
ImFont* internal{};
public:
ImFont* internal;
static constexpr auto NORMAL = 20;
static constexpr auto ABOVE_AVERAGE = 24;
static constexpr auto BIG = 30;
static constexpr auto HEADER_3 = 40;
static constexpr auto HEADER_2 = 50;
static constexpr auto HEADER_1 = 60;
static constexpr auto NORMAL = 12;
static constexpr auto BIG = 16;
static constexpr auto LARGE = 24;
Font(const std::string&, float = NORMAL);
Font() = default;
Font(const std::filesystem::path&, float = NORMAL);
Font(const util::physfs::Path&, float = NORMAL);
ImFont* get();
};
}
}