* Special handling for setting the width of the map viewport. * @param width the new base screen width. */
| 1535 | * @param width the new base screen width. |
| 1536 | */ |
| 1537 | void Map::setWidth(int width) |
| 1538 | { |
| 1539 | int dX = width - getWidth(); |
| 1540 | Surface::setWidth(width); |
| 1541 | _message->setX(_message->getX() + dX / 2); |
| 1542 | } |
| 1543 | |
| 1544 | /* |
| 1545 | * Get the hidden movement screen's vertical position. |