]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - contrib/bobtoolz/funchandlers.h
Merge commit '23d2497f12fe91a5eb0e14b71095cbb1c2ec80cb' into garux-merge
[xonotic/netradiant.git] / contrib / bobtoolz / funchandlers.h
index 1e3696cb244d8013fa56d48257122b86df7a992c..6062ea6e453328557984b6b154b5aa96770246b6 100644 (file)
@@ -1,26 +1,26 @@
 /*
-BobToolz plugin for GtkRadiant
-Copyright (C) 2001 Gordon Biggans
+   BobToolz plugin for GtkRadiant
+   Copyright (C) 2001 Gordon Biggans
 
-This library is free software; you can redistribute it and/or
-modify it under the terms of the GNU Lesser General Public
-License as published by the Free Software Foundation; either
-version 2.1 of the License, or (at your option) any later version.
+   This library is free software; you can redistribute it and/or
+   modify it under the terms of the GNU Lesser General Public
+   License as published by the Free Software Foundation; either
+   version 2.1 of the License, or (at your option) any later version.
 
-This library is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
-Lesser General Public License for more details.
+   This library is distributed in the hope that it will be useful,
+   but WITHOUT ANY WARRANTY; without even the implied warranty of
+   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+   Lesser General Public License for more details.
 
-You should have received a copy of the GNU Lesser General Public
-License along with this library; if not, write to the Free Software
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
-*/
+   You should have received a copy of the GNU Lesser General Public
+   License along with this library; if not, write to the Free Software
+   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
+ */
 
-#include "DBobView.h"
-#include "DVisDrawer.h"
-#include "DTrainDrawer.h"
-#include "DTreePlanter.h"
+class DBobView;
+class DVisDrawer;
+class DTrainDrawer;
+class DTreePlanter;
 
 extern DBobView* g_PathView;
 extern DVisDrawer* g_VisView;
@@ -28,45 +28,47 @@ extern DTrainDrawer* g_TrainView;
 extern DTreePlanter* g_TreePlanter;
 
 // intersect stuff
-#define BRUSH_OPT_WHOLE_MAP    0
-#define BRUSH_OPT_SELECTED     1
+const int BRUSH_OPT_WHOLE_MAP = 0;
+const int BRUSH_OPT_SELECTED  = 1;
 
 // defines for stairs
-#define        MOVE_NORTH      0
-#define        MOVE_SOUTH      1
-#define        MOVE_EAST       2
-#define        MOVE_WEST       3
+const int MOVE_NORTH  = 0;
+const int MOVE_SOUTH  = 1;
+const int MOVE_EAST   = 2;
+const int MOVE_WEST   = 3;
 
-#define STYLE_ORIGINAL 0
-#define        STYLE_BOB               1
-#define        STYLE_CORNER    2
+const int STYLE_ORIGINAL  = 0;
+const int STYLE_BOB       = 1;
+const int STYLE_CORNER    = 2;
 
 // defines for doors
-#define DIRECTION_NS   0
-#define DIRECTION_EW   1
+const int DIRECTION_NS    = 0;
+const int DIRECTION_EW    = 1;
 
 // help
 void LoadLists();
 
 
 // djbob
-void DoIntersect( void );
-void DoPolygonsTB( void );
-void DoPolygons(vec3_t vMin, vec3_t vMax);
-void DoFixBrushes( void );
-void DoResetTextures( void );
-void DoBuildStairs(vec3_t vMin, vec3_t vMax);
-void DoBuildDoors(vec3_t vMin, vec3_t vMax);
-void DoPathPlotter( void );
-void DoPitBuilder(vec3_t vMin, vec3_t vMax);
-void DoCTFColourChanger( void );
-void DoMergePatches( void );
-void DoSplitPatch( void );
-void DoVisAnalyse( void );
-void DoTrainThing( void );
-void DoTrainPathPlot( void );
-void DoCaulkSelection( void );
-void DoTreePlanter( void );
-void DoDropEnts( void );
-void DoMakeChain( void );
-void DoFlipTerrain( void );
+void DoIntersect();
+void DoPolygonsTB();
+void DoPolygons();
+void DoFixBrushes();
+void DoResetTextures();
+void DoBuildStairs();
+void DoBuildDoors();
+void DoPathPlotter();
+void DoPitBuilder();
+void DoCTFColourChanger();
+void DoMergePatches();
+void DoSplitPatch();
+void DoSplitPatchRows();
+void DoSplitPatchCols();
+void DoVisAnalyse();
+void DoTrainThing();
+void DoTrainPathPlot();
+void DoCaulkSelection();
+void DoTreePlanter();
+void DoDropEnts();
+void DoMakeChain();
+void DoFlipTerrain();