1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2026-04-27 19:11:23 +00:00

texture mode -- first commit

This commit is contained in:
Zeno Rogue
2017-12-09 02:20:10 +01:00
parent 87b6b8b372
commit ecf631976f
8 changed files with 357 additions and 34 deletions

View File

@@ -345,6 +345,11 @@ void showDisplayMode() {
dialog::addBoolItem(XLAT("vector graphics editor"), (false), 'g');
#endif
#if CAP_TEXTURE
dialog::addBoolItem(XLAT("texture mode"), texture_on, 't');
#endif
// display modes
#if CAP_RUG
dialog::addBoolItem(XLAT("hypersian rug mode"), (rug::rugged), 'u');
@@ -367,6 +372,8 @@ void showDisplayMode() {
if(xuni == 'z') editScale();
if(xuni == 't') pushScreen(showTextureMenu);
if(xuni == 'm') { vid.monmode += 60 + (shiftmul > 0 ? 1 : -1); vid.monmode %= 6; }
if(xuni == '9') pushScreen(show3D);