|
|
@ -240,6 +240,13 @@ DEFINE_GET_FOCUS_STRING_HANDLER(dwarfmode)
|
|
|
|
|
|
|
|
|
|
|
|
switch(game->main_interface.info.current_mode) {
|
|
|
|
switch(game->main_interface.info.current_mode) {
|
|
|
|
case df::enums::info_interface_mode_type::CREATURES:
|
|
|
|
case df::enums::info_interface_mode_type::CREATURES:
|
|
|
|
|
|
|
|
if (game->main_interface.info.creatures.showing_overall_training)
|
|
|
|
|
|
|
|
newFocusString += "/OverallTraining";
|
|
|
|
|
|
|
|
else if (game->main_interface.info.creatures.showing_activity_details)
|
|
|
|
|
|
|
|
newFocusString += "/ActivityDetails";
|
|
|
|
|
|
|
|
else if (game->main_interface.info.creatures.adding_trainer)
|
|
|
|
|
|
|
|
newFocusString += "/AddingTrainer";
|
|
|
|
|
|
|
|
else
|
|
|
|
newFocusString += '/' + enum_item_key(game->main_interface.info.creatures.current_mode);
|
|
|
|
newFocusString += '/' + enum_item_key(game->main_interface.info.creatures.current_mode);
|
|
|
|
break;
|
|
|
|
break;
|
|
|
|
case df::enums::info_interface_mode_type::BUILDINGS:
|
|
|
|
case df::enums::info_interface_mode_type::BUILDINGS:
|
|
|
|