////////////////////////////////////////////////////////
// filename: defcha3dcore.h
// author: Chafumi Touji
// version: 1.0.0
// date: 2020/03/05
////////////////////////////////////////////////////////

#ifndef __DEFCHA3DCORE_H__
#define __DEFCHA3DCORE_H__

#define _XM_NO_INTRINSICS_

#define SIZE_CHAR_MAX	1024
#define FLOAT_STRING_SIZE	8 * 16
#define INDEX_STRING_SIZE	8 * 16

#include <stdio.h>
#include <locale.h>
#include <tchar.h>
#include <d3dx11.h>
#include <d3dx11tex.h>

#pragma comment( lib, "d3d11.lib" )
#pragma comment( lib, "d3dx11.lib" )

using namespace std;

#import "msxml3.dll"
using namespace MSXML2;

#define SAFE_RELEASE(p) { if( p ) { (p)->Release(); (p) = NULL;}}

#include "common.h"
#include "CVector.h"
#include "defcha3dcore.h"
#include "ChaDataObject.h"
#include "ChaResourceObject.h"


#endif