qbsp: change -convert valve220 to shorter -convert valve
This commit is contained in:
parent
75c3fdadf6
commit
8294e1d750
|
|
@ -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";
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue