| 21 | { |
| 22 | |
| 23 | LocationScreen::LocationScreen(sp<GameState> state, sp<Agent> agent) |
| 24 | : Stage(), menuform(ui().getForm("city/location")), state(state), agent(agent) |
| 25 | { |
| 26 | if (agent->currentBuilding) |
| 27 | { |
| 28 | building = agent->currentBuilding; |
| 29 | } |
| 30 | menuform->findControlTyped<Label>("CAPTION")->setText(tr("AGENT LOCATION")); |
| 31 | menuform->findControlTyped<Graphic>("BG")->setImage( |
| 32 | fw().data->loadImage("xcom3/ufodata/location.pcx")); |
| 33 | } |
| 34 | |
| 35 | LocationScreen::LocationScreen(sp<GameState> state, sp<Vehicle> vehicle) |
| 36 | : Stage(), menuform(ui().getForm("city/location")), state(state), vehicle(vehicle) |