From 3df12612a9b88fd8c6ab453e6feebcd3e5f005a7 Mon Sep 17 00:00:00 2001 From: Thomas Debesse Date: Tue, 21 Jul 2015 04:21:21 +0200 Subject: [PATCH] fix -analyze q3map2 help --- tools/quake3/q3map2/help.c | 14 +++++++++----- 1 file changed, 9 insertions(+), 5 deletions(-) diff --git a/tools/quake3/q3map2/help.c b/tools/quake3/q3map2/help.c index f40ea464..0dc528ad 100644 --- a/tools/quake3/q3map2/help.c +++ b/tools/quake3/q3map2/help.c @@ -127,6 +127,7 @@ void HelpBsp() }; HelpOptions("BSP Stage", 0, 80, bsp, sizeof(bsp)/sizeof(struct HelpOption)); } + void HelpVis() { struct HelpOption vis[] = { @@ -143,6 +144,7 @@ void HelpVis() }; HelpOptions("VIS Stage", 0, 80, vis, sizeof(vis)/sizeof(struct HelpOption)); } + void HelpLight() { struct HelpOption light[] = { @@ -233,15 +235,16 @@ void HelpLight() HelpOptions("Light Stage", 0, 80, light, sizeof(light)/sizeof(struct HelpOption)); } -void HelpAnalize() +void HelpAnalyze() { - struct HelpOption analize[] = { + struct HelpOption analyze[] = { {"-analyze ", "Switch that enters this mode"}, {"-lumpswap", "Swap byte order in the lumps"}, }; - HelpOptions("Analyzing BSP-like file structure", 0, 80, analize, sizeof(analize)/sizeof(struct HelpOption)); + HelpOptions("Analyzing BSP-like file structure", 0, 80, analyze, sizeof(analyze)/sizeof(struct HelpOption)); } + void HelpScale() { struct HelpOption scale[] = { @@ -252,6 +255,7 @@ void HelpScale() }; HelpOptions("Scaling", 0, 80, scale, sizeof(scale)/sizeof(struct HelpOption)); } + void HelpConvert() { struct HelpOption convert[] = { @@ -352,7 +356,7 @@ void HelpMain(const char* arg) {"-bsp", "BSP Stage"}, {"-vis", "VIS Stage"}, {"-light", "Light Stage"}, - {"-analize", "Analyzing BSP-like file structure"}, + {"-analyze", "Analyzing BSP-like file structure"}, {"-scale", "Scaling"}, {"-convert", "Converting & Decompiling"}, {"-export", "Exporting lightmaps"}, @@ -365,7 +369,7 @@ void HelpMain(const char* arg) HelpBsp, HelpVis, HelpLight, - HelpAnalize, + HelpAnalyze, HelpScale, HelpConvert, HelpExport, -- 2.39.2