| 293 | } |
| 294 | |
| 295 | void DrawSoftwareCursor(const Surface &out, Point position, int cursId) |
| 296 | { |
| 297 | const ClxSprite sprite = GetInvItemSprite(cursId); |
| 298 | if (!MyPlayer->HoldItem.isEmpty()) { |
| 299 | const auto &heldItem = MyPlayer->HoldItem; |
| 300 | ClxDrawOutline(out, GetOutlineColor(heldItem, true), position, sprite); |
| 301 | DrawItem(heldItem, out, position, sprite); |
| 302 | } else { |
| 303 | ClxDraw(out, position, sprite); |
| 304 | } |
| 305 | } |
| 306 | |
| 307 | void InitLevelCursor() |
| 308 | { |
no test coverage detected