]> icculus.org git repositories - divverent/netradiant.git/blob - contrib/bobtoolz/funchandlers.h
add all the missing stuff.
[divverent/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 class DVisDrawer;
22 class DTrainDrawer;
23 class DTreePlanter;
24
25 extern DBobView* g_PathView;
26 extern DVisDrawer* g_VisView;
27 extern DTrainDrawer* g_TrainView;
28 extern DTreePlanter* g_TreePlanter;
29
30 // intersect stuff
31 #define BRUSH_OPT_WHOLE_MAP     0
32 #define BRUSH_OPT_SELECTED      1
33
34 // defines for stairs
35 #define MOVE_NORTH      0
36 #define MOVE_SOUTH      1
37 #define MOVE_EAST       2
38 #define MOVE_WEST       3
39
40 #define STYLE_ORIGINAL  0
41 #define STYLE_BOB               1
42 #define STYLE_CORNER    2
43
44 // defines for doors
45 #define DIRECTION_NS    0
46 #define DIRECTION_EW    1
47
48 // help
49 void LoadLists();
50
51
52 // djbob
53 void DoIntersect();
54 void DoPolygonsTB();
55 void DoPolygons();
56 void DoFixBrushes();
57 void DoResetTextures();
58 void DoBuildStairs();
59 void DoBuildDoors();
60 void DoPathPlotter();
61 void DoPitBuilder();
62 void DoCTFColourChanger();
63 void DoMergePatches();
64 void DoSplitPatch();
65 void DoVisAnalyse();
66 void DoTrainThing();
67 void DoTrainPathPlot();
68 void DoCaulkSelection();
69 void DoTreePlanter();
70 void DoDropEnts();
71 void DoMakeChain();
72 void DoFlipTerrain();