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