Difference between revisions of "DECgraphics"

From NetHackWiki
Jump to navigation Jump to search
(fleshed out page to mirror IBMgraphics)
(Tag: Removed redirect)
(Pre-3.6.3 DECgraphics symbols for altar and iron bars (for those that hate the new ones as much as I do))
 
(11 intermediate revisions by 3 users not shown)
Line 7: Line 7:
 
== The complete symbol list ==
 
== The complete symbol list ==
  
Because the DEC Special Graphics character set is limited, the Rogue level is rendered using only normal ASCII characters.
+
Because the DEC Special Graphics character set is limited and lacks the double line drawing characters, the Rogue level is rendered using only normal ASCII characters.
  
 
The symbols affected by DECgraphics in the normal dungeon are listed here.  DEC Special Graphics is a 7bit system. The code points listed here use the NetHack internal representation, which sets the 8th bit high.
 
The symbols affected by DECgraphics in the normal dungeon are listed here.  DEC Special Graphics is a 7bit system. The code points listed here use the NetHack internal representation, which sets the 8th bit high.
Line 15: Line 15:
 
!Code point!!Usage!!Appearance!!ASCII
 
!Code point!!Usage!!Appearance!!ASCII
 
|-
 
|-
|0xf8||vwall||&#x2502;||<nowiki>|</nowiki>
+
|0xf8||vertical wall||&#x2502;||<nowiki>|</nowiki>
 
|-
 
|-
|0xf1||hwall||&#x2500;||-
+
|0xf1||horizontal wall||&#x2500;||-
 
|-
 
|-
|0xec||tlcorn||&#x250c;||-
+
|0xec||top left corner||&#x250c;||-
 
|-
 
|-
|0xeb||trcorn||&#x2510;||-
+
|0xeb||top right corner||&#x2510;||-
 
|-
 
|-
|0xed||blcorn||&#x2514;||-
+
|0xed||bottom left corner||&#x2514;||-
 
|-
 
|-
|0xea||brcorn||&#x2518;||-
+
|0xea||bottoom right corner||&#x2518;||-
 
|-
 
|-
|0xee||crwall||&#x253c;||-
+
|0xee||cross wall||&#x253c;||-
 
|-
 
|-
|0xf6||tuwall||&#x2534;||-
+
|0xf6||T up wall||&#x2534;||-
 
|-
 
|-
|0xf7||tdwall||&#x252c;||-
+
|0xf7||T down wall||&#x252c;||-
 
|-
 
|-
|0xf5||tlwall||&#x2524;||<nowiki>|</nowiki>
+
|0xf5||T left wall||&#x2524;||<nowiki>|</nowiki>
 
|-
 
|-
|0xf4||trwall||&#x251c;||<nowiki>|</nowiki>
+
|0xf4||T right wall||&#x251c;||<nowiki>|</nowiki>
 
|-
 
|-
|0xfe||ndoor||&#x00b7;||.
+
|0xfe||normal door||&#x00b7;||.
 
|-
 
|-
|0xe1||vodoor||&#x2592;||-
+
|0xe1||vertical open door||&#x2592;||-
 
|-
 
|-
|0xe1||hodoor||&#x2592;||<nowiki>|</nowiki>
+
|0xe1||horizontal open door||&#x2592;||<nowiki>|</nowiki>
 
|-
 
|-
|0xfc||bars||&#x2260;||#
+
|0xfc||bars||&#x2260; or &#x03c0;||#
 
|-
 
|-
 
|0xe7||tree||&#x00b1;||#
 
|0xe7||tree||&#x00b1;||#
Line 49: Line 49:
 
|0xfe||room||&#x00b7;||.
 
|0xfe||room||&#x00b7;||.
 
|-
 
|-
|0xf9||upladder||&#x2264;||<
+
|0xf9||up ladder||&#x2264;||<
 
|-
 
|-
|0xfa||dnladder||&#x2265;||>
+
|0xfa||down ladder||&#x2265;||>
 
|-
 
|-
|0xfb||altar||&#x03c0;||_
+
|0xfb||altar||&#x03c0; or _||_
 
|-
 
|-
 
|0xe0||pool||&#x25c6;||}
 
|0xe0||pool||&#x25c6;||}
Line 61: Line 61:
 
|0xe0||lava||&#x25c6;||}
 
|0xe0||lava||&#x25c6;||}
 
|-
 
|-
|0xfe||vodbridge||&#x00b7;||.
+
|0xfe||vertical open drawbridge||&#x00b7;||.
 
|-
 
|-
|0xfe||hodbridge||&#x00b7;||.
+
|0xfe||horizontal open drawbridge||&#x00b7;||.
 
|-
 
|-
 
|0xe0||under water||&#x25c6;||}
 
|0xe0||under water||&#x25c6;||}
 
|-
 
|-
|0xf8||vbeam||&#x2502;||<nowiki>|</nowiki>
+
|0xf8||vertical beam||&#x2502;||<nowiki>|</nowiki>
 
|-
 
|-
|0xf1||hbeam||&#x2500;||-
+
|0xf1||horizontal beam||&#x2500;||-
 
|-
 
|-
 
|0xef||swallow top center||&#x23ba;||-
 
|0xef||swallow top center||&#x23ba;||-
Line 89: Line 89:
 
|}
 
|}
  
=== Rogue level ===
+
In the above table, "bars" and "altar" are listed with two appearances.  The first applies to 3.6.3 or newer.
  
 +
The second applies to 3.6.2 and prior.
 +
 +
These symbols can be reinstated by putting the following line into the [[configuration file]]:
 +
  SYMBOLS=S_altar:_,S_bars:\m{
  
  
 
[[Category:Options]]
 
[[Category:Options]]

Latest revision as of 21:04, 7 January 2020

DECgraphics is an option that displays walls as continuous lines rather than as broken dashes, which is the best that plain ASCII can do. It also displays certain dungeon features with distinct symbols. DECgraphics is a smaller character set than IBMgraphics, so it is missing some symbols, particularly on the Rogue level.

DECgraphics requires a display device that displays DEC Special Graphics. DEC Special Graphics works by sending the terminal an escape code which tells it to toggle to an alternate character set with line drawing characters. The curses SYMSET also uses DEC Special Graphics to approximate IBMgraphics.

To use DECgraphics, the option must be set to TRUE, either in-game or in the configuration file.

The complete symbol list

Because the DEC Special Graphics character set is limited and lacks the double line drawing characters, the Rogue level is rendered using only normal ASCII characters.

The symbols affected by DECgraphics in the normal dungeon are listed here. DEC Special Graphics is a 7bit system. The code points listed here use the NetHack internal representation, which sets the 8th bit high.

Code point Usage Appearance ASCII
0xf8 vertical wall |
0xf1 horizontal wall -
0xec top left corner -
0xeb top right corner -
0xed bottom left corner -
0xea bottoom right corner -
0xee cross wall -
0xf6 T up wall -
0xf7 T down wall -
0xf5 T left wall |
0xf4 T right wall |
0xfe normal door · .
0xe1 vertical open door -
0xe1 horizontal open door |
0xfc bars ≠ or π #
0xe7 tree ± #
0xfe room · .
0xf9 up ladder <
0xfa down ladder >
0xfb altar π or _ _
0xe0 pool }
0xfe ice · .
0xe0 lava }
0xfe vertical open drawbridge · .
0xfe horizontal open drawbridge · .
0xe0 under water }
0xf8 vertical beam |
0xf1 horizontal beam -
0xef swallow top center -
0xf8 swallow middle left |
0xf8 swallow middle right |
0xf3 swallow bottom center -
0xef explosion top center -
0xf8 explosion middle left |
0xf8 explosion middle right |
0xf3 explosion bottom center -

In the above table, "bars" and "altar" are listed with two appearances. The first applies to 3.6.3 or newer.

The second applies to 3.6.2 and prior.

These symbols can be reinstated by putting the following line into the configuration file:

 SYMBOLS=S_altar:_,S_bars:\m{