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

29
src/resource/xml/area.hpp Normal file
View File

@@ -0,0 +1,29 @@
#pragma once
#include <vector>
#include "../texture.hpp"
#include "../../util/physfs.hpp"
namespace game::resource::xml
{
class Area
{
public:
struct Entry
{
Texture texture{};
float gravity{0.95f};
float friction{0.80f};
float airResistance{0.975f};
};
std::vector<Entry> areas{};
bool isValid{};
Area() = default;
Area(const util::physfs::Path&);
bool is_valid() const;
};
}