Merge branch 'master' of gitosis@stbuehler.de:icfp11

This commit is contained in:
Stefan Bühler 2008-07-12 02:39:39 +02:00
commit 98678a9979
2 changed files with 3 additions and 0 deletions

View File

@ -20,6 +20,7 @@ int main(int argc, char **argv) {
/*create trivial path towards the origin*/
p = path_new(&t->map,&t->vehicle);
trial_wait_for_input(t);
while(t->alive){
trial_wait_for_input(t);
path_execute(t,p);

View File

@ -20,6 +20,8 @@ path *path_new(map* m,vehicle *v){
command* tmp;
path* res;
double angle, stop;
res = g_slice_new(path);
res->commands = g_queue_new();
/* Calculate a trivial path to the origin*/