1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-14 13:57:38 +00:00

option -dred to debug drawingtool quickly

This commit is contained in:
Zeno Rogue
2020-12-31 16:35:07 +01:00
parent ecbd0eca83
commit 87d5545428

View File

@@ -2897,6 +2897,11 @@ int read_editor_args() {
#endif #endif
} }
#if CAP_POLY #if CAP_POLY
else if(argis("-dred")) {
PHASEFROM(2);
mapeditor::dtcolor = 0xFF0000FF;
mapeditor::dtwidth = 0.1;
}
else if(argis("-picload")) { PHASE(3); shift(); mapeditor::loadPicFile(args()); } else if(argis("-picload")) { PHASE(3); shift(); mapeditor::loadPicFile(args()); }
#endif #endif
else return 1; else return 1;