/***************************************************************************/
/** @file       pch_dx.h
    @brief      共通で使用するマクロや定数の定義
    @author     shom
****************************************************************************/

#pragma once


//windows
#include <windows.h>
#include <mmsystem.h>

//エラー対処
#include <dxerr9.h>
#pragma comment( lib, "dxerr9.lib" )

//directx
#include <d3d9.h>
#include <d3dx9.h>
#include <d3dx9math.h>
#include <d3dx9mesh.h>
#pragma comment( lib, "d3d9.lib" )
#pragma comment( lib, "d3dx9.lib" )

#define DIRECTINPUT_VERSION 0x0800
#include <dinput.h>
#pragma comment( lib, "dxguid.lib" )
#pragma comment( lib, "dinput8.lib" )

