Merge pull request #3950 from myk002/myk_mechanisms

Tombstone gui/mechanisms
develop
Myk 2023-11-02 16:31:34 -07:00 committed by GitHub
commit 1d7e936ed4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 10 additions and 2 deletions

@ -191,6 +191,12 @@ gui/hack-wish
=============
Replaced by `gui/create-item`.
.. _gui/mechanisms:
gui/mechanisms
==============
Linked building interface has been added to the vanilla UI.
.. _gui/no-dfhack-init:
gui/no-dfhack-init

@ -376,7 +376,9 @@ DEFINE_GET_FOCUS_STRING_HANDLER(dwarfmode)
}
break;
case df::view_sheet_type::BUILDING:
if (auto bld = df::building::find(game->main_interface.view_sheets.viewing_bldid))
if (game->main_interface.view_sheets.linking_lever)
newFocusString = baseFocus + "/LinkingLever";
else if (auto bld = df::building::find(game->main_interface.view_sheets.viewing_bldid))
newFocusString += '/' + enum_item_key(bld->getType());
break;
default:

@ -1 +1 @@
Subproject commit d56aac6bcd6628d22420d57b4a96987490e5a11f
Subproject commit 56874c5fa0913c598351408c300961b6cc69e0b2