| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
|
| 7 |
|
| 8 |
|
| 9 |
|
| 10 |
|
| 11 |
|
| 12 |
|
| 13 |
|
| 14 |
|
| 15 |
|
| 16 |
|
| 17 |
|
| 18 |
|
| 19 |
|
| 20 |
|
| 21 |
|
| 22 |
#if !defined( INCLUDED_SELECT_H ) |
| 23 |
#define INCLUDED_SELECT_H |
| 24 |
|
| 25 |
#include "math/vector.h" |
| 26 |
|
| 27 |
void Select_GetBounds( Vector3& mins, Vector3& maxs ); |
| 28 |
void Select_GetMid( Vector3& mid ); |
| 29 |
|
| 30 |
void Select_Delete(); |
| 31 |
void Select_Invert(); |
| 32 |
void Select_Inside(); |
| 33 |
void Select_Touching(); |
| 34 |
void Scene_ExpandSelectionToEntities(); |
| 35 |
|
| 36 |
|
| 37 |
|
| 38 |
|
| 39 |
|
| 40 |
|
| 41 |
|
| 42 |
|
| 43 |
|
| 44 |
void Selection_MoveDown(); |
| 45 |
void Selection_MoveUp(); |
| 46 |
|
| 47 |
void Select_AllOfType(); |
| 48 |
|
| 49 |
void Select_ConnectedEntities( bool targeting, bool targets, bool focus ); |
| 50 |
void SelectConnectedEntities(); |
| 51 |
|
| 52 |
void DoRotateDlg(); |
| 53 |
void DoScaleDlg(); |
| 54 |
|
| 55 |
|
| 56 |
void Select_SetShader( const char* shader ); |
| 57 |
void Select_SetShader_Undo( const char* shader ); |
| 58 |
|
| 59 |
class TextureProjection; |
| 60 |
void Select_SetTexdef( const TextureProjection& projection ); |
| 61 |
|
| 62 |
class ContentsFlagsValue; |
| 63 |
void Select_SetFlags( const ContentsFlagsValue& flags ); |
| 64 |
|
| 65 |
void Select_RotateTexture( float amt ); |
| 66 |
void Select_ScaleTexture( float x, float y ); |
| 67 |
void Select_ShiftTexture( float x, float y ); |
| 68 |
void Select_FitTexture( float horizontal = 1, float vertical = 1 ); |
| 69 |
void FindReplaceTextures( const char* pFind, const char* pReplace, bool bSelected ); |
| 70 |
|
| 71 |
void HideSelected(); |
| 72 |
void Select_ShowAllHidden(); |
| 73 |
void Select_registerCommands(); |
| 74 |
|
| 75 |
|
| 76 |
|
| 77 |
void Selection_construct(); |
| 78 |
void Selection_destroy(); |
| 79 |
|
| 80 |
|
| 81 |
struct select_workzone_t |
| 82 |
{ |
| 83 |
|
| 84 |
|
| 85 |
Vector3 d_work_min, d_work_max; |
| 86 |
|
| 87 |
select_workzone_t() : |
| 88 |
d_work_min( -64.0f,-64.0f,-64.0f ), |
| 89 |
d_work_max( 64.0f, 64.0f, 64.0f ){ |
| 90 |
} |
| 91 |
}; |
| 92 |
|
| 93 |
const select_workzone_t& Select_getWorkZone(); |
| 94 |
|
| 95 |
#endif |