]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - contrib/bobtoolz/bobToolz-GTK.cpp
Merge branch 'osxnetradiant'
[xonotic/netradiant.git] / contrib / bobtoolz / bobToolz-GTK.cpp
index 07f7dae3c881f9f38c26a0b3b102a8f33f97e33d..78f4a5b3e5a9c3c3da1e9384672c56747a229a04 100644 (file)
@@ -62,7 +62,7 @@ void BobToolz_destroy()
 char* PLUGIN_NAME = "bobToolz";
 
 // commands in the menu
-static char* PLUGIN_COMMANDS = "About...,-,Vis Viewer,Path Plotter...,-,Stair Builder...,PitOMatic,Make Chain...,Door Builder...,-,Texture Reset...,Intersect...";
+static char* PLUGIN_COMMANDS = "About...,-,Reset Textures...,PitOMatic,-,Vis Viewer,Brush Cleanup,Polygon Builder,Caulk Selection,-,Tree Planter,Drop Entity,Plot Splines,-,Merge Patches,Split patches,Split patches cols,Split patches rows,Turn edge";
 
 // globals
 GtkWidget *g_pRadiantWnd = NULL;
@@ -90,7 +90,29 @@ extern "C" const char* QERPlug_GetCommandList() {
 extern "C" void QERPlug_Dispatch (const char *p, vec3_t vMin, vec3_t vMax, bool bSingleBrush) {
        LoadLists();
 
-       if( string_equal_nocase(p, "texture reset...") ) {
+       if( string_equal_nocase( p, "brush cleanup" ) ) {
+    DoFixBrushes();
+  } else if( string_equal_nocase( p, "polygon builder" ) ) {
+    DoPolygonsTB();
+  } else if( string_equal_nocase( p, "caulk selection" ) ) {
+    DoCaulkSelection();
+  } else if( string_equal_nocase( p, "tree planter" ) ) {
+    DoTreePlanter();
+  } else if( string_equal_nocase( p, "plot splines" ) ) {
+    DoTrainPathPlot();
+  } else if( string_equal_nocase( p, "drop entity" ) ) {
+    DoDropEnts();
+  } else if( string_equal_nocase( p, "merge patches" ) ) {
+    DoMergePatches();
+  } else if( string_equal_nocase( p, "split patches" ) ) {
+    DoSplitPatch();
+  } else if( string_equal_nocase( p, "split patches rows" ) ) {
+       DoSplitPatchRows();
+  } else if( string_equal_nocase( p, "split patches cols" ) ) {
+       DoSplitPatchCols();
+  } else if( string_equal_nocase( p, "turn edge" ) ) {
+    DoFlipTerrain();
+  } else if( string_equal_nocase(p, "reset textures...") ) {
                DoResetTextures();
        } else if( string_equal_nocase(p, "pitomatic") ) {
                DoPitBuilder();