Skip to content

Commit

Permalink
Removes an unused hud and icons. (tgstation#87327)
Browse files Browse the repository at this point in the history
## About The Pull Request
Sentient diseases, thieves and space cops are no more. This PR cleans
bites of code and icons that belonged to them.

## Why It's Good For The Game
Leftovers and scraps to removed.

## Changelog
N/A
  • Loading branch information
Ghommie authored Oct 22, 2024
1 parent 4460e79 commit d0db1ff
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 16 deletions.
20 changes: 9 additions & 11 deletions code/__DEFINES/atom_hud.dm
Original file line number Diff line number Diff line change
Expand Up @@ -35,18 +35,17 @@
#define DIAG_PATH_HUD "15"
/// Gland indicators for abductors
#define GLAND_HUD "16"
#define SENTIENT_DISEASE_HUD "17"
#define AI_DETECT_HUD "18"
#define AI_DETECT_HUD "17"
/// Displays launchpads' targeting reticle
#define DIAG_LAUNCHPAD_HUD "19"
#define DIAG_LAUNCHPAD_HUD "18"
//for antag huds. these are used at the /mob level
#define ANTAG_HUD "20"
#define ANTAG_HUD "19"
// for fans to identify pins
#define FAN_HUD "21"
#define FAN_HUD "20"
/// Mech camera HUD
#define DIAG_CAMERA_HUD "22"
#define DIAG_CAMERA_HUD "21"
/// Steady Hacked APC effect, visible only to Malf AIs
#define MALF_APC_HUD "23"
#define MALF_APC_HUD "22"

//by default everything in the hud_list of an atom is an image
//a value in hud_list with one of these will change that behavior
Expand All @@ -61,10 +60,9 @@
#define DATA_HUD_DIAGNOSTIC 5
#define DATA_HUD_BOT_PATH 6
#define DATA_HUD_ABDUCTOR 7
#define DATA_HUD_SENTIENT_DISEASE 8
#define DATA_HUD_AI_DETECT 9
#define DATA_HUD_FAN 10
#define DATA_HUD_MALF_APC 11
#define DATA_HUD_AI_DETECT 8
#define DATA_HUD_FAN 9
#define DATA_HUD_MALF_APC 10

/// cooldown for being shown the images for any particular data hud
#define ADD_HUD_TO_COOLDOWN 20
Expand Down
1 change: 0 additions & 1 deletion code/datums/hud.dm
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ GLOBAL_LIST_INIT(huds, list(
DATA_HUD_DIAGNOSTIC = new /datum/atom_hud/data/diagnostic(),
DATA_HUD_BOT_PATH = new /datum/atom_hud/data/bot_path(),
DATA_HUD_ABDUCTOR = new /datum/atom_hud/abductor(),
DATA_HUD_SENTIENT_DISEASE = new /datum/atom_hud/sentient_disease(),
DATA_HUD_AI_DETECT = new /datum/atom_hud/ai_detector(),
DATA_HUD_FAN = new /datum/atom_hud/data/human/fan_hud(),
DATA_HUD_MALF_APC = new /datum/atom_hud/data/malf_apc(),
Expand Down
3 changes: 0 additions & 3 deletions code/game/data_huds.dm
Original file line number Diff line number Diff line change
Expand Up @@ -66,9 +66,6 @@
/datum/atom_hud/abductor
hud_icons = list(GLAND_HUD)

/datum/atom_hud/sentient_disease
hud_icons = list(SENTIENT_DISEASE_HUD)

/datum/atom_hud/ai_detector
hud_icons = list(AI_DETECT_HUD)

Expand Down
2 changes: 1 addition & 1 deletion code/modules/mob/living/carbon/human/human_defines.dm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
icon = 'icons/mob/human/human.dmi'
icon_state = "human_basic"
appearance_flags = KEEP_TOGETHER|TILE_BOUND|PIXEL_SCALE|LONG_GLIDE
hud_possible = list(HEALTH_HUD,STATUS_HUD,ID_HUD,WANTED_HUD,IMPLOYAL_HUD,IMPSEC_FIRST_HUD,IMPSEC_SECOND_HUD,ANTAG_HUD,GLAND_HUD,SENTIENT_DISEASE_HUD,FAN_HUD)
hud_possible = list(HEALTH_HUD,STATUS_HUD,ID_HUD,WANTED_HUD,IMPLOYAL_HUD,IMPSEC_FIRST_HUD,IMPSEC_SECOND_HUD,ANTAG_HUD,GLAND_HUD,FAN_HUD)
hud_type = /datum/hud/human
pressure_resistance = 25
can_buckle = TRUE
Expand Down
Binary file modified icons/mob/huds/antag_hud.dmi
Binary file not shown.

0 comments on commit d0db1ff

Please sign in to comment.