| 2254 | } |
| 2255 | |
| 2256 | void BattleView::refreshRangeText() |
| 2257 | { |
| 2258 | int range = primingTab->findControlTyped<ScrollBar>("RANGE_SLIDER")->getValue(); |
| 2259 | |
| 2260 | UString text = format(tr("Range = %2.1fm."), ((float)(range + 1) * 1.5f)); |
| 2261 | primingTab->findControlTyped<Label>("RANGE_TEXT")->setText(text); |
| 2262 | } |
| 2263 | |
| 2264 | void BattleView::orderJump(Vec3<int> target, BodyState bodyState) |
| 2265 | { |
no test coverage detected