| 2464 | |
| 2465 | |
| 2466 | static bool CheckClickOnLandscape(const Viewport &vp, int x, int y) |
| 2467 | { |
| 2468 | Point pt = TranslateXYToTileCoord(vp, x, y); |
| 2469 | |
| 2470 | if (pt.x != -1) return ClickTile(TileVirtXY(pt.x, pt.y)); |
| 2471 | return true; |
| 2472 | } |
| 2473 | |
| 2474 | static void PlaceObject() |
| 2475 | { |
no test coverage detected