doom3-gpl
Doom 3 GPL source release
|
#include "../../idlib/precompiled.h"
#include "qe3.h"
#include <GL/glu.h>
#include "../../renderer/tr_local.h"
#include "../../renderer/model_local.h"
Go to the source code of this file.
Macros | |
#define | MAX_MOVE_FACES 64 |
#define | TINY_EPSILON 0.0325f |
Variables | |
int | g_nBrushId = 0 |
bool | g_bShowLightVolumes = false |
bool | g_bShowLightTextures = false |
const int | POINTS_PER_KNOT = 50 |
idVec3 | baseaxis [18] |
float | lightaxis [3] = { 0.6f, 0.8f, 1.0f } |
FILE * | g_File |
CMemFile * | g_pMemFile |
#define MAX_MOVE_FACES 64 |
Definition at line 976 of file EditorBrush.cpp.
#define TINY_EPSILON 0.0325f |
Definition at line 977 of file EditorBrush.cpp.
Definition at line 2865 of file EditorBrush.cpp.
Definition at line 2841 of file EditorBrush.cpp.
void Brush_AddToList | ( | brush_t * | b, |
brush_t * | list | ||
) |
Definition at line 2674 of file EditorBrush.cpp.
brush_t* Brush_Alloc | ( | void | ) |
Definition at line 117 of file EditorBrush.cpp.
face_t* Brush_BestSplitFace | ( | brush_t * | b | ) |
Definition at line 841 of file EditorBrush.cpp.
Definition at line 743 of file EditorBrush.cpp.
void Brush_BuildWindings | ( | brush_t * | b, |
bool | bSnap, | ||
bool | keepOnPlaneWinding, | ||
bool | updateLights, | ||
bool | makeFacePlanes | ||
) |
Definition at line 3179 of file EditorBrush.cpp.
Definition at line 3412 of file EditorBrush.cpp.
brush_t* Brush_Clone | ( | brush_t * | b | ) |
Definition at line 2353 of file EditorBrush.cpp.
int Brush_Convex | ( | brush_t * | b | ) |
Definition at line 939 of file EditorBrush.cpp.
Definition at line 1972 of file EditorBrush.cpp.
Definition at line 2062 of file EditorBrush.cpp.
Definition at line 4393 of file EditorBrush.cpp.
void Brush_DrawAxis | ( | brush_t * | b | ) |
Definition at line 4148 of file EditorBrush.cpp.
Definition at line 4321 of file EditorBrush.cpp.
Definition at line 4580 of file EditorBrush.cpp.
Definition at line 4253 of file EditorBrush.cpp.
Definition at line 4274 of file EditorBrush.cpp.
Definition at line 3556 of file EditorBrush.cpp.
Definition at line 3945 of file EditorBrush.cpp.
Definition at line 4227 of file EditorBrush.cpp.
Definition at line 4670 of file EditorBrush.cpp.
Definition at line 5197 of file EditorBrush.cpp.
Definition at line 2278 of file EditorBrush.cpp.
brush_t* Brush_FullClone | ( | brush_t * | b | ) |
Definition at line 2398 of file EditorBrush.cpp.
Definition at line 5204 of file EditorBrush.cpp.
Definition at line 1601 of file EditorBrush.cpp.
Definition at line 1317 of file EditorBrush.cpp.
brush_t* Brush_MakeConvexBrushes | ( | brush_t * | b | ) |
Definition at line 901 of file EditorBrush.cpp.
void Brush_MakeFacePlanes | ( | brush_t * | b | ) |
Definition at line 574 of file EditorBrush.cpp.
Definition at line 686 of file EditorBrush.cpp.
Definition at line 2137 of file EditorBrush.cpp.
Definition at line 4986 of file EditorBrush.cpp.
Definition at line 5080 of file EditorBrush.cpp.
int Brush_MemorySize | ( | brush_t * | b | ) |
Definition at line 2331 of file EditorBrush.cpp.
Definition at line 2505 of file EditorBrush.cpp.
Definition at line 4846 of file EditorBrush.cpp.
int Brush_MoveVertex | ( | brush_t * | b, |
const idVec3 & | vertex, | ||
const idVec3 & | delta, | ||
idVec3 & | end, | ||
bool | bSnap | ||
) |
Definition at line 979 of file EditorBrush.cpp.
const char* Brush_Name | ( | brush_t * | b | ) |
Definition at line 100 of file EditorBrush.cpp.
brush_t* Brush_Parse | ( | idVec3 | origin | ) |
Definition at line 1390 of file EditorBrush.cpp.
face_t* Brush_Point | ( | idVec3 | origin, |
brush_t * | b | ||
) |
Definition at line 2655 of file EditorBrush.cpp.
void Brush_Print | ( | brush_t * | b | ) |
Definition at line 4969 of file EditorBrush.cpp.
Definition at line 2589 of file EditorBrush.cpp.
void Brush_RemoveEmptyFaces | ( | brush_t * | b | ) |
Definition at line 3275 of file EditorBrush.cpp.
void Brush_RemoveFromList | ( | brush_t * | b | ) |
Definition at line 2698 of file EditorBrush.cpp.
void Brush_ResetFaceOriginals | ( | brush_t * | b | ) |
Definition at line 1373 of file EditorBrush.cpp.
Definition at line 3432 of file EditorBrush.cpp.
Definition at line 3374 of file EditorBrush.cpp.
Definition at line 3395 of file EditorBrush.cpp.
idMat3 Brush_RotationMatrix | ( | brush_t * | b | ) |
Definition at line 3050 of file EditorBrush.cpp.
void Brush_Scale | ( | brush_t * | b | ) |
Definition at line 2047 of file EditorBrush.cpp.
last point on the winding
Definition at line 2888 of file EditorBrush.cpp.
Definition at line 1582 of file EditorBrush.cpp.
void Brush_SetTexture | ( | brush_t * | b, |
texdef_t * | texdef, | ||
brushprimit_texdef_t * | brushprimit_texdef, | ||
bool | bFitScale | ||
) |
Definition at line 2769 of file EditorBrush.cpp.
Definition at line 2787 of file EditorBrush.cpp.
Definition at line 3002 of file EditorBrush.cpp.
void Brush_SnapToGrid | ( | brush_t * | pb | ) |
Definition at line 3298 of file EditorBrush.cpp.
void Brush_SplitBrushByFace | ( | brush_t * | in, |
face_t * | f, | ||
brush_t ** | front, | ||
brush_t ** | back | ||
) |
Definition at line 785 of file EditorBrush.cpp.
Definition at line 3059 of file EditorBrush.cpp.
Definition at line 3071 of file EditorBrush.cpp.
Definition at line 1624 of file EditorBrush.cpp.
Definition at line 1807 of file EditorBrush.cpp.
Definition at line 335 of file EditorBrush.cpp.
Definition at line 2804 of file EditorBrush.cpp.
void Control_Draw | ( | brush_t * | b | ) |
Definition at line 3916 of file EditorBrush.cpp.
void DrawBrushEntityName | ( | brush_t * | b | ) |
Definition at line 587 of file EditorBrush.cpp.
Definition at line 3823 of file EditorBrush.cpp.
Definition at line 3592 of file EditorBrush.cpp.
void DrawRenderModel | ( | idRenderModel * | model, |
idVec3 & | origin, | ||
idMat3 & | axis, | ||
bool | cameraView | ||
) |
Definition at line 55 of file EditorBrush.cpp.
Definition at line 3740 of file EditorBrush.cpp.
void EmitTextureCoordinates | ( | idVec5 & | xyzst, |
const idMaterial * | q, | ||
face_t * | f, | ||
bool | force | ||
) |
Definition at line 556 of file EditorBrush.cpp.
Definition at line 3510 of file EditorBrush.cpp.
face_t* Face_Alloc | ( | void | ) |
Definition at line 251 of file EditorBrush.cpp.
face_t* Face_Clone | ( | face_t * | f | ) |
Definition at line 285 of file EditorBrush.cpp.
void Face_Draw | ( | face_t * | f | ) |
Definition at line 4527 of file EditorBrush.cpp.
Definition at line 5148 of file EditorBrush.cpp.
void Face_FitTexture_BrushPrimit | ( | face_t * | f, |
idVec3 | mins, | ||
idVec3 | maxs, | ||
float | nHeight, | ||
float | nWidth | ||
) |
Definition at line 609 of file EditorBrushPrimit.cpp.
void Face_Free | ( | face_t * | f | ) |
Definition at line 268 of file EditorBrush.cpp.
face_t* Face_FullClone | ( | face_t * | f | ) |
Definition at line 309 of file EditorBrush.cpp.
void Face_MakePlane | ( | face_t * | f | ) |
Definition at line 525 of file EditorBrush.cpp.
int Face_MemorySize | ( | face_t * | f | ) |
Definition at line 2314 of file EditorBrush.cpp.
Definition at line 346 of file EditorBrush.cpp.
Definition at line 392 of file EditorBrush.cpp.
Definition at line 418 of file EditorBrush.cpp.
Definition at line 264 of file EditorEntity.cpp.
Definition at line 3703 of file EditorBrush.cpp.
void GLTransformedCircle | ( | int | type, |
idVec3 | origin, | ||
float | r, | ||
idMat3 | mat, | ||
float | pointSize, | ||
idVec3 | color, | ||
float | maxDist | ||
) |
Definition at line 4115 of file EditorBrush.cpp.
void GLTransformedVertex | ( | float | x, |
float | y, | ||
float | z, | ||
idMat3 | mat, | ||
idVec3 | origin, | ||
idVec3 | color, | ||
float | maxDist | ||
) |
Definition at line 4090 of file EditorBrush.cpp.
eclass_t* HasModel | ( | brush_t * | b | ) |
Definition at line 3466 of file EditorBrush.cpp.
Definition at line 1564 of file EditorBrush.cpp.
Definition at line 1789 of file EditorBrush.cpp.
bool RayIntersectsTri | ( | const idVec3 & | origin, |
const idVec3 & | direction, | ||
const idVec3 & | vert0, | ||
const idVec3 & | vert1, | ||
const idVec3 & | vert2, | ||
float & | scale | ||
) |
Definition at line 2487 of file EditorBrush.cpp.
void Select_AddProjectedLight | ( | ) |
Definition at line 4938 of file EditorBrush.cpp.
void SetFaceTexdef | ( | brush_t * | b, |
face_t * | f, | ||
texdef_t * | texdef, | ||
brushprimit_texdef_t * | brushprimit_texdef, | ||
bool | bFitScale | ||
) |
Definition at line 2727 of file EditorBrush.cpp.
Definition at line 221 of file EditorBrush.cpp.
Definition at line 89 of file EditorBrush.cpp.
idSurface_SweptSpline* SplineToSweptSpline | ( | idCurve< idVec3 > * | curve | ) |
Definition at line 4543 of file EditorBrush.cpp.
Definition at line 49 of file NewTexWnd.cpp.
Definition at line 192 of file EditorBrush.cpp.
void VectorRotate3Origin | ( | const idVec3 & | vIn, |
const idVec3 & | vRotation, | ||
const idVec3 & | vOrigin, | ||
idVec3 & | out | ||
) |
idVec3 baseaxis[18] |
Definition at line 161 of file EditorBrush.cpp.
bool g_bShowLightTextures = false |
Definition at line 44 of file EditorBrush.cpp.
bool g_bShowLightVolumes = false |
Definition at line 43 of file EditorBrush.cpp.
FILE* g_File |
Definition at line 1562 of file EditorBrush.cpp.
int g_nBrushId = 0 |
Definition at line 42 of file EditorBrush.cpp.
CMemFile* g_pMemFile |
Definition at line 1787 of file EditorBrush.cpp.
float lightaxis[3] = { 0.6f, 0.8f, 1.0f } |
Definition at line 219 of file EditorBrush.cpp.
Definition at line 48 of file EditorBrush.cpp.