Add categoryExit

This commit is contained in:
Alexander Batalov 2023-07-23 10:19:02 +03:00
parent b1049fceb1
commit 661c689029
1 changed files with 14 additions and 0 deletions

View File

@ -17,6 +17,7 @@
namespace fallout { namespace fallout {
static int categoryExit();
static int categoryHide(); static int categoryHide();
static int categoryToggleState(); static int categoryToggleState();
static int categoryUnhide(); static int categoryUnhide();
@ -42,6 +43,19 @@ unsigned char* tool;
// 0x6EC4AC // 0x6EC4AC
int tool_win; int tool_win;
// 0x487700
int categoryExit()
{
if (categoryWin == -1) {
return -1;
}
windowDestroy(categoryWin);
categoryWin = -1;
return 0;
}
// 0x487728 // 0x487728
int categoryHide() int categoryHide()
{ {