Skip to content

Commit

Permalink
Disable NUGHUD Icons by default
Browse files Browse the repository at this point in the history
  • Loading branch information
MrAlaux committed Oct 27, 2023
1 parent 38cd067 commit ce89f3e
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5 deletions.
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@

- **NUGHUD:**
- Let Ammo and Armor icons fall back to vanilla sprites;
- Made Patches and Ammo and Armor icons alignable horizontally and vertically.
- Made Patches and Ammo and Armor icons alignable horizontally and vertically;
- Disabled Armor icon by default.
- **MDK Fist attacks now prioritize enemies over friends**

## Bug Fixes
Expand Down
4 changes: 2 additions & 2 deletions docs/nughud.lmp
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ nughud_ammo_wide -1
nughud_ammo_align 1

; Ammo icon
nughud_ammoicon_x 0
nughud_ammoicon_x -1
nughud_ammoicon_y 0
nughud_ammoicon_wide 0
nughud_ammoicon_align -1
Expand Down Expand Up @@ -79,7 +79,7 @@ nughud_armor_wide 1
nughud_armor_align 1

; Armor icon
nughud_armoricon_x 0
nughud_armoricon_x -1
nughud_armoricon_y 0
nughud_armoricon_wide 0
nughud_armoricon_align -1
Expand Down
4 changes: 2 additions & 2 deletions src/m_nughud.c
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ nughud_t nughud; // Behold!!!

default_t nughud_defaults[] = {
WIDGET2( "nughud_ammo", nughud.ammo, ST_AMMOX, ST_AMMOY, -1, 1 ),
WIDGET3( "nughud_ammoicon", nughud.ammoicon, 0, 0, 0, -1, 1 ),
WIDGET3( "nughud_ammoicon", nughud.ammoicon, -1, 0, 0, -1, 1 ),
TOGGLE( "nughud_ammoicon_big",nughud.ammoicon_big, 0 ),
WIDGET2( "nughud_health", nughud.health, ST_HEALTHX, ST_HEALTHY, -1, 1 ),
WIDGET( "nughud_arms1", nughud.arms[0], -1, 0, 0 ),
Expand All @@ -83,7 +83,7 @@ default_t nughud_defaults[] = {
WIDGET( "nughud_face", nughud.face, -1, ST_FACESY, 0 ),
TOGGLE( "nughud_face_bg", nughud.face_bg, 1 ),
WIDGET2( "nughud_armor", nughud.armor, ST_ARMORX, ST_ARMORY, 1, 1 ),
WIDGET3( "nughud_armoricon", nughud.armoricon, 0, 0, 0, -1, 1 ),
WIDGET3( "nughud_armoricon", nughud.armoricon, -1, 0, 0, -1, 1 ),
WIDGET( "nughud_key0", nughud.keys[0], ST_KEY0X, ST_KEY0Y, 1 ),
WIDGET( "nughud_key1", nughud.keys[1], ST_KEY1X, ST_KEY1Y, 1 ),
WIDGET( "nughud_key2", nughud.keys[2], ST_KEY2X, ST_KEY2Y, 1 ),
Expand Down

0 comments on commit ce89f3e

Please sign in to comment.