mirror of
https://github.com/alexbatalov/fallout2-ce.git
synced 2024-11-19 14:11:15 +00:00
Add categoryUnhide
This commit is contained in:
parent
4eaea0e3c0
commit
9f08c73b3c
@ -17,6 +17,7 @@
|
||||
|
||||
namespace fallout {
|
||||
|
||||
static int categoryUnhide();
|
||||
static bool proto_user_is_librarian();
|
||||
static void redraw_toolname();
|
||||
static void clear_toolname();
|
||||
@ -27,12 +28,31 @@ static void mapper_mark_all_exit_grids();
|
||||
// 0x559748
|
||||
MapTransition mapInfo = { -1, -1, 0, 0 };
|
||||
|
||||
// 0x5598AC
|
||||
static int categoryWin = -1;
|
||||
|
||||
// 0x5598B0
|
||||
static bool categoryIsHidden = false;
|
||||
|
||||
// 0x6EC4A8
|
||||
unsigned char* tool;
|
||||
|
||||
// 0x6EC4AC
|
||||
int tool_win;
|
||||
|
||||
// 0x487774
|
||||
int categoryUnhide()
|
||||
{
|
||||
if (categoryWin == -1) {
|
||||
return -1;
|
||||
}
|
||||
|
||||
windowShow(categoryWin);
|
||||
categoryIsHidden = false;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
// 0x487784
|
||||
bool proto_user_is_librarian()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user