mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2026-10-05 00:41:43 +00:00
added CAP_EDIT guards to arbitrile
This commit is contained in:
@@ -85,6 +85,7 @@ void ensure_geometry(eGeometryClass c) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void start_poly_debugger(hr_polygon_error& err) {
|
void start_poly_debugger(hr_polygon_error& err) {
|
||||||
|
#if CAP_EDIT
|
||||||
ensure_geometry(err.c);
|
ensure_geometry(err.c);
|
||||||
|
|
||||||
drawthemap();
|
drawthemap();
|
||||||
@@ -103,6 +104,7 @@ void start_poly_debugger(hr_polygon_error& err) {
|
|||||||
mapeditor::dtcolor = 0xFFFFFFFF;
|
mapeditor::dtcolor = 0xFFFFFFFF;
|
||||||
for(int i=0; i<n; i++)
|
for(int i=0; i<n; i++)
|
||||||
mapeditor::dt_add_text(tC0(err.v[i]), 0.5, its(i));
|
mapeditor::dt_add_text(tC0(err.v[i]), 0.5, its(i));
|
||||||
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
void shape::build_from_angles_edges() {
|
void shape::build_from_angles_edges() {
|
||||||
|
|||||||
Reference in New Issue
Block a user