mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
17 lines
412 B
C++
17 lines
412 B
C++
// SPDX-License-Identifier: MIT
|
|
|
|
#ifndef RGBDS_GFX_PAL_PACKING_HPP
|
|
#define RGBDS_GFX_PAL_PACKING_HPP
|
|
|
|
#include <stddef.h>
|
|
#include <tuple>
|
|
#include <vector>
|
|
|
|
struct Palette;
|
|
class ColorSet;
|
|
|
|
// Returns which palette each color set maps to, and how many palettes are necessary
|
|
std::tuple<std::vector<size_t>, size_t> overloadAndRemove(std::vector<ColorSet> const &colorSets);
|
|
|
|
#endif // RGBDS_GFX_PAL_PACKING_HPP
|