mirror of
https://github.com/alexbatalov/fallout2-ce.git
synced 2024-11-19 14:11:15 +00:00
Add categoryToggleState
This commit is contained in:
parent
f933bff8ae
commit
b1049fceb1
@ -18,6 +18,7 @@
|
||||
namespace fallout {
|
||||
|
||||
static int categoryHide();
|
||||
static int categoryToggleState();
|
||||
static int categoryUnhide();
|
||||
static bool proto_user_is_librarian();
|
||||
static void redraw_toolname();
|
||||
@ -54,6 +55,16 @@ int categoryHide()
|
||||
return 0;
|
||||
}
|
||||
|
||||
// 0x487768
|
||||
int categoryToggleState()
|
||||
{
|
||||
if (categoryIsHidden) {
|
||||
return categoryUnhide();
|
||||
} else {
|
||||
return categoryHide();
|
||||
}
|
||||
}
|
||||
|
||||
// 0x487774
|
||||
int categoryUnhide()
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user