YASC codes

This commit is contained in:
Zeno Rogue committed 2021-05-24 16:14:02 +02:00
1 parent 887fc9e1e2
commit 7fc91b1eaf
4 files changed
+126 -59

No files matched your search

+8
View File
@@ -644,6 +644,12 @@ EX void initConfig() {
param_b(resizable, "resizable", true)
-> editable("resizable window", 'r');
param_b(display_yasc_codes, "yasc", false)
-> editable("YASC codes", 'Y')
-> set_reaction([] {
addMessage("YASC codes: Sides-Entity-Restrict-Threat-Wall");
});
param_b(vid.relative_font, "relative_font", true)
-> editable("set relative font size", 'r')
-> set_reaction(compute_fsize);
@@ -1763,6 +1769,8 @@ EX void configureInterface() {
add_edit(glyphsortorder);
add_edit(vid.graphglyph);
add_edit(display_yasc_codes);
dialog::addSelItem(XLAT("draw crosshair"), crosshair_size > 0 ? fts(crosshair_size) : ONOFF(false), 'x');
dialog::add_action([] () {
dialog::editNumber(crosshair_size, 0, 100, 1, 10, XLAT("crosshair size"), XLAT(