32 assert(!
"expected to handle all the enum values");
51 assert(!
"expected to handle all the enum values");
std::string unmoved_color()
Belongs to a friendly side.
orb_status
Corresponds to the colored orbs displayed above units' hp-bar and xp-bar.
The unit still has full movement and all attacks available.
Belongs to a non-friendly side; normally visualised by not displaying an orb.
std::string get_orb_color(orb_status os)
Wrapper for the various preferences::unmoved_color(), moved_color(), etc methods, using the enum inst...
std::string allied_color()
std::string moved_color()
All moves and possible attacks have been done.
std::string partial_color()
bool prefs_show_orb(orb_status os)
Wrapper for the various preferences::show_..._orb() methods, using the enum instead of exposing a sep...
There are still moves and/or attacks possible, but the unit doesn't fit in the "unmoved" status...
std::string enemy_color()