Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

config_dxgsg8.cxx File Reference

#include "config_dxgsg8.h"
#include "dxGraphicsStateGuardian8.h"
#include "dxSavedFrameBuffer8.h"
#include "dxTextureContext8.h"
#include "graphicsPipeSelection.h"
#include "wdxGraphicsWindow8.h"
#include "wdxGraphicsPipe8.h"
#include <dconfig.h>

Go to the source code of this file.

Functions

 Configure (config_dxgsg8)
 NotifyCategoryDef (dxgsg8,"dxgsg")
 NotifyCategoryDef (wdxdisplay8,"windisplay")
DXDecalType parse_decal_type (const string &type)
 ConfigureFn (config_dxgsg8)
void init_config_string (string *&pFname, const char *ConfigrcVarname)
void init_libdxgsg8 ()

Variables

bool dx_show_transforms = config_dxgsg8.GetBool("dx-show-transforms", false)
bool dx_full_screen = config_dxgsg8.GetBool("dx-full-screen", false)
bool dx_sync_video = config_dxgsg8.GetBool("sync-video", true)
DWORD dx_multisample_antialiasing_level = (DWORD) config_dxgsg8.GetInt("dx-multisample-antialiasing-level", 0)
bool dx_cull_traversal = config_dxgsg8.GetBool("dx-cull-traversal", true)
bool dx_no_vertex_fog = config_dxgsg8.GetBool("dx-no-vertex-fog", false)
bool dx_show_cursor_watermark
bool dx_use_triangle_mipgen_filter = config_dxgsg8.GetBool("dx-use-triangle-mipgen-filter", false)
bool dx_auto_normalize_lighting = config_dxgsg8.GetBool("auto-normalize-lighting", false)
bool dx_show_fps_meter = config_dxgsg8.GetBool("show-fps-meter", false)
float dx_fps_meter_update_interval = max(0.5,config_dxgsg8.GetFloat("fps-meter-update-interval", 1.7))
int dx_force_backface_culling = config_dxgsg8.GetInt("dx-force-backface-culling", 0)
bool dx_mipmap_everything = config_dxgsg8.GetBool("dx-mipmap-everything", false)
bool dx_ignore_mipmaps = config_dxgsg8.GetBool("dx-ignore-mipmaps", false)
bool dx_use_rangebased_fog = config_dxgsg8.GetBool("dx-use-rangebased-fog", false)
bool dx_force_16bpptextures = config_dxgsg8.GetBool("dx-force-16bpptextures", false)
bool dx_no_dithering = config_dxgsg8.GetBool("dx-no-dithering", false)
bool dx_force_16bpp_zbuffer = config_dxgsg8.GetBool("dx-force-16bpp-zbuffer", false)
bool dx_do_vidmemsize_check = config_dxgsg8.GetBool("do-vidmemsize-check", true)
bool dx_preserve_fpu_state = config_dxgsg8.GetBool("dx-preserve-fpu-state", false)
bool dx_pick_best_screenres = config_dxgsg8.GetBool("pick-best-screenres", false)
int dx_preferred_device_id = config_dxgsg8.GetInt("dx-preferred-device-id", -1)
bool dx_use_dx_cursor = config_dxgsg8.GetBool("dx-use-dx-cursor", false)
bool dx_force_anisotropic_filtering = config_dxgsg8.GetBool("dx-force-anisotropic-filtering", false)
const bool link_tristrips = config_dxgsg8.GetBool("link-tristrips", false)
DXDecalType dx_decal_type = GDT_mask
string * pdx_vertexshader_filename = NULL
string * pdx_pixelshader_filename = NULL
string * pdx_globaltexture_filename = NULL
UINT dx_globaltexture_stagenum = (UINT) config_dxgsg8.GetInt("dx-globaltexture-stagenum", 0)


Function Documentation

Configure config_dxgsg8   ) 
 

ConfigureFn config_dxgsg8   ) 
 

Definition at line 149 of file config_dxgsg8.cxx.

References init_libdxgsg8().

void init_config_string string *&  pFname,
const char *  ConfigrcVarname
 

Definition at line 153 of file config_dxgsg8.cxx.

References NULL.

Referenced by init_libdxgsg8().

void init_libdxgsg8  ) 
 

Definition at line 173 of file config_dxgsg8.cxx.

References GraphicsPipeSelection::add_pipe_type(), dx_decal_type, wdxGraphicsPipe8::get_class_type(), GraphicsPipeSelection::get_global_ptr(), init_config_string(), DXGraphicsStateGuardian8::init_type(), DXSavedFrameBuffer8::init_type(), DXTextureContext8::init_type(), DXGeomNodeContext8::init_type(), wdxGraphicsPipe8::init_type(), wdxGraphicsWindow8::init_type(), parse_decal_type(), pdx_globaltexture_filename, pdx_pixelshader_filename, and pdx_vertexshader_filename.

Referenced by ConfigureFn(), and init_libpandadx8().

NotifyCategoryDef wdxdisplay8  ,
"windisplay" 
 

NotifyCategoryDef dxgsg8  ,
"dxgsg" 
 

DXDecalType parse_decal_type const string &  type  )  [static]
 

Definition at line 137 of file config_dxgsg8.cxx.

References GDT_blend, GDT_mask, GDT_offset, and type.

Referenced by init_libcrgsg(), init_libdxgsg7(), and init_libdxgsg8().


Variable Documentation

bool dx_auto_normalize_lighting = config_dxgsg8.GetBool("auto-normalize-lighting", false)
 

Definition at line 77 of file config_dxgsg8.cxx.

bool dx_cull_traversal = config_dxgsg8.GetBool("dx-cull-traversal", true)
 

Definition at line 54 of file config_dxgsg8.cxx.

DXDecalType dx_decal_type = GDT_mask
 

Definition at line 123 of file config_dxgsg8.cxx.

bool dx_do_vidmemsize_check = config_dxgsg8.GetBool("do-vidmemsize-check", true)
 

Definition at line 96 of file config_dxgsg8.cxx.

bool dx_force_16bpp_zbuffer = config_dxgsg8.GetBool("dx-force-16bpp-zbuffer", false)
 

Definition at line 95 of file config_dxgsg8.cxx.

bool dx_force_16bpptextures = config_dxgsg8.GetBool("dx-force-16bpptextures", false)
 

Definition at line 93 of file config_dxgsg8.cxx.

bool dx_force_anisotropic_filtering = config_dxgsg8.GetBool("dx-force-anisotropic-filtering", false)
 

Definition at line 116 of file config_dxgsg8.cxx.

Referenced by DXTextureContext8::CreateTexture(), and DXTextureContext7::CreateTexture().

int dx_force_backface_culling = config_dxgsg8.GetInt("dx-force-backface-culling", 0)
 

Definition at line 85 of file config_dxgsg8.cxx.

float dx_fps_meter_update_interval = max(0.5,config_dxgsg8.GetFloat("fps-meter-update-interval", 1.7))
 

Definition at line 80 of file config_dxgsg8.cxx.

bool dx_full_screen = config_dxgsg8.GetBool("dx-full-screen", false)
 

Definition at line 41 of file config_dxgsg8.cxx.

UINT dx_globaltexture_stagenum = (UINT) config_dxgsg8.GetInt("dx-globaltexture-stagenum", 0)
 

Definition at line 134 of file config_dxgsg8.cxx.

Referenced by DXGraphicsStateGuardian8::dx_init().

bool dx_ignore_mipmaps = config_dxgsg8.GetBool("dx-ignore-mipmaps", false)
 

Definition at line 89 of file config_dxgsg8.cxx.

bool dx_mipmap_everything = config_dxgsg8.GetBool("dx-mipmap-everything", false)
 

Definition at line 88 of file config_dxgsg8.cxx.

DWORD dx_multisample_antialiasing_level = (DWORD) config_dxgsg8.GetInt("dx-multisample-antialiasing-level", 0)
 

Definition at line 49 of file config_dxgsg8.cxx.

Referenced by wdxGraphicsWindow8::create_screen_buffers_and_device().

bool dx_no_dithering = config_dxgsg8.GetBool("dx-no-dithering", false)
 

Definition at line 94 of file config_dxgsg8.cxx.

bool dx_no_vertex_fog = config_dxgsg8.GetBool("dx-no-vertex-fog", false)
 

Definition at line 57 of file config_dxgsg8.cxx.

bool dx_pick_best_screenres = config_dxgsg8.GetBool("pick-best-screenres", false)
 

Definition at line 102 of file config_dxgsg8.cxx.

Referenced by wdxGraphicsWindow8::create_screen_buffers_and_device(), and wdxGraphicsWindow8::search_for_device().

int dx_preferred_device_id = config_dxgsg8.GetInt("dx-preferred-device-id", -1)
 

Definition at line 104 of file config_dxgsg8.cxx.

Referenced by wdxGraphicsWindow8::choose_device().

bool dx_preserve_fpu_state = config_dxgsg8.GetBool("dx-preserve-fpu-state", false)
 

Definition at line 97 of file config_dxgsg8.cxx.

bool dx_show_cursor_watermark
 

Initial value:

 config_dxgsg8.GetBool("dx-show-cursor-watermark", 



    false

    )

Definition at line 60 of file config_dxgsg8.cxx.

Referenced by wdxGraphicsWindow8::init_resized_window().

bool dx_show_fps_meter = config_dxgsg8.GetBool("show-fps-meter", false)
 

Definition at line 79 of file config_dxgsg8.cxx.

bool dx_show_transforms = config_dxgsg8.GetBool("dx-show-transforms", false)
 

Definition at line 37 of file config_dxgsg8.cxx.

bool dx_sync_video = config_dxgsg8.GetBool("sync-video", true)
 

Definition at line 46 of file config_dxgsg8.cxx.

bool dx_use_dx_cursor = config_dxgsg8.GetBool("dx-use-dx-cursor", false)
 

Definition at line 114 of file config_dxgsg8.cxx.

Referenced by wdxGraphicsWindow8::handle_mouse_motion(), and wdxGraphicsWindow8::init_resized_window().

bool dx_use_rangebased_fog = config_dxgsg8.GetBool("dx-use-rangebased-fog", false)
 

Definition at line 92 of file config_dxgsg8.cxx.

bool dx_use_triangle_mipgen_filter = config_dxgsg8.GetBool("dx-use-triangle-mipgen-filter", false)
 

Definition at line 69 of file config_dxgsg8.cxx.

Referenced by DXTextureContext8::FillDDSurfTexturePixels().

const bool link_tristrips = config_dxgsg8.GetBool("link-tristrips", false)
 

Definition at line 120 of file config_dxgsg8.cxx.

string* pdx_globaltexture_filename = NULL
 

Definition at line 132 of file config_dxgsg8.cxx.

Referenced by DXGraphicsStateGuardian8::dx_init(), and init_libdxgsg8().

string* pdx_pixelshader_filename = NULL
 

Definition at line 129 of file config_dxgsg8.cxx.

Referenced by DXGraphicsStateGuardian8::dx_init(), and init_libdxgsg8().

string* pdx_vertexshader_filename = NULL
 

Definition at line 128 of file config_dxgsg8.cxx.

Referenced by DXGraphicsStateGuardian8::dx_init(), and init_libdxgsg8().


Generated on Fri Apr 18 00:10:30 2003 for Panda by doxygen1.3