|
|
@ -60,8 +60,6 @@ int Gui_ReadPauseState(DFHackObject* gui)
|
|
|
|
|
|
|
|
|
|
|
|
int Gui_ReadViewScreen(DFHackObject* gui, t_viewscreen* viewscreen)
|
|
|
|
int Gui_ReadViewScreen(DFHackObject* gui, t_viewscreen* viewscreen)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
//int result;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if(gui != NULL)
|
|
|
|
if(gui != NULL)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
return ((DFHack::Gui*)gui)->ReadViewScreen(*viewscreen);
|
|
|
|
return ((DFHack::Gui*)gui)->ReadViewScreen(*viewscreen);
|
|
|
@ -70,6 +68,18 @@ int Gui_ReadViewScreen(DFHackObject* gui, t_viewscreen* viewscreen)
|
|
|
|
return -1;
|
|
|
|
return -1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
int Gui_ReadMenuState(DFHackObject* gui, uint32_t* menuState)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
if(gui != NULL)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
*menuState = ((DFHack::Gui*)gui)->ReadMenuState();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return 1;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return -1;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|