X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;f=contrib%2Fbobtoolz%2Ffunchandlers.h;h=124f47258c7a2ca74574263f9667ed91fea8d16b;hb=8705acc09238c97ba0e79094621f0d6c859a7eb1;hp=3f4202ff1f66052666eabf121c9348da0a0f4e52;hpb=bfc8a12a6b315ae261101a34db8ba1b682c67bb7;p=xonotic%2Fnetradiant.git diff --git a/contrib/bobtoolz/funchandlers.h b/contrib/bobtoolz/funchandlers.h index 3f4202ff..124f4725 100644 --- a/contrib/bobtoolz/funchandlers.h +++ b/contrib/bobtoolz/funchandlers.h @@ -1,21 +1,23 @@ /* -BobToolz plugin for GtkRadiant -Copyright (C) 2001 Gordon Biggans + BobToolz plugin for GtkRadiant + Copyright (C) 2001 Gordon Biggans -This library is free software; you can redistribute it and/or -modify it under the terms of the GNU Lesser General Public -License as published by the Free Software Foundation; either -version 2.1 of the License, or (at your option) any later version. + This library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. -This library is distributed in the hope that it will be useful, -but WITHOUT ANY WARRANTY; without even the implied warranty of -MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU -Lesser General Public License for more details. + This library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. -You should have received a copy of the GNU Lesser General Public -License along with this library; if not, write to the Free Software -Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA -*/ + You should have received a copy of the GNU Lesser General Public + License along with this library; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +#include "uilib/uilib.h" class DBobView; class DVisDrawer; @@ -28,22 +30,22 @@ extern DTrainDrawer* g_TrainView; extern DTreePlanter* g_TreePlanter; // intersect stuff -#define BRUSH_OPT_WHOLE_MAP 0 -#define BRUSH_OPT_SELECTED 1 +const int BRUSH_OPT_WHOLE_MAP = 0; +const int BRUSH_OPT_SELECTED = 1; // defines for stairs -#define MOVE_NORTH 0 -#define MOVE_SOUTH 1 -#define MOVE_EAST 2 -#define MOVE_WEST 3 +const int MOVE_NORTH = 0; +const int MOVE_SOUTH = 1; +const int MOVE_EAST = 2; +const int MOVE_WEST = 3; -#define STYLE_ORIGINAL 0 -#define STYLE_BOB 1 -#define STYLE_CORNER 2 +const int STYLE_ORIGINAL = 0; +const int STYLE_BOB = 1; +const int STYLE_CORNER = 2; // defines for doors -#define DIRECTION_NS 0 -#define DIRECTION_EW 1 +const int DIRECTION_NS = 0; +const int DIRECTION_EW = 1; // help void LoadLists(); @@ -54,10 +56,10 @@ void DoIntersect(); void DoPolygonsTB(); void DoPolygons(); void DoFixBrushes(); -void DoResetTextures(); +void DoResetTextures( ui::Window main_window ); void DoBuildStairs(); void DoBuildDoors(); -void DoPathPlotter(); +void DoPathPlotter( ui::Window main_window ); void DoPitBuilder(); void DoCTFColourChanger(); void DoMergePatches();