Add bookmarkExit

This commit is contained in:
Alexander Batalov 2023-07-23 10:25:58 +03:00
parent a2d61dc7c4
commit a27b2496d4
1 changed files with 14 additions and 0 deletions

View File

@ -17,6 +17,7 @@
namespace fallout { namespace fallout {
static int bookmarkExit();
static void bookmarkHide(); static void bookmarkHide();
static void bookmarkUnHide(); static void bookmarkUnHide();
static int categoryInit(); static int categoryInit();
@ -49,6 +50,19 @@ unsigned char* tool;
// 0x6EC4AC // 0x6EC4AC
int tool_win; int tool_win;
// 0x4875B8
int bookmarkExit()
{
if (bookmarkWin == -1) {
return -1;
}
windowDestroy(bookmarkWin);
bookmarkWin = -1;
return 0;
}
// 0x4875E0 // 0x4875E0
void bookmarkHide() void bookmarkHide()
{ {