diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-18 23:42:07 +0100 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2023-03-18 23:42:07 +0100 |
commit | 4d9a82b720c8ce74b94f43f72ddd819ef21abbdf (patch) | |
tree | c0a5d21b8e19fbb60c286faec8e302e6f32b6679 /floormat/main.hpp | |
parent | 32b8c22828315292857e2cd9909fba620f30ff70 (diff) |
pre-declare integer types without cstddef/cstdint
Diffstat (limited to 'floormat/main.hpp')
-rw-r--r-- | floormat/main.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/floormat/main.hpp b/floormat/main.hpp index 3fbef522..b80ac289 100644 --- a/floormat/main.hpp +++ b/floormat/main.hpp @@ -23,7 +23,7 @@ struct anim_mesh; struct floormat_main { - struct draw_bounds final { std::int16_t minx, maxx, miny, maxy; }; + struct draw_bounds final { int16_t minx, maxx, miny, maxy; }; struct meshes final { floor_mesh& floor; wall_mesh& wall; @@ -55,8 +55,8 @@ struct floormat_main virtual ArrayView<const clickable> clickable_scenery() const noexcept = 0; virtual ArrayView<clickable> clickable_scenery() noexcept = 0; - virtual void set_cursor(std::uint32_t cursor) noexcept = 0; - virtual std::uint32_t cursor() const noexcept = 0; + virtual void set_cursor(uint32_t cursor) noexcept = 0; + virtual uint32_t cursor() const noexcept = 0; virtual global_coords pixel_to_tile(Vector2d position) const noexcept = 0; virtual Vector2d pixel_to_tile_(Vector2d position) const noexcept = 0; |