Functions | |
bool | prefs_show_orb (orb_status os) |
Wrapper for the various preferences::show_..._orb() methods, using the enum instead of exposing a separate function for each preference. More... | |
std::string | get_orb_color (orb_status os) |
Wrapper for the various preferences::unmoved_color(), moved_color(), etc methods, using the enum instead of exposing a separate function for each preference. More... | |
std::string orb_status_helper::get_orb_color | ( | orb_status | os | ) |
Wrapper for the various preferences::unmoved_color(), moved_color(), etc methods, using the enum instead of exposing a separate function for each preference.
Definition at line 40 of file orb_status.cpp.
References allied, preferences::allied_color(), disengaged, enemy, preferences::enemy_color(), moved, preferences::moved_color(), partial, preferences::partial_color(), unmoved, and preferences::unmoved_color().
Referenced by display::draw_minimap_units(), and image::prep_minimap_for_rendering().
bool orb_status_helper::prefs_show_orb | ( | orb_status | os | ) |
Wrapper for the various preferences::show_..._orb() methods, using the enum instead of exposing a separate function for each preference.
Definition at line 19 of file orb_status.cpp.
References allied, disengaged, enemy, moved, partial, preferences::show_ally_orb(), preferences::show_disengaged_orb(), preferences::show_enemy_orb(), preferences::show_moved_orb(), preferences::show_partial_orb(), preferences::show_unmoved_orb(), and unmoved.