doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Functions | Variables
CamWnd.cpp File Reference
#include "../../idlib/precompiled.h"
#include "qe3.h"
#include "Radiant.h"
#include "XYWnd.h"
#include "CamWnd.h"
#include "splines.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_TRI_SURFACES   16384
 

Functions

void DrawPathLines ()
 
void ValidateAxialPoints ()
 
 IMPLEMENT_DYNCREATE (CCamWnd, CWnd)
 
LONG WINAPI CamWndProc (HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
 
void Select_RotateTexture (float amt, bool absolute)
 
void setGLMode (int mode)
 
void glLabeledPoint (idVec4 &color, idVec3 &point, float size, const char *label)
 
void DrawAxial (face_t *selFace)
 
bool IsBModel (brush_t *b)
 
int Brush_ToTris (brush_t *brush, idTriList *tris, idMatList *mats, bool models, bool bmodel)
 
void Tris_ToOBJ (const char *outFile, idTriList *tris, idMatList *mats)
 
int Brush_TransformModel (brush_t *brush, idTriList *tris, idMatList *mats)
 
void Select_ToOBJ ()
 
void Select_ToCM ()
 
void glBox (idVec4 &color, idVec3 &point, float size)
 

Variables

int g_axialAnchor = -1
 
int g_axialDest = -1
 
bool g_bAxialMode = false
 
brush_t * g_pSplitList = NULL
 

Macro Definition Documentation

#define MAX_TRI_SURFACES   16384

Definition at line 1502 of file CamWnd.cpp.

Function Documentation

int Brush_ToTris ( brush_t *  brush,
idTriList tris,
idMatList mats,
bool  models,
bool  bmodel 
)

Definition at line 1503 of file CamWnd.cpp.

int Brush_TransformModel ( brush_t *  brush,
idTriList tris,
idMatList mats 
)

Definition at line 1449 of file CamWnd.cpp.

LONG WINAPI CamWndProc ( HWND  hWnd,
UINT  uMsg,
WPARAM  wParam,
LPARAM  lParam 
)

Definition at line 126 of file CamWnd.cpp.

void DrawAxial ( face_t *  selFace)

Definition at line 862 of file CamWnd.cpp.

void DrawPathLines ( )

Definition at line 3314 of file XYWnd.cpp.

void glBox ( idVec4 color,
idVec3 point,
float  size 
)

Definition at line 61 of file splines.cpp.

void glLabeledPoint ( idVec4 color,
idVec3 point,
float  size,
const char *  label 
)

Definition at line 42 of file splines.cpp.

IMPLEMENT_DYNCREATE ( CCamWnd  ,
CWnd   
)
bool IsBModel ( brush_t *  b)

Definition at line 1219 of file CamWnd.cpp.

void Select_RotateTexture ( float  amt,
bool  absolute 
)
void Select_ToCM ( )

Definition at line 1662 of file CamWnd.cpp.

void Select_ToOBJ ( )

Definition at line 1633 of file CamWnd.cpp.

void setGLMode ( int  mode)

Definition at line 816 of file CamWnd.cpp.

void Tris_ToOBJ ( const char *  outFile,
idTriList tris,
idMatList mats 
)

Definition at line 1377 of file CamWnd.cpp.

void ValidateAxialPoints ( )

Definition at line 53 of file CamWnd.cpp.

Variable Documentation

int g_axialAnchor = -1

Definition at line 49 of file CamWnd.cpp.

int g_axialDest = -1

Definition at line 50 of file CamWnd.cpp.

bool g_bAxialMode = false

Definition at line 51 of file CamWnd.cpp.

brush_t* g_pSplitList = NULL

Definition at line 191 of file CamWnd.cpp.