fixed msvc6 warnings

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1897 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Lance 2006-01-27 08:17:59 +00:00
parent 07a1fb3ba1
commit 9caf98dc48
3 changed files with 7 additions and 4 deletions

View File

@ -1571,7 +1571,7 @@ void P_ReadPointFile_f (void)
{
vfsfile_t *f;
vec3_t org;
int r;
//int r; //unreferenced
int c;
char name[MAX_OSPATH];
char line[1024];
@ -3006,7 +3006,7 @@ static void P_ParticleTrailDraw (vec3_t startpos, vec3_t end, part_type_t *ptype
p->org[1] = p->org[1]*ptype->areaspread + start[1];
p->org[2] = p->org[2]*ptype->areaspreadvert + start[2];
break;
case SM_CIRCLE:
{
float tsin, tcos;
@ -3840,7 +3840,7 @@ void DrawParticleTypes (void texturedparticles(particle_t *,part_type_t*), void
vec3_t stop, normal;
part_type_t *type;
particle_t *p, *kill;
clippeddecal_t *d, *dkill;
clippeddecal_t *d; //*dkill; // dkill is unreferenced
ramp_t *ramp;
float grav;
vec3_t friction;
@ -4403,7 +4403,7 @@ void P_DrawParticles (void)
qglEnd();
qglDisable(GL_POLYGON_OFFSET_FILL);
RSpeedRemark();
qglBegin(GL_QUADS);

View File

@ -13,6 +13,7 @@ progfuncs_t *qccprogfuncs;
extern int qcc_compileactive;
jmp_buf qcccompileerror;
char qcc_gamedir[128];
void QCC_PR_ResetErrorScope(void);

View File

@ -38,6 +38,8 @@ int *qcc_tempofs;
int tempsstart;
int numtemps;
void QCC_PR_ResetErrorScope(void);
pbool compressoutput;
pbool newstylesource;