/tg/ Station 13 - Modules - TypesDefine Details

code/__DEFINES/hud.dm

HUD_STYLE_STANDARDStandard hud
HUD_STYLE_REDUCEDReduced hud (just hands and intent switcher)
HUD_STYLE_NOHUDNo hud (for screenshots)
HUD_VERSIONSUsed in show_hud(); Please ensure this is the same as the maximum index.
APPEARANCE_UI_IGNORE_ALPHAUsed for progress bars and chat messages
APPEARANCE_UIUsed for HUD objects
LARGEST_VIEWPORT_SIZELargest viewport possible, required for checking if someone can see an object
HUD_GROUP_STATICStatic elements that are always present in standard hud
HUD_GROUP_TOGGLEABLE_INVENTORYInventory elements toggled by the inventory switch
HUD_GROUP_INFOInfo display HUD elements
HUD_GROUP_SCREEN_OVERLAYSPermanently on-screen elements, regardless of your HUD status
HUD_GROUP_HOTKEYSHotkey buttons
HUD_GROUP_STORAGEOpen storages and items in them
SCREEN_GROUP_AMTTotal amount of screen groups in use
HUD_KEY_ITEM_SLOTConverts item slots to hud keys
HUD_KEY_ITEM_SLOT_CONSTConverts item slots to hud keys as a compiler constant
HUD_KEY_HAND_SLOTHand2hudkey
SCRN_OBJ_DEFAULTWhatever the base action datum thinks is best
SCRN_OBJ_FLOATINGFloating somewhere on the hud, not in any predefined place
SCRN_OBJ_IN_LISTIn the list of buttons stored at the top of the screen
SCRN_OBJ_IN_PALETTEIn the collapseable palette
SCRN_OBJ_INSERT_FIRSTInserted first in the list
PLANE_GROUP_MAINThe primary group, holds everything on the main window
PLANE_GROUP_POPUP_WINDOWA secondary group, used when a client views a generic window
HOVER_OUTLINE_FILTERThe filter name for the hover outline
USER_HUD_STYLE_IGNOREDon't change alert's icon
USER_HUD_STYLE_INHERITChange the icon to user's current hud's ui_style
USER_HUD_STYLE_PREFSChange the icon to user's chosen hud style from their prefs

Define Details

APPEARANCE_UI

Used for HUD objects

APPEARANCE_UI_IGNORE_ALPHA

Used for progress bars and chat messages

HOVER_OUTLINE_FILTER

The filter name for the hover outline

HUD_GROUP_HOTKEYS

Hotkey buttons

HUD_GROUP_INFO

Info display HUD elements

HUD_GROUP_SCREEN_OVERLAYS

Permanently on-screen elements, regardless of your HUD status

HUD_GROUP_STATIC

Static elements that are always present in standard hud

HUD_GROUP_STORAGE

Open storages and items in them

HUD_GROUP_TOGGLEABLE_INVENTORY

Inventory elements toggled by the inventory switch

HUD_KEY_HAND_SLOT

Hand2hudkey

HUD_KEY_ITEM_SLOT

Converts item slots to hud keys

HUD_KEY_ITEM_SLOT_CONST

Converts item slots to hud keys as a compiler constant

HUD_STYLE_NOHUD

No hud (for screenshots)

HUD_STYLE_REDUCED

Reduced hud (just hands and intent switcher)

HUD_STYLE_STANDARD

Standard hud

HUD_VERSIONS

Used in show_hud(); Please ensure this is the same as the maximum index.

LARGEST_VIEWPORT_SIZE

Largest viewport possible, required for checking if someone can see an object

PLANE_GROUP_MAIN

The primary group, holds everything on the main window

PLANE_GROUP_POPUP_WINDOW

A secondary group, used when a client views a generic window

SCREEN_GROUP_AMT

Total amount of screen groups in use

SCRN_OBJ_DEFAULT

Whatever the base action datum thinks is best

SCRN_OBJ_FLOATING

Floating somewhere on the hud, not in any predefined place

SCRN_OBJ_INSERT_FIRST

Inserted first in the list

SCRN_OBJ_IN_LIST

In the list of buttons stored at the top of the screen

SCRN_OBJ_IN_PALETTE

In the collapseable palette

USER_HUD_STYLE_IGNORE

Don't change alert's icon

USER_HUD_STYLE_INHERIT

Change the icon to user's current hud's ui_style

USER_HUD_STYLE_PREFS

Change the icon to user's chosen hud style from their prefs