]> de.git.xonotic.org Git - xonotic/netradiant.git/commitdiff
make it callable
authorRudolf Polzer <divverent@alientrap.org>
Thu, 23 Dec 2010 08:39:59 +0000 (09:39 +0100)
committerRudolf Polzer <divverent@alientrap.org>
Thu, 23 Dec 2010 08:39:59 +0000 (09:39 +0100)
tools/quake3/q3map2/main.c
tools/quake3/q3map2/q3map2.h

index 2deb142989b4c6c76becbe0fce027f6be8449ed2..aa3bcff2765de821c3da756b68c1b1c7ac5c4622 100644 (file)
@@ -1565,6 +1565,11 @@ int ConvertBSPMain( int argc, char **argv )
                                convertFunc = ConvertBSPToASE;
                                map_allowed = qfalse;
                        }
+                       else if( !Q_stricmp( argv[ i ], "obj" ) )
+                       {
+                               convertFunc = ConvertBSPToOBJ;
+                               map_allowed = qfalse;
+                       }
                        else if( !Q_stricmp( argv[ i ], "map_bp" ) )
                        {
                                convertFunc = ConvertBSPToMap_BP;
index baa29c7c31b15f32937e2cf1de37e65afa129db9..4c421203bc9b6cd880bed16bcbdc1f8f9c0d6be6 100644 (file)
@@ -1530,6 +1530,9 @@ int                                                       ConvertBSPToMap_BP( char *bspName );
 /* convert_ase.c */
 int                                                    ConvertBSPToASE( char *bspName );
 
+/* convert_obj.c */
+int                                                    ConvertBSPToOBJ( char *bspName );
+
 
 /* brush.c */
 sideRef_t                                      *AllocSideRef( side_t *side, sideRef_t *next );