move palette constants to snes_palette
This commit is contained in:
@@ -59,6 +59,35 @@ constexpr const char* kPaletteGroupAddressesKeys[] = {
|
||||
"grass", "3d_object", "ow_mini_map",
|
||||
};
|
||||
|
||||
constexpr int kOverworldPaletteMain = 0xDE6C8;
|
||||
constexpr int kOverworldPaletteAux = 0xDE86C;
|
||||
constexpr int kOverworldPaletteAnimated = 0xDE604;
|
||||
constexpr int kGlobalSpritesLW = 0xDD218;
|
||||
constexpr int globalSpritePalettesDW = 0xDD290;
|
||||
// Green, Blue, Red, Bunny, Electrocuted (15 colors each)
|
||||
constexpr int kArmorPalettes = 0xDD308;
|
||||
constexpr int kSpritesPalettesAux1 = 0xDD39E; // 7 colors each
|
||||
constexpr int kSpritesPalettesAux2 = 0xDD446; // 7 colors each
|
||||
constexpr int kSpritesPalettesAux3 = 0xDD4E0; // 7 colors each
|
||||
constexpr int kSwordPalettes = 0xDD630; // 3 colors each - 4 entries
|
||||
constexpr int kShieldPalettes = 0xDD648; // 4 colors each - 3 entries
|
||||
constexpr int kHudPalettes = 0xDD660;
|
||||
constexpr int dungeonMapPalettes = 0xDD70A; // 21 colors
|
||||
constexpr int kDungeonMainPalettes = 0xDD734; //(15*6) colors each - 20 entries
|
||||
constexpr int dungeonMapBgPalettes = 0xDE544; // 16*6
|
||||
// Mirrored Value at 0x75645 : 0x75625
|
||||
constexpr int kHardcodedGrassLW = 0x5FEA9;
|
||||
constexpr int hardcodedGrassDW = 0x05FEB3; // 0x7564F
|
||||
constexpr int hardcodedGrassSpecial = 0x75640;
|
||||
constexpr int kOverworldMiniMapPalettes = 0x55B27;
|
||||
constexpr int kTriforcePalette = 0x64425;
|
||||
constexpr int crystalPalette = 0xF4CD3;
|
||||
// 2 bytes for each overworld area (320)
|
||||
constexpr int customAreaSpecificBGPalette = 0x140000;
|
||||
constexpr int customAreaSpecificBGASM = 0x140150;
|
||||
// 1 byte, not 0 if enabled
|
||||
constexpr int customAreaSpecificBGEnabled = 0x140140;
|
||||
|
||||
/**
|
||||
* @brief Primitive of a SNES color palette.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user