Add categoryExit
This commit is contained in:
parent
b1049fceb1
commit
661c689029
|
@ -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()
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue