Initial commit

This commit is contained in:
Gericom
2025-11-22 17:21:45 +01:00
commit 5d6f67c612
517 changed files with 63025 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
#pragma once
/// @brief Interface for a color palette.
class IPalette
{
public:
virtual ~IPalette() = 0;
/// @brief Gets the colors of the palette.
/// @param dst A pointer to an array the colors should be written to.
virtual void GetColors(u16* dst) const = 0;
/// @brief Gets a hash that represents this color palette.
/// @return The hash.
virtual u32 GetHashCode() const = 0;
};
inline IPalette::~IPalette() { }