| 1 |
|
|---|
| 2 |
|
|---|
| 3 |
|
|---|
| 4 |
|
|---|
| 5 |
|
|---|
| 6 |
|
|---|
| 7 |
|
|---|
| 8 |
|
|---|
| 9 |
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 |
|
|---|
| 13 |
|
|---|
| 14 |
|
|---|
| 15 |
|
|---|
| 16 |
|
|---|
| 17 |
|
|---|
| 18 |
|
|---|
| 19 |
|
|---|
| 20 |
|
|---|
| 21 |
|
|---|
| 22 |
|
|---|
| 23 |
|
|---|
| 24 |
|
|---|
| 25 |
|
|---|
| 26 |
extern bool g_bBuildWindingsNoTexBuild; |
|---|
| 27 |
|
|---|
| 28 |
void Brush_AddToList (brush_t *b, brush_t *lst); |
|---|
| 29 |
void Brush_Build(brush_t *b, bool bSnap = true, bool bMarkMap = true, bool bConvert = false, bool bFilterTest = true); |
|---|
| 30 |
void Brush_SetBuildWindingsNoTexBuild(bool bBuild); |
|---|
| 31 |
void Brush_BuildWindings( brush_t *b, bool bSnap = true ); |
|---|
| 32 |
brush_t* Brush_Clone (brush_t *b); |
|---|
| 33 |
brush_t* Brush_FullClone(brush_t *b); |
|---|
| 34 |
brush_t* Brush_Create (vec3_t mins, vec3_t maxs, texdef_t *texdef); |
|---|
| 35 |
void Brush_Resize(brush_t *b, vec3_t vMin, vec3_t vMax); |
|---|
| 36 |
void Brush_FaceDraw(face_t *face, int nGLState); |
|---|
| 37 |
void Brush_Draw( brush_t *b ); |
|---|
| 38 |
void Brush_DrawXY(brush_t *b, int nViewType); |
|---|
| 39 |
|
|---|
| 40 |
void Brush_Free (brush_t *b, bool bRemoveNode = true); |
|---|
| 41 |
int Brush_MemorySize(brush_t *b); |
|---|
| 42 |
void Brush_MakeSided (int sides); |
|---|
| 43 |
void Brush_MakeSidedCone (int sides); |
|---|
| 44 |
void Brush_Move (brush_t *b, const vec3_t move, bool bSnap = true); |
|---|
| 45 |
int Brush_MoveVertex(brush_t *b, vec3_t vertex, vec3_t delta, vec3_t end, bool bSnap = true); |
|---|
| 46 |
void Brush_ResetFaceOriginals(brush_t *b); |
|---|
| 47 |
face_t* Brush_Ray (vec3_t origin, vec3_t dir, brush_t *b, float *dist, int nFlags = 0); |
|---|
| 48 |
void Brush_RemoveFromList (brush_t *b); |
|---|
| 49 |
|
|---|
| 50 |
void Brush_SplitBrushByFace (brush_t *in, face_t *f, brush_t **front, brush_t **back, boolean bCaulk = false); |
|---|
| 51 |
void Brush_SelectFaceForDragging (brush_t *b, face_t *f, qboolean shear); |
|---|
| 52 |
void Brush_SetTexture (brush_t *b, texdef_t *texdef, brushprimit_texdef_t *brushprimit_texdef, bool bFitScale = false, IPluginTexdef* pPlugTexdef= (IPluginTexdef*)NULL); |
|---|
| 53 |
void Brush_SideSelect (brush_t *b, vec3_t origin, vec3_t dir, qboolean shear); |
|---|
| 54 |
void Brush_SnapToGrid(brush_t *pb); |
|---|
| 55 |
void Brush_Rotate(brush_t *b, vec3_t vAngle, vec3_t vOrigin, bool bBuild = true); |
|---|
| 56 |
void Brush_MakeSidedSphere(int sides); |
|---|
| 57 |
|
|---|
| 58 |
|
|---|
| 59 |
void Brush_RemoveEmptyFaces ( brush_t *b ); |
|---|
| 60 |
winding_t* Brush_MakeFaceWinding (brush_t *b, face_t *face); |
|---|
| 61 |
|
|---|
| 62 |
void Brush_RefreshShader(brush_t *b); |
|---|
| 63 |
|
|---|
| 64 |
int AddPlanept (float *f); |
|---|
| 65 |
float SetShadeForPlane (plane_t *p); |
|---|
| 66 |
|
|---|
| 67 |
face_t* Face_Alloc( void ); |
|---|
| 68 |
void Face_Free( face_t *f ); |
|---|
| 69 |
face_t* Face_Clone (face_t *f); |
|---|
| 70 |
void Face_SetShader(face_t *face, const char *name); |
|---|
| 71 |
|
|---|
| 72 |
|
|---|
| 73 |
|
|---|
| 74 |
|
|---|
| 75 |
void Face_SetShader(face_t *face, IShader *shader); |
|---|
| 76 |
void Face_MakePlane (face_t *f); |
|---|
| 77 |
void Face_Draw( face_t *face ); |
|---|
| 78 |
void Face_TextureVectors (face_t *f, float STfromXYZ[2][4]); |
|---|
| 79 |
void SetFaceTexdef (face_t *f, texdef_t *texdef, brushprimit_texdef_t *brushprimit_texdef, bool bFitScale = false, IPluginTexdef* pPlugTexdef = NULL ); |
|---|
| 80 |
|
|---|
| 81 |
void Face_FitTexture( face_t * face, int nHeight, int nWidth ); |
|---|
| 82 |
void Brush_FitTexture( brush_t *b, int nHeight, int nWidth ); |
|---|
| 83 |
|
|---|
| 84 |
|
|---|
| 85 |
brush_t *Brush_Alloc(); |
|---|
| 86 |
const char* Brush_Name(brush_t *b); |
|---|
| 87 |
|
|---|
| 88 |
|
|---|
| 89 |
void aabb_draw(const aabb_t *aabb, int mode); |
|---|