Starshatter_Open
Open source Starshatter engine
|
#include "MemDebug.h"
#include "VideoDX9.h"
#include "VideoDX9Enum.h"
#include "VideoDX9VertexBuffer.h"
#include "TexDX9.h"
#include "TexCubeDX9.h"
#include "Camera.h"
#include "Color.h"
#include "DataLoader.h"
#include "Polygon.h"
#include "Light.h"
#include "Solid.h"
Go to the source code of this file.
Classes | |
class | VideoDX9SurfaceData |
class | VideoDX9SegmentData |
struct | VideoDX9ScreenVertex |
struct | VideoDX9NormalVertex |
struct | VideoDX9SolidVertex |
struct | VideoDX9LuminousVertex |
struct | VideoDX9DetailVertex |
struct | VideoDX9LineVertex |
Macros | |
#define | RELEASE(x) if (x) { x->Release(); x=NULL; } |
#define | F2DW(x) (*(DWORD*)(&x)) |
#define | DW2I(x) (*(int*)(&x)) |
Typedefs | |
typedef HRESULT(WINAPI * | LPDDCE )(GUID FAR *, LPVOID *, REFIID, IUnknown FAR *) |
Enumerations | |
enum | { DX9_STRATEGY_NONE, DX9_STRATEGY_SIMPLE, DX9_STRATEGY_GLOW, DX9_STRATEGY_SPECMAP, DX9_STRATEGY_EMISSIVE, DX9_STRATEGY_SPEC_EMISSIVE, DX9_STRATEGY_BLEND, DX9_STRATEGY_BLEND_DETAIL } |
Functions | |
void | Print (const char *msg,...) |
char * | D3DErrStr (HRESULT dderr) |
void | VideoDX9Error (const char *msg, HRESULT dderr) |
WORD | RampValue (UINT i, double recip_gamma, double fade) |
float | ReciprocalGamma (UINT i) |
float | GammaValue (UINT i) |
Variables | |
int | VD3D_describe_things |
List< Model > | model_clients |
D3DVERTEXELEMENT9 | videoDX9NormalVertexElements [] |
#define DW2I | ( | x | ) | (*(int*)(&x)) |
Definition at line 54 of file VideoDX9.cpp.
#define F2DW | ( | x | ) | (*(DWORD*)(&x)) |
Definition at line 50 of file VideoDX9.cpp.
#define RELEASE | ( | x | ) | if (x) { x->Release(); x=NULL; } |
Definition at line 46 of file VideoDX9.cpp.
typedef HRESULT(WINAPI * LPDDCE)(GUID FAR *, LPVOID *, REFIID, IUnknown FAR *) |
Definition at line 59 of file VideoDX9.cpp.
anonymous enum |
DX9_STRATEGY_NONE | |
DX9_STRATEGY_SIMPLE | |
DX9_STRATEGY_GLOW | |
DX9_STRATEGY_SPECMAP | |
DX9_STRATEGY_EMISSIVE | |
DX9_STRATEGY_SPEC_EMISSIVE | |
DX9_STRATEGY_BLEND | |
DX9_STRATEGY_BLEND_DETAIL |
Definition at line 229 of file VideoDX9.cpp.
char * D3DErrStr | ( | HRESULT | dderr | ) |
Definition at line 3530 of file VideoDX9.cpp.
|
inline |
Definition at line 852 of file VideoDX9.cpp.
|
inline |
Definition at line 830 of file VideoDX9.cpp.
|
inline |
Definition at line 841 of file VideoDX9.cpp.
void VideoDX9Error | ( | const char * | msg, |
HRESULT | dderr | ||
) |
Definition at line 3525 of file VideoDX9.cpp.
Definition at line 70 of file VideoDX9.cpp.
int VD3D_describe_things |
Definition at line 25 of file VideoDX9Enum.cpp.
D3DVERTEXELEMENT9 videoDX9NormalVertexElements[] |
Definition at line 163 of file VideoDX9.cpp.