Porytiles
Loading...
Searching...
No Matches
anim_code_generator.hpp
Go to the documentation of this file.
1#pragma once
2
3#include <filesystem>
4#include <map>
5#include <string>
6
10
11namespace porytiles {
12
39 public:
54 const std::string &tileset_name,
55 const std::filesystem::path &tileset_path_from_project_root,
56 const std::map<DynamicCasedName, AnimParams> &animations,
57 bool is_primary) const;
58};
59
60} // namespace porytiles
Generates C header code for tileset animations.
ChainableResult< std::string > generate(const std::string &tileset_name, const std::filesystem::path &tileset_path_from_project_root, const std::map< DynamicCasedName, AnimParams > &animations, bool is_primary) const
Generates the complete generated_anim_code.h content.
A result type that maintains a chainable sequence of errors for debugging and error reporting.