task.o retina.o manipulator.o approximer.o intelligence.o
$(CXX) -lX11 $(CXXFLAGS) -o $@ $^ $(LDFLAGS)
+art: art.o misc.o simple_window.o universe.o polygon.o map.o \
+ task.o retina.o manipulator.o approximer.o intelligence.o
+ $(CXX) -lX11 $(CXXFLAGS) -o $@ $^ $(LDFLAGS)
+
%.task: %.cc misc.o universe.o polygon.o map.o task.o manipulator.o
$(CXX) $(CXXFLAGS) -shared -Wl,-soname,$@ -o $@ $^
+// -*- 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>
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);