| 1 |
/* |
| 2 |
* This file is part of the DXX-Rebirth project <https://www.dxx-rebirth.com/>. |
| 3 |
* It is copyright by its individual contributors, as recorded in the |
| 4 |
* project's Git history. See COPYING.txt at the top level for license |
| 5 |
* terms and a link to the Git history. |
| 6 |
*/ |
| 7 |
#pragma once |
| 8 |
|
| 9 |
#include "pstypes.h" |
| 10 |
|
| 11 |
#include "palette.h" |
| 12 |
#include <array> |
| 13 |
#include <bitset> |
| 14 |
#include <span> |
| 15 |
|
| 16 |
namespace dcx { |
| 17 |
[[nodiscard]] |
| 18 |
std::array<color_palette_index, 256> build_colormap_good(const palette_array_t &palette); |
| 19 |
void decode_data(std::span<color_palette_index> data, const std::array<color_palette_index, 256> &colormap, std::bitset<256> &used); |
| 20 |
} |