qbsp: change -convert valve220 to shorter -convert valve

This commit is contained in:
Eric Wasylishen 2017-03-26 15:32:58 -06:00
parent 75c3fdadf6
commit 8294e1d750
2 changed files with 2 additions and 7 deletions

View File

@ -1736,14 +1736,11 @@ void ConvertMapFile(void)
std::string filename = stripExt(options.szBSPName);
switch(options.convertMapTexFormat) {
case texcoord_style_t::TX_QUARK_TYPE1:
filename += "-etp.map";
break;
case texcoord_style_t::TX_QUAKED:
filename += "-quake.map";
break;
case texcoord_style_t::TX_VALVE_220:
filename += "-valve220.map";
filename += "-valve.map";
break;
case texcoord_style_t::TX_BRUSHPRIM:
filename += "-bp.map";

View File

@ -820,9 +820,7 @@ ParseOptions(char *szOptions)
if (!Q_strcasecmp(szTok2, "quake")) {
options.convertMapTexFormat = texcoord_style_t::TX_QUAKED;
} else if (!Q_strcasecmp(szTok2, "etp")) {
options.convertMapTexFormat = texcoord_style_t::TX_QUARK_TYPE1;
} else if (!Q_strcasecmp(szTok2, "valve220")) {
} else if (!Q_strcasecmp(szTok2, "valve")) {
options.convertMapTexFormat = texcoord_style_t::TX_VALVE_220;
} else if (!Q_strcasecmp(szTok2, "bp")) {
options.convertMapTexFormat = texcoord_style_t::TX_BRUSHPRIM;