forked from speed-dreams/speed-dreams-code
- Update Shadow's driver
git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@6816 30fe4595-0a0c-4342-8851-515496e4dcbd Former-commit-id: 485c48bad0103f746105c3c2f56f9129696ba8b6 Former-commit-id: 4f595f0e2771e9d429fd71f8cdc44e49e7f25965
This commit is contained in:
parent
72cea15173
commit
b2e9cc1cd1
4 changed files with 15 additions and 15 deletions
|
@ -1127,7 +1127,7 @@ bool Stuck::solveR( const tCarElt* me )
|
|||
|
||||
void Stuck::dumpGrid() const
|
||||
{
|
||||
set<uint> pts;
|
||||
set<unsigned int> pts;
|
||||
for( int i = 0; i < _plan.size(); i++ )
|
||||
{
|
||||
const GridPoint& pt = _plan[i];
|
||||
|
|
|
@ -49,7 +49,7 @@ private:
|
|||
|
||||
struct GridPoint
|
||||
{
|
||||
uint pt; // current position.
|
||||
unsigned int pt; // current position.
|
||||
float est_time; // estimated time to finish.
|
||||
float time; // current time.
|
||||
|
||||
|
@ -137,7 +137,7 @@ private:
|
|||
struct Cell
|
||||
{
|
||||
enum { EDGE_MASK = 0x80000000 };
|
||||
uint occupied_mask;
|
||||
unsigned int occupied_mask;
|
||||
float est_time_to_car;
|
||||
float est_time_to_dest;
|
||||
int dist_from_walls;
|
||||
|
|
|
@ -39,7 +39,7 @@ TeamInfo::~TeamInfo()
|
|||
|
||||
void TeamInfo::Empty()
|
||||
{
|
||||
LogMOUSE.debug( "TeamInfo::Empty()\n" );
|
||||
LogSHADOW.debug( "TeamInfo::Empty()\n" );
|
||||
|
||||
for( int i = 0; i < (int)m_items.size(); i++ )
|
||||
delete m_items[i];
|
||||
|
|
|
@ -26,9 +26,9 @@
|
|||
|
||||
#include <car.h>
|
||||
|
||||
// The "MOUSE" logger instance.
|
||||
extern GfLogger* PLogMOUSE;
|
||||
#define LogMOUSE (*PLogMOUSE)
|
||||
// The "SHADOW" logger instance.
|
||||
extern GfLogger* PLogSHADOW;
|
||||
#define LogSHADOW (*PLogSHADOW)
|
||||
|
||||
class TeamInfo
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue