File tree Expand file tree Collapse file tree 2 files changed +14
-0
lines changed
Expand file tree Collapse file tree 2 files changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,7 @@ Template for new versions:
3535## Documentation
3636
3737## API
38+ - Added GUI focus strings for new_arena: ``/Loading`` and ``/Mods``
3839
3940## Lua
4041
Original file line number Diff line number Diff line change @@ -90,6 +90,7 @@ distribution.
9090#include " df/viewscreen_dungeonmodest.h"
9191#include " df/viewscreen_dwarfmodest.h"
9292#include " df/viewscreen_legendsst.h"
93+ #include " df/viewscreen_new_arenast.h"
9394#include " df/viewscreen_new_regionst.h"
9495#include " df/viewscreen_setupdwarfgamest.h"
9596#include " df/viewscreen_titlest.h"
@@ -188,6 +189,18 @@ DEFINE_GET_FOCUS_STRING_HANDLER(new_region)
188189 focusStrings.push_back (baseFocus);
189190}
190191
192+ DEFINE_GET_FOCUS_STRING_HANDLER (new_arena)
193+ {
194+ if (screen->raw_load )
195+ focusStrings.push_back (baseFocus + " /Loading" );
196+ else if (screen->doing_mods )
197+ focusStrings.push_back (baseFocus + " /Mods" );
198+
199+ if (focusStrings.empty ())
200+ focusStrings.push_back (baseFocus);
201+
202+ }
203+
191204DEFINE_GET_FOCUS_STRING_HANDLER (choose_start_site)
192205{
193206 if (screen->doing_site_finder )
You can’t perform that action at this time.
0 commit comments