* Set or unset the ZZZ cursor. * @param busy Whether to show the ZZZ cursor. */
| 1688 | * @param busy Whether to show the ZZZ cursor. |
| 1689 | */ |
| 1690 | void SetMouseCursorBusy(bool busy) |
| 1691 | { |
| 1692 | assert(!_cursor.sprites.empty()); |
| 1693 | if (busy) { |
| 1694 | if (_cursor.sprites[0].image.sprite == SPR_CURSOR_MOUSE) SetMouseCursor(SPR_CURSOR_ZZZ, PAL_NONE); |
| 1695 | } else { |
| 1696 | if (_cursor.sprites[0].image.sprite == SPR_CURSOR_ZZZ) SetMouseCursor(SPR_CURSOR_MOUSE, PAL_NONE); |
| 1697 | } |
| 1698 | } |
| 1699 | |
| 1700 | /** |
| 1701 | * Assign a single non-animated sprite to the cursor. |
no test coverage detected