projects
/
universe.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Update.
[universe.git]
/
universe.cc
diff --git
a/universe.cc
b/universe.cc
index
55e1a6d
..
47d7c88
100644
(file)
--- a/
universe.cc
+++ b/
universe.cc
@@
-118,6
+118,7
@@
Polygon *Universe::pick_polygon(scalar_t x, scalar_t y) {
return 0;
}
return 0;
}
+#ifdef XFIG_SUPPORT
void Universe::print_xfig(XFigTracer *tracer) {
for(int n = 0; n < _nb_polygons; n++) {
if(_polygons[n]) {
void Universe::print_xfig(XFigTracer *tracer) {
for(int n = 0; n < _nb_polygons; n++) {
if(_polygons[n]) {
@@
-130,6
+131,7
@@
void Universe::print_xfig(XFigTracer *tracer) {
}
}
}
}
}
}
+#endif
#ifdef X11_SUPPORT
void Universe::draw(SimpleWindow *window) {
#ifdef X11_SUPPORT
void Universe::draw(SimpleWindow *window) {