Files
Bubberstation/code/__DEFINES/client.dm
Lucy 9451c0bd46 Fix screentips on 516 (kinda) (#91571)
## About The Pull Request

Ports @PowerfulBacon's 516 screentip fix (changing `cursor_hints.dmi`
from 8x5 to 16x16) from
https://github.com/BeeStation/BeeStation-Hornet/pull/11938

there's some weird spacing issues, but it _works_ at least (i would
greatly appreciate someone figuring out how to fix that, tho).

![2025-06-10 (1749590843) ~
dreamseeker](https://github.com/user-attachments/assets/75ce528d-b09a-4c0e-9f13-77b05561a772)

## Why It's Good For The Game

i want my fancy icons back

## Changelog
🆑 Absolucy, PowerfulBacon
fix: Screentip icons work on the latest BYOND 516 again.
/🆑
2025-06-15 15:54:19 -04:00

10 lines
642 B
Plaintext

/// Checks if the given target is either a client or a mock client
#define IS_CLIENT_OR_MOCK(target) (istype(target, /client) || istype(target, /datum/client_interface))
/// Checks to see if a /client has fully gone through New() as a safeguard against certain operations.
/// Should return the boolean value of the fully_created var, which should be TRUE if New() has finished running. FALSE otherwise.
#define VALIDATE_CLIENT_INITIALIZATION(target) (target.fully_created)
/// Aghosting AND APPERANTLY STEALTHMINNING sets your ckey/key == "@[old_key]" because it hates me. this detects that
#define IS_FAKE_KEY(key) (key && key[1] == "@")