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

@@ -0,0 +1,36 @@
#pragma once
#include "../../util/measurement.hpp"
#include <filesystem>
#include <glm/glm.hpp>
namespace game::resource::xml
{
class Settings
{
public:
static constexpr auto VOLUME_MIN = 0;
static constexpr auto VOLUME_MAX = 100;
enum Mode
{
LOADER,
IMGUI
};
util::measurement::System measurementSystem{util::measurement::METRIC};
int volume{VOLUME_MAX};
glm::vec3 color{0.09, 0.2196, 0.37};
glm::ivec2 windowSize{1280, 720};
glm::vec2 windowPosition{};
bool isValid{};
Settings() = default;
Settings(const std::filesystem::path&);
void serialize(const std::filesystem::path&);
bool is_valid() const;
};
}