mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
- Changes most `/* comments */` to `// comments` - Changes `/**` block comments consistently to `/*` - Adds consistent license comments to all files Also renames `T_POP_SET` to `T_Z80_SET`
33 lines
609 B
C++
33 lines
609 B
C++
/*
|
|
* This file is part of RGBDS.
|
|
*
|
|
* Copyright (c) 2022, Eldred Habert and RGBDS contributors.
|
|
*
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
#ifndef RGBDS_GFX_PAL_PACKING_HPP
|
|
#define RGBDS_GFX_PAL_PACKING_HPP
|
|
|
|
#include <tuple>
|
|
#include <vector>
|
|
|
|
#include "defaultinitalloc.hpp"
|
|
|
|
#include "gfx/main.hpp"
|
|
|
|
struct Palette;
|
|
class ProtoPalette;
|
|
|
|
namespace packing {
|
|
|
|
/*
|
|
* Returns which palette each proto-palette maps to, and how many palettes are necessary
|
|
*/
|
|
std::tuple<DefaultInitVec<size_t>, size_t>
|
|
overloadAndRemove(std::vector<ProtoPalette> const &protoPalettes);
|
|
|
|
}
|
|
|
|
#endif // RGBDS_GFX_PAL_PACKING_HPP
|