| 208 | } |
| 209 | |
| 210 | Point2D TechnoExt::GetFootSelectBracketPosition(TechnoClass* pThis, Anchor anchor) |
| 211 | { |
| 212 | int length = 17; |
| 213 | Point2D position = GetScreenLocation(pThis); |
| 214 | |
| 215 | if (pThis->WhatAmI() == AbstractType::Infantry) |
| 216 | length = 8; |
| 217 | |
| 218 | RectangleStruct bracketRect = |
| 219 | { |
| 220 | position.X - length + (length == 8) + 1, |
| 221 | position.Y - 28 + (length == 8), |
| 222 | length * 2, |
| 223 | length * 3 |
| 224 | }; |
| 225 | |
| 226 | return anchor.OffsetPosition(bracketRect); |
| 227 | } |
| 228 | |
| 229 | Point2D TechnoExt::GetBuildingSelectBracketPosition(TechnoClass* pThis, BuildingSelectBracketPosition bracketPosition) |
| 230 | { |
nothing calls this directly
no test coverage detected