]> git.lizzy.rs Git - signs_lib.git/commit
Use sign formspec to switch between wide/narrow font
authorVanessa Dannenberg <vanessa.e.dannenberg@gmail.com>
Sun, 15 Sep 2019 20:10:11 +0000 (16:10 -0400)
committerVanessa Dannenberg <vanessa.e.dannenberg@gmail.com>
Sun, 15 Sep 2019 20:10:11 +0000 (16:10 -0400)
commita5e711d354f6437377f8eb3e2dbd26e6f7ae5790
treeb87a9e1d9e8362f693bcdc195292b43a4a642d7d
parentbcb6a3aa3913a8a668e021572943d86c5692f52f
Use sign formspec to switch between wide/narrow font

if available on a given sign.  The sign must have a
"foo:bar_widefont" variant, with the horizontal scaling set
appropriately (about half of the normal value for the
narrow-font sign)

Add new corresponding API to anto-generate those signs where
desired; use this feature in default wood and steel signs
api.lua
standard_signs.lua
textures/signs_lib_switch_interm.png [new file with mode: 0644]
textures/signs_lib_switch_off.png [new file with mode: 0644]
textures/signs_lib_switch_on.png [new file with mode: 0644]