]> de.git.xonotic.org Git - xonotic/netradiant.git/blob - contrib/bobtoolz/funchandlers.h
more eol-style
[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 #include "DBobView.h"
21 #include "DVisDrawer.h"
22 #include "DTrainDrawer.h"
23 #include "DTreePlanter.h"
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( void );
54 void DoPolygonsTB( void );
55 void DoPolygons(vec3_t vMin, vec3_t vMax);
56 void DoFixBrushes( void );
57 void DoResetTextures( void );
58 void DoBuildStairs(vec3_t vMin, vec3_t vMax);
59 void DoBuildDoors(vec3_t vMin, vec3_t vMax);
60 void DoPathPlotter( void );
61 void DoPitBuilder(vec3_t vMin, vec3_t vMax);
62 void DoCTFColourChanger( void );
63 void DoMergePatches( void );
64 void DoSplitPatch( void );
65 void DoVisAnalyse( void );
66 void DoTrainThing( void );
67 void DoTrainPathPlot( void );
68 void DoCaulkSelection( void );
69 void DoTreePlanter( void );
70 void DoDropEnts( void );
71 void DoMakeChain( void );
72 void DoFlipTerrain( void );