From 9caf98dc48e060eab53f2f8f2be8915db5f72227 Mon Sep 17 00:00:00 2001 From: Lance Date: Fri, 27 Jan 2006 08:17:59 +0000 Subject: [PATCH] fixed msvc6 warnings git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@1897 fc73d0e0-1445-4013-8a0c-d673dee63da5 --- engine/client/r_part.c | 8 ++++---- engine/qclib/comprout.c | 1 + engine/qclib/qccmain.c | 2 ++ 3 files changed, 7 insertions(+), 4 deletions(-) diff --git a/engine/client/r_part.c b/engine/client/r_part.c index 91b0a06e..e461931f 100644 --- a/engine/client/r_part.c +++ b/engine/client/r_part.c @@ -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); diff --git a/engine/qclib/comprout.c b/engine/qclib/comprout.c index a4f9dcc8..614f9118 100644 --- a/engine/qclib/comprout.c +++ b/engine/qclib/comprout.c @@ -13,6 +13,7 @@ progfuncs_t *qccprogfuncs; extern int qcc_compileactive; jmp_buf qcccompileerror; char qcc_gamedir[128]; +void QCC_PR_ResetErrorScope(void); diff --git a/engine/qclib/qccmain.c b/engine/qclib/qccmain.c index a6a675ab..c017d83e 100644 --- a/engine/qclib/qccmain.c +++ b/engine/qclib/qccmain.c @@ -38,6 +38,8 @@ int *qcc_tempofs; int tempsstart; int numtemps; +void QCC_PR_ResetErrorScope(void); + pbool compressoutput; pbool newstylesource;