| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
#if !defined( INCLUDED_DIALOGS_GTK_H ) |
| 21 |
#define INCLUDED_DIALOGS_GTK_H |
| 22 |
|
| 23 |
#include "qerplugin.h" |
| 24 |
|
| 25 |
struct BuildStairsRS { |
| 26 |
char mainTexture[256]; |
| 27 |
char riserTexture[256]; |
| 28 |
int direction; |
| 29 |
int style; |
| 30 |
int stairHeight; |
| 31 |
bool bUseDetail; |
| 32 |
}; |
| 33 |
|
| 34 |
struct ResetTextureRS { |
| 35 |
int bResetTextureName; |
| 36 |
char textureName[256]; |
| 37 |
char newTextureName[256]; |
| 38 |
|
| 39 |
int bResetScale[2]; |
| 40 |
float fScale[2]; |
| 41 |
|
| 42 |
int bResetShift[2]; |
| 43 |
float fShift[2]; |
| 44 |
|
| 45 |
int bResetRotation; |
| 46 |
int rotation; |
| 47 |
}; |
| 48 |
|
| 49 |
struct TrainThingRS { |
| 50 |
float fRadiusX, fRadiusY; |
| 51 |
float fStartAngle, fEndAngle; |
| 52 |
int iNumPoints; |
| 53 |
float fStartHeight, fEndHeight; |
| 54 |
}; |
| 55 |
|
| 56 |
struct IntersectRS { |
| 57 |
int nBrushOptions; |
| 58 |
bool bUseDetail; |
| 59 |
bool bDuplicateOnly; |
| 60 |
}; |
| 61 |
|
| 62 |
struct PolygonRS { |
| 63 |
bool bUseBorder; |
| 64 |
bool bInverse; |
| 65 |
bool bAlignTop; |
| 66 |
int nSides; |
| 67 |
int nBorderWidth; |
| 68 |
}; |
| 69 |
|
| 70 |
struct DoorRS { |
| 71 |
char mainTexture[256]; |
| 72 |
char trimTexture[256]; |
| 73 |
bool bScaleMainH; |
| 74 |
bool bScaleMainV; |
| 75 |
bool bScaleTrimH; |
| 76 |
bool bScaleTrimV; |
| 77 |
int nOrientation; |
| 78 |
}; |
| 79 |
|
| 80 |
struct PathPlotterRS { |
| 81 |
int nPoints; |
| 82 |
float fMultiplier; |
| 83 |
float fGravity; |
| 84 |
bool bNoUpdate; |
| 85 |
bool bShowExtra; |
| 86 |
}; |
| 87 |
|
| 88 |
struct MakeChainRS { |
| 89 |
char linkName[256]; |
| 90 |
int linkNum; |
| 91 |
}; |
| 92 |
|
| 93 |
struct TwinWidget { |
| 94 |
ui::Widget one{ui::null}; |
| 95 |
ui::ComboBox two{ui::null}; |
| 96 |
}; |
| 97 |
|
| 98 |
EMessageBoxReturn DoMessageBox( const char* lpText, const char* lpCaption, EMessageBoxType type ); |
| 99 |
EMessageBoxReturn DoIntersectBox( IntersectRS* rs ); |
| 100 |
EMessageBoxReturn DoPolygonBox( PolygonRS* rs ); |
| 101 |
EMessageBoxReturn DoResetTextureBox( ResetTextureRS* rs, ui::Window main_window ); |
| 102 |
EMessageBoxReturn DoBuildStairsBox( BuildStairsRS* rs ); |
| 103 |
EMessageBoxReturn DoDoorsBox( DoorRS* rs ); |
| 104 |
EMessageBoxReturn DoPathPlotterBox( PathPlotterRS* rs, ui::Window main_window ); |
| 105 |
EMessageBoxReturn DoCTFColourChangeBox(); |
| 106 |
EMessageBoxReturn DoTrainThingBox( TrainThingRS* rs ); |
| 107 |
EMessageBoxReturn DoMakeChainBox( MakeChainRS* rs ); |
| 108 |
|
| 109 |
|
| 110 |
#endif |