colorize hp and sp in casting menu

This commit is contained in:
2025-01-20 10:17:01 -06:00
parent daecca4abe
commit 4260d41bf6
3 changed files with 14 additions and 12 deletions

View File

@@ -29,6 +29,7 @@ std::map<std::string,sf::Color> colour_map = {
{"pink", Colours::PINK},
{"yellow", Colours::YELLOW},
{"orange", Colours::ORANGE},
{"light_blue", Colours::LIGHT_BLUE},
{"shadow", Colours::SHADOW},
{"title_blue", Colours::TITLE_BLUE},
{"navy", Colours::NAVY},

View File

@@ -57,6 +57,7 @@ namespace Colours {
const sf::Color PINK { 0xff, 0x00, 0x99};
const sf::Color YELLOW { 0xff, 0xff, 0x31};
const sf::Color ORANGE { 0xff, 0x80, 0x00};
const sf::Color LIGHT_BLUE { 0xad, 0xd8, 0xe6 }; // Spell points on dark background
// Text colours for shopping / talking
// TODO: The Windows version appears to use completely different colours?
const sf::Color SHADOW { 0x00, 0x00, 0x68}; // formerly c[3] QD colour = {0,0,26623} (shop/character name shadow, shop subtitle)