From 093d4f23d84b91e441c1308f89a4e1f035544688 Mon Sep 17 00:00:00 2001 From: Alexander Batalov Date: Sun, 23 Jul 2023 10:22:42 +0300 Subject: [PATCH] Add bookmarkUnHide --- src/mapper/mapper.cc | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/mapper/mapper.cc b/src/mapper/mapper.cc index 58c5ac7..24d3fe3 100644 --- a/src/mapper/mapper.cc +++ b/src/mapper/mapper.cc @@ -17,6 +17,7 @@ namespace fallout { +static void bookmarkUnHide(); static int categoryInit(); static int categoryExit(); static int categoryHide(); @@ -32,6 +33,9 @@ static void mapper_mark_all_exit_grids(); // 0x559748 MapTransition mapInfo = { -1, -1, 0, 0 }; +// 0x5598A8 +static int bookmarkWin = -1; + // 0x5598AC static int categoryWin = -1; @@ -44,6 +48,14 @@ unsigned char* tool; // 0x6EC4AC int tool_win; +// 0x4875F8 +void bookmarkUnHide() +{ + if (bookmarkWin != -1) { + windowShow(bookmarkWin); + } +} + // 0x4875B4 int categoryInit() {