Automatic commit
[universe.git] / art.cc
diff --git a/art.cc b/art.cc
index d71f266..37dba17 100644 (file)
--- a/art.cc
+++ b/art.cc
@@ -1,3 +1,5 @@
+// -*- compile-command:"g++ -lX11 -Wall -g -O3 -o art misc.o simple_window.o universe.o polygon.o map.o task.o retina.o manipulator.o approximer.o intelligence.o art.cc -L/usr/X11R6/lib/"; -*-
+
 #include <iostream>
 #include <fstream>
 #include <cmath>
@@ -22,8 +24,8 @@ int main(int argc, char **argv) {
     nice(19);
     scalar_t xs[] = { -28,  28,  28, -28 };
     scalar_t ys[] = { -28, -28,  28,  28 };
-    Universe universe(1000);
     int w = 20, h = 20;
+    Universe universe(w * h * 10, w * 60, h * 60);
     Polygon *p;
     for(int x = 0; x < w; x++) for(int y = 0; y < h; y++) {
       p = new Polygon(1.0, 1.0, 1.0, 0.0, xs, ys, 4);