]> de.git.xonotic.org Git - xonotic/netradiant.git/blobdiff - contrib/bobtoolz/funchandlers.h
reformat code! now the code is only ugly on the *inside*
[xonotic/netradiant.git] / contrib / bobtoolz / funchandlers.h
index 6062ea6e453328557984b6b154b5aa96770246b6..97c8651c4e76898ff6084bf355f103a2d02beeb8 100644 (file)
  */
 
 class DBobView;
+
 class DVisDrawer;
+
 class DTrainDrawer;
+
 class DTreePlanter;
 
-extern DBobViewg_PathView;
-extern DVisDrawerg_VisView;
-extern DTrainDrawerg_TrainView;
-extern DTreePlanterg_TreePlanter;
+extern DBobView *g_PathView;
+extern DVisDrawer *g_VisView;
+extern DTrainDrawer *g_TrainView;
+extern DTreePlanter *g_TreePlanter;
 
 // intersect stuff
 const int BRUSH_OPT_WHOLE_MAP = 0;
-const int BRUSH_OPT_SELECTED  = 1;
+const int BRUSH_OPT_SELECTED = 1;
 
 // defines for stairs
-const int MOVE_NORTH  = 0;
-const int MOVE_SOUTH  = 1;
-const int MOVE_EAST   = 2;
-const int MOVE_WEST   = 3;
+const int MOVE_NORTH = 0;
+const int MOVE_SOUTH = 1;
+const int MOVE_EAST = 2;
+const int MOVE_WEST = 3;
 
-const int STYLE_ORIGINAL  = 0;
-const int STYLE_BOB       = 1;
-const int STYLE_CORNER    = 2;
+const int STYLE_ORIGINAL = 0;
+const int STYLE_BOB = 1;
+const int STYLE_CORNER = 2;
 
 // defines for doors
-const int DIRECTION_NS    = 0;
-const int DIRECTION_EW    = 1;
+const int DIRECTION_NS = 0;
+const int DIRECTION_EW = 1;
 
 // help
 void LoadLists();
@@ -51,24 +54,45 @@ void LoadLists();
 
 // djbob
 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();