]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/q3map2/game_etut.h
fix lightstyle compare (SIGBUS on SPARC)
[xonotic/netradiant.git] / tools / quake3 / q3map2 / game_etut.h
index db7ec467973dd27088fcba57c664650e7a7fa6c6..38bc083d5337c29d879793c7524335cd12729cf8 100644 (file)
@@ -147,11 +147,28 @@ game_t struct
        "flareshader",          /* default flare shader */
        qfalse,                         /* wolf lighting model? */
        128,                            /* lightmap width/height */
-       2.2f,                           /* lightmap gamma */
+       1.0f,                           /* lightmap gamma */
+       qtrue,                          /* lightmap sRGB */
+       qfalse,                         /* texture sRGB (yes, this is incorrect, but we better match ET:UT) */
        1.0f,                           /* lightmap exposure */
        1.0f,                           /* lightmap compensate */
+       1.0f,                           /* lightgrid scale */
+       1.0f,                           /* lightgrid ambient scale */
+       qfalse,                         /* light angle attenuation uses half-lambert curve */
+       qfalse,                         /* disable shader lightstyles hack */
+       qfalse,                         /* keep light entities on bsp */
+       8,                                      /* default patchMeta subdivisions tolerance */
+       qfalse,                         /* patch casting enabled */
+       qfalse,                         /* compile deluxemaps */
+       0,                                      /* deluxemaps default mode */
+       512,                /* minimap size */
+       1.0f,               /* minimap sharpener */
+       0.0f,               /* minimap border */
+       qtrue,              /* minimap keep aspect */
+       MINIMAP_MODE_GRAY,  /* minimap mode */
+       "%s.tga",           /* minimap name format */
        "IBSP",                         /* bsp file prefix */
-       46,                                     /* bsp file version */
+       47,                                     /* bsp file version */
        qfalse,                         /* cod-style lump len/ofs order */
        LoadIBSPFile,           /* bsp load function */
        WriteIBSPFile,          /* bsp write function */