Files
src/st_stuff.ml
Drives the classic status bar's player values, face state machine, palette flashes, cheats, resources, and widgets.
- Package
(global)- Reachable
- Yes
Imports
Declarations
# _ST_ArrayAppend
function _ST_ArrayAppend(arr, item)
Returns a copy of an array with one appended item without using concatenation.
| Parameter | Type | Default | Description |
|---|
arr | dynamic | — | Arr value supplied to `_ST_ArrayAppend`. |
item | dynamic | — | Item value supplied to `_ST_ArrayAppend`. |
View source
# _ST_CheatParam
inline function _ST_CheatParam(cheat)
Extracts the decoded parameter bytes accumulated by a parameterized cheat sequence.
| Parameter | Type | Default | Description |
|---|
cheat | dynamic | — | Cheat value supplied to `_ST_CheatParam`. |
View source
# _ST_DigitFromParam
inline function _ST_DigitFromParam(param, idx)
Parses one checked decimal digit from a cheat-code parameter string, returning minus one on invalid input.
| Parameter | Type | Default | Description |
|---|
param | dynamic | — | Param value supplied to `_ST_DigitFromParam`. |
idx | dynamic | — | Zero-based element or table index. |
View source
# _ST_DigitString
inline function _ST_DigitString(v)
Formats one numeric status-bar lump suffix without implicit string conversion.
| Parameter | Type | Default | Description |
|---|
v | dynamic | — | Value consumed by the operation. |
View source
# _ST_EnumIndex
function _ST_EnumIndex(v, limit)
Converts integer/enum values to a checked table index below the requested limit.
| Parameter | Type | Default | Description |
|---|
v | dynamic | — | Value consumed by the operation. |
limit | dynamic | — | Limit value supplied to `_ST_EnumIndex`. |
View source
# _ST_FacebackName
inline function _ST_FacebackName()
Returns the fixed status-bar face background lump for the local player.
View source
# _ST_GetAmmo
inline function _ST_GetAmmo(player, idx)
Returns one checked player ammunition count as an integer.
| Parameter | Type | Default | Description |
|---|
player | dynamic | — | Player state affected by the operation. |
idx | dynamic | — | Zero-based element or table index. |
View source
# _ST_GetCard
inline function _ST_GetCard(player, idx)
Returns one checked player key/card ownership flag.
| Parameter | Type | Default | Description |
|---|
player | dynamic | — | Player state affected by the operation. |
idx | dynamic | — | Zero-based element or table index. |
View source
# _ST_GetMaxAmmo
inline function _ST_GetMaxAmmo(player, idx)
Returns one checked player ammunition-capacity value as an integer.
| Parameter | Type | Default | Description |
|---|
player | dynamic | — | Player state affected by the operation. |
idx | dynamic | — | Zero-based element or table index. |
View source
# _ST_GetPower
inline function _ST_GetPower(player, idx)
Returns one checked player power timer or zero for absent/incomplete records.
| Parameter | Type | Default | Description |
|---|
player | dynamic | — | Player state affected by the operation. |
idx | dynamic | — | Zero-based element or table index. |
View source
# _ST_GetRef
inline function _ST_GetRef(refv, fallback)
Dereferences the status widget's single-element mutable-reference convention with a fallback.
| Parameter | Type | Default | Description |
|---|
refv | dynamic | — | Refv value supplied to `_ST_GetRef`. |
fallback | dynamic | — | Value returned when the requested conversion or lookup is unavailable. |
View source
# _ST_GetWeaponOwned
inline function _ST_GetWeaponOwned(player, idx)
Returns one checked player weapon-ownership flag.
| Parameter | Type | Default | Description |
|---|
player | dynamic | — | Player state affected by the operation. |
idx | dynamic | — | Zero-based element or table index. |
View source
# _ST_IDiv
inline function _ST_IDiv(a, b)
Divides status calculations with truncation toward zero and returns zero for a zero divisor.
| Parameter | Type | Default | Description |
|---|
a | dynamic | — | First input operand. |
b | dynamic | — | Second input operand. |
View source
# _ST_LoadPatchMaybe
inline function _ST_LoadPatchMaybe(name)
Caches an optional status-bar patch only when its lump exists.
| Parameter | Type | Default | Description |
|---|
name | dynamic | — | Resource or object name to resolve. |
View source
# _ST_LoadPatchRequired
inline function _ST_LoadPatchRequired(name)
Caches a required status-bar patch and registers its lump name for HD overlay lookup.
| Parameter | Type | Default | Description |
|---|
name | dynamic | — | Resource or object name to resolve. |
View source
# _ST_Player
inline function _ST_Player()
Returns the checked console-player record consumed by status widgets and cheats.
View source
# _ST_SetMessage
inline function _ST_SetMessage(msg)
Writes a cheat/status notification into the active console player's HUD message slot.
| Parameter | Type | Default | Description |
|---|
msg | dynamic | — | Msg value supplied to `_ST_SetMessage`. |
View source
# _ST_SetRef
inline function _ST_SetRef(refv, v)
Writes through a non-empty single-element status-widget reference.
| Parameter | Type | Default | Description |
|---|
refv | dynamic | — | Refv value supplied to `_ST_SetRef`. |
v | dynamic | — | Value consumed by the operation. |
View source
# _ST_ToInt
function _ST_ToInt(v, fallback)
Converts numeric or numeric-string widget values by truncating toward zero, otherwise returning a fallback.
| Parameter | Type | Default | Description |
|---|
v | dynamic | — | Value consumed by the operation. |
fallback | dynamic | — | Value returned when the requested conversion or lookup is unavailable. |
View source
# _ST_WeaponAmmoType
inline function _ST_WeaponAmmoType(weapon)
Resolves a checked ready-weapon index to its ammo pool or the no-ammo sentinel.
| Parameter | Type | Default | Description |
|---|
weapon | dynamic | — | Weapon value supplied to `_ST_WeaponAmmoType`. |
View source
# cheat_ammo
cheat_ammo
Tracks the mutable cheat ammo value used by the st stuff subsystem.
View source
# cheat_ammonokey
cheat_ammonokey
Tracks the mutable cheat ammonokey value used by the st stuff subsystem.
View source
# cheat_choppers
cheat_choppers
Tracks the mutable cheat choppers value used by the st stuff subsystem.
View source
# cheat_clev
cheat_clev
Tracks the mutable cheat clev value used by the st stuff subsystem.
View source
# cheat_commercial_noclip
cheat_commercial_noclip
Tracks the mutable cheat commercial noclip value used by the st stuff subsystem.
View source
# cheat_god
cheat_god
Tracks the mutable cheat god value used by the st stuff subsystem.
View source
# cheat_mus
cheat_mus
Tracks the mutable cheat mus value used by the st stuff subsystem.
View source
# cheat_mypos
cheat_mypos
Tracks the mutable cheat mypos value used by the st stuff subsystem.
View source
# cheat_noclip
cheat_noclip
Tracks the mutable cheat noclip value used by the st stuff subsystem.
View source
# cheat_powerup
cheat_powerup
Stores the cheat powerup collection used by the st stuff subsystem.
View source
# lu_palette
lu_palette
Tracks the mutable lu palette value used by the st stuff subsystem.
View source
# NUMBONUSPALS
const NUMBONUSPALS = 4
Defines the numbonuspals count used by the st stuff subsystem.
View source
# NUMREDPALS
const NUMREDPALS = 8
Defines the numredpals count used by the st stuff subsystem.
View source
# RADIATIONPAL
const RADIATIONPAL = 13
Defines radiationpal for the st stuff subsystem.
View source
# ST_AMMO0WIDTH
const ST_AMMO0WIDTH = 3
Defines st ammo0 width for the st stuff subsystem.
View source
# ST_AMMO0X
const ST_AMMO0X = 288
Defines st ammo0 x for the st stuff subsystem.
View source
# ST_AMMO0Y
const ST_AMMO0Y = 173
Defines st ammo0 y for the st stuff subsystem.
View source
# ST_AMMO1WIDTH
const ST_AMMO1WIDTH = ST_AMMO0WIDTH
Defines st ammo1 width for the st stuff subsystem.
View source
# ST_AMMO1X
const ST_AMMO1X = 288
Defines st ammo1 x for the st stuff subsystem.
View source
# ST_AMMO1Y
const ST_AMMO1Y = 179
Defines st ammo1 y for the st stuff subsystem.
View source
# ST_AMMO2WIDTH
const ST_AMMO2WIDTH = ST_AMMO0WIDTH
Defines st ammo2 width for the st stuff subsystem.
View source
# ST_AMMO2X
const ST_AMMO2X = 288
Defines st ammo2 x for the st stuff subsystem.
View source
# ST_AMMO2Y
const ST_AMMO2Y = 191
Defines st ammo2 y for the st stuff subsystem.
View source
# ST_AMMO3WIDTH
const ST_AMMO3WIDTH = ST_AMMO0WIDTH
Defines st ammo3 width for the st stuff subsystem.
View source
# ST_AMMO3X
const ST_AMMO3X = 288
Defines st ammo3 x for the st stuff subsystem.
View source
# ST_AMMO3Y
const ST_AMMO3Y = 185
Defines st ammo3 y for the st stuff subsystem.
View source
# st_ammo_refs
st_ammo_refs
Stores the st ammo refs collection used by the st stuff subsystem.
View source
# ST_AMMOWIDTH
const ST_AMMOWIDTH = 3
Defines st ammowidth for the st stuff subsystem.
View source
# ST_AMMOX
const ST_AMMOX = 44
Defines st ammox for the st stuff subsystem.
View source
# ST_AMMOY
const ST_AMMOY = 171
Defines st ammoy for the st stuff subsystem.
View source
# st_armor_ref
st_armor_ref
Stores the st armor ref collection used by the st stuff subsystem.
View source
# ST_ARMORWIDTH
const ST_ARMORWIDTH = 3
Defines st armorwidth for the st stuff subsystem.
View source
# ST_ARMORX
const ST_ARMORX = 221
Defines st armorx for the st stuff subsystem.
View source
# ST_ARMORY
const ST_ARMORY = 171
Defines st armory for the st stuff subsystem.
View source
# st_arms_patches
st_arms_patches
Stores the st arms patches collection used by the st stuff subsystem.
View source
# st_armsbg_patch
st_armsbg_patch
Holds the optional st armsbg patch resource used by the st stuff subsystem.
View source
# ST_ARMSBGX
const ST_ARMSBGX = 104
Defines st armsbgx for the st stuff subsystem.
View source
# ST_ARMSBGY
const ST_ARMSBGY = 168
Defines st armsbgy for the st stuff subsystem.
View source
# st_armson_ref
st_armson_ref
Stores the st armson ref collection used by the st stuff subsystem.
View source
# ST_ARMSX
const ST_ARMSX = 111
Defines st armsx for the st stuff subsystem.
View source
# ST_ARMSXSPACE
const ST_ARMSXSPACE = 12
Defines st armsxspace for the st stuff subsystem.
View source
# ST_ARMSY
const ST_ARMSY = 172
Defines st armsy for the st stuff subsystem.
View source
# ST_ARMSYSPACE
const ST_ARMSYSPACE = 10
Defines st armsyspace for the st stuff subsystem.
View source
# st_calc_oldhealth
st_calc_oldhealth
Tracks the mutable st calc oldhealth value used by the st stuff subsystem.
View source
# ST_calcPainOffset
function ST_calcPainOffset()
Maps clamped health to the cached five-tier face-patch row offset.
View source
# st_chat
st_chat
Tracks whether st chat is active in the st stuff subsystem.
View source
# st_chatstate
st_chatstate
Exposes `st_chatstateenum_t.StartChatState` through the legacy `st_chatstate` alias.
View source
st_chatstateenum_t enum
# st_clock
st_clock
Tracks the mutable st clock value used by the st stuff subsystem.
View source
# ST_createWidgets
function ST_createWidgets()
Binds every status-bar widget to its screen coordinates, patch set, value reference, and visibility reference.
View source
# st_cursoron
st_cursoron
Tracks whether st cursoron is active in the st stuff subsystem.
View source
# ST_DEADFACE
const ST_DEADFACE = ST_GODFACE + 1
Defines st deadface for the st stuff subsystem.
View source
# ST_diffDraw
function ST_diffDraw()
Redraws only widgets whose referenced values changed since the previous frame.
View source
# ST_doPaletteStuff
function ST_doPaletteStuff()
Selects damage, bonus, or radiation palette feedback and routes OpenGL flashes separately from indexed palettes.
View source
# ST_doRefresh
function ST_doRefresh()
Clears the first-frame flag, restores the static background, and forces every dynamic widget to redraw.
View source
# ST_Drawer
function ST_Drawer(fullscreen, refresh)
Chooses full or differential status redraw, synchronizes fullscreen/automap visibility, and applies palette feedback.
| Parameter | Type | Default | Description |
|---|
fullscreen | dynamic | — | Fullscreen value supplied to `ST_Drawer`. |
refresh | dynamic | — | Refresh value supplied to `ST_Drawer`. |
View source
# ST_drawWidgets
function ST_drawWidgets(refresh)
Draws enabled ammo, health, armor, arms/frags, face, and key widgets in dependency-safe order.
| Parameter | Type | Default | Description |
|---|
refresh | dynamic | — | Refresh value supplied to `ST_drawWidgets`. |
View source
# ST_EVILGRINCOUNT
const ST_EVILGRINCOUNT = 2 * TICRATE
Defines st evilgrincount for the st stuff subsystem.
View source
# ST_EVILGRINOFFSET
const ST_EVILGRINOFFSET = ST_OUCHOFFSET + 1
Defines st evilgrinoffset for the st stuff subsystem.
View source
# st_face_ref
st_face_ref
Stores the st face ref collection used by the st stuff subsystem.
View source
# st_faceback
st_faceback
Holds the optional st faceback resource used by the st stuff subsystem.
View source
# st_facecount
st_facecount
Tracks the mutable st facecount value used by the st stuff subsystem.
View source
# st_faceindex
st_faceindex
Tracks the mutable st faceindex value used by the st stuff subsystem.
View source
# st_facepriority
st_facepriority
Tracks the mutable st facepriority value used by the st stuff subsystem.
View source
# st_faces
st_faces
Stores the st faces collection used by the st stuff subsystem.
View source
# ST_FACESTRIDE
const ST_FACESTRIDE = ST_NUMSTRAIGHTFACES + ST_NUMTURNFACES + ST_NUMSPECIALFACES
Defines st facestride for the st stuff subsystem.
View source
# ST_FACESX
const ST_FACESX = 143
Defines st facesx for the st stuff subsystem.
View source
# ST_FACESY
const ST_FACESY = 168
Defines st facesy for the st stuff subsystem.
View source
# st_firsttime
st_firsttime
Tracks whether st firsttime is active in the st stuff subsystem.
View source
# ST_ForceRefresh
function ST_ForceRefresh()
Forces the next status bar draw to rebuild all static and dynamic widgets.
View source
# st_frags_ref
st_frags_ref
Stores the st frags ref collection used by the st stuff subsystem.
View source
# st_fragson_ref
st_fragson_ref
Stores the st fragson ref collection used by the st stuff subsystem.
View source
# ST_FRAGSWIDTH
const ST_FRAGSWIDTH = 2
Defines st fragswidth for the st stuff subsystem.
View source
# ST_FRAGSX
const ST_FRAGSX = 138
Defines st fragsx for the st stuff subsystem.
View source
# ST_FRAGSY
const ST_FRAGSY = 171
Defines st fragsy for the st stuff subsystem.
View source
# ST_FX
const ST_FX = 143
Defines st fx for the st stuff subsystem.
View source
# ST_FY
const ST_FY = 169
Defines st fy for the st stuff subsystem.
View source
# ST_GODFACE
const ST_GODFACE = ST_NUMPAINFACES * ST_FACESTRIDE
Defines st godface for the st stuff subsystem.
View source
# st_health_ref
st_health_ref
Stores the st health ref collection used by the st stuff subsystem.
View source
# ST_HEALTHWIDTH
const ST_HEALTHWIDTH = 3
Defines st healthwidth for the st stuff subsystem.
View source
# ST_HEALTHX
const ST_HEALTHX = 90
Defines st healthx for the st stuff subsystem.
View source
# ST_HEALTHY
const ST_HEALTHY = 171
Defines st healthy for the st stuff subsystem.
View source
# ST_HEIGHT
const ST_HEIGHT = 32
Defines st height for the st stuff subsystem.
View source
# ST_Init
function ST_Init()
Loads status resources, allocates the dedicated 320x32 background screen, and requests an initial full draw.
View source
# ST_initData
function ST_initData()
Resets status/chat/face/palette history and snapshots initial player weapon ownership for a new level.
View source
# ST_KEY0X
const ST_KEY0X = 239
Defines st key0 x for the st stuff subsystem.
View source
# ST_KEY0Y
const ST_KEY0Y = 171
Defines st key0 y for the st stuff subsystem.
View source
# ST_KEY1X
const ST_KEY1X = 239
Defines st key1 x for the st stuff subsystem.
View source
# ST_KEY1Y
const ST_KEY1Y = 181
Defines st key1 y for the st stuff subsystem.
View source
# ST_KEY2X
const ST_KEY2X = 239
Defines st key2 x for the st stuff subsystem.
View source
# ST_KEY2Y
const ST_KEY2Y = 191
Defines st key2 y for the st stuff subsystem.
View source
# st_keyrefs
st_keyrefs
Stores the st keyrefs collection used by the st stuff subsystem.
View source
# st_keys
st_keys
Stores the st keys collection used by the st stuff subsystem.
View source
# st_lastattackdown
st_lastattackdown
Tracks the mutable st lastattackdown value used by the st stuff subsystem.
View source
# st_lastcalc
st_lastcalc
Tracks the mutable st lastcalc value used by the st stuff subsystem.
View source
# ST_loadData
function ST_loadData()
Resolves the PLAYPAL lump and loads the complete status-bar patch set.
View source
# ST_loadGraphics
function ST_loadGraphics()
Caches and names all number, key, arms, face, faceback, and background patches used by status widgets.
View source
# ST_MAXAMMO0WIDTH
const ST_MAXAMMO0WIDTH = 3
Defines the maximum st maxammo0 width accepted by the st stuff subsystem.
View source
# ST_MAXAMMO0X
const ST_MAXAMMO0X = 314
Defines the maximum st maxammo0 x accepted by the st stuff subsystem.
View source
# ST_MAXAMMO0Y
const ST_MAXAMMO0Y = 173
Defines the maximum st maxammo0 y accepted by the st stuff subsystem.
View source
# ST_MAXAMMO1WIDTH
const ST_MAXAMMO1WIDTH = ST_MAXAMMO0WIDTH
Defines the maximum st maxammo1 width accepted by the st stuff subsystem.
View source
# ST_MAXAMMO1X
const ST_MAXAMMO1X = 314
Defines the maximum st maxammo1 x accepted by the st stuff subsystem.
View source
# ST_MAXAMMO1Y
const ST_MAXAMMO1Y = 179
Defines the maximum st maxammo1 y accepted by the st stuff subsystem.
View source
# ST_MAXAMMO2WIDTH
const ST_MAXAMMO2WIDTH = ST_MAXAMMO0WIDTH
Defines the maximum st maxammo2 width accepted by the st stuff subsystem.
View source
# ST_MAXAMMO2X
const ST_MAXAMMO2X = 314
Defines the maximum st maxammo2 x accepted by the st stuff subsystem.
View source
# ST_MAXAMMO2Y
const ST_MAXAMMO2Y = 191
Defines the maximum st maxammo2 y accepted by the st stuff subsystem.
View source
# ST_MAXAMMO3WIDTH
const ST_MAXAMMO3WIDTH = ST_MAXAMMO0WIDTH
Defines the maximum st maxammo3 width accepted by the st stuff subsystem.
View source
# ST_MAXAMMO3X
const ST_MAXAMMO3X = 314
Defines the maximum st maxammo3 x accepted by the st stuff subsystem.
View source
# ST_MAXAMMO3Y
const ST_MAXAMMO3Y = 185
Defines the maximum st maxammo3 y accepted by the st stuff subsystem.
View source
# st_maxammo_refs
st_maxammo_refs
Stores the st maxammo refs collection used by the st stuff subsystem.
View source
# st_msgcounter
st_msgcounter
Tracks the mutable st msgcounter value used by the st stuff subsystem.
View source
# ST_MUCHPAIN
const ST_MUCHPAIN = 20
Defines st muchpain for the st stuff subsystem.
View source
# st_notdeathmatch_ref
st_notdeathmatch_ref
Stores the st notdeathmatch ref collection used by the st stuff subsystem.
View source
# ST_NUMPAINFACES
const ST_NUMPAINFACES = 5
Defines the st numpainfaces count used by the st stuff subsystem.
View source
# ST_NUMSPECIALFACES
const ST_NUMSPECIALFACES = 3
Defines the st numspecialfaces count used by the st stuff subsystem.
View source
# ST_NUMSTRAIGHTFACES
const ST_NUMSTRAIGHTFACES = 3
Defines the st numstraightfaces count used by the st stuff subsystem.
View source
# ST_NUMTURNFACES
const ST_NUMTURNFACES = 2
Defines the st numturnfaces count used by the st stuff subsystem.
View source
# st_oldchat
st_oldchat
Tracks whether st oldchat is active in the st stuff subsystem.
View source
# st_oldhealth
st_oldhealth
Tracks the mutable st oldhealth value used by the st stuff subsystem.
View source
# st_oldweaponsowned
st_oldweaponsowned
Stores the st oldweaponsowned collection used by the st stuff subsystem.
View source
# ST_OUCHOFFSET
const ST_OUCHOFFSET = ST_TURNOFFSET + ST_NUMTURNFACES
Defines st ouchoffset for the st stuff subsystem.
View source
# st_palette
st_palette
Tracks the mutable st palette value used by the st stuff subsystem.
View source
# st_plyr
st_plyr
Holds the optional st plyr resource used by the st stuff subsystem.
View source
# ST_RAMPAGEDELAY
const ST_RAMPAGEDELAY = 2 * TICRATE
Defines st rampagedelay for the st stuff subsystem.
View source
# ST_RAMPAGEOFFSET
const ST_RAMPAGEOFFSET = ST_EVILGRINOFFSET + 1
Defines st rampageoffset for the st stuff subsystem.
View source
# st_randomnumber
st_randomnumber
Tracks the mutable st randomnumber value used by the st stuff subsystem.
View source
# st_ready_ref
st_ready_ref
Stores the st ready ref collection used by the st stuff subsystem.
View source
# ST_refreshBackground
function ST_refreshBackground()
Rebuilds the static classic status-bar background, multiplayer faceback, and optional HD overlays.
View source
# ST_Responder
function ST_Responder(ev)
Consumes automap enter/exit messages and recognized cheat sequences, including map-warp validation.
| Parameter | Type | Default | Description |
|---|
ev | dynamic | — | Input event to process. |
View source
# st_shortnum
st_shortnum
Stores the st shortnum collection used by the st stuff subsystem.
View source
# ST_Start
function ST_Start()
Ensures graphics are loaded, resets per-level state, creates widgets, and activates status rendering.
View source
# st_started
st_started
Tracks whether st started is active in the st stuff subsystem.
View source
# st_state
st_state
Exposes `st_stateenum_t.FirstPersonState` through the legacy `st_state` alias.
View source
st_stateenum_t enum
# st_statusbaron_ref
st_statusbaron_ref
Stores the st statusbaron ref collection used by the st stuff subsystem.
View source
# st_stbar
st_stbar
Holds the optional st stbar resource used by the st stuff subsystem.
View source
# ST_Stop
function ST_Stop()
Restores the base PLAYPAL palette and deactivates status-bar rendering.
View source
# ST_STRAIGHTFACECOUNT
const ST_STRAIGHTFACECOUNT = TICRATE >> 1
Defines st straightfacecount for the st stuff subsystem.
View source
# st_tallnum
st_tallnum
Stores the st tallnum collection used by the st stuff subsystem.
View source
# st_tallpercent
st_tallpercent
Holds the optional st tallpercent resource used by the st stuff subsystem.
View source
# ST_Ticker
function ST_Ticker()
Samples a new random face value, refreshes widget references, and records health once per game tic.
View source
# ST_TURNCOUNT
const ST_TURNCOUNT = TICRATE
Defines st turncount for the st stuff subsystem.
View source
# ST_TURNOFFSET
const ST_TURNOFFSET = ST_NUMSTRAIGHTFACES
Defines st turnoffset for the st stuff subsystem.
View source
# ST_unloadData
function ST_unloadData()
Releases status-bar graphics through the module's data-teardown entry point.
View source
# ST_unloadGraphics
function ST_unloadGraphics()
Drops all status-bar patch references and clears compound arms icon slots.
View source
# ST_updateFaceWidget
function ST_updateFaceWidget()
Runs the prioritized death, grin, damage-direction, rampage, god, and idle face state machine.
View source
# ST_updateWidgets
function ST_updateWidgets()
Copies current player health/armor/ammo/keys/weapons/frags into widget references and advances face/message state.
View source
# st_weaponowned_refs
st_weaponowned_refs
Stores the st weaponowned refs collection used by the st stuff subsystem.
View source
# ST_WIDTH
const ST_WIDTH = 320
Defines st width for the st stuff subsystem.
View source
# ST_Y
const ST_Y = 168
Defines st y for the st stuff subsystem.
View source
# STARTBONUSPALS
const STARTBONUSPALS = 9
Defines startbonuspals for the st stuff subsystem.
View source
# STARTREDPALS
const STARTREDPALS = 1
Defines startredpals for the st stuff subsystem.
View source
# w_ammo
w_ammo
Stores the w ammo collection used by the st stuff subsystem.
View source
# w_armor
w_armor
Tracks the mutable w armor value used by the st stuff subsystem.
View source
# w_arms
w_arms
Stores the w arms collection used by the st stuff subsystem.
View source
# w_armsbg
w_armsbg
Tracks the mutable w armsbg value used by the st stuff subsystem.
View source
# w_faces
w_faces
Tracks the mutable w faces value used by the st stuff subsystem.
View source
# w_frags
w_frags
Tracks the mutable w frags value used by the st stuff subsystem.
View source
# w_health
w_health
Tracks the mutable w health value used by the st stuff subsystem.
View source
# w_keyboxes
w_keyboxes
Stores the w keyboxes collection used by the st stuff subsystem.
View source
# w_maxammo
w_maxammo
Stores the w maxammo collection used by the st stuff subsystem.
View source
# w_ready
w_ready
Tracks the mutable w ready value used by the st stuff subsystem.
View source