|
|
@ -135,7 +135,7 @@ DFhackCExport command_result plugin_onupdate ( color_ostream &out )
|
|
|
|
last_designation[2] = desig_z;
|
|
|
|
last_designation[2] = desig_z;
|
|
|
|
out.print("Designation: %d %d %d\n",desig_x, desig_y, desig_z);
|
|
|
|
out.print("Designation: %d %d %d\n",desig_x, desig_y, desig_z);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
df:coord mousePos = Gui::getMousePos();
|
|
|
|
df::coord mousePos = Gui::getMousePos();
|
|
|
|
if(mousePos.x != last_mouse[0] || mousePos.y != last_mouse[1])
|
|
|
|
if(mousePos.x != last_mouse[0] || mousePos.y != last_mouse[1])
|
|
|
|
{
|
|
|
|
{
|
|
|
|
last_mouse[0] = mousePos.x;
|
|
|
|
last_mouse[0] = mousePos.x;
|
|
|
|