if(strncmp(buildSide->shaderInfo->shader, "textures/common/", 16))
if(strcmp(buildSide->shaderInfo->shader, "noshader"))
if(strcmp(buildSide->shaderInfo->shader, "default"))
+ {
fprintf(stderr, "no matching triangle for brushside using %s (hopefully nobody can see this side anyway)\n", buildSide->shaderInfo->shader);
+ texture = "common/WTF";
+ }
MakeNormalVectors( buildPlane->normal, vecs[ 0 ], vecs[ 1 ] );
VectorMA( vec3_origin, buildPlane->dist, buildPlane->normal, pts[ 0 ] );
int i;
int (*convertFunc)( char * );
game_t *convertGame;
- qboolean map_allowed;
char ext[1024];
+ qboolean map_allowed;
/* set default */
convertFunc = ConvertBSPToASE;
convertGame = NULL;
- map_allowed = qfalse;
+ map_allowed = qtrue;
/* arg checking */
if( argc < 1 )
if( !Q_stricmp( argv[ i ], "ase" ) )
{
convertFunc = ConvertBSPToASE;
+ map_allowed = qtrue;
}
else if( !Q_stricmp( argv[ i ], "map_bp" ) )
{
else
{
convertGame = GetGame( argv[ i ] );
+ map_allowed = qfalse;
if( convertGame == NULL )
Sys_Printf( "Unknown conversion format \"%s\". Defaulting to ASE.\n", argv[ i ] );
}