2007-11-04 03:34:51 +00:00
|
|
|
/*
|
2012-03-17 20:01:54 +00:00
|
|
|
BobToolz plugin for GtkRadiant
|
|
|
|
Copyright (C) 2001 Gordon Biggans
|
2007-11-04 03:34:51 +00:00
|
|
|
|
2012-03-17 20:01:54 +00:00
|
|
|
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.
|
2007-11-04 03:34:51 +00:00
|
|
|
|
2012-03-17 20:01:54 +00:00
|
|
|
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.
|
2007-11-04 03:34:51 +00:00
|
|
|
|
2012-03-17 20:01:54 +00:00
|
|
|
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
|
|
|
|
*/
|
2007-11-04 03:34:51 +00:00
|
|
|
|
2012-03-17 20:01:54 +00:00
|
|
|
struct BuildStairsRS {
|
2007-11-04 03:34:51 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
|
2012-03-17 20:01:54 +00:00
|
|
|
struct IntersectRS {
|
2007-11-04 03:34:51 +00:00
|
|
|
int nBrushOptions;
|
|
|
|
qboolean bUseDetail;
|
|
|
|
qboolean bDuplicateOnly;
|
|
|
|
};
|
|
|
|
|
2012-03-17 20:01:54 +00:00
|
|
|
struct PolygonRS {
|
2007-11-04 03:34:51 +00:00
|
|
|
qboolean bUseBorder;
|
|
|
|
qboolean bInverse;
|
|
|
|
qboolean bAlignTop;
|
|
|
|
int nSides;
|
|
|
|
int nBorderWidth;
|
|
|
|
};
|
|
|
|
|
2012-03-17 20:01:54 +00:00
|
|
|
struct DoorRS {
|
2007-11-04 03:34:51 +00:00
|
|
|
char mainTexture[256];
|
|
|
|
char trimTexture[256];
|
|
|
|
qboolean bScaleMainH;
|
|
|
|
qboolean bScaleMainV;
|
|
|
|
qboolean bScaleTrimH;
|
|
|
|
qboolean bScaleTrimV;
|
|
|
|
int nOrientation;
|
|
|
|
};
|
|
|
|
|
2012-03-17 20:01:54 +00:00
|
|
|
struct PathPlotterRS {
|
2007-11-04 03:34:51 +00:00
|
|
|
int nPoints;
|
|
|
|
float fMultiplier;
|
|
|
|
float fGravity;
|
|
|
|
qboolean bNoUpdate;
|
|
|
|
qboolean bShowExtra;
|
|
|
|
};
|
|
|
|
|
2012-03-17 20:01:54 +00:00
|
|
|
struct TwinWidget {
|
2007-11-04 03:34:51 +00:00
|
|
|
GtkWidget* one;
|
|
|
|
GtkWidget* two;
|
|
|
|
};
|
|
|
|
|
2012-03-17 20:01:54 +00:00
|
|
|
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 );
|
2007-11-04 03:34:51 +00:00
|
|
|
int DoCTFColourChangeBox();
|
2012-03-17 20:01:54 +00:00
|
|
|
int DoTrainThingBox( TrainThingRS* rs );
|
2007-11-04 03:34:51 +00:00
|
|
|
|
|
|
|
//GtkWidget* GetProgressWindow(char* title, GtkProgressBar* feedback);
|