Merge branch 'master' of gitosis@stbuehler.de:icfp11
This commit is contained in:
commit
98678a9979
@ -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);
|
||||
|
@ -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*/
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user