]> de.git.xonotic.org Git - xonotic/netradiant.git/blob - contrib/bobtoolz/funchandlers.h
97c8651c4e76898ff6084bf355f103a2d02beeb8
[xonotic/netradiant.git] / contrib / bobtoolz / funchandlers.h
1 /*
2    BobToolz plugin for GtkRadiant
3    Copyright (C) 2001 Gordon Biggans
4
5    This library is free software; you can redistribute it and/or
6    modify it under the terms of the GNU Lesser General Public
7    License as published by the Free Software Foundation; either
8    version 2.1 of the License, or (at your option) any later version.
9
10    This library is distributed in the hope that it will be useful,
11    but WITHOUT ANY WARRANTY; without even the implied warranty of
12    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13    Lesser General Public License for more details.
14
15    You should have received a copy of the GNU Lesser General Public
16    License along with this library; if not, write to the Free Software
17    Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18  */
19
20 class DBobView;
21
22 class DVisDrawer;
23
24 class DTrainDrawer;
25
26 class DTreePlanter;
27
28 extern DBobView *g_PathView;
29 extern DVisDrawer *g_VisView;
30 extern DTrainDrawer *g_TrainView;
31 extern DTreePlanter *g_TreePlanter;
32
33 // intersect stuff
34 const int BRUSH_OPT_WHOLE_MAP = 0;
35 const int BRUSH_OPT_SELECTED = 1;
36
37 // defines for stairs
38 const int MOVE_NORTH = 0;
39 const int MOVE_SOUTH = 1;
40 const int MOVE_EAST = 2;
41 const int MOVE_WEST = 3;
42
43 const int STYLE_ORIGINAL = 0;
44 const int STYLE_BOB = 1;
45 const int STYLE_CORNER = 2;
46
47 // defines for doors
48 const int DIRECTION_NS = 0;
49 const int DIRECTION_EW = 1;
50
51 // help
52 void LoadLists();
53
54
55 // djbob
56 void DoIntersect();
57
58 void DoPolygonsTB();
59
60 void DoPolygons();
61
62 void DoFixBrushes();
63
64 void DoResetTextures();
65
66 void DoBuildStairs();
67
68 void DoBuildDoors();
69
70 void DoPathPlotter();
71
72 void DoPitBuilder();
73
74 void DoCTFColourChanger();
75
76 void DoMergePatches();
77
78 void DoSplitPatch();
79
80 void DoSplitPatchRows();
81
82 void DoSplitPatchCols();
83
84 void DoVisAnalyse();
85
86 void DoTrainThing();
87
88 void DoTrainPathPlot();
89
90 void DoCaulkSelection();
91
92 void DoTreePlanter();
93
94 void DoDropEnts();
95
96 void DoMakeChain();
97
98 void DoFlipTerrain();