mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-04-28 05:33:21 +00:00
added CAP_EDIT guards to arbitrile
This commit is contained in:
parent
90cfc59c88
commit
8a28d1483b
@ -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() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user