blob: c811003f7bbe69c2e8515e78e8f6ef9a9a1ef1b9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#pragma once
#include <cstdint>
namespace nes::app
{
/// An 8x8 tile without intrinsic coloring, only providing the alpha mask.
///
/// The tile is stored as an array of 8 8-bit integers, where each bit represents a horizontal pixel in the
/// integer's row.
struct mask_tile
{
std::uint8_t data[8]{};
};
namespace tiles
{
inline constexpr auto letter_a = mask_tile
{
0b00111000,
0b01101100,
0b11000110,
0b11000110,
0b11111110,
0b11000110,
0b11000110,
0b00000000,
};
} // namespace tiles
} // namespace nes::app
|