]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
add help for -exportents
authorThomas Debesse <dev@illwieckz.net>
Fri, 12 Feb 2016 21:42:15 +0000 (22:42 +0100)
committerThomas Debesse <dev@illwieckz.net>
Thu, 14 Apr 2016 02:35:40 +0000 (04:35 +0200)
tools/quake3/q3map2/help.c

index 641aed59360e27a4a54d329a49b7ec417adb1071..5cc81ab9f6abfe768f11499ba34ff51456f82694 100644 (file)
@@ -286,6 +286,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[] = {
@@ -369,6 +377,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"},
@@ -382,6 +391,7 @@ void HelpMain(const char* arg)
                HelpScale,
                HelpConvert,
                HelpExport,
+               HelpExportEnts,
                HelpFixaas,
                HelpInfo,
                HelpImport,