]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake2/q2map/qrad.c
q2map: declare once, define as extern
[xonotic/netradiant.git] / tools / quake2 / q2map / qrad.c
index 8726c0f32f8eb18bcaa034ea28f42a4d5fc9e6dd..6772c9d88c4211e32c6bf3cbccee85d7b8ab2a9e 100644 (file)
@@ -44,7 +44,8 @@ vec3_t illumination[MAX_PATCHES];       // light arriving at a patch
 vec3_t face_offset[MAX_MAP_FACES];          // for rotating bmodels
 dplane_t backplanes[MAX_MAP_PLANES];
 
-char inbase[32], outbase[32];
+extern char inbase[32];
+extern char outbase[32];
 
 int fakeplanes;                         // created planes for origin offset
 
@@ -64,11 +65,11 @@ float maxlight = 196;
 
 float lightscale = 1.0;
 
-qboolean glview;
+extern qboolean glview;
 
 qboolean nopvs;
 
-char source[1024];
+extern char source[1024];
 
 float direct_scale =  0.4;
 float entity_scale =  1.0;