summaryrefslogtreecommitdiffhomepage
path: root/src/scenery.hpp
blob: 4e3620704fa6308187fe4bf3b5c27312f2323596 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#pragma once
#include "compat/integer-types.hpp"
#include <memory>

namespace floormat {

struct anim_atlas;

struct scenery final
{
    enum class rotation : std::uint16_t {
        N, NE, E, SE, S, SW, W, NW,
    };

    rotation r          : 3  = rotation::N;
    std::uint16_t frame : 13 = 0;
};

} // namespace floormat