-/*\r
-BobToolz plugin for GtkRadiant\r
-Copyright (C) 2001 Gordon Biggans\r
-\r
-This library is free software; you can redistribute it and/or\r
-modify it under the terms of the GNU Lesser General Public\r
-License as published by the Free Software Foundation; either\r
-version 2.1 of the License, or (at your option) any later version.\r
-\r
-This library is distributed in the hope that it will be useful,\r
-but WITHOUT ANY WARRANTY; without even the implied warranty of\r
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\r
-Lesser General Public License for more details.\r
-\r
-You should have received a copy of the GNU Lesser General Public\r
-License along with this library; if not, write to the Free Software\r
-Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA\r
-*/\r
-\r
-struct BuildStairsRS{\r
- char mainTexture[256];\r
- char riserTexture[256];\r
- int direction;\r
- int style;\r
- int stairHeight;\r
- qboolean bUseDetail;\r
-};\r
-\r
-struct ResetTextureRS {\r
- int bResetTextureName;\r
- char textureName[256];\r
- char newTextureName[256];\r
-\r
- int bResetScale[2];\r
- float fScale[2];\r
-\r
- int bResetShift[2];\r
- float fShift[2];\r
-\r
- int bResetRotation;\r
- int rotation;\r
-};\r
-\r
-struct TrainThingRS {\r
- float fRadiusX, fRadiusY;\r
- float fStartAngle, fEndAngle;\r
- int iNumPoints;\r
- float fStartHeight, fEndHeight;\r
-};\r
-\r
-struct IntersectRS{\r
- int nBrushOptions;\r
- qboolean bUseDetail;\r
- qboolean bDuplicateOnly;\r
-};\r
-\r
-struct PolygonRS{\r
- qboolean bUseBorder;\r
- qboolean bInverse;\r
- qboolean bAlignTop;\r
- int nSides;\r
- int nBorderWidth;\r
-};\r
-\r
-struct DoorRS{\r
- char mainTexture[256];\r
- char trimTexture[256];\r
- qboolean bScaleMainH;\r
- qboolean bScaleMainV;\r
- qboolean bScaleTrimH;\r
- qboolean bScaleTrimV;\r
- int nOrientation;\r
-};\r
-\r
-struct PathPlotterRS{\r
- int nPoints;\r
- float fMultiplier;\r
- float fGravity;\r
- qboolean bNoUpdate;\r
- qboolean bShowExtra;\r
-};\r
-\r
-struct TwinWidget{\r
- GtkWidget* one;\r
- GtkWidget* two;\r
-};\r
-\r
-int DoMessageBox(const char* lpText, const char* lpCaption, guint32 uType);\r
-int DoIntersectBox(IntersectRS* rs);\r
-int DoPolygonBox(PolygonRS* rs);\r
-int DoResetTextureBox (ResetTextureRS* rs);\r
-int DoBuildStairsBox(BuildStairsRS* rs);\r
-int DoDoorsBox(DoorRS* rs);\r
-int DoPathPlotterBox(PathPlotterRS* rs);\r
-int DoCTFColourChangeBox();\r
-int DoTrainThingBox (TrainThingRS* rs);\r
-\r
-//GtkWidget* GetProgressWindow(char* title, GtkProgressBar* feedback);\r
+/*
+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 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
+*/
+
+struct BuildStairsRS{
+ char mainTexture[256];
+ char riserTexture[256];
+ int direction;
+ int style;
+ int stairHeight;
+ qboolean bUseDetail;
+};
+
+struct ResetTextureRS {
+ int bResetTextureName;
+ char textureName[256];
+ char newTextureName[256];
+
+ int bResetScale[2];
+ float fScale[2];
+
+ int bResetShift[2];
+ float fShift[2];
+
+ int bResetRotation;
+ int rotation;
+};
+
+struct TrainThingRS {
+ float fRadiusX, fRadiusY;
+ float fStartAngle, fEndAngle;
+ int iNumPoints;
+ float fStartHeight, fEndHeight;
+};
+
+struct IntersectRS{
+ int nBrushOptions;
+ qboolean bUseDetail;
+ qboolean bDuplicateOnly;
+};
+
+struct PolygonRS{
+ qboolean bUseBorder;
+ qboolean bInverse;
+ qboolean bAlignTop;
+ int nSides;
+ int nBorderWidth;
+};
+
+struct DoorRS{
+ char mainTexture[256];
+ char trimTexture[256];
+ qboolean bScaleMainH;
+ qboolean bScaleMainV;
+ qboolean bScaleTrimH;
+ qboolean bScaleTrimV;
+ int nOrientation;
+};
+
+struct PathPlotterRS{
+ int nPoints;
+ float fMultiplier;
+ float fGravity;
+ qboolean bNoUpdate;
+ qboolean bShowExtra;
+};
+
+struct TwinWidget{
+ GtkWidget* one;
+ GtkWidget* two;
+};
+
+int DoMessageBox(const char* lpText, const char* lpCaption, guint32 uType);
+int DoIntersectBox(IntersectRS* rs);
+int DoPolygonBox(PolygonRS* rs);
+int DoResetTextureBox (ResetTextureRS* rs);
+int DoBuildStairsBox(BuildStairsRS* rs);
+int DoDoorsBox(DoorRS* rs);
+int DoPathPlotterBox(PathPlotterRS* rs);
+int DoCTFColourChangeBox();
+int DoTrainThingBox (TrainThingRS* rs);
+
+//GtkWidget* GetProgressWindow(char* title, GtkProgressBar* feedback);