10#ifndef ANIMATED_TILE_MAP_H
11#define ANIMATED_TILE_MAP_H
AnimatedTileState
Animation state of a possibly-animated tile.
@ Animated
Tile is animated.
@ Deleted
Tile was animated but should be removed.
@ None
Tile is not animated.
void SetAnimatedTileState(Tile t, AnimatedTileState state)
Set the animated state of a tile.
AnimatedTileState GetAnimatedTileState(Tile t)
Get the animated state of a tile.
Functions related to bit mathematics.
constexpr T SB(T &x, const uint8_t s, const uint8_t n, const U d)
Set n bits in x starting at bit s to d.
debug_inline static constexpr uint GB(const T x, const uint8_t s, const uint8_t n)
Fetch n bits from x, started at bit s.
Wrapper class to abstract away the way the tiles are stored.
debug_inline uint8_t & m6()
General purpose.
constexpr std::underlying_type_t< enum_type > to_underlying(enum_type e)
Implementation of std::to_underlying (from C++23)
Functions related to maps.