Porytiles
Loading...
Searching...
No Matches
metatile_attribute_scanner.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <filesystem>
4
5#include "gsl/pointers"
6
10
11namespace porytiles {
12
33 public:
40 std::filesystem::path project_root,
41 gsl::not_null<const TextFormatter *> format,
42 gsl::not_null<const UserDiagnostics *> diag);
43
51 [[nodiscard]] MetatileAttributeScan scan_project() const;
52
53 private:
54 std::filesystem::path project_root_;
55 const TextFormatter *format_;
56 const UserDiagnostics *diag_;
57};
58
59} // namespace porytiles
Scans a decomp project's fieldmap sources for the raw metatile attribute facts.
MetatileAttributeScan scan_project() const
Scans the project's fieldmap sources and returns the gathered facts.
Abstract base class for applying text styling with context-aware formatting.
Abstract class for structured error reporting and diagnostic output.
The raw facts a project exposes about its metatile attribute layout.