Add the rest of the bottom modes

develop
Robob27 2023-02-02 02:45:50 -05:00
parent 576fcfbeab
commit fdbe91e35b
1 changed files with 35 additions and 0 deletions

@ -167,6 +167,11 @@ DEFINE_GET_FOCUS_STRING_HANDLER(dwarfmode)
newFocusString += "/Stockpile";
focusStrings.push_back(newFocusString);
}
if (game->main_interface.bottom_mode_selected == df::enums::main_bottom_mode_type::STOCKPILE_PAINT) {
newFocusString = baseFocus;
newFocusString += "/Stockpile/Paint";
focusStrings.push_back(newFocusString);
}
if (game->main_interface.bottom_mode_selected == df::enums::main_bottom_mode_type::HAULING) {
newFocusString = baseFocus;
newFocusString += "/Hauling";
@ -181,6 +186,36 @@ DEFINE_GET_FOCUS_STRING_HANDLER(dwarfmode)
}
focusStrings.push_back(newFocusString);
}
if (game->main_interface.bottom_mode_selected == df::enums::main_bottom_mode_type::ZONE_PAINT) {
newFocusString = baseFocus;
newFocusString += "/Zone/Paint";
focusStrings.push_back(newFocusString);
}
if (game->main_interface.bottom_mode_selected == df::enums::main_bottom_mode_type::BURROW) {
newFocusString = baseFocus;
newFocusString += "/Burrow";
focusStrings.push_back(newFocusString);
}
if (game->main_interface.bottom_mode_selected == df::enums::main_bottom_mode_type::BURROW_PAINT) {
newFocusString = baseFocus;
newFocusString += "/Burrow/Paint";
focusStrings.push_back(newFocusString);
}
if (game->main_interface.bottom_mode_selected == df::enums::main_bottom_mode_type::BUILDING) {
newFocusString = baseFocus;
newFocusString += "/Building";
focusStrings.push_back(newFocusString);
}
if (game->main_interface.bottom_mode_selected == df::enums::main_bottom_mode_type::BUILDING_PLACEMENT) {
newFocusString = baseFocus;
newFocusString += "/Building/Placement";
focusStrings.push_back(newFocusString);
}
if (game->main_interface.bottom_mode_selected == df::enums::main_bottom_mode_type::BUILDING_PICK_MATERIALS) {
newFocusString = baseFocus;
newFocusString += "/Building/PickMaterials";
focusStrings.push_back(newFocusString);
}
if (game->main_interface.trade.open) {
newFocusString = baseFocus;
newFocusString += "/Trade";