Add categoryHide

This commit is contained in:
Alexander Batalov 2023-07-23 10:16:59 +03:00
parent 9f08c73b3c
commit f933bff8ae
1 changed files with 14 additions and 0 deletions

View File

@ -17,6 +17,7 @@
namespace fallout {
static int categoryHide();
static int categoryUnhide();
static bool proto_user_is_librarian();
static void redraw_toolname();
@ -40,6 +41,19 @@ unsigned char* tool;
// 0x6EC4AC
int tool_win;
// 0x487728
int categoryHide()
{
if (categoryWin == -1) {
return -1;
}
windowHide(categoryWin);
categoryIsHidden = true;
return 0;
}
// 0x487774
int categoryUnhide()
{