Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #pragma once
- #ifndef __AuroraDirect3D9Common_H__
- #define __AuroraDirect3D9Common_H__
- #define _AuroraExport __declspec(dllexport)
- #define _AuroraInline __inline
- #pragma comment (lib, "DxErr.lib")
- #include <d3d9.h>
- #include <d3dx9.h>
- #include <DxErr.h>
- namespace Aurora
- {
- namespace Gfx
- {
- typedef struct D3D9DisplayModeFormatEntry
- {
- const char* name;
- const int type;
- } D3D9DisplayModeFormatEntry;
- D3D9DisplayModeFormatEntry D3D9DisplayModeFormats[] = {
- { "A1R5G5B5", D3DFMT_A1R5G5B5 },
- { "A2R10G10B10", D3DFMT_A2R10G10B10 },
- { "A8R8G8B8", D3DFMT_A8R8G8B8 },
- { "R5G6B5", D3DFMT_R5G6B5 },
- { "X1R5G5B5", D3DFMT_X1R5G5B5 },
- { "X8R8G8B8", D3DFMT_X8R8G8B8 },
- };
- class D3D9Adapter;
- class D3D9RenderSystem;
- class D3D9Device;
- }
- }
- #endif
Advertisement
Add Comment
Please, Sign In to add comment