| 1615 | CityView::~CityView() = default; |
| 1616 | |
| 1617 | void CityView::begin() |
| 1618 | { |
| 1619 | vanillaControls = !config().getBool("OpenApoc.NewFeature.OpenApocCityControls"); |
| 1620 | CityTileView::begin(); |
| 1621 | if (state->current_city.id == "CITYMAP_ALIEN") |
| 1622 | { |
| 1623 | |
| 1624 | fw().jukebox->play(JukeBox::PlayList::Alien); |
| 1625 | } |
| 1626 | else |
| 1627 | { |
| 1628 | fw().jukebox->play(JukeBox::PlayList::City); |
| 1629 | } |
| 1630 | if (state->newGame) |
| 1631 | { |
| 1632 | state->newGame = false; |
| 1633 | baseForm->findControlTyped<Ticker>("NEWS_TICKER") |
| 1634 | ->addMessage(tr("Welcome to X-COM Apocalypse")); |
| 1635 | } |
| 1636 | } |
| 1637 | |
| 1638 | void CityView::resume() |
| 1639 | { |
no test coverage detected