1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-23 09:57:41 +00:00

web:: 'take screenshot' feature now creates a SVG file and opens it in a new window

This commit is contained in:
Zeno Rogue
2018-12-13 14:53:44 +01:00
parent c73b598d93
commit 8d1e341555
4 changed files with 56 additions and 30 deletions

View File

@@ -169,6 +169,11 @@ bool applyCheat(char u, cell *c = NULL) {
pushScreen(mapeditor::showDrawEditor);
return true;
}
#elif CAP_SHOT
if(u == 'A') {
pushScreen(shot::menu);
return true;
}
#endif
if(u == 'T') {
items[randomTreasure2(10)] += 10;