|
|
@ -497,9 +497,17 @@ struct mousequery_hook : public df::viewscreen_dwarfmodest
|
|
|
|
return;
|
|
|
|
return;
|
|
|
|
|
|
|
|
|
|
|
|
Gui::setCursorCoords(mpos.x, mpos.y, mpos.z);
|
|
|
|
Gui::setCursorCoords(mpos.x, mpos.y, mpos.z);
|
|
|
|
|
|
|
|
if (mpos.z == 0)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
sendKey(interface_key::CURSOR_UP_Z);
|
|
|
|
|
|
|
|
sendKey(interface_key::CURSOR_DOWN_Z);
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
{
|
|
|
|
sendKey(interface_key::CURSOR_DOWN_Z);
|
|
|
|
sendKey(interface_key::CURSOR_DOWN_Z);
|
|
|
|
sendKey(interface_key::CURSOR_UP_Z);
|
|
|
|
sendKey(interface_key::CURSOR_UP_Z);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
bool inBuildPlacement()
|
|
|
|
bool inBuildPlacement()
|
|
|
|
{
|
|
|
|
{
|
|
|
|