File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -7,9 +7,9 @@ cmake_policy(SET CMP0074 NEW)
77project (dfhack)
88
99# set up versioning.
10- set (DF_VERSION "50.13 " )
11- set (DFHACK_RELEASE "r5 " )
12- set (DFHACK_PRERELEASE FALSE )
10+ set (DF_VERSION "50.14 " )
11+ set (DFHACK_RELEASE "beta " )
12+ set (DFHACK_PRERELEASE TRUE )
1313
1414set (DFHACK_VERSION "${DF_VERSION} -${DFHACK_RELEASE} " )
1515set (DFHACK_ABI_VERSION 2)
Original file line number Diff line number Diff line change @@ -258,7 +258,7 @@ DEFINE_GET_FOCUS_STRING_HANDLER(world)
258258}
259259
260260static bool widget_is_visible (df::widget * w) {
261- return w && w->visibility_flags .bits .WIDGET_VISIBILITY_VISIBLE ;
261+ return w && w->flag .bits .WIDGET_VISIBILITY_VISIBLE ;
262262}
263263
264264static size_t get_num_children (df::widget * w) {
@@ -700,7 +700,7 @@ DEFINE_GET_FOCUS_STRING_HANDLER(dwarfmode)
700700 newFocusString += " /ImageCreator" ;
701701 focusStrings.push_back (newFocusString);
702702 }
703- if (game->main_interface .unit_selector .visibility_flags .bits .WIDGET_VISIBILITY_ACTIVE ) {
703+ if (game->main_interface .unit_selector .flag .bits .WIDGET_VISIBILITY_ACTIVE ) {
704704 newFocusString = baseFocus;
705705 newFocusString += " /UnitSelector/" ;
706706 newFocusString += enum_item_key (game->main_interface .unit_selector .context );
You can’t perform that action at this time.
0 commit comments