#include "..\stdafx.h"
#include "common++.h"
#include <d3d9.h>
#include <d3dx9.h>
#include <dxerr.h>
#include <dinput.h>
#include "Gdata.h"
Go to the source code of this file.
|
BOOL | Dx9CreateInterface (CWinApp *wapp) |
|
void | Dx9ReleaseInterface () |
|
LPDIRECT3DDEVICE9 | Dx9CreateGraphic (LPDIRECT3D9, D3DPRESENT_PARAMETERS *, HWND) |
|
LPDIRECTINPUTDEVICE8 | Dx9CreateMouse (LPDIRECTINPUT8, HWND) |
|
LPDIRECTINPUTDEVICE8 | Dx9CreateKeyBoard (LPDIRECTINPUT8, HWND) |
|
POINT | Dx9GetBackBuffer (LPDIRECT3DDEVICE9, LPDIRECT3DSURFACE9 *) |
|
BOOL | Dx9SurfaceFromMemory (LPDIRECT3DDEVICE9, LPDIRECT3DSURFACE9 *, CmnHead) |
|
BOOL | Dx9TextureFromMemory (LPDIRECT3DDEVICE9, LPDIRECT3DTEXTURE9 *, CmnHead) |
|
BOOL | Dx9SurfaceFromByteMemory (LPDIRECT3DDEVICE9, LPDIRECT3DSURFACE9 *, CmnHead) |
|
BOOL | Dx9SurfaceFromMemoryFile (LPDIRECT3DDEVICE9, LPDIRECT3DSURFACE9 *, CmnHead) |
|
BOOL | Dx9TextureFromByteMemory (LPDIRECT3DDEVICE9, LPDIRECT3DTEXTURE9 *, CmnHead) |
|
BOOL | Dx9TextureFromMemoryFile (LPDIRECT3DDEVICE9, LPDIRECT3DTEXTURE9 *, CmnHead) |
|
HRESULT | Dx9DrawPrimitive (LPDIRECT3DDEVICE9, D3DPRIMITIVETYPE, UINT, UINT) |
|
POINT | Dx9GetSurfaceSize (LPDIRECT3DSURFACE9 *lpsf) |
|
D3DCOLOR | Dx9Word2RGBA (uWord pp) |
|
D3DCOLOR | Dx9Word2ARGB (uWord pp) |
|
D3DCOLOR | Dx9Word2RGB (uWord pp) |
|
◆ CDXRELEASE
#define CDXRELEASE |
( |
| d | ) |
if((d)!=NULL){while((d)->Release());(d)=NULL;} |
Definition at line 38 of file Dx9.h.
◆ DIRECTINPUT_VERSION
#define DIRECTINPUT_VERSION DIRECTINPUT_HEADER_VERSION |
◆ DXMAXPRIMITIVE
#define DXMAXPRIMITIVE 32768 |
◆ DXRELEASE
#define DXRELEASE |
( |
| d | ) |
if((d)!=NULL){(d)->Release();(d)=NULL;} |