X-Git-Url: http://git.droids-corp.org/?p=aversive.git;a=blobdiff_plain;f=projects%2Fmicrob2010%2Fmainboard%2Fstrat_db.h;h=61ee6bf2137ad501ff39a4c65377b439f55be9a4;hp=b770b43df4f2265d84e883fe2760092690ee6803;hb=b699727efceb661be65fbd22e975565b800c628e;hpb=14882b174c151ab59578be5fde147cecc6421e75 diff --git a/projects/microb2010/mainboard/strat_db.h b/projects/microb2010/mainboard/strat_db.h index b770b43..61ee6bf 100644 --- a/projects/microb2010/mainboard/strat_db.h +++ b/projects/microb2010/mainboard/strat_db.h @@ -54,16 +54,19 @@ struct waypoint_db { /* visited by opponent */ uint8_t opp_visited:1; - uint8_t reserved:3; + /* true if the wp is on a circuit */ + uint8_t on_circuit:1; - /* absolute position of the waypoint */ -/* int16_t x; */ -/* int16_t y; */ + uint8_t reserved:2; union { struct corn_db corn; struct tomato_db tomato; }; + + /* to monitor time when corn/ball was removed */ + /* not optimal... but... we have enough ram */ + int8_t time_removed; }; /* database reflecting the status of objects on area */