int wateralpha;
-void gl_surf_start()
+void gl_surf_start(void)
{
}
-void gl_surf_shutdown()
+void gl_surf_shutdown(void)
{
}
-void gl_surf_newmap()
+void gl_surf_newmap(void)
{
}
-void GL_Surf_Init()
+void GL_Surf_Init(void)
{
int i;
for (i = 0;i < MAX_LIGHTMAPS;i++)
*/
-extern int solidskytexture;
-extern int alphaskytexture;
-extern float speedscale; // for top sky and bottom sky
-
-extern char skyname[];
-
float turbsin[256] =
{
#include "gl_warp_sin.h"
#define TURBSCALE (256.0 / (2 * M_PI))
-void UploadLightmaps()
+void UploadLightmaps(void)
{
int i;
if (nosubimage || nosubimagefragments)
}
// LordHavoc: transparent brush models
-extern float modelalpha;
-
void RSurf_DrawWallVertex(msurface_t *s, texture_t *t, int transform, int isbmodel)
{
int i, alpha, size3;
*/
static byte *worldvis;
-extern cvar_t r_novis;
void R_MarkLeaves (void)
{
worldvis = Mod_LeafPVS (r_viewleaf, cl.worldmodel);
}
-void R_SolidWorldNode ()
+void R_SolidWorldNode (void)
{
int l;
mleaf_t *leaf;
/*
// experimental and inferior to the other in recursion depth allowances
-void R_PortalWorldNode ()
+void R_PortalWorldNode (void)
{
int i, j;
mportal_t *p;
}
*/
-void R_PortalWorldNode ()
+void R_PortalWorldNode (void)
{
int portalstack, i;
mportal_t *p, *pstack[8192];
}
}
-void R_DrawPortals()
+void R_DrawPortals(void)
{
int drawportals, i, r, g, b;
mleaf_t *leaf, *endleaf;