Unbake the special help texts.

The text in the various help dialogs that was previously baked into an image is now drawn as text, meaning that it benefits from text unblurring when scaling is active.

This entails some small changes to layout, since it's a different font.

Dialog engine changes:
* A new picture type allowing to draw the inventory button icons directly into a dialog.
* A new widget type that simply draws a line between two points.
This commit is contained in:
2025-03-09 11:34:38 -04:00
committed by Celtic Minstrel
parent 09e5649a61
commit 8b08b46ea0
27 changed files with 368 additions and 20 deletions

View File

@@ -21,7 +21,21 @@
The Sell, ID, and Enchant buttons only appear when talking to a person who can do these things.
Many shopkeepers will buy your items, and certain sages can identify and even enchant them.
</text>
<pict type='full' num='1100' top='136' left='350' width='138' height='112'/>
<pict name='buttons' type='blank' outline='solid' color='white' top='136' left='350' width='138' height='112'/>
<pict name='zuse1' anchor='buttons' relative='pos-in' filled='false' type='btn' num='2' top='9' left='20' framed='false'/>
<text name='zuse2' anchor='buttons' relative='pos-in' top='6' left='45' color='black' size='9'>Use Item</text>
<pict name='zgive1' anchor='buttons' relative='pos-in' filled='false' type='btn' num='3' top='22' left='20' framed='false'/>
<text name='zgive2' anchor='buttons' relative='pos-in' top='19' left='45' color='black' size='9'>Give Item</text>
<pict name='zdrop1' anchor='buttons' relative='pos-in' filled='false' type='btn' num='4' top='35' left='19' framed='false'/>
<text name='zdrop2' anchor='buttons' relative='pos-in' top='33' left='45' color='black' size='9'>Drop Item</text>
<pict name='zinfo1' anchor='buttons' relative='pos-in' filled='false' type='btn' num='5' top='48' left='19' framed='false'/>
<text name='zinfo2' anchor='buttons' relative='pos-in' top='46' left='45' color='black' size='9'>Item Info</text>
<pict name='zid1' anchor='buttons' relative='pos-in' filled='false' type='btn' num='6' top='62' left='11' framed='false'/>
<text name='zid2' anchor='buttons' relative='pos-in' top='59' left='45' color='black' size='9'>Pay to identify</text>
<pict name='zsell1' anchor='buttons' relative='pos-in' filled='false' type='btn' num='7' top='75' left='11' framed='false'/>
<text name='zsell2' anchor='buttons' relative='pos-in' top='73' left='45' color='black' size='9'>Sell Item</text>
<pict name='zench1' anchor='buttons' relative='pos-in' filled='false' type='btn' num='8' top='88' left='11' framed='false'/>
<text name='zench2' anchor='buttons' relative='pos-in' top='85' left='45' color='black' size='9'>Pay to enchant</text>
<text top='274' left='63' width='429' height='50'>
Items from slain monsters normally appear unidentified.
To identify them, take them to a sage.