Fixed minor MSVC warnings

git-svn-id: https://svn.code.sf.net/p/speed-dreams/code/trunk@2692 30fe4595-0a0c-4342-8851-515496e4dcbd

Former-commit-id: 547e28f79cade367479334f8b55d7f66bb68abda
Former-commit-id: f7c081453a85e4be6e0020effdf041c771dcb9a3
This commit is contained in:
pouillot 2010-08-22 08:21:36 +00:00
parent e806f47470
commit c255c8f069
3 changed files with 4 additions and 8 deletions

View file

@ -23,7 +23,6 @@
#include <deque>
#include <tgfclient.h>
//#include <track.h>
#include <robot.h>
#include <playerpref.h>
#include <gui.h>
@ -497,7 +496,6 @@ GenPlayerList(void)
const char *driver;
int skilllevel;
const char *str;
int found;
int racenumber;
float color[4];

View file

@ -687,7 +687,6 @@ void Network::ReadCarStatusPacket(ENetPacket *pPacket)
}
else
{
float delta = pNData->m_vecCarStatus[i].time - status.time;
GfOut("Rejected car status from startRank %i\n",status.startRank);
}
GfOut("Recieved car status from startRank %i\n",status.startRank);
@ -766,7 +765,6 @@ void Network::ReadCarControlsPacket(ENetPacket *pPacket)
}
else
{
float delta = pNData->m_vecCarCtrls[i].time - ctrl.time;
GfOut("Rejected car control from startRank %i\n",ctrl.startRank);
}
}

View file

@ -18,18 +18,18 @@
***************************************************************************/
#include <stdlib.h>
#include <math.h>
#include <stdio.h>
#include <cstdlib>
#include <cstdio>
#include <cstring>
#include <ctime>
#include <cmath>
#include <raceman.h>
#include <tgf.h>
#include <track.h>
#include "trackinc.h"
const tdble DEGPRAD = 180.0 / PI; /* degrees per radian */
static const tdble DEGPRAD = (tdble)(180.0 / PI); /* degrees per radian */
static tTrack *theTrack = NULL;
static tRoadCam *theCamList;