diff options
Diffstat (limited to 'wall-tileset-tool/main.hpp')
-rw-r--r-- | wall-tileset-tool/main.hpp | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/wall-tileset-tool/main.hpp b/wall-tileset-tool/main.hpp new file mode 100644 index 00000000..b826d634 --- /dev/null +++ b/wall-tileset-tool/main.hpp @@ -0,0 +1,27 @@ +#pragma once +#include "src/wall-atlas.hpp" + +namespace cv { +template<typename T> class Mat_; +template<typename T, int cn> class Vec; +typedef Vec<unsigned char, 4> Vec4b; +typedef Mat_<Vec4b> Mat4b; +} // namespace cv + +namespace floormat::wall_tool { + +struct options +{ + String input_dir, input_file, output_dir; +}; + +struct state +{ + options& opts; + cv::Mat4b& buffer; + const wall_atlas_def& old_atlas; + wall_atlas_def& new_atlas; + int& error; +}; + +} // namespace floormat::wall_tool |