Darc Library  2012.11
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
darc::protox Namespace Reference

Classes

class  PX_Direct3D
class  PX_Camera
class  PX_Camera_Shooter
class  PX_Camera_Temp
class  PX_Camera_Ghost
class  PX_D3D_ParameterBase
 Base class for Direct3D Parameters. More...
class  PX_D3D_Parameter
class  PX_D3D_ParameterCB
 Parameter class for combo box objects. More...
class  PX_D3D_ParameterCKB
 Parameter class for check box objects. More...
class  PX_D3D_Adapter
class  PX_D3D_DeviceType
class  PX_D3D_VideoFormat
class  PX_D3D_Windowed
class  PX_D3D_Interval
class  PX_D3D_RefreshRate
class  PX_D3D_BBResolution
class  PX_D3D_BBNumber
class  PX_D3D_BBFormat
class  PX_D3D_SwapEffect
class  PX_D3D_DSEnabled
class  PX_D3D_DSFormat
class  PX_D3D_MSType
class  PX_D3D_MSQuality
class  PX_D3D_FLockableBB
class  PX_D3D_FVideo
class  PX_D3D_FDiscardDS
class  PX_D3D_FDeviceClip
class  PX_D3D_BFVProcessing
class  PX_D3D_BFPureDevice
class  PX_D3D_BFDisableDM
class  PX_D3D_BFMultiThreaded
class  PX_D3D_BFEnablePStats
class  D3D9Instance
struct  D3D9Configuration
 Wrapper for Direct3D parameters. More...
class  PX_D3D9_Filter
 Filter for DirectX 9 parameters. More...
class  PX_Direct3DParameter
class  PX_P_Adapter
class  PX_P_DeviceType
class  PX_P_WindowMode
class  PX_P_VideoFormat
class  PX_P_BackBufferFormat
class  PX_P_DepthStencilEnable
class  PX_P_DepthStencilFormat
class  PX_P_MultiSampleType
class  PX_P_MultiSampleQuality
class  PX_P_SwapEffect
class  PX_P_BackBufferCount
class  PX_P_RefreshRate
class  PX_P_Resolution
class  PX_P_FlagDiscard
class  PX_P_FlagLockableBuffer
class  PX_P_FlagDeviceClip
class  PX_P_FlagVideo
class  PX_P_VertexProcessing
class  PX_P_PresentationInterval
class  PX_P_DisabledDriverManagement
class  PX_P_FlagMultiThreaded
class  PX_P_FlagPureDevice
class  PX_DI_Instance
class  PX_DI_Device
class  PX_DI_MouseEvent
class  PX_DI_MouseButtonEvent
class  PX_DI_MouseMoveEvent
class  PX_DI_MouseButton
class  PX_DI_MouseController
class  PX_Converter_DIK_GE
 Converts Direct Input scan codes to german keys. More...
class  KeyGroupTable_DIK_GE
class  DIKeyboardScanner
 Controller class for a keyboard device. More...
class  Protox
class  PX_Scene
struct  PX_Vertex_PC
class  PX_Window
 Wrapper class for window management (Windows OS). More...

Enumerations

enum  PX_D3D_PARAM {
  PX_D3D_ADAPTER, PX_D3D_DEVICETYPE, PX_D3D_VIDEOFORMAT, PX_D3D_WINDOWED,
  PX_D3D_INTERVAL, PX_D3D_REFRESHRATE, PX_D3D_BBRESOLUTION, PX_D3D_BBNUMBER,
  PX_D3D_BBFORMAT, PX_D3D_SWAPEFFECT, PX_D3D_DSENABLED, PX_D3D_DSFORMAT,
  PX_D3D_MSTYPE, PX_D3D_MSQUALITY, PX_D3D_FLOCKABLEBB, PX_D3D_FVIDEO,
  PX_D3D_FDISCARDDS, PX_D3D_FDEVICECLIP, PX_D3D_BFVPROCESSING, PX_D3D_BFPUREDEVICE,
  PX_D3D_BFDISABLEDM, PX_D3D_BFMULTITHREADED, PX_D3D_BFENABLEPSTATS
}

Functions

PX_API DCR PX_D3D9_OpenDialog (D3D9Configuration &_config)
DCR px_convert (const PX_D3D9_Filter &_filter, D3D9Configuration &_config)
 Converts the content of a filter to a configuration object which can be passed on to PX_D3D_Instance. All unlocked parameters will be locked automatically.
DC_VALUE px_checkConfiguration (IDirect3D9 *m_d3d, const PX_Direct3DConfiguration &_config)
PX_API ostream & operator<< (ostream &_o, const PX_Direct3DParameter &_f)
INT_PTR CALLBACK ConfigDlgProc (HWND hDlg, unsigned int uiMsg, WPARAM WParam, LPARAM LParam)
DC_VALUE px_updateDialog (HWND _hDlg)
DC_VALUE px_updateInfoBox (HWND _hDlg, int _id)
DC_VALUE px_initComboBox (int _itemid, PX_PID _id, HWND _hDlg)
DC_VALUE px_initCheckBox (int _itemid, PX_PID _id, HWND _hDlg)
DC_VALUE px_updateComboBox (int _itemid, PX_PID _id, HWND _hDlg)
DC_VALUE px_updateCheckBox (int _itemid, PX_PID _id, HWND _hDlg)
DC_VALUE px_testConfig ()
DC_VALUE px_autoConfig ()
DC_VALUE PX_API px_openSetupDialog (PX_Direct3DConfiguration &_config)
PX_API ostream & operator<< (ostream &_o, const PX_DI_Instance &_f)
DCR PX_API PX_MainLoop (void(*_f)())
void PX_API px_setInactive ()
void PX_API px_setActive ()
void PX_API px_shutDown ()
void PX_API px_drawPrimitive_Box (IDirect3DDevice9 *_pDev, float _size, DWORD _color)
void PX_API px_drawPrimitive_Grid (IDirect3DDevice9 *_pDev, float _size, int _spacing, DWORD _color)
void PX_API px_drawPrimitive_Camera (IDirect3DDevice9 *_pDev, PX_Camera *_cam, float _size, DWORD _color)

Variables

QApplication * g_qtApplication = NULL
px_D3D9_Dialogg_qtDialog = NULL
bool g_qapp_ownership = false
PX_Direct3DFilter * px_filter = NULL
string px_InfoBoxLog = "DIRECT3D SETUP"
PX_Converter_DIK_GE px_converter_ge
KeyGroupContainer_GE px_kgc_ge
HMODULE PX_API px_hProtox

Enumeration Type Documentation

Enumerator:
PX_D3D_ADAPTER 
PX_D3D_DEVICETYPE 
PX_D3D_VIDEOFORMAT 
PX_D3D_WINDOWED 
PX_D3D_INTERVAL 
PX_D3D_REFRESHRATE 
PX_D3D_BBRESOLUTION 
PX_D3D_BBNUMBER 
PX_D3D_BBFORMAT 
PX_D3D_SWAPEFFECT 
PX_D3D_DSENABLED 
PX_D3D_DSFORMAT 
PX_D3D_MSTYPE 
PX_D3D_MSQUALITY 
PX_D3D_FLOCKABLEBB 
PX_D3D_FVIDEO 
PX_D3D_FDISCARDDS 
PX_D3D_FDEVICECLIP 
PX_D3D_BFVPROCESSING 
PX_D3D_BFPUREDEVICE 
PX_D3D_BFDISABLEDM 
PX_D3D_BFMULTITHREADED 
PX_D3D_BFENABLEPSTATS 

Function Documentation

INT_PTR CALLBACK darc::protox::ConfigDlgProc ( HWND  hDlg,
unsigned int  uiMsg,
WPARAM  WParam,
LPARAM  LParam 
)
PX_API ostream & darc::protox::operator<< ( ostream &  _o,
const PX_DI_Instance _f 
)
PX_API ostream & darc::protox::operator<< ( ostream &  _o,
const PX_Direct3DParameter _f 
)

Operator "Stream out".

DC_VALUE darc::protox::px_checkConfiguration ( IDirect3D9 *  m_d3d,
const PX_Direct3DConfiguration &  _config 
)
DCR darc::protox::px_convert ( const PX_D3D9_Filter _filter,
D3D9Configuration _config 
)

Converts the content of a filter to a configuration object which can be passed on to PX_D3D_Instance. All unlocked parameters will be locked automatically.

This opens a modal configuration dialog. The function returns on either accept or reject.

Parameters:
_configConfiguration structure to be filled.
void PX_API darc::protox::px_drawPrimitive_Box ( IDirect3DDevice9 *  _pDev,
float  _size,
DWORD  _color 
)
void PX_API darc::protox::px_drawPrimitive_Camera ( IDirect3DDevice9 *  _pDev,
PX_Camera _cam,
float  _size,
DWORD  _color 
)
void PX_API darc::protox::px_drawPrimitive_Grid ( IDirect3DDevice9 *  _pDev,
float  _size,
int  _spacing,
DWORD  _color 
)
DC_VALUE darc::protox::px_initCheckBox ( int  _itemid,
PX_PID  _id,
HWND  _hDlg 
)
DC_VALUE darc::protox::px_initComboBox ( int  _itemid,
PX_PID  _id,
HWND  _hDlg 
)

Initializes all combo box parameters according to the PX_Direct3DParameter settings.

Parameters:
_itemidGUI item handle.
_idPX_Direct3DParameter ID.
_hDlgDialog handle.

PROTOX main loop.

DC_VALUE PX_API darc::protox::px_openSetupDialog ( PX_Direct3DConfiguration &  _config)
DC_VALUE darc::protox::px_updateCheckBox ( int  _itemid,
PX_PID  _id,
HWND  _hDlg 
)

Updates a check box after the status has been changed.

Parameters:
_itemidGUI item handle.
_idPX_Direct3DParameter ID.
_hDlgDialog handle.
DC_VALUE darc::protox::px_updateComboBox ( int  _itemid,
PX_PID  _id,
HWND  _hDlg 
)

Updates a combo box after a selection has been changed.

Parameters:
_itemidGUI item handle.
_idPX_Direct3DParameter ID.
_hDlgDialog handle.
DC_VALUE darc::protox::px_updateDialog ( HWND  _hDlg)
DC_VALUE darc::protox::px_updateInfoBox ( HWND  _hDlg,
int  _id 
)

Writes a message into the info box.


Variable Documentation

QApplication * darc::protox::g_qtApplication = NULL
PX_Direct3DFilter* darc::protox::px_filter = NULL

Module handle.

string darc::protox::px_InfoBoxLog = "DIRECT3D SETUP"