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;
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();