Add categoryExit

This commit is contained in:
Alexander Batalov 2023-07-23 10:19:02 +03:00
parent b1049fceb1
commit 661c689029

View File

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