mirror of
https://github.com/Shpoike/Quakespasm.git
synced 2025-03-13 06:13:39 +00:00
restore compilation with g++, some whitespace tidy-up.
git-svn-id: http://svn.code.sf.net/p/quakespasm/code/trunk/quakespasm@934 af15c1b1-3010-417e-b628-4374ebc0bcbd
This commit is contained in:
parent
e78f6bb02c
commit
d41891d397
3 changed files with 51 additions and 52 deletions
|
@ -1522,11 +1522,11 @@ void Mod_LoadLeafs (lump_t *l, int bsp2)
|
|||
void *in = (void *)(mod_base + l->fileofs);
|
||||
|
||||
if (bsp2 == 2)
|
||||
Mod_ProcessLeafs_L2 (in, l->filelen);
|
||||
Mod_ProcessLeafs_L2 ((dl2leaf_t *)in, l->filelen);
|
||||
else if (bsp2)
|
||||
Mod_ProcessLeafs_L1 (in, l->filelen);
|
||||
Mod_ProcessLeafs_L1 ((dl1leaf_t *)in, l->filelen);
|
||||
else
|
||||
Mod_ProcessLeafs_S (in, l->filelen);
|
||||
Mod_ProcessLeafs_S ((dsleaf_t *) in, l->filelen);
|
||||
}
|
||||
|
||||
/*
|
||||
|
@ -1720,7 +1720,6 @@ void Mod_LoadMarksurfaces (lump_t *l, int bsp2)
|
|||
//johnfitz -- warn mappers about exceeding old limits
|
||||
if (count > 32767)
|
||||
Con_Warning ("%i marksurfaces exceeds standard limit of 32767.\n", count);
|
||||
|
||||
//johnfitz
|
||||
|
||||
for (i=0 ; i<count ; i++)
|
||||
|
|
|
@ -286,7 +286,7 @@ int R_LightPoint (vec3_t p);
|
|||
void GL_SubdivideSurface (msurface_t *fa);
|
||||
void R_BuildLightMap (msurface_t *surf, byte *dest, int stride);
|
||||
void R_RenderDynamicLightmaps (msurface_t *fa);
|
||||
void R_UploadLightmaps ();
|
||||
void R_UploadLightmaps (void);
|
||||
|
||||
void R_DrawTextureChains_ShowTris (void);
|
||||
void R_DrawBrushModel_ShowTris (entity_t *e);
|
||||
|
|
Loading…
Reference in a new issue