Triditizer
|
#include <windows.h>
#include <stdio.h>
#include <io.h>
#include <strsafe.h>
#include <stdexcept>
#include "main.h"
#include "logging.h"
#include "Ini.h"
#include "cLTFX.h"
Macros | |
#define | _SAFE_RELEASE(p) { if (p) { (p)->Release(); (p)=NULL; } } |
#define | V11_LS0 1 |
#define | V11_LS1 2 |
#define | V20_LS0 3 |
#define | V20_LS1 4 |
#define | V30_LS0 5 |
#define | V30_LS1 6 |
#define | V11 1 |
#define | V20 2 |
#define | V30 3 |
#define | COND_MOV 1 |
#define | COND_ADD 2 |
#define | COND_MAD 3 |
#define | COND_m4x4 4 |
#define | COND_MOV 1 |
#define | COND_ADD 2 |
#define | COND_MAD 3 |
#define | COND_m4x4 4 |
#define | COND_MOV 1 |
#define | COND_ADD 2 |
#define | COND_MAD 3 |
#define | COND_m4x4 4 |
#define | COND_MOV 1 |
#define | COND_ADD 2 |
#define | COND_MAD 3 |
#define | COND_m4x4 4 |
#define | COND_MOV 1 |
#define | COND_ADD 2 |
#define | COND_MAD 3 |
#define | COND_m4x4 4 |
#define | COND_MOV 1 |
#define | COND_ADD 2 |
#define | COND_MAD 3 |
#define | COND_m4x4 4 |
#define | COND_MOV 1 |
#define | COND_ADD 2 |
#define | COND_MAD 3 |
#define | COND_m4x4 4 |
Functions | |
void | hkIDirect3DDevice9_IDirect3DDevice9 (LPDIRECT3DDEVICE9 pD3Ddev) |
HRESULT APIENTRY | hkIDirect3DDevice9_QueryInterface (LPDIRECT3DDEVICE9 pD3Ddev, REFIID riid, LPVOID *ppvObj) |
ULONG APIENTRY | hkIDirect3DDevice9_AddRef (LPDIRECT3DDEVICE9 pD3Ddev) |
ULONG APIENTRY | hkIDirect3DDevice9_Release (LPDIRECT3DDEVICE9 pD3Ddev) |
HRESULT APIENTRY | hkIDirect3DDevice9_TestCooperativeLevel (LPDIRECT3DDEVICE9 pD3Ddev) |
UINT APIENTRY | hkIDirect3DDevice9_GetAvailableTextureMem (LPDIRECT3DDEVICE9 pD3Ddev) |
HRESULT APIENTRY | hkIDirect3DDevice9_EvictManagedResources (LPDIRECT3DDEVICE9 pD3Ddev) |
HRESULT APIENTRY | hkIDirect3DDevice9_GetDirect3D (LPDIRECT3DDEVICE9 pD3Ddev, IDirect3D9 **ppD3D9) |
HRESULT APIENTRY | hkIDirect3DDevice9_GetDeviceCaps (LPDIRECT3DDEVICE9 pD3Ddev, D3DCAPS9 *pCaps) |
HRESULT APIENTRY | hkIDirect3DDevice9_GetDisplayMode (LPDIRECT3DDEVICE9 pD3Ddev, UINT iSwapChain, D3DDISPLAYMODE *pMode) |
HRESULT APIENTRY | hkIDirect3DDevice9_GetCreationParameters (LPDIRECT3DDEVICE9 pD3Ddev, D3DDEVICE_CREATION_PARAMETERS *pParameters) |
HRESULT APIENTRY | hkIDirect3DDevice9_SetCursorProperties (LPDIRECT3DDEVICE9 pD3Ddev, UINT XHotSpot, UINT YHotSpot, IDirect3DSurface9 *pCursorBitmap) |
void APIENTRY | hkIDirect3DDevice9_SetCursorPosition (LPDIRECT3DDEVICE9 pD3Ddev, int X, int Y, DWORD Flags) |
BOOL APIENTRY | hkIDirect3DDevice9_ShowCursor (LPDIRECT3DDEVICE9 pD3Ddev, BOOL bShow) |
HRESULT APIENTRY | hkIDirect3DDevice9_CreateAdditionalSwapChain (LPDIRECT3DDEVICE9 pD3Ddev, D3DPRESENT_PARAMETERS *pPresentationParameters, IDirect3DSwapChain9 **ppSwapChain) |
HRESULT APIENTRY | hkIDirect3DDevice9_GetSwapChain (LPDIRECT3DDEVICE9 pD3Ddev, UINT iSwapChain, IDirect3DSwapChain9 **pSwapChain) |
unsigned int APIENTRY | hkIDirect3DDevice9_GetNumberOfSwapChains (LPDIRECT3DDEVICE9 pD3Ddev) |
HRESULT APIENTRY | hkIDirect3DDevice9_Reset (LPDIRECT3DDEVICE9 pD3Ddev, D3DPRESENT_PARAMETERS *pPresentationParameters) |
HRESULT APIENTRY | hkIDirect3DDevice9_Present (LPDIRECT3DDEVICE9 pD3Ddev, CONST RECT *pSourceRect, CONST RECT *pDestRect, HWND hDestWindowOverride, CONST RGNDATA *pDirtyRegion) |
HRESULT APIENTRY | hkIDirect3DDevice9_GetBackBuffer (LPDIRECT3DDEVICE9 pD3Ddev, UINT iSwapChain, UINT iBackBuffer, D3DBACKBUFFER_TYPE Type, IDirect3DSurface9 **ppBackBuffer) |
HRESULT APIENTRY | hkIDirect3DDevice9_GetRasterStatus (LPDIRECT3DDEVICE9 pD3Ddev, UINT iSwapChain, D3DRASTER_STATUS *pRasterStatus) |
HRESULT APIENTRY | hkIDirect3DDevice9_SetDialogBoxMode (LPDIRECT3DDEVICE9 pD3Ddev, BOOL bEnableDialogs) |
void APIENTRY | hkIDirect3DDevice9_SetGammaRamp (LPDIRECT3DDEVICE9 pD3Ddev, UINT iSwapChain, DWORD Flags, CONST D3DGAMMARAMP *pRamp) |
void APIENTRY | hkIDirect3DDevice9_GetGammaRamp (LPDIRECT3DDEVICE9 pD3Ddev, UINT iSwapChain, D3DGAMMARAMP *pRamp) |
HRESULT APIENTRY | hkIDirect3DDevice9_CreateTexture (LPDIRECT3DDEVICE9 pD3Ddev, UINT Width, UINT Height, UINT Levels, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, IDirect3DTexture9 **ppTexture, HANDLE *pSharedHandle) |
HRESULT APIENTRY | hkIDirect3DDevice9_CreateVolumeTexture (LPDIRECT3DDEVICE9 pD3Ddev, UINT Width, UINT Height, UINT Depth, UINT Levels, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, IDirect3DVolumeTexture9 **ppVolumeTexture, HANDLE *pSharedHandle) |
HRESULT APIENTRY | hkIDirect3DDevice9_CreateCubeTexture (LPDIRECT3DDEVICE9 pD3Ddev, UINT EdgeLength, UINT Levels, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, IDirect3DCubeTexture9 **ppCubeTexture, HANDLE *pSharedHandle) |
HRESULT APIENTRY | hkIDirect3DDevice9_CreateVertexBuffer (LPDIRECT3DDEVICE9 pD3Ddev, UINT Length, DWORD Usage, DWORD FVF, D3DPOOL Pool, IDirect3DVertexBuffer9 **ppVertexBuffer, HANDLE *pSharedHandle) |
HRESULT APIENTRY | hkIDirect3DDevice9_CreateIndexBuffer (LPDIRECT3DDEVICE9 pD3Ddev, UINT Length, DWORD Usage, D3DFORMAT Format, D3DPOOL Pool, IDirect3DIndexBuffer9 **ppIndexBuffer, HANDLE *pSharedHandle) |
HRESULT APIENTRY | hkIDirect3DDevice9_CreateRenderTarget (LPDIRECT3DDEVICE9 pD3Ddev, UINT Width, UINT Height, D3DFORMAT Format, D3DMULTISAMPLE_TYPE MultiSample, DWORD MultisampleQuality, BOOL Lockable, IDirect3DSurface9 **ppSurface, HANDLE *pSharedHandle) |
HRESULT APIENTRY | hkIDirect3DDevice9_CreateDepthStencilSurface (LPDIRECT3DDEVICE9 pD3Ddev, UINT Width, UINT Height, D3DFORMAT Format, D3DMULTISAMPLE_TYPE MultiSample, DWORD MultisampleQuality, BOOL Discard, IDirect3DSurface9 **ppSurface, HANDLE *pSharedHandle) |
HRESULT APIENTRY | hkIDirect3DDevice9_UpdateSurface (LPDIRECT3DDEVICE9 pD3Ddev, IDirect3DSurface9 *pSourceSurface, CONST RECT *pSourceRect, IDirect3DSurface9 *pDestinationSurface, CONST POINT *pDestPoint) |
HRESULT APIENTRY | hkIDirect3DDevice9_UpdateTexture (LPDIRECT3DDEVICE9 pD3Ddev, IDirect3DBaseTexture9 *pSourceTexture, IDirect3DBaseTexture9 *pDestinationTexture) |
HRESULT APIENTRY | hkIDirect3DDevice9_GetRenderTargetData (LPDIRECT3DDEVICE9 pD3Ddev, IDirect3DSurface9 *pRenderTarget, IDirect3DSurface9 *pDestSurface) |
HRESULT APIENTRY | hkIDirect3DDevice9_GetFrontBufferData (LPDIRECT3DDEVICE9 pD3Ddev, UINT iSwapChain, IDirect3DSurface9 *pDestSurface) |
HRESULT APIENTRY | hkIDirect3DDevice9_StretchRect (LPDIRECT3DDEVICE9 pD3Ddev, IDirect3DSurface9 *pSourceSurface, CONST RECT *pSourceRect, IDirect3DSurface9 *pDestSurface, CONST RECT *pDestRect, D3DTEXTUREFILTERTYPE Filter) |
HRESULT APIENTRY | hkIDirect3DDevice9_ColorFill (LPDIRECT3DDEVICE9 pD3Ddev, IDirect3DSurface9 *pSurface, CONST RECT *pRect, D3DCOLOR color) |
HRESULT APIENTRY | hkIDirect3DDevice9_CreateOffscreenPlainSurface (LPDIRECT3DDEVICE9 pD3Ddev, UINT Width, UINT Height, D3DFORMAT Format, D3DPOOL Pool, IDirect3DSurface9 **ppSurface, HANDLE *pSharedHandle) |
HRESULT APIENTRY | hkIDirect3DDevice9_SetRenderTarget (LPDIRECT3DDEVICE9 pD3Ddev, DWORD RenderTargetIndex, IDirect3DSurface9 *pRenderTarget) |
HRESULT APIENTRY | hkIDirect3DDevice9_GetRenderTarget (LPDIRECT3DDEVICE9 pD3Ddev, DWORD RenderTargetIndex, IDirect3DSurface9 **ppRenderTarget) |
HRESULT APIENTRY | hkIDirect3DDevice9_SetDepthStencilSurface (LPDIRECT3DDEVICE9 pD3Ddev, IDirect3DSurface9 *pNewZStencil) |
HRESULT APIENTRY | hkIDirect3DDevice9_GetDepthStencilSurface (LPDIRECT3DDEVICE9 pD3Ddev, IDirect3DSurface9 **ppZStencilSurface) |
HRESULT APIENTRY | hkIDirect3DDevice9_BeginScene (LPDIRECT3DDEVICE9 pD3Ddev) |
HRESULT APIENTRY | hkIDirect3DDevice9_EndScene (LPDIRECT3DDEVICE9 pD3Ddev) |
HRESULT APIENTRY | hkIDirect3DDevice9_Clear (LPDIRECT3DDEVICE9 pD3Ddev, DWORD Count, CONST D3DRECT *pRects, DWORD Flags, D3DCOLOR Color, float Z, DWORD Stencil) |
HRESULT APIENTRY | hkIDirect3DDevice9_SetTransform (LPDIRECT3DDEVICE9 pD3Ddev, D3DTRANSFORMSTATETYPE State, CONST D3DMATRIX *pMatrix) |
HRESULT APIENTRY | hkIDirect3DDevice9_GetTransform (LPDIRECT3DDEVICE9 pD3Ddev, D3DTRANSFORMSTATETYPE State, D3DMATRIX *pMatrix) |
HRESULT APIENTRY | hkIDirect3DDevice9_MultiplyTransform (LPDIRECT3DDEVICE9 pD3Ddev, D3DTRANSFORMSTATETYPE State, CONST D3DMATRIX *pMatrix) |
HRESULT APIENTRY | hkIDirect3DDevice9_SetViewport (LPDIRECT3DDEVICE9 pD3Ddev, CONST D3DVIEWPORT9 *pViewport) |
HRESULT APIENTRY | hkIDirect3DDevice9_GetViewport (LPDIRECT3DDEVICE9 pD3Ddev, D3DVIEWPORT9 *pViewport) |
HRESULT APIENTRY | hkIDirect3DDevice9_SetMaterial (LPDIRECT3DDEVICE9 pD3Ddev, CONST D3DMATERIAL9 *pMaterial) |
HRESULT APIENTRY | hkIDirect3DDevice9_GetMaterial (LPDIRECT3DDEVICE9 pD3Ddev, D3DMATERIAL9 *pMaterial) |
HRESULT APIENTRY | hkIDirect3DDevice9_SetLight (LPDIRECT3DDEVICE9 pD3Ddev, DWORD Index, CONST D3DLIGHT9 *pLight) |
HRESULT APIENTRY | hkIDirect3DDevice9_GetLight (LPDIRECT3DDEVICE9 pD3Ddev, DWORD Index, D3DLIGHT9 *pLight) |
HRESULT APIENTRY | hkIDirect3DDevice9_LightEnable (LPDIRECT3DDEVICE9 pD3Ddev, DWORD LightIndex, BOOL bEnable) |
HRESULT APIENTRY | hkIDirect3DDevice9_GetLightEnable (LPDIRECT3DDEVICE9 pD3Ddev, DWORD Index, BOOL *pEnable) |
HRESULT APIENTRY | hkIDirect3DDevice9_SetClipPlane (LPDIRECT3DDEVICE9 pD3Ddev, DWORD Index, CONST float *pPlane) |
HRESULT APIENTRY | hkIDirect3DDevice9_GetClipPlane (LPDIRECT3DDEVICE9 pD3Ddev, DWORD Index, float *pPlane) |
HRESULT APIENTRY | hkIDirect3DDevice9_SetRenderState (LPDIRECT3DDEVICE9 pD3Ddev, D3DRENDERSTATETYPE State, DWORD Value) |
HRESULT APIENTRY | hkIDirect3DDevice9_GetRenderState (LPDIRECT3DDEVICE9 pD3Ddev, D3DRENDERSTATETYPE State, DWORD *pValue) |
HRESULT APIENTRY | hkIDirect3DDevice9_CreateStateBlock (LPDIRECT3DDEVICE9 pD3Ddev, D3DSTATEBLOCKTYPE Type, IDirect3DStateBlock9 **ppSB) |
HRESULT APIENTRY | hkIDirect3DDevice9_BeginStateBlock (LPDIRECT3DDEVICE9 pD3Ddev) |
HRESULT APIENTRY | hkIDirect3DDevice9_EndStateBlock (LPDIRECT3DDEVICE9 pD3Ddev, IDirect3DStateBlock9 **ppSB) |
HRESULT APIENTRY | hkIDirect3DDevice9_SetClipStatus (LPDIRECT3DDEVICE9 pD3Ddev, CONST D3DCLIPSTATUS9 *pClipStatus) |
HRESULT APIENTRY | hkIDirect3DDevice9_GetClipStatus (LPDIRECT3DDEVICE9 pD3Ddev, D3DCLIPSTATUS9 *pClipStatus) |
HRESULT APIENTRY | hkIDirect3DDevice9_GetTexture (LPDIRECT3DDEVICE9 pD3Ddev, DWORD Stage, IDirect3DBaseTexture9 **ppTexture) |
HRESULT APIENTRY | hkIDirect3DDevice9_SetTexture (LPDIRECT3DDEVICE9 pD3Ddev, DWORD Stage, IDirect3DBaseTexture9 *pTexture) |
HRESULT APIENTRY | hkIDirect3DDevice9_GetTextureStageState (LPDIRECT3DDEVICE9 pD3Ddev, DWORD Stage, D3DTEXTURESTAGESTATETYPE Type, DWORD *pValue) |
HRESULT APIENTRY | hkIDirect3DDevice9_SetTextureStageState (LPDIRECT3DDEVICE9 pD3Ddev, DWORD Stage, D3DTEXTURESTAGESTATETYPE Type, DWORD Value) |
HRESULT APIENTRY | hkIDirect3DDevice9_GetSamplerState (LPDIRECT3DDEVICE9 pD3Ddev, DWORD Sampler, D3DSAMPLERSTATETYPE Type, DWORD *pValue) |
HRESULT APIENTRY | hkIDirect3DDevice9_SetSamplerState (LPDIRECT3DDEVICE9 pD3Ddev, DWORD Sampler, D3DSAMPLERSTATETYPE Type, DWORD Value) |
HRESULT APIENTRY | hkIDirect3DDevice9_ValidateDevice (LPDIRECT3DDEVICE9 pD3Ddev, DWORD *pNumPasses) |
HRESULT APIENTRY | hkIDirect3DDevice9_SetPaletteEntries (LPDIRECT3DDEVICE9 pD3Ddev, UINT PaletteNumber, CONST PALETTEENTRY *pEntries) |
HRESULT APIENTRY | hkIDirect3DDevice9_GetPaletteEntries (LPDIRECT3DDEVICE9 pD3Ddev, UINT PaletteNumber, PALETTEENTRY *pEntries) |
HRESULT APIENTRY | hkIDirect3DDevice9_SetCurrentTexturePalette (LPDIRECT3DDEVICE9 pD3Ddev, UINT PaletteNumber) |
HRESULT APIENTRY | hkIDirect3DDevice9_GetCurrentTexturePalette (LPDIRECT3DDEVICE9 pD3Ddev, UINT *pPaletteNumber) |
HRESULT APIENTRY | hkIDirect3DDevice9_SetScissorRect (LPDIRECT3DDEVICE9 pD3Ddev, CONST RECT *pRect) |
HRESULT APIENTRY | hkIDirect3DDevice9_GetScissorRect (LPDIRECT3DDEVICE9 pD3Ddev, RECT *pRect) |
HRESULT APIENTRY | hkIDirect3DDevice9_SetSoftwareVertexProcessing (LPDIRECT3DDEVICE9 pD3Ddev, BOOL bSoftware) |
BOOL APIENTRY | hkIDirect3DDevice9_GetSoftwareVertexProcessing (LPDIRECT3DDEVICE9 pD3Ddev) |
HRESULT APIENTRY | hkIDirect3DDevice9_SetNPatchMode (LPDIRECT3DDEVICE9 pD3Ddev, float nSegments) |
float APIENTRY | hkIDirect3DDevice9_GetNPatchMode (LPDIRECT3DDEVICE9 pD3Ddev) |
HRESULT APIENTRY | hkIDirect3DDevice9_DrawPrimitive (LPDIRECT3DDEVICE9 pD3Ddev, D3DPRIMITIVETYPE PrimitiveType, UINT StartVertex, UINT PrimitiveCount) |
HRESULT APIENTRY | hkIDirect3DDevice9_DrawIndexedPrimitive (LPDIRECT3DDEVICE9 pD3Ddev, D3DPRIMITIVETYPE Type, INT BaseVertexIndex, UINT MinVertexIndex, UINT NumVertices, UINT startIndex, UINT primCount) |
HRESULT APIENTRY | hkIDirect3DDevice9_DrawPrimitiveUP (LPDIRECT3DDEVICE9 pD3Ddev, D3DPRIMITIVETYPE PrimitiveType, UINT PrimitiveCount, CONST void *pVertexStreamZeroData, UINT VertexStreamZeroStride) |
HRESULT APIENTRY | hkIDirect3DDevice9_DrawIndexedPrimitiveUP (LPDIRECT3DDEVICE9 pD3Ddev, D3DPRIMITIVETYPE PrimitiveType, UINT MinIndex, UINT NumVertices, UINT PrimitiveCount, CONST void *pIndexData, D3DFORMAT IndexDataFormat, CONST void *pVertexStreamZeroData, UINT VertexStreamZeroStride) |
HRESULT APIENTRY | hkIDirect3DDevice9_ProcessVertices (LPDIRECT3DDEVICE9 pD3Ddev, UINT SrcStartIndex, UINT DestIndex, UINT VertexCount, IDirect3DVertexBuffer9 *pDestBuffer, IDirect3DVertexDeclaration9 *pVertexDecl, DWORD Flags) |
HRESULT APIENTRY | hkIDirect3DDevice9_CreateVertexDeclaration (LPDIRECT3DDEVICE9 pD3Ddev, CONST D3DVERTEXELEMENT9 *pVertexElements, IDirect3DVertexDeclaration9 **ppDecl) |
HRESULT APIENTRY | hkIDirect3DDevice9_SetVertexDeclaration (LPDIRECT3DDEVICE9 pD3Ddev, IDirect3DVertexDeclaration9 *pDecl) |
HRESULT APIENTRY | hkIDirect3DDevice9_GetVertexDeclaration (LPDIRECT3DDEVICE9 pD3Ddev, IDirect3DVertexDeclaration9 **ppDecl) |
HRESULT APIENTRY | hkIDirect3DDevice9_SetFVF (LPDIRECT3DDEVICE9 pD3Ddev, DWORD FVF) |
HRESULT APIENTRY | hkIDirect3DDevice9_GetFVF (LPDIRECT3DDEVICE9 pD3Ddev, DWORD *pFVF) |
HRESULT APIENTRY | hkIDirect3DDevice9_CreateVertexShader (LPDIRECT3DDEVICE9 pD3Ddev, CONST DWORD *pFunction, IDirect3DVertexShader9 **ppShader) |
HRESULT APIENTRY | hkIDirect3DDevice9_SetVertexShader (LPDIRECT3DDEVICE9 pD3Ddev, IDirect3DVertexShader9 *pShader) |
HRESULT APIENTRY | hkIDirect3DDevice9_GetVertexShader (LPDIRECT3DDEVICE9 pD3Ddev, IDirect3DVertexShader9 **ppShader) |
HRESULT APIENTRY | hkIDirect3DDevice9_SetVertexShaderConstantF (LPDIRECT3DDEVICE9 pD3Ddev, UINT StartRegister, CONST float *pConstantData, UINT Vector4fCount) |
HRESULT APIENTRY | hkIDirect3DDevice9_GetVertexShaderConstantF (LPDIRECT3DDEVICE9 pD3Ddev, UINT StartRegister, float *pConstantData, UINT Vector4fCount) |
HRESULT APIENTRY | hkIDirect3DDevice9_SetVertexShaderConstantI (LPDIRECT3DDEVICE9 pD3Ddev, UINT StartRegister, CONST int *pConstantData, UINT Vector4iCount) |
HRESULT APIENTRY | hkIDirect3DDevice9_GetVertexShaderConstantI (LPDIRECT3DDEVICE9 pD3Ddev, UINT StartRegister, int *pConstantData, UINT Vector4iCount) |
HRESULT APIENTRY | hkIDirect3DDevice9_SetVertexShaderConstantB (LPDIRECT3DDEVICE9 pD3Ddev, UINT StartRegister, CONST BOOL *pConstantData, UINT BoolCount) |
HRESULT APIENTRY | hkIDirect3DDevice9_GetVertexShaderConstantB (LPDIRECT3DDEVICE9 pD3Ddev, UINT StartRegister, BOOL *pConstantData, UINT BoolCount) |
HRESULT APIENTRY | hkIDirect3DDevice9_SetStreamSource (LPDIRECT3DDEVICE9 pD3Ddev, UINT StreamNumber, IDirect3DVertexBuffer9 *pStreamData, UINT OffsetInBytes, UINT Stride) |
HRESULT APIENTRY | hkIDirect3DDevice9_GetStreamSource (LPDIRECT3DDEVICE9 pD3Ddev, UINT StreamNumber, IDirect3DVertexBuffer9 **ppStreamData, UINT *OffsetInBytes, UINT *pStride) |
HRESULT APIENTRY | hkIDirect3DDevice9_SetStreamSourceFreq (LPDIRECT3DDEVICE9 pD3Ddev, UINT StreamNumber, UINT Divider) |
HRESULT APIENTRY | hkIDirect3DDevice9_GetStreamSourceFreq (LPDIRECT3DDEVICE9 pD3Ddev, UINT StreamNumber, UINT *Divider) |
HRESULT APIENTRY | hkIDirect3DDevice9_SetIndices (LPDIRECT3DDEVICE9 pD3Ddev, IDirect3DIndexBuffer9 *pIndexData) |
HRESULT APIENTRY | hkIDirect3DDevice9_GetIndices (LPDIRECT3DDEVICE9 pD3Ddev, IDirect3DIndexBuffer9 **ppIndexData) |
HRESULT APIENTRY | hkIDirect3DDevice9_CreatePixelShader (LPDIRECT3DDEVICE9 pD3Ddev, CONST DWORD *pFunction, IDirect3DPixelShader9 **ppShader) |
HRESULT APIENTRY | hkIDirect3DDevice9_SetPixelShader (LPDIRECT3DDEVICE9 pD3Ddev, IDirect3DPixelShader9 *pShader) |
HRESULT APIENTRY | hkIDirect3DDevice9_GetPixelShader (LPDIRECT3DDEVICE9 pD3Ddev, IDirect3DPixelShader9 **ppShader) |
HRESULT APIENTRY | hkIDirect3DDevice9_SetPixelShaderConstantF (LPDIRECT3DDEVICE9 pD3Ddev, UINT StartRegister, CONST float *pConstantData, UINT Vector4fCount) |
HRESULT APIENTRY | hkIDirect3DDevice9_GetPixelShaderConstantF (LPDIRECT3DDEVICE9 pD3Ddev, UINT StartRegister, float *pConstantData, UINT Vector4fCount) |
HRESULT APIENTRY | hkIDirect3DDevice9_SetPixelShaderConstantI (LPDIRECT3DDEVICE9 pD3Ddev, UINT StartRegister, CONST int *pConstantData, UINT Vector4iCount) |
HRESULT APIENTRY | hkIDirect3DDevice9_GetPixelShaderConstantI (LPDIRECT3DDEVICE9 pD3Ddev, UINT StartRegister, int *pConstantData, UINT Vector4iCount) |
HRESULT APIENTRY | hkIDirect3DDevice9_SetPixelShaderConstantB (LPDIRECT3DDEVICE9 pD3Ddev, UINT StartRegister, CONST BOOL *pConstantData, UINT BoolCount) |
HRESULT APIENTRY | hkIDirect3DDevice9_GetPixelShaderConstantB (LPDIRECT3DDEVICE9 pD3Ddev, UINT StartRegister, BOOL *pConstantData, UINT BoolCount) |
HRESULT APIENTRY | hkIDirect3DDevice9_DrawRectPatch (LPDIRECT3DDEVICE9 pD3Ddev, UINT Handle, CONST float *pNumSegs, CONST D3DRECTPATCH_INFO *pRectPatchInfo) |
HRESULT APIENTRY | hkIDirect3DDevice9_DrawTriPatch (LPDIRECT3DDEVICE9 pD3Ddev, UINT Handle, CONST float *pNumSegs, CONST D3DTRIPATCH_INFO *pTriPatchInfo) |
HRESULT APIENTRY | hkIDirect3DDevice9_DeletePatch (LPDIRECT3DDEVICE9 pD3Ddev, UINT Handle) |
HRESULT APIENTRY | hkIDirect3DDevice9_CreateQuery (LPDIRECT3DDEVICE9 pD3Ddev, D3DQUERYTYPE Type, IDirect3DQuery9 **ppQuery) |
void | readIni (void) |
HRESULT | hkIDirect3DDevice9_takeScreenshot (LPDIRECT3DDEVICE9 pD3Ddev) |
void | move_view (LPDIRECT3DDEVICE9 pD3Ddev, MOVE_DIRECTION move_dir) |
void | decreaseSeparation () |
void | increaseSeparation () |
void | decreaseConvergence () |
void | increaseConvergence () |
BOOL | IsDepthFormatOk (IDirect3D9 *pD3D9, D3DFORMAT DepthFormat, D3DFORMAT AdapterFormat, D3DFORMAT BackBufferFormat) |
void | initSurfaces (LPDIRECT3DDEVICE9 pD3Ddev) |
HRESULT APIENTRY | CreateStereoVertexShader (LPDIRECT3DDEVICE9 pD3Ddev, CONST DWORD *pFunction, IDirect3DVertexShader9 **ppShader) |
HRESULT APIENTRY | VS_appendDef_V11_LS0 (char **ppOut) |
HRESULT APIENTRY | VS_appendDef_V11_LS1 (char **ppOut) |
HRESULT APIENTRY | VS_appendDef_V20_LS0 (char **ppOut) |
HRESULT APIENTRY | VS_appendDef_V20_LS1 (char **ppOut) |
HRESULT APIENTRY | VS_appendDef_V30_LS0 (char **ppOut) |
HRESULT APIENTRY | VS_appendDef_V30_LS1 (char **ppOut) |
HRESULT APIENTRY | VS_replaceOR_V11 (char **ppIn, int *pcountOR, char *pOR, char **ppOut) |
HRESULT APIENTRY | VS_replaceOR_V20 (char **ppIn, int *pcountOR, char *pOR, char **ppOut) |
HRESULT APIENTRY | VS_replaceOR_V30 (char **ppIn, int *pcountOR, char *pOR, char **ppOut) |
HRESULT APIENTRY | VS_addcode_common (char **ppIn, int cond, char *pFindOR, char **ppOut, char *strSource, char *strSource2, char *strSource3) |
HRESULT APIENTRY | VS_addcode_ORe1_VS11_LS0 (char **ppIn, char *strOR, char **ppOut) |
HRESULT APIENTRY | VS_addcode_ORe1_VS11_LS1 (char **ppIn, char *strOR, char **ppOut) |
HRESULT APIENTRY | VS_addcode_ORe1_VS20_LS0 (char **ppIn, char *strOR, char **ppOut) |
HRESULT APIENTRY | VS_addcode_ORe1_VS20_LS1 (char **ppIn, char *strOR, char **ppOut) |
HRESULT APIENTRY | VS_addcode_ORe1_VS30_LS0 (char **ppIn, char *strOR, char **ppOut) |
HRESULT APIENTRY | VS_addcode_ORe1_VS30_LS1 (char **ppIn, char *strOR, char **ppOut) |
HRESULT APIENTRY | VS_addcode_ORgt1_VS11_LS0 (char **ppIn, char *strOR, char **ppOut) |
HRESULT APIENTRY | VS_addcode_ORgt1_VS11_LS1 (char **ppIn, char *strOR, char **ppOut) |
HRESULT APIENTRY | VS_addcode_ORgt1_VS20_LS0 (char **ppIn, char *strOR, char **ppOut) |
HRESULT APIENTRY | VS_addcode_ORgt1_VS20_LS1 (char **ppIn, char *strOR, char **ppOut) |
HRESULT APIENTRY | VS_addcode_ORgt1_VS30_LS0 (char **ppIn, char *strOR, char **ppOut) |
HRESULT APIENTRY | VS_addcode_ORgt1_VS30_LS1 (char **ppIn, char *strOR, char **ppOut) |
HRESULT APIENTRY | CreateModifiedPixelShader (LPDIRECT3DDEVICE9 pD3Ddev, CONST DWORD *pFunction, IDirect3DPixelShader9 **ppShader) |
void | AddMenuItems (void) |
void | addVSMenuItem (IDirect3DVertexShader9 *pShader) |
Variables | |
CD3DManager * | m_pManager |
CIni | cIniObject |
BOOL | Stereo_Enabled = TRUE |
BOOL | LaserSight = FALSE |
int | DominantEye = 0 |
BOOL | ShowFPS = TRUE |
ID3DXFont * | g_pFont = NULL |
TCHAR | g_strFont [LF_FACESIZE] |
int | g_nFontSize = 24 |
char | pstrFPS [MAX_PATH] = "0 fps" |
IDirect3DSurface9 * | m_pRenderSurfBackBuffer |
IDirect3DSurface9 * | m_pRenderSurfBackBufferDepthLeft |
IDirect3DSurface9 * | m_pRenderSurfBackBufferDepthRight |
IDirect3DSurface9 * | pSurfLeft |
IDirect3DSurface9 * | pSurfRight |
D3DPRESENT_PARAMETERS | m_PresentParam |
UINT | m_refCount |
char | BufPast [50000] |
int | shaderCount |
int | pixelShaderCount |
float | separation |
float | convergence |
std::unordered_map< IDirect3DPixelShader9 *, IDirect3DPixelShader9 * > | pPixelShader |
bool | renderLeft = true |
bool | firstTime1 = true |
const int | primHoldStill = 2 |
int | shaderCounter = 0 |
LARGE_INTEGER | qwTicksPerSec = { 0 } |
LARGE_INTEGER | qwTime = { 0 } |
float | fAbsTime = 0 |
float | fLastTime = 0 |
DWORD | dwFrames = 0 |
const int | MAX_VS = 5000 |
const int | MAX_GROUP = 1 |
const int | MAX_DRAW = 25 |
cMenu | menu = cMenu(MAX_VS, MAX_GROUP, MAX_DRAW) |
int | GID [MAX_GROUP] = { 0 } |
settingsVS | sVS = settingsVS() |
#define _SAFE_RELEASE | ( | p | ) | { if (p) { (p)->Release(); (p)=NULL; } } |
#define COND_ADD 2 |
#define COND_ADD 2 |
#define COND_ADD 2 |
#define COND_ADD 2 |
#define COND_ADD 2 |
#define COND_ADD 2 |
#define COND_ADD 2 |
#define COND_m4x4 4 |
#define COND_m4x4 4 |
#define COND_m4x4 4 |
#define COND_m4x4 4 |
#define COND_m4x4 4 |
#define COND_m4x4 4 |
#define COND_m4x4 4 |
#define COND_MAD 3 |
#define COND_MAD 3 |
#define COND_MAD 3 |
#define COND_MAD 3 |
#define COND_MAD 3 |
#define COND_MAD 3 |
#define COND_MAD 3 |
#define COND_MOV 1 |
#define COND_MOV 1 |
#define COND_MOV 1 |
#define COND_MOV 1 |
#define COND_MOV 1 |
#define COND_MOV 1 |
#define COND_MOV 1 |
#define V11 1 |
#define V11_LS0 1 |
#define V11_LS1 2 |
#define V20 2 |
#define V20_LS0 3 |
#define V20_LS1 4 |
#define V30 3 |
#define V30_LS0 5 |
#define V30_LS1 6 |
void AddMenuItems | ( | void | ) |
void addVSMenuItem | ( | IDirect3DVertexShader9 * | pShader | ) |
HRESULT APIENTRY CreateModifiedPixelShader | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
CONST DWORD * | pFunction, | ||
IDirect3DPixelShader9 ** | ppShader | ||
) |
HRESULT APIENTRY CreateStereoVertexShader | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
CONST DWORD * | pFunction, | ||
IDirect3DVertexShader9 ** | ppShader | ||
) |
void decreaseConvergence | ( | ) |
void decreaseSeparation | ( | ) |
ULONG APIENTRY hkIDirect3DDevice9_AddRef | ( | LPDIRECT3DDEVICE9 | pD3Ddev | ) |
HRESULT APIENTRY hkIDirect3DDevice9_BeginScene | ( | LPDIRECT3DDEVICE9 | pD3Ddev | ) |
HRESULT APIENTRY hkIDirect3DDevice9_BeginStateBlock | ( | LPDIRECT3DDEVICE9 | pD3Ddev | ) |
HRESULT APIENTRY hkIDirect3DDevice9_Clear | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
DWORD | Count, | ||
CONST D3DRECT * | pRects, | ||
DWORD | Flags, | ||
D3DCOLOR | Color, | ||
float | Z, | ||
DWORD | Stencil | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_ColorFill | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
IDirect3DSurface9 * | pSurface, | ||
CONST RECT * | pRect, | ||
D3DCOLOR | color | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_CreateAdditionalSwapChain | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
D3DPRESENT_PARAMETERS * | pPresentationParameters, | ||
IDirect3DSwapChain9 ** | ppSwapChain | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_CreateCubeTexture | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
UINT | EdgeLength, | ||
UINT | Levels, | ||
DWORD | Usage, | ||
D3DFORMAT | Format, | ||
D3DPOOL | Pool, | ||
IDirect3DCubeTexture9 ** | ppCubeTexture, | ||
HANDLE * | pSharedHandle | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_CreateDepthStencilSurface | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
UINT | Width, | ||
UINT | Height, | ||
D3DFORMAT | Format, | ||
D3DMULTISAMPLE_TYPE | MultiSample, | ||
DWORD | MultisampleQuality, | ||
BOOL | Discard, | ||
IDirect3DSurface9 ** | ppSurface, | ||
HANDLE * | pSharedHandle | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_CreateIndexBuffer | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
UINT | Length, | ||
DWORD | Usage, | ||
D3DFORMAT | Format, | ||
D3DPOOL | Pool, | ||
IDirect3DIndexBuffer9 ** | ppIndexBuffer, | ||
HANDLE * | pSharedHandle | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_CreateOffscreenPlainSurface | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
UINT | Width, | ||
UINT | Height, | ||
D3DFORMAT | Format, | ||
D3DPOOL | Pool, | ||
IDirect3DSurface9 ** | ppSurface, | ||
HANDLE * | pSharedHandle | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_CreatePixelShader | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
CONST DWORD * | pFunction, | ||
IDirect3DPixelShader9 ** | ppShader | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_CreateQuery | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
D3DQUERYTYPE | Type, | ||
IDirect3DQuery9 ** | ppQuery | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_CreateRenderTarget | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
UINT | Width, | ||
UINT | Height, | ||
D3DFORMAT | Format, | ||
D3DMULTISAMPLE_TYPE | MultiSample, | ||
DWORD | MultisampleQuality, | ||
BOOL | Lockable, | ||
IDirect3DSurface9 ** | ppSurface, | ||
HANDLE * | pSharedHandle | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_CreateStateBlock | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
D3DSTATEBLOCKTYPE | Type, | ||
IDirect3DStateBlock9 ** | ppSB | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_CreateTexture | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
UINT | Width, | ||
UINT | Height, | ||
UINT | Levels, | ||
DWORD | Usage, | ||
D3DFORMAT | Format, | ||
D3DPOOL | Pool, | ||
IDirect3DTexture9 ** | ppTexture, | ||
HANDLE * | pSharedHandle | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_CreateVertexBuffer | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
UINT | Length, | ||
DWORD | Usage, | ||
DWORD | FVF, | ||
D3DPOOL | Pool, | ||
IDirect3DVertexBuffer9 ** | ppVertexBuffer, | ||
HANDLE * | pSharedHandle | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_CreateVertexDeclaration | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
CONST D3DVERTEXELEMENT9 * | pVertexElements, | ||
IDirect3DVertexDeclaration9 ** | ppDecl | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_CreateVertexShader | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
CONST DWORD * | pFunction, | ||
IDirect3DVertexShader9 ** | ppShader | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_CreateVolumeTexture | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
UINT | Width, | ||
UINT | Height, | ||
UINT | Depth, | ||
UINT | Levels, | ||
DWORD | Usage, | ||
D3DFORMAT | Format, | ||
D3DPOOL | Pool, | ||
IDirect3DVolumeTexture9 ** | ppVolumeTexture, | ||
HANDLE * | pSharedHandle | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_DeletePatch | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
UINT | Handle | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_DrawIndexedPrimitive | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
D3DPRIMITIVETYPE | Type, | ||
INT | BaseVertexIndex, | ||
UINT | MinVertexIndex, | ||
UINT | NumVertices, | ||
UINT | startIndex, | ||
UINT | primCount | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_DrawIndexedPrimitiveUP | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
D3DPRIMITIVETYPE | PrimitiveType, | ||
UINT | MinIndex, | ||
UINT | NumVertices, | ||
UINT | PrimitiveCount, | ||
CONST void * | pIndexData, | ||
D3DFORMAT | IndexDataFormat, | ||
CONST void * | pVertexStreamZeroData, | ||
UINT | VertexStreamZeroStride | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_DrawPrimitive | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
D3DPRIMITIVETYPE | PrimitiveType, | ||
UINT | StartVertex, | ||
UINT | PrimitiveCount | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_DrawPrimitiveUP | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
D3DPRIMITIVETYPE | PrimitiveType, | ||
UINT | PrimitiveCount, | ||
CONST void * | pVertexStreamZeroData, | ||
UINT | VertexStreamZeroStride | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_DrawRectPatch | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
UINT | Handle, | ||
CONST float * | pNumSegs, | ||
CONST D3DRECTPATCH_INFO * | pRectPatchInfo | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_DrawTriPatch | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
UINT | Handle, | ||
CONST float * | pNumSegs, | ||
CONST D3DTRIPATCH_INFO * | pTriPatchInfo | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_EndScene | ( | LPDIRECT3DDEVICE9 | pD3Ddev | ) |
HRESULT APIENTRY hkIDirect3DDevice9_EndStateBlock | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
IDirect3DStateBlock9 ** | ppSB | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_EvictManagedResources | ( | LPDIRECT3DDEVICE9 | pD3Ddev | ) |
UINT APIENTRY hkIDirect3DDevice9_GetAvailableTextureMem | ( | LPDIRECT3DDEVICE9 | pD3Ddev | ) |
HRESULT APIENTRY hkIDirect3DDevice9_GetBackBuffer | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
UINT | iSwapChain, | ||
UINT | iBackBuffer, | ||
D3DBACKBUFFER_TYPE | Type, | ||
IDirect3DSurface9 ** | ppBackBuffer | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_GetClipPlane | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
DWORD | Index, | ||
float * | pPlane | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_GetClipStatus | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
D3DCLIPSTATUS9 * | pClipStatus | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_GetCreationParameters | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
D3DDEVICE_CREATION_PARAMETERS * | pParameters | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_GetCurrentTexturePalette | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
UINT * | pPaletteNumber | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_GetDepthStencilSurface | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
IDirect3DSurface9 ** | ppZStencilSurface | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_GetDeviceCaps | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
D3DCAPS9 * | pCaps | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_GetDirect3D | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
IDirect3D9 ** | ppD3D9 | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_GetDisplayMode | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
UINT | iSwapChain, | ||
D3DDISPLAYMODE * | pMode | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_GetFrontBufferData | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
UINT | iSwapChain, | ||
IDirect3DSurface9 * | pDestSurface | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_GetFVF | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
DWORD * | pFVF | ||
) |
void APIENTRY hkIDirect3DDevice9_GetGammaRamp | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
UINT | iSwapChain, | ||
D3DGAMMARAMP * | pRamp | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_GetIndices | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
IDirect3DIndexBuffer9 ** | ppIndexData | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_GetLight | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
DWORD | Index, | ||
D3DLIGHT9 * | pLight | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_GetLightEnable | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
DWORD | Index, | ||
BOOL * | pEnable | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_GetMaterial | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
D3DMATERIAL9 * | pMaterial | ||
) |
float APIENTRY hkIDirect3DDevice9_GetNPatchMode | ( | LPDIRECT3DDEVICE9 | pD3Ddev | ) |
unsigned int APIENTRY hkIDirect3DDevice9_GetNumberOfSwapChains | ( | LPDIRECT3DDEVICE9 | pD3Ddev | ) |
HRESULT APIENTRY hkIDirect3DDevice9_GetPaletteEntries | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
UINT | PaletteNumber, | ||
PALETTEENTRY * | pEntries | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_GetPixelShader | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
IDirect3DPixelShader9 ** | ppShader | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_GetPixelShaderConstantB | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
UINT | StartRegister, | ||
BOOL * | pConstantData, | ||
UINT | BoolCount | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_GetPixelShaderConstantF | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
UINT | StartRegister, | ||
float * | pConstantData, | ||
UINT | Vector4fCount | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_GetPixelShaderConstantI | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
UINT | StartRegister, | ||
int * | pConstantData, | ||
UINT | Vector4iCount | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_GetRasterStatus | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
UINT | iSwapChain, | ||
D3DRASTER_STATUS * | pRasterStatus | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_GetRenderState | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
D3DRENDERSTATETYPE | State, | ||
DWORD * | pValue | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_GetRenderTarget | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
DWORD | RenderTargetIndex, | ||
IDirect3DSurface9 ** | ppRenderTarget | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_GetRenderTargetData | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
IDirect3DSurface9 * | pRenderTarget, | ||
IDirect3DSurface9 * | pDestSurface | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_GetSamplerState | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
DWORD | Sampler, | ||
D3DSAMPLERSTATETYPE | Type, | ||
DWORD * | pValue | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_GetScissorRect | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
RECT * | pRect | ||
) |
BOOL APIENTRY hkIDirect3DDevice9_GetSoftwareVertexProcessing | ( | LPDIRECT3DDEVICE9 | pD3Ddev | ) |
HRESULT APIENTRY hkIDirect3DDevice9_GetStreamSource | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
UINT | StreamNumber, | ||
IDirect3DVertexBuffer9 ** | ppStreamData, | ||
UINT * | OffsetInBytes, | ||
UINT * | pStride | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_GetStreamSourceFreq | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
UINT | StreamNumber, | ||
UINT * | Divider | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_GetSwapChain | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
UINT | iSwapChain, | ||
IDirect3DSwapChain9 ** | pSwapChain | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_GetTexture | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
DWORD | Stage, | ||
IDirect3DBaseTexture9 ** | ppTexture | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_GetTextureStageState | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
DWORD | Stage, | ||
D3DTEXTURESTAGESTATETYPE | Type, | ||
DWORD * | pValue | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_GetTransform | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
D3DTRANSFORMSTATETYPE | State, | ||
D3DMATRIX * | pMatrix | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_GetVertexDeclaration | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
IDirect3DVertexDeclaration9 ** | ppDecl | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_GetVertexShader | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
IDirect3DVertexShader9 ** | ppShader | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_GetVertexShaderConstantB | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
UINT | StartRegister, | ||
BOOL * | pConstantData, | ||
UINT | BoolCount | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_GetVertexShaderConstantF | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
UINT | StartRegister, | ||
float * | pConstantData, | ||
UINT | Vector4fCount | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_GetVertexShaderConstantI | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
UINT | StartRegister, | ||
int * | pConstantData, | ||
UINT | Vector4iCount | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_GetViewport | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
D3DVIEWPORT9 * | pViewport | ||
) |
void hkIDirect3DDevice9_IDirect3DDevice9 | ( | LPDIRECT3DDEVICE9 | pD3Ddev | ) |
HRESULT APIENTRY hkIDirect3DDevice9_LightEnable | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
DWORD | LightIndex, | ||
BOOL | bEnable | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_MultiplyTransform | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
D3DTRANSFORMSTATETYPE | State, | ||
CONST D3DMATRIX * | pMatrix | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_Present | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
CONST RECT * | pSourceRect, | ||
CONST RECT * | pDestRect, | ||
HWND | hDestWindowOverride, | ||
CONST RGNDATA * | pDirtyRegion | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_ProcessVertices | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
UINT | SrcStartIndex, | ||
UINT | DestIndex, | ||
UINT | VertexCount, | ||
IDirect3DVertexBuffer9 * | pDestBuffer, | ||
IDirect3DVertexDeclaration9 * | pVertexDecl, | ||
DWORD | Flags | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_QueryInterface | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
REFIID | riid, | ||
LPVOID * | ppvObj | ||
) |
ULONG APIENTRY hkIDirect3DDevice9_Release | ( | LPDIRECT3DDEVICE9 | pD3Ddev | ) |
HRESULT APIENTRY hkIDirect3DDevice9_Reset | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
D3DPRESENT_PARAMETERS * | pPresentationParameters | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_SetClipPlane | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
DWORD | Index, | ||
CONST float * | pPlane | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_SetClipStatus | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
CONST D3DCLIPSTATUS9 * | pClipStatus | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_SetCurrentTexturePalette | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
UINT | PaletteNumber | ||
) |
void APIENTRY hkIDirect3DDevice9_SetCursorPosition | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
int | X, | ||
int | Y, | ||
DWORD | Flags | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_SetCursorProperties | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
UINT | XHotSpot, | ||
UINT | YHotSpot, | ||
IDirect3DSurface9 * | pCursorBitmap | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_SetDepthStencilSurface | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
IDirect3DSurface9 * | pNewZStencil | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_SetDialogBoxMode | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
BOOL | bEnableDialogs | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_SetFVF | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
DWORD | FVF | ||
) |
void APIENTRY hkIDirect3DDevice9_SetGammaRamp | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
UINT | iSwapChain, | ||
DWORD | Flags, | ||
CONST D3DGAMMARAMP * | pRamp | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_SetIndices | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
IDirect3DIndexBuffer9 * | pIndexData | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_SetLight | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
DWORD | Index, | ||
CONST D3DLIGHT9 * | pLight | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_SetMaterial | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
CONST D3DMATERIAL9 * | pMaterial | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_SetNPatchMode | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
float | nSegments | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_SetPaletteEntries | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
UINT | PaletteNumber, | ||
CONST PALETTEENTRY * | pEntries | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_SetPixelShader | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
IDirect3DPixelShader9 * | pShader | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_SetPixelShaderConstantB | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
UINT | StartRegister, | ||
CONST BOOL * | pConstantData, | ||
UINT | BoolCount | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_SetPixelShaderConstantF | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
UINT | StartRegister, | ||
CONST float * | pConstantData, | ||
UINT | Vector4fCount | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_SetPixelShaderConstantI | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
UINT | StartRegister, | ||
CONST int * | pConstantData, | ||
UINT | Vector4iCount | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_SetRenderState | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
D3DRENDERSTATETYPE | State, | ||
DWORD | Value | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_SetRenderTarget | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
DWORD | RenderTargetIndex, | ||
IDirect3DSurface9 * | pRenderTarget | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_SetSamplerState | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
DWORD | Sampler, | ||
D3DSAMPLERSTATETYPE | Type, | ||
DWORD | Value | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_SetScissorRect | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
CONST RECT * | pRect | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_SetSoftwareVertexProcessing | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
BOOL | bSoftware | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_SetStreamSource | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
UINT | StreamNumber, | ||
IDirect3DVertexBuffer9 * | pStreamData, | ||
UINT | OffsetInBytes, | ||
UINT | Stride | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_SetStreamSourceFreq | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
UINT | StreamNumber, | ||
UINT | Divider | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_SetTexture | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
DWORD | Stage, | ||
IDirect3DBaseTexture9 * | pTexture | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_SetTextureStageState | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
DWORD | Stage, | ||
D3DTEXTURESTAGESTATETYPE | Type, | ||
DWORD | Value | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_SetTransform | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
D3DTRANSFORMSTATETYPE | State, | ||
CONST D3DMATRIX * | pMatrix | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_SetVertexDeclaration | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
IDirect3DVertexDeclaration9 * | pDecl | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_SetVertexShader | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
IDirect3DVertexShader9 * | pShader | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_SetVertexShaderConstantB | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
UINT | StartRegister, | ||
CONST BOOL * | pConstantData, | ||
UINT | BoolCount | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_SetVertexShaderConstantF | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
UINT | StartRegister, | ||
CONST float * | pConstantData, | ||
UINT | Vector4fCount | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_SetVertexShaderConstantI | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
UINT | StartRegister, | ||
CONST int * | pConstantData, | ||
UINT | Vector4iCount | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_SetViewport | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
CONST D3DVIEWPORT9 * | pViewport | ||
) |
BOOL APIENTRY hkIDirect3DDevice9_ShowCursor | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
BOOL | bShow | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_StretchRect | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
IDirect3DSurface9 * | pSourceSurface, | ||
CONST RECT * | pSourceRect, | ||
IDirect3DSurface9 * | pDestSurface, | ||
CONST RECT * | pDestRect, | ||
D3DTEXTUREFILTERTYPE | Filter | ||
) |
HRESULT hkIDirect3DDevice9_takeScreenshot | ( | LPDIRECT3DDEVICE9 | pD3Ddev | ) |
HRESULT APIENTRY hkIDirect3DDevice9_TestCooperativeLevel | ( | LPDIRECT3DDEVICE9 | pD3Ddev | ) |
HRESULT APIENTRY hkIDirect3DDevice9_UpdateSurface | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
IDirect3DSurface9 * | pSourceSurface, | ||
CONST RECT * | pSourceRect, | ||
IDirect3DSurface9 * | pDestinationSurface, | ||
CONST POINT * | pDestPoint | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_UpdateTexture | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
IDirect3DBaseTexture9 * | pSourceTexture, | ||
IDirect3DBaseTexture9 * | pDestinationTexture | ||
) |
HRESULT APIENTRY hkIDirect3DDevice9_ValidateDevice | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
DWORD * | pNumPasses | ||
) |
void increaseConvergence | ( | ) |
void increaseSeparation | ( | ) |
void initSurfaces | ( | LPDIRECT3DDEVICE9 | pD3Ddev | ) |
BOOL IsDepthFormatOk | ( | IDirect3D9 * | pD3D9, |
D3DFORMAT | DepthFormat, | ||
D3DFORMAT | AdapterFormat, | ||
D3DFORMAT | BackBufferFormat | ||
) |
void move_view | ( | LPDIRECT3DDEVICE9 | pD3Ddev, |
MOVE_DIRECTION | move_dir | ||
) |
void readIni | ( | void | ) |
HRESULT APIENTRY VS_addcode_common | ( | char ** | ppIn, |
int | cond, | ||
char * | pFindOR, | ||
char ** | ppOut, | ||
char * | strSource, | ||
char * | strSource2, | ||
char * | strSource3 | ||
) |
HRESULT APIENTRY VS_addcode_ORe1_VS11_LS0 | ( | char ** | ppIn, |
char * | strOR, | ||
char ** | ppOut | ||
) |
HRESULT APIENTRY VS_addcode_ORe1_VS11_LS1 | ( | char ** | ppIn, |
char * | strOR, | ||
char ** | ppOut | ||
) |
HRESULT APIENTRY VS_addcode_ORe1_VS20_LS0 | ( | char ** | ppIn, |
char * | strOR, | ||
char ** | ppOut | ||
) |
HRESULT APIENTRY VS_addcode_ORe1_VS20_LS1 | ( | char ** | ppIn, |
char * | strOR, | ||
char ** | ppOut | ||
) |
HRESULT APIENTRY VS_addcode_ORe1_VS30_LS0 | ( | char ** | ppIn, |
char * | strOR, | ||
char ** | ppOut | ||
) |
HRESULT APIENTRY VS_addcode_ORe1_VS30_LS1 | ( | char ** | ppIn, |
char * | strOR, | ||
char ** | ppOut | ||
) |
HRESULT APIENTRY VS_addcode_ORgt1_VS11_LS0 | ( | char ** | ppIn, |
char * | strOR, | ||
char ** | ppOut | ||
) |
HRESULT APIENTRY VS_addcode_ORgt1_VS11_LS1 | ( | char ** | ppIn, |
char * | strOR, | ||
char ** | ppOut | ||
) |
HRESULT APIENTRY VS_addcode_ORgt1_VS20_LS0 | ( | char ** | ppIn, |
char * | strOR, | ||
char ** | ppOut | ||
) |
HRESULT APIENTRY VS_addcode_ORgt1_VS20_LS1 | ( | char ** | ppIn, |
char * | strOR, | ||
char ** | ppOut | ||
) |
HRESULT APIENTRY VS_addcode_ORgt1_VS30_LS0 | ( | char ** | ppIn, |
char * | strOR, | ||
char ** | ppOut | ||
) |
HRESULT APIENTRY VS_addcode_ORgt1_VS30_LS1 | ( | char ** | ppIn, |
char * | strOR, | ||
char ** | ppOut | ||
) |
HRESULT APIENTRY VS_appendDef_V11_LS0 | ( | char ** | ppOut | ) |
HRESULT APIENTRY VS_appendDef_V11_LS1 | ( | char ** | ppOut | ) |
HRESULT APIENTRY VS_appendDef_V20_LS0 | ( | char ** | ppOut | ) |
HRESULT APIENTRY VS_appendDef_V20_LS1 | ( | char ** | ppOut | ) |
HRESULT APIENTRY VS_appendDef_V30_LS0 | ( | char ** | ppOut | ) |
HRESULT APIENTRY VS_appendDef_V30_LS1 | ( | char ** | ppOut | ) |
HRESULT APIENTRY VS_replaceOR_V11 | ( | char ** | ppIn, |
int * | pcountOR, | ||
char * | pOR, | ||
char ** | ppOut | ||
) |
HRESULT APIENTRY VS_replaceOR_V20 | ( | char ** | ppIn, |
int * | pcountOR, | ||
char * | pOR, | ||
char ** | ppOut | ||
) |
HRESULT APIENTRY VS_replaceOR_V30 | ( | char ** | ppIn, |
int * | pcountOR, | ||
char * | pOR, | ||
char ** | ppOut | ||
) |
char BufPast[50000] |
CIni cIniObject |
float convergence |
int DominantEye = 0 |
DWORD dwFrames = 0 |
float fAbsTime = 0 |
bool firstTime1 = true |
float fLastTime = 0 |
int g_nFontSize = 24 |
ID3DXFont* g_pFont = NULL |
TCHAR g_strFont[LF_FACESIZE] |
int GID[MAX_GROUP] = { 0 } |
BOOL LaserSight = FALSE |
CD3DManager* m_pManager |
IDirect3DSurface9* m_pRenderSurfBackBuffer |
IDirect3DSurface9* m_pRenderSurfBackBufferDepthLeft |
IDirect3DSurface9* m_pRenderSurfBackBufferDepthRight |
D3DPRESENT_PARAMETERS m_PresentParam |
UINT m_refCount |
const int MAX_DRAW = 25 |
const int MAX_GROUP = 1 |
const int MAX_VS = 5000 |
int pixelShaderCount |
std::unordered_map<IDirect3DPixelShader9*, IDirect3DPixelShader9*> pPixelShader |
const int primHoldStill = 2 |
char pstrFPS[MAX_PATH] = "0 fps" |
IDirect3DSurface9* pSurfLeft |
IDirect3DSurface9* pSurfRight |
LARGE_INTEGER qwTicksPerSec = { 0 } |
LARGE_INTEGER qwTime = { 0 } |
bool renderLeft = true |
float separation |
int shaderCount |
int shaderCounter = 0 |
BOOL ShowFPS = TRUE |
BOOL Stereo_Enabled = TRUE |
settingsVS sVS = settingsVS() |