Skip to content

Commit

Permalink
[MIRROR] replace XMOUSE_* with their correct alternatives (#2327)
Browse files Browse the repository at this point in the history
Co-authored-by: Spookerton <[email protected]>
Co-authored-by: UEDCommander <[email protected]>
  • Loading branch information
3 people authored Jun 30, 2024
1 parent c3b5f98 commit 2685351
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 18 deletions.
1 change: 0 additions & 1 deletion baystation12.dme
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
#include "code\__defines\antagonists.dm"
#include "code\__defines\ao.dm"
#include "code\__defines\ao_misc.dm"
#include "code\__defines\appearance.dm"
#include "code\__defines\armor.dm"
#include "code\__defines\atmos.dm"
#include "code\__defines\atmospherics.dm"
Expand Down
5 changes: 5 additions & 0 deletions code/__defines/__renderer.dm
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,11 @@
/mutable_appearance/appearance_flags = DEFAULT_APPEARANCE_FLAGS // Inherits /image but re docs, subject to change


// Consider these images/atoms as part of the UI/HUD
#define APPEARANCE_UI (RESET_COLOR | RESET_TRANSFORM | NO_CLIENT_COLOR)
#define APPEARANCE_UI_IGNORE_ALPHA (APPEARANCE_UI | RESET_ALPHA)


/image/proc/plating_decal_layerise()
plane = DEFAULT_PLANE
layer = DECAL_PLATING_LAYER
Expand Down
12 changes: 0 additions & 12 deletions code/__defines/appearance.dm

This file was deleted.

2 changes: 1 addition & 1 deletion code/controllers/subsystems/typing.dm
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ SUBSYSTEM_DEF(typing)
icon_state = "typing"
plane = EFFECTS_ABOVE_LIGHTING_PLANE
layer = SPEECH_INDICATOR_LAYER
mouse_opacity = XMOUSE_OPACITY_NEVER
mouse_opacity = MOUSE_OPACITY_UNCLICKABLE
simulated = FALSE
anchored = TRUE

Expand Down
4 changes: 2 additions & 2 deletions code/game/objects/structures/ironing_board.dm
Original file line number Diff line number Diff line change
Expand Up @@ -105,11 +105,11 @@
..()
if (buckled_mob)
set_density(TRUE)
mouse_opacity = XMOUSE_OPACITY_ALWAYS
mouse_opacity = MOUSE_OPACITY_PRIORITY
deployed = TRUE
else
set_density(FALSE)
mouse_opacity = XMOUSE_OPACITY_DEFAULT
mouse_opacity = MOUSE_OPACITY_NORMAL
deployed = FALSE
update_icon()

Expand Down
4 changes: 2 additions & 2 deletions code/game/objects/structures/roller_bed.dm
Original file line number Diff line number Diff line change
Expand Up @@ -127,11 +127,11 @@
. = ..()
if (target == buckled_mob)
set_density(TRUE)
mouse_opacity = XMOUSE_OPACITY_ALWAYS
mouse_opacity = MOUSE_OPACITY_PRIORITY
update_icon()
else
set_density(FALSE)
mouse_opacity = XMOUSE_OPACITY_DEFAULT
mouse_opacity = MOUSE_OPACITY_NORMAL
if (drip_active)
RipDrip()
update_icon()
Expand Down

0 comments on commit 2685351

Please sign in to comment.