doom3-gpl
Doom 3 GPL source release
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Macros | Functions
PrefsDlg.cpp File Reference
#include "../../idlib/precompiled.h"
#include "qe3.h"
#include "shlobj.h"

Go to the source code of this file.

Macros

#define MOUSE_KEY   "radiant_MouseButtons"
 
#define TLOCK_KEY   "radiant_TextureLock"
 
#define RLOCK_KEY   "radiant_RotateLock"
 
#define LOADLAST_KEY   "radiant_LoadLast"
 
#define LOADLASTMAP_KEY   "radiant_LoadLastMap"
 
#define LASTPROJ_KEY   "radiant_LastProject"
 
#define LASTMAP_KEY   "radiant_LastMap"
 
#define RUN_KEY   "radiant_RunBefore"
 
#define FACE_KEY   "radiant_NewFaceGrab"
 
#define BSP_KEY   "radiant_InternalBSP"
 
#define RCLICK_KEY   "radiant_NewRightClick"
 
#define VERTEX_KEY   "radiant_NewVertex"
 
#define AUTOSAVE_KEY   "radiant_Autosave"
 
#define AUTOSAVETIME_KEY   "radiant_AutosaveMinutes"
 
#define PAK_KEY   "radiant_UsePAK"
 
#define NEWAPPLY_KEY   "radiant_ApplyDismissesSurface"
 
#define HACK_KEY   "radiant_Gatewayescapehack"
 
#define TEXTURE_KEY   "radiant_NewTextureWindowStuff"
 
#define TINYBRUSH_KEY   "radiant_CleanTinyBrushes"
 
#define TINYSIZE_KEY   "radiant_CleanTinyBrusheSize"
 
#define SNAPSHOT_KEY   "radiant_Snapshots"
 
#define PAKFILE_KEY   "radiant_PAKFile"
 
#define STATUS_KEY   "radiant_StatusPointSize"
 
#define MOVESPEED_KEY   "radiant_MoveSpeed"
 
#define ANGLESPEED_KEY   "radiant_AngleSpeed"
 
#define SETGAME_KEY   "radiant_UseSetGame"
 
#define CAMXYUPDATE_KEY   "radiant_CamXYUpdate"
 
#define LIGHTDRAW_KEY   "radiant_NewLightStyle"
 
#define WHATGAME_KEY   "radiant_WhichGame"
 
#define CUBICCLIP_KEY   "radiant_CubicClipping"
 
#define CUBICSCALE_KEY   "radiant_CubicScale"
 
#define ALTEDGE_KEY   "radiant_ALTEdgeDrag"
 
#define FACECOLORS_KEY   "radiant_FaceColors"
 
#define QE4PAINT_KEY   "radiant_QE4Paint"
 
#define SNAPT_KEY   "radiant_SnapT"
 
#define XZVIS_KEY   "radiant_XZVIS"
 
#define YZVIS_KEY   "radiant_YZVIS"
 
#define ZVIS_KEY   "radiant_ZVIS"
 
#define SIZEPAINT_KEY   "radiant_SizePainting"
 
#define DLLENTITIES_KEY   "radiant_DLLEntities"
 
#define WIDETOOLBAR_KEY   "radiant_WideToolBar"
 
#define NOCLAMP_KEY   "radiant_NoClamp"
 
#define PREFAB_KEY   "radiant_PrefabPath"
 
#define USERINI_KEY   "radiant_UserINIPath"
 
#define ROTATION_KEY   "radiant_Rotation"
 
#define SGIOPENGL_KEY   "radiant_SGIOpenGL"
 
#define BUGGYICD_KEY   "radiant_BuggyICD"
 
#define HICOLOR_KEY   "radiant_HiColorTextures"
 
#define CHASEMOUSE_KEY   "radiant_ChaseMouse"
 
#define ENTITYSHOW_KEY   "radiant_EntityShow"
 
#define TEXTURESCALE_KEY   "radiant_TextureScale"
 
#define TEXTURESCROLLBAR_KEY   "radiant_TextureScrollbar"
 
#define DISPLAYLISTS_KEY   "radiant_UseDisplayLists"
 
#define NORMALIZECOLORS_KEY   "radiant_NormalizeColors"
 
#define SHADERS_KEY   "radiant_UseShaders"
 
#define SWITCHCLIP_KEY   "radiant_SwitchClipKey"
 
#define SELWHOLEENTS_KEY   "radiant_SelectWholeEntitiesKey"
 
#define TEXTURESUBSET_KEY   "radiant_UseTextureSubsetLoading"
 
#define TEXTUREQUALITY_KEY   "radiant_TextureQuality"
 
#define SHOWSHADERS_KEY   "radiant_ShowShaders"
 
#define SHADERTEST_KEY   "radiant_ShaderTest"
 
#define GLLIGHTING_KEY   "radiant_UseGLLighting"
 
#define NOSTIPPLE_KEY   "radiant_NoStipple"
 
#define UNDOLEVELS_KEY   "radiant_UndoLevels"
 
#define MAPS_KEY   "radiant_RadiantMapPath"
 
#define MODELS_KEY   "radiant_ModelPath"
 
#define NEWMAPFORMAT_KEY   "radiant_NewMapFormat"
 
#define WINDOW_DEF   0
 
#define TLOCK_DEF   1
 
#define LOADLAST_DEF   1
 
#define RUN_DEF   0
 

Functions

int GetCvarInt (const char *name, const int def)
 
const char * GetCvarString (const char *name, const char *def)
 
void SetCvarInt (const char *name, const int value)
 
void SetCvarString (const char *name, const char *value)
 
void SetCvarBinary (const char *name, void *pv, int size)
 
bool GetCvarBinary (const char *name, void *pv, int size)
 

Macro Definition Documentation

#define ALTEDGE_KEY   "radiant_ALTEdgeDrag"

Definition at line 72 of file PrefsDlg.cpp.

#define ANGLESPEED_KEY   "radiant_AngleSpeed"

Definition at line 65 of file PrefsDlg.cpp.

#define AUTOSAVE_KEY   "radiant_Autosave"

Definition at line 53 of file PrefsDlg.cpp.

#define AUTOSAVETIME_KEY   "radiant_AutosaveMinutes"

Definition at line 54 of file PrefsDlg.cpp.

#define BSP_KEY   "radiant_InternalBSP"

Definition at line 50 of file PrefsDlg.cpp.

#define BUGGYICD_KEY   "radiant_BuggyICD"

Definition at line 87 of file PrefsDlg.cpp.

#define CAMXYUPDATE_KEY   "radiant_CamXYUpdate"

Definition at line 67 of file PrefsDlg.cpp.

#define CHASEMOUSE_KEY   "radiant_ChaseMouse"

Definition at line 89 of file PrefsDlg.cpp.

#define CUBICCLIP_KEY   "radiant_CubicClipping"

Definition at line 70 of file PrefsDlg.cpp.

#define CUBICSCALE_KEY   "radiant_CubicScale"

Definition at line 71 of file PrefsDlg.cpp.

#define DISPLAYLISTS_KEY   "radiant_UseDisplayLists"

Definition at line 93 of file PrefsDlg.cpp.

#define DLLENTITIES_KEY   "radiant_DLLEntities"

Definition at line 80 of file PrefsDlg.cpp.

#define ENTITYSHOW_KEY   "radiant_EntityShow"

Definition at line 90 of file PrefsDlg.cpp.

#define FACE_KEY   "radiant_NewFaceGrab"

Definition at line 49 of file PrefsDlg.cpp.

#define FACECOLORS_KEY   "radiant_FaceColors"

Definition at line 73 of file PrefsDlg.cpp.

#define GLLIGHTING_KEY   "radiant_UseGLLighting"

Definition at line 102 of file PrefsDlg.cpp.

#define HACK_KEY   "radiant_Gatewayescapehack"

Definition at line 57 of file PrefsDlg.cpp.

#define HICOLOR_KEY   "radiant_HiColorTextures"

Definition at line 88 of file PrefsDlg.cpp.

#define LASTMAP_KEY   "radiant_LastMap"

Definition at line 47 of file PrefsDlg.cpp.

#define LASTPROJ_KEY   "radiant_LastProject"

Definition at line 46 of file PrefsDlg.cpp.

#define LIGHTDRAW_KEY   "radiant_NewLightStyle"

Definition at line 68 of file PrefsDlg.cpp.

#define LOADLAST_DEF   1

Definition at line 111 of file PrefsDlg.cpp.

#define LOADLAST_KEY   "radiant_LoadLast"

Definition at line 44 of file PrefsDlg.cpp.

#define LOADLASTMAP_KEY   "radiant_LoadLastMap"

Definition at line 45 of file PrefsDlg.cpp.

#define MAPS_KEY   "radiant_RadiantMapPath"

Definition at line 105 of file PrefsDlg.cpp.

#define MODELS_KEY   "radiant_ModelPath"

Definition at line 106 of file PrefsDlg.cpp.

#define MOUSE_KEY   "radiant_MouseButtons"

Definition at line 41 of file PrefsDlg.cpp.

#define MOVESPEED_KEY   "radiant_MoveSpeed"

Definition at line 64 of file PrefsDlg.cpp.

#define NEWAPPLY_KEY   "radiant_ApplyDismissesSurface"

Definition at line 56 of file PrefsDlg.cpp.

#define NEWMAPFORMAT_KEY   "radiant_NewMapFormat"

Definition at line 107 of file PrefsDlg.cpp.

#define NOCLAMP_KEY   "radiant_NoClamp"

Definition at line 82 of file PrefsDlg.cpp.

#define NORMALIZECOLORS_KEY   "radiant_NormalizeColors"

Definition at line 94 of file PrefsDlg.cpp.

#define NOSTIPPLE_KEY   "radiant_NoStipple"

Definition at line 103 of file PrefsDlg.cpp.

#define PAK_KEY   "radiant_UsePAK"

Definition at line 55 of file PrefsDlg.cpp.

#define PAKFILE_KEY   "radiant_PAKFile"

Definition at line 62 of file PrefsDlg.cpp.

#define PREFAB_KEY   "radiant_PrefabPath"

Definition at line 83 of file PrefsDlg.cpp.

#define QE4PAINT_KEY   "radiant_QE4Paint"

Definition at line 74 of file PrefsDlg.cpp.

#define RCLICK_KEY   "radiant_NewRightClick"

Definition at line 51 of file PrefsDlg.cpp.

#define RLOCK_KEY   "radiant_RotateLock"

Definition at line 43 of file PrefsDlg.cpp.

#define ROTATION_KEY   "radiant_Rotation"

Definition at line 85 of file PrefsDlg.cpp.

#define RUN_DEF   0

Definition at line 112 of file PrefsDlg.cpp.

#define RUN_KEY   "radiant_RunBefore"

Definition at line 48 of file PrefsDlg.cpp.

#define SELWHOLEENTS_KEY   "radiant_SelectWholeEntitiesKey"

Definition at line 97 of file PrefsDlg.cpp.

#define SETGAME_KEY   "radiant_UseSetGame"

Definition at line 66 of file PrefsDlg.cpp.

#define SGIOPENGL_KEY   "radiant_SGIOpenGL"

Definition at line 86 of file PrefsDlg.cpp.

#define SHADERS_KEY   "radiant_UseShaders"

Definition at line 95 of file PrefsDlg.cpp.

#define SHADERTEST_KEY   "radiant_ShaderTest"

Definition at line 101 of file PrefsDlg.cpp.

#define SHOWSHADERS_KEY   "radiant_ShowShaders"

Definition at line 100 of file PrefsDlg.cpp.

#define SIZEPAINT_KEY   "radiant_SizePainting"

Definition at line 79 of file PrefsDlg.cpp.

#define SNAPSHOT_KEY   "radiant_Snapshots"

Definition at line 61 of file PrefsDlg.cpp.

#define SNAPT_KEY   "radiant_SnapT"

Definition at line 75 of file PrefsDlg.cpp.

#define STATUS_KEY   "radiant_StatusPointSize"

Definition at line 63 of file PrefsDlg.cpp.

#define SWITCHCLIP_KEY   "radiant_SwitchClipKey"

Definition at line 96 of file PrefsDlg.cpp.

#define TEXTURE_KEY   "radiant_NewTextureWindowStuff"

Definition at line 58 of file PrefsDlg.cpp.

#define TEXTUREQUALITY_KEY   "radiant_TextureQuality"

Definition at line 99 of file PrefsDlg.cpp.

#define TEXTURESCALE_KEY   "radiant_TextureScale"

Definition at line 91 of file PrefsDlg.cpp.

#define TEXTURESCROLLBAR_KEY   "radiant_TextureScrollbar"

Definition at line 92 of file PrefsDlg.cpp.

#define TEXTURESUBSET_KEY   "radiant_UseTextureSubsetLoading"

Definition at line 98 of file PrefsDlg.cpp.

#define TINYBRUSH_KEY   "radiant_CleanTinyBrushes"

Definition at line 59 of file PrefsDlg.cpp.

#define TINYSIZE_KEY   "radiant_CleanTinyBrusheSize"

Definition at line 60 of file PrefsDlg.cpp.

#define TLOCK_DEF   1

Definition at line 110 of file PrefsDlg.cpp.

#define TLOCK_KEY   "radiant_TextureLock"

Definition at line 42 of file PrefsDlg.cpp.

#define UNDOLEVELS_KEY   "radiant_UndoLevels"

Definition at line 104 of file PrefsDlg.cpp.

#define USERINI_KEY   "radiant_UserINIPath"

Definition at line 84 of file PrefsDlg.cpp.

#define VERTEX_KEY   "radiant_NewVertex"

Definition at line 52 of file PrefsDlg.cpp.

#define WHATGAME_KEY   "radiant_WhichGame"

Definition at line 69 of file PrefsDlg.cpp.

#define WIDETOOLBAR_KEY   "radiant_WideToolBar"

Definition at line 81 of file PrefsDlg.cpp.

#define WINDOW_DEF   0

Definition at line 109 of file PrefsDlg.cpp.

#define XZVIS_KEY   "radiant_XZVIS"

Definition at line 76 of file PrefsDlg.cpp.

#define YZVIS_KEY   "radiant_YZVIS"

Definition at line 77 of file PrefsDlg.cpp.

#define ZVIS_KEY   "radiant_ZVIS"

Definition at line 78 of file PrefsDlg.cpp.

Function Documentation

bool GetCvarBinary ( const char *  name,
void pv,
int  size 
)

Definition at line 296 of file PrefsDlg.cpp.

int GetCvarInt ( const char *  name,
const int  def 
)

Definition at line 255 of file PrefsDlg.cpp.

const char* GetCvarString ( const char *  name,
const char *  def 
)

Definition at line 264 of file PrefsDlg.cpp.

void SetCvarBinary ( const char *  name,
void pv,
int  size 
)

Definition at line 283 of file PrefsDlg.cpp.

void SetCvarInt ( const char *  name,
const int  value 
)

Definition at line 275 of file PrefsDlg.cpp.

void SetCvarString ( const char *  name,
const char *  value 
)

Definition at line 279 of file PrefsDlg.cpp.