more alpha compile fixes. Closes: #60 because while it started out for

0.1.1 it developed into an alpha compile issue for 0.5.2
This commit is contained in:
Bill Currie 2002-11-13 20:20:50 +00:00
parent 836c469737
commit 6ce0abe536
3 changed files with 8 additions and 12 deletions

View file

@ -164,15 +164,6 @@ void R_SetSkyFrame (void);
void R_DrawSurfaceBlock (void);
texture_t *R_TextureAnimation (msurface_t *surf);
#ifdef USE_INTEL_ASM
void R_DrawSurfaceBlock8_mip0 (void);
void R_DrawSurfaceBlock8_mip1 (void);
void R_DrawSurfaceBlock8_mip2 (void);
void R_DrawSurfaceBlock8_mip3 (void);
#endif
void R_GenSkyTile (void *pdest);
void R_SurfPatch (void);
void R_DrawSubmodelPolygons (model_t *pmodel, int clipflags);
@ -366,6 +357,10 @@ void R_DrawSurfaceBlock_mip0 (void);
void R_DrawSurfaceBlock_mip1 (void);
void R_DrawSurfaceBlock_mip2 (void);
void R_DrawSurfaceBlock_mip3 (void);
void R_DrawSurfaceBlock8_mip0 (void);
void R_DrawSurfaceBlock8_mip1 (void);
void R_DrawSurfaceBlock8_mip2 (void);
void R_DrawSurfaceBlock8_mip3 (void);
void R_DrawSurfaceBlock16_mip0 (void);
void R_DrawSurfaceBlock16_mip1 (void);
void R_DrawSurfaceBlock16_mip2 (void);

View file

@ -202,7 +202,7 @@ D_DrawSurfaces (void)
d_zistepv = s->d_zistepv;
d_ziorigin = s->d_ziorigin;
D_DrawSolidSurface (s, ((int) s->data & 0xFF));
D_DrawSolidSurface (s, ((long) s->data & 0xFF));
D_DrawZSpans (s->spans);
}
} else {

View file

@ -258,8 +258,9 @@ R_SetupFrame (void)
if ((surface_p - surfaces) > r_maxsurfsseen)
r_maxsurfsseen = surface_p - surfaces;
Con_Printf ("Used %d of %d surfs; %d max\n", surface_p - surfaces,
surf_max - surfaces, r_maxsurfsseen);
Con_Printf ("Used %ld of %ld surfs; %d max\n",
(long) (surface_p - surfaces),
(long) (surf_max - surfaces), r_maxsurfsseen);
}
if (r_numedges->int_val) {