mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2025-12-09 16:05:07 +00:00
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).  ## 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. /🆑
This commit is contained in:
@@ -5,11 +5,5 @@
|
|||||||
/// Should return the boolean value of the fully_created var, which should be TRUE if New() has finished running. FALSE otherwise.
|
/// 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)
|
#define VALIDATE_CLIENT_INITIALIZATION(target) (target.fully_created)
|
||||||
|
|
||||||
/// The minimum client BYOND build to disable screentip icons for.
|
|
||||||
#define MIN_BYOND_BUILD_DISABLE_SCREENTIP_ICONS 1657
|
|
||||||
/// The maximum client BYOND build to disable screentip icons for.
|
|
||||||
/// Update this whenever https://www.byond.com/forum/post/2967731 is fixed.
|
|
||||||
#define MAX_BYOND_BUILD_DISABLE_SCREENTIP_ICONS 1699
|
|
||||||
|
|
||||||
/// Aghosting AND APPERANTLY STEALTHMINNING sets your ckey/key == "@[old_key]" because it hates me. this detects that
|
/// 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] == "@")
|
#define IS_FAKE_KEY(key) (key && key[1] == "@")
|
||||||
|
|||||||
@@ -886,9 +886,6 @@
|
|||||||
|
|
||||||
if (contextual_screentip_returns & CONTEXTUAL_SCREENTIP_SET)
|
if (contextual_screentip_returns & CONTEXTUAL_SCREENTIP_SET)
|
||||||
var/screentip_images = active_hud.screentip_images
|
var/screentip_images = active_hud.screentip_images
|
||||||
// Disable screentip images for clients affected by https://www.byond.com/forum/post/2967731
|
|
||||||
if(ISINRANGE(client?.byond_build, MIN_BYOND_BUILD_DISABLE_SCREENTIP_ICONS, MAX_BYOND_BUILD_DISABLE_SCREENTIP_ICONS))
|
|
||||||
screentip_images = FALSE
|
|
||||||
// LMB and RMB on one line...
|
// LMB and RMB on one line...
|
||||||
var/lmb_text = build_context(context, SCREENTIP_CONTEXT_LMB, screentip_images)
|
var/lmb_text = build_context(context, SCREENTIP_CONTEXT_LMB, screentip_images)
|
||||||
var/rmb_text = build_context(context, SCREENTIP_CONTEXT_RMB, screentip_images)
|
var/rmb_text = build_context(context, SCREENTIP_CONTEXT_RMB, screentip_images)
|
||||||
|
|||||||
Binary file not shown.
|
Before Width: | Height: | Size: 309 B After Width: | Height: | Size: 338 B |
Reference in New Issue
Block a user