1
0
Fork 0
forked from fte/fteqw

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

View file

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

View file

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