diff options
Diffstat (limited to 'floormat')
-rw-r--r-- | floormat/app.hpp | 5 | ||||
-rw-r--r-- | floormat/draw-bounds.hpp | 8 | ||||
-rw-r--r-- | floormat/main.hpp | 6 |
3 files changed, 13 insertions, 6 deletions
diff --git a/floormat/app.hpp b/floormat/app.hpp index e387c0c4..02f7d24c 100644 --- a/floormat/app.hpp +++ b/floormat/app.hpp @@ -17,10 +17,11 @@ struct chunk_coords_; class chunk; struct Ns; +struct z_bounds; +struct draw_bounds; + struct floormat_app { - struct z_bounds final { int8_t min, max, cur; bool only; }; - explicit floormat_app() noexcept; virtual ~floormat_app() noexcept; diff --git a/floormat/draw-bounds.hpp b/floormat/draw-bounds.hpp new file mode 100644 index 00000000..1c37cacf --- /dev/null +++ b/floormat/draw-bounds.hpp @@ -0,0 +1,8 @@ +#pragma once + +namespace floormat { + +struct z_bounds final { int8_t min, max, cur; bool only; }; +struct draw_bounds final { int16_t minx, maxx, miny, maxy; }; + +} // namespace floormat diff --git a/floormat/main.hpp b/floormat/main.hpp index 59039152..648cd732 100644 --- a/floormat/main.hpp +++ b/floormat/main.hpp @@ -25,13 +25,11 @@ struct texture_unit_cache; class path_search; class astar; struct point; +struct z_bounds; +struct draw_bounds; struct floormat_main { - struct draw_bounds final - { - int16_t minx, maxx, miny, maxy; - }; struct meshes final { ground_mesh& ground; |