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 /src/tile.cpp | |
| parent | 32b8c22828315292857e2cd9909fba620f30ff70 (diff) | |
pre-declare integer types without cstddef/cstdint
Diffstat (limited to 'src/tile.cpp')
| -rw-r--r-- | src/tile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tile.cpp b/src/tile.cpp index 75ef71e7..5a85a09c 100644 --- a/src/tile.cpp +++ b/src/tile.cpp @@ -13,7 +13,7 @@ tile_image_proto tile_proto::ground() const noexcept { return { ground_atlas tile_image_proto tile_proto::wall_north() const noexcept { return { wall_north_atlas, wall_north_variant }; } tile_image_proto tile_proto::wall_west() const noexcept { return { wall_west_atlas, wall_west_variant }; } -tile_ref::tile_ref(struct chunk& c, std::uint8_t i) noexcept : _chunk{&c}, i{i} {} +tile_ref::tile_ref(struct chunk& c, uint8_t i) noexcept : _chunk{&c}, i{i} {} std::shared_ptr<tile_atlas> tile_ref::ground_atlas() noexcept { return _chunk->_ground_atlases[i]; } std::shared_ptr<tile_atlas> tile_ref::wall_north_atlas() noexcept { return _chunk->_wall_atlases[i*2+0]; } |
