2 BobToolz plugin for GtkRadiant
3 Copyright (C) 2001 Gordon Biggans
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.
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.
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
20 #include "uilib/uilib.h"
27 extern DBobView* g_PathView;
28 extern DVisDrawer* g_VisView;
29 extern DTrainDrawer* g_TrainView;
30 extern DTreePlanter* g_TreePlanter;
33 const int BRUSH_OPT_WHOLE_MAP = 0;
34 const int BRUSH_OPT_SELECTED = 1;
37 const int MOVE_NORTH = 0;
38 const int MOVE_SOUTH = 1;
39 const int MOVE_EAST = 2;
40 const int MOVE_WEST = 3;
42 const int STYLE_ORIGINAL = 0;
43 const int STYLE_BOB = 1;
44 const int STYLE_CORNER = 2;
47 const int DIRECTION_NS = 0;
48 const int DIRECTION_EW = 1;
59 void DoResetTextures( ui::Window main_window );
62 void DoPathPlotter( ui::Window main_window );
64 void DoCTFColourChanger();
65 void DoMergePatches();
67 void DoSplitPatchRows();
68 void DoSplitPatchCols();
71 void DoTrainPathPlot();
72 void DoCaulkSelection();