#include "dxGraphicsStateGuardian8.h"#include "config_dxgsg8.h"#include <d3dx8.h>#include "displayRegion.h"#include "renderBuffer.h"#include "geom.h"#include "geomSphere.h"#include "geomIssuer.h"#include "graphicsWindow.h"#include "graphicsChannel.h"#include "lens.h"#include "perspectiveLens.h"#include "ambientLight.h"#include "directionalLight.h"#include "pointLight.h"#include "spotlight.h"#include "textureAttrib.h"#include "lightAttrib.h"#include "cullFaceAttrib.h"#include "transparencyAttrib.h"#include "alphaTestAttrib.h"#include "depthTestAttrib.h"#include "depthWriteAttrib.h"#include "colorWriteAttrib.h"#include "texMatrixAttrib.h"#include "materialAttrib.h"#include "renderModeAttrib.h"#include "fogAttrib.h"#include "depthOffsetAttrib.h"#include "fog.h"#include <mmsystem.h>Go to the source code of this file.
Compounds | |
| struct | draw_sprite_vertex_less |
| struct | POS_COLOR_TEX_VERTEX |
| struct | POS_NORM_COLOR_TEX_VERTEX |
| struct | POS_TEX_VERTEX |
| class | WrappedSprite |
| CSN, 7/11/00. More... | |
| class | WrappedSpriteSortPtr |
Defines | |
| #define | DISABLE_POLYGON_OFFSET_DECALING |
| #define | NO_MULTIPLE_DISPLAY_REGIONS |
| #define | PER_NORMAL NormalOnly |
| #define | PER_COLOR ColorOnly |
| #define | PER_TEXCOORD TexCoordOnly |
| #define | VSHADER_XFORMMATRIX_CONSTANTREGNUMSTART 4 |
| #define | __D3DLIGHT_RANGE_MAX ((float)sqrt(FLT_MAX)) |
| #define | CountDPs(nv, nt) |
| #define | MY_D3DRGBA(r, g, b, a) ((D3DCOLOR) D3DCOLOR_COLORVALUE(r,g,b,a)) |
| #define | REQUIRED_DESTBLENDCAPS (D3DPBLENDCAPS_ZERO|D3DPBLENDCAPS_ONE| D3DPBLENDCAPS_SRCALPHA) |
| #define | REQUIRED_SRCBLENDCAPS (D3DPBLENDCAPS_ZERO|D3DPBLENDCAPS_ONE| D3DPBLENDCAPS_INVSRCALPHA) |
| #define | REQUIRED_TEXFILTERCAPS (D3DPTFILTERCAPS_MAGFLINEAR | D3DPTFILTERCAPS_MIPFPOINT | D3DPTFILTERCAPS_MINFLINEAR) |
| #define | TRILINEAR_MIPMAP_TEXFILTERCAPS (D3DPTFILTERCAPS_MIPFLINEAR | D3DPTFILTERCAPS_MINFLINEAR) |
| #define | REQUIRED_TEXBLENDCAPS (D3DTEXOPCAPS_MODULATE | D3DTEXOPCAPS_SELECTARG1 | D3DTEXOPCAPS_SELECTARG2) |
Enumerations | |
| enum | DrawLoopFlags { NothingSet = 0, NormalOnly, ColorOnly, Normal_Color, TexCoordOnly, Normal_TexCoord, Color_TexCoord, Normal_Color_TexCoord } |
| enum | DP_Type { DrawPrim, DrawIndexedPrim } |
| enum | GeomVertFormat { FlatVerts, IndexedVerts, MixedFmtVerts } |
Functions | |
| DWORD | Colorf_to_D3DCOLOR (const Colorf &cColorf) |
| void INLINE | TestDrawPrimFailure (DP_Type dptype, HRESULT hr, IDirect3DDevice8 *pD3DDevice, DWORD nVerts, DWORD nTris) |
| PT (SavedFrameBuffer) DXGraphicsStateGuardian8 | |
| Saves the indicated planes of the frame buffer (within the indicated display region) and returns it in some meaningful form that can be restored later via restore_frame_buffer(). | |
| bool | refill_tex_callback (TextureContext *tc, void *void_dxgsg_ptr) |
| bool | delete_tex_callback (TextureContext *tc, void *void_dxgsg_ptr) |
| bool | recreate_tex_callback (TextureContext *tc, void *void_dxgsg_ptr) |
| HRESULT | SetViewMatrix (D3DMATRIX &mat, D3DXVECTOR3 &vFrom, D3DXVECTOR3 &vAt, D3DXVECTOR3 &vWorldUp) |
| HRESULT | CreateDX8Cursor (LPDIRECT3DDEVICE8 pd3dDevice, HCURSOR hCursor, BOOL bAddWatermark) |
Variables | |
| const int | VERT_BUFFER_SIZE = (32*6*1024L) |
| D3DMATRIX | matIdentity |
| const char * | DP_Type_Strs [3] = {"DrawPrimitive","DrawIndexedPrimitive"} |
| POS_TEX_VERTEX | junk11 |
| POS_COLOR_TEX_VERTEX | junk22 |
| POS_NORM_COLOR_TEX_VERTEX | junk33 |
Definition in file dxGraphicsStateGuardian8.cxx.
|
|
Definition at line 100 of file dxGraphicsStateGuardian8.cxx. Referenced by DXGraphicsStateGuardian8::issue_alpha_test(), DXGraphicsStateGuardian8::issue_cull_face(), and DXGraphicsStateGuardian8::issue_render_mode(). |
|
|
Definition at line 123 of file dxGraphicsStateGuardian8.cxx. |
|
|
Definition at line 68 of file dxGraphicsStateGuardian8.cxx. |
|
|
Definition at line 126 of file dxGraphicsStateGuardian8.cxx. |
|
|
Definition at line 81 of file dxGraphicsStateGuardian8.cxx. |
|
|
Definition at line 92 of file dxGraphicsStateGuardian8.cxx. |
|
|
Definition at line 91 of file dxGraphicsStateGuardian8.cxx. |
|
|
Definition at line 93 of file dxGraphicsStateGuardian8.cxx. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Definition at line 96 of file dxGraphicsStateGuardian8.cxx. |
|
|
Definition at line 1147 of file dxGraphicsStateGuardian8.cxx. |
|
|
Definition at line 87 of file dxGraphicsStateGuardian8.cxx. |
|
|
Definition at line 1323 of file dxGraphicsStateGuardian8.cxx. |
|
|
_X86_ _X86_ Definition at line 135 of file dxGraphicsStateGuardian8.cxx. References DWORD. Referenced by DXGraphicsStateGuardian7::draw_prim_setup(), and DXGraphicsStateGuardian8::transform_color(). |
|
||||||||||||||||
|
Definition at line 5265 of file dxGraphicsStateGuardian8.cxx. |
|
||||||||||||
|
Definition at line 4874 of file dxGraphicsStateGuardian8.cxx. Referenced by DXGraphicsStateGuardian8::slot_new_clip_plane(). |
|
|
Saves the indicated planes of the frame buffer (within the indicated display region) and returns it in some meaningful form that can be restored later via restore_frame_buffer(). This is a helper function for push_frame_buffer() and pop_frame_buffer(). Definition at line 4743 of file dxGraphicsStateGuardian8.cxx. References DXGraphicsStateGuardian8::_last_testcooplevel_result. |
|
||||||||||||
|
Definition at line 4882 of file dxGraphicsStateGuardian8.cxx. |
|
||||||||||||
|
Definition at line 4864 of file dxGraphicsStateGuardian8.cxx. |
|
||||||||||||||||||||
|
Definition at line 5153 of file dxGraphicsStateGuardian8.cxx. |
|
||||||||||||||||||||||||
|
Definition at line 1150 of file dxGraphicsStateGuardian8.cxx. References D3DERRORSTRING. Referenced by DXGraphicsStateGuardian8::draw_line(), and DXGraphicsStateGuardian7::draw_point(). |
|
|
Definition at line 1148 of file dxGraphicsStateGuardian8.cxx. |
|
|
Definition at line 5438 of file dxGraphicsStateGuardian8.cxx. |
|
|
Definition at line 5439 of file dxGraphicsStateGuardian8.cxx. |
|
|
Definition at line 5440 of file dxGraphicsStateGuardian8.cxx. |
|
|
Definition at line 98 of file dxGraphicsStateGuardian8.cxx. Referenced by DXGraphicsStateGuardian8::DXGraphicsStateGuardian8(). |
|
|
Definition at line 77 of file dxGraphicsStateGuardian8.cxx. |
1.3