Functions | |
bool | prefs_show_orb (orb_status os) |
Wrapper for the various prefs::get().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 prefs::get().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 prefs::get().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, prefs::allied_color(), disengaged, enemy, prefs::enemy_color(), prefs::get(), moved, prefs::moved_color(), partial, prefs::partial_color(), unmoved, and prefs::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 prefs::get().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, prefs::get(), moved, partial, and unmoved.