]> git.xonotic.org Git - xonotic/netradiant.git/blob - contrib/bobtoolz/funchandlers.h
macos: set NSHighResolutionCapable to file in plist to attempt to avoid to render...
[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 "uilib/uilib.h"
21
22 class DBobView;
23 class DVisDrawer;
24 class DTrainDrawer;
25 class DTreePlanter;
26
27 extern DBobView* g_PathView;
28 extern DVisDrawer* g_VisView;
29 extern DTrainDrawer* g_TrainView;
30 extern DTreePlanter* g_TreePlanter;
31
32 // intersect stuff
33 const int BRUSH_OPT_WHOLE_MAP = 0;
34 const int BRUSH_OPT_SELECTED  = 1;
35
36 // defines for stairs
37 const int MOVE_NORTH  = 0;
38 const int MOVE_SOUTH  = 1;
39 const int MOVE_EAST   = 2;
40 const int MOVE_WEST   = 3;
41
42 const int STYLE_ORIGINAL  = 0;
43 const int STYLE_BOB       = 1;
44 const int STYLE_CORNER    = 2;
45
46 // defines for doors
47 const int DIRECTION_NS    = 0;
48 const int DIRECTION_EW    = 1;
49
50 // help
51 void LoadLists();
52
53
54 // djbob
55 void DoIntersect();
56 void DoPolygonsTB();
57 void DoPolygons();
58 void DoFixBrushes();
59 void DoResetTextures( ui::Window main_window );
60 void DoBuildStairs();
61 void DoBuildDoors();
62 void DoPathPlotter( ui::Window main_window );
63 void DoPitBuilder();
64 void DoCTFColourChanger();
65 void DoMergePatches();
66 void DoSplitPatch();
67 void DoSplitPatchRows();
68 void DoSplitPatchCols();
69 void DoVisAnalyse();
70 void DoTrainThing();
71 void DoTrainPathPlot();
72 void DoCaulkSelection();
73 void DoTreePlanter();
74 void DoDropEnts();
75 void DoMakeChain();
76 void DoFlipTerrain();