|
|
@ -92,6 +92,7 @@ DFHACK_PLUGIN("RemoteFortressReader");
|
|
|
|
using namespace df::global;
|
|
|
|
using namespace df::global;
|
|
|
|
#else
|
|
|
|
#else
|
|
|
|
REQUIRE_GLOBAL(world);
|
|
|
|
REQUIRE_GLOBAL(world);
|
|
|
|
|
|
|
|
REQUIRE_GLOBAL(ui);
|
|
|
|
#endif
|
|
|
|
#endif
|
|
|
|
|
|
|
|
|
|
|
|
// Here go all the command declarations...
|
|
|
|
// Here go all the command declarations...
|
|
|
@ -1436,6 +1437,8 @@ static command_result GetViewInfo(color_ostream &stream, const EmptyMessage *in,
|
|
|
|
out->set_cursor_pos_x(cx);
|
|
|
|
out->set_cursor_pos_x(cx);
|
|
|
|
out->set_cursor_pos_y(cy);
|
|
|
|
out->set_cursor_pos_y(cy);
|
|
|
|
out->set_cursor_pos_z(cz);
|
|
|
|
out->set_cursor_pos_z(cz);
|
|
|
|
|
|
|
|
out->set_follow_unit_id(ui->follow_unit);
|
|
|
|
|
|
|
|
out->set_follow_item_id(ui->follow_item);
|
|
|
|
return CR_OK;
|
|
|
|
return CR_OK;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|