Add categoryHide
This commit is contained in:
parent
9f08c73b3c
commit
f933bff8ae
|
@ -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()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue