#include #include #include #include #include #include "DLASystem.h" // this is a global pointer, which is how we access the system itself DLASystem *sys; int main(int argc, char **argv) { // create the system sys = new DLASystem(); // this is the seed for the random numbers int seed = 6; cout << "setting seed " << seed << endl; sys->setSeed(seed); sys->running = true; /* * NOTE: We run at max speed as rendering is handled by a different engine so we simply want to hjand * */ while (sys->running) { sys->Update(); } return 0; }