1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-12-18 20:08:06 +00:00

a HUD for square screens; graphical images in HUD

This commit is contained in:
Zeno Rogue
2017-05-29 00:16:17 +02:00
parent a10da94fe9
commit adcb05f256
6 changed files with 423 additions and 256 deletions

View File

@@ -328,6 +328,7 @@ void showVisual1() {
};
dialog::addSelItem(XLAT("items/kills mode"), XLAT(vid.graphglyph ? "images" : "letters"), 'd');
dialog::addBoolItem(XLAT("mark heptagons"), (vid.darkhepta), '7');
dialog::addBoolItem(XLAT("draw the grid"), (vid.grid), '6');
dialog::addBoolItem(XLAT("extra graphical effects"), (vid.particles), 'u');
@@ -442,6 +443,8 @@ void handleVisual1(int sym, int uni) {
if(xuni == '6') vid.grid = !vid.grid;
if(xuni == 'u') vid.particles = !vid.particles;
if(xuni == 'd') vid.graphglyph = !vid.graphglyph;
if(xuni == 'j') {
dialog::editNumber(whatever, -10, 10, 1, 0, XLAT("whatever"),