]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - tools/quake3/q3map2/help.c
Merge branch 'subdiv' into 'master'
[xonotic/netradiant.git] / tools / quake3 / q3map2 / help.c
index a06e44a04e97ac0bcf311c59af9dac093bac6bc0..9e8a590ca49a8597bc155232b6aad32d9173b7d8 100644 (file)
@@ -194,6 +194,7 @@ void HelpLight()
                {"-extravisnudge", "Broken feature to nudge the luxel origin to a better vis cluster"},
                {"-extrawide", "Deprecated alias for `-super 2 -filter`"},
                {"-extra", "Deprecated alias for `-super 2`"},
+               {"-fastallocate", "Use `-fastallocate` to trade lightmap size against allocation time (useful with hi res lightmaps on large maps: reduce allocation time from days to minutes for only some extra bytes)"},
                {"-fastbounce", "Use `-fast` style lighting for radiosity"},
                {"-faster", "Use a faster falloff curve for lighting; also implies `-fast`"},
                {"-fastgrid", "Use `-fast` style lighting for the light grid"},
@@ -206,6 +207,7 @@ void HelpLight()
                {"-keeplights", "Keep light entities in the BSP file after compile"},
                {"-lightmapdir <directory>", "Directory to store external lightmaps (default: same as map name without extension)"},
                {"-lightmapsize <N>", "Size of lightmaps to generate (must be a power of two)"},
+               {"-lightsubdiv <N>", "Size of light emitting shader subdivision"},
                {"-lomem", "Low memory but slower lighting mode"},
                {"-lowquality", "Low quality floodlight (appears to currently break floodlight)"},
                {"-minsamplesize <N>", "Sets minimum lightmap resolution in luxels/qu"},
@@ -285,6 +287,14 @@ void HelpExport()
        HelpOptions("Exporting lightmaps", 0, 80, exportl, sizeof(exportl)/sizeof(struct HelpOption));
 }
 
+void HelpExportEnts()
+{
+       struct HelpOption exportents[] = {
+               {"-exportents <filename.bsp>", "Exports the entities to a text file (.ent)"},
+       };
+       HelpOptions("ExportEnts Stage", 0, 80, exportents, sizeof(exportents)/sizeof(struct HelpOption));
+}
+
 void HelpFixaas()
 {
        struct HelpOption fixaas[] = {
@@ -368,6 +378,7 @@ void HelpMain(const char* arg)
                {"-scale", "Scaling"},
                {"-convert", "Converting & Decompiling"},
                {"-export", "Exporting lightmaps"},
+               {"-exportents", "Exporting entities"},
                {"-fixaas", "Fixing AAS checksum"},
                {"-info", "Get info about BSP file"},
                {"-import", "Importing lightmaps"},
@@ -381,6 +392,7 @@ void HelpMain(const char* arg)
                HelpScale,
                HelpConvert,
                HelpExport,
+               HelpExportEnts,
                HelpFixaas,
                HelpInfo,
                HelpImport,