Merge branch 'trackstop-tweaks' into develop

develop
lethosor 2015-02-17 14:14:06 -05:00
commit a7922937f5
1 changed files with 6 additions and 2 deletions

@ -44,7 +44,7 @@ struct trackstop_hook : public df::viewscreen_dwarfmodest {
};
building_trapst *get_selected_trackstop() {
if (!Gui::dwarfmode_hotkey(Core::getTopViewscreen()) || ui->main.mode != ui_sidebar_mode::QueryBuilding) {
if (ui->main.mode != ui_sidebar_mode::QueryBuilding) {
// Not in a building's 'q' menu.
return nullptr;
}
@ -182,6 +182,8 @@ struct trackstop_hook : public df::viewscreen_dwarfmodest {
), true, left_margin);
OutputString(COLOR_LIGHTRED, x, y, Screen::getKeyDisplay(interface_key::BUILDING_TRACK_STOP_DUMP));
OutputString(COLOR_WHITE, x, y, ": Activate/change direction", true, left_margin);
y += 1;
OutputString(COLOR_GREY, x, y, "DFHack");
}
}
};
@ -198,7 +200,7 @@ struct roller_hook : public df::viewscreen_dwarfmodest {
};
building_rollersst *get_selected_roller() {
if (!Gui::dwarfmode_hotkey(Core::getTopViewscreen()) || ui->main.mode != ui_sidebar_mode::QueryBuilding) {
if (ui->main.mode != ui_sidebar_mode::QueryBuilding) {
// Not in a building's 'q' menu.
return nullptr;
}
@ -293,6 +295,8 @@ struct roller_hook : public df::viewscreen_dwarfmodest {
"Highest"
));
OutputString(COLOR_WHITE, x, y, " Speed", true, left_margin);
y += 1;
OutputString(COLOR_GREY, x, y, "DFHack");
}
}
};