#pragma once

#include "resource.h"
#define DIRECTINPUT_VERSION 0x0800

#include <windows.h>
#include <d3d9.h>
#include <d3dx9.h>
#include <MMSystem.h>
#include <d3dx9core.h>
#include <d3dx9mesh.h>
#include <Dinput.h>
#include <D3dx9tex.h>
#include <math.h>
#include <vector>


#include "SubdivisionAlgorithm.h"
#include "DXFile.h"
#include "XFile.h"
#include "d3dx9xof.h"
#include "MeshObject.h"
#include "MassSpringSystem.h"

#pragma comment (lib, "Dinput8.lib")
#pragma comment (lib, "DXguid.lib")
#pragma comment (lib, "d3d9.lib")
#pragma comment (lib, "d3dx9.lib")
#pragma comment(lib, "Winmm.lib")

#define KeyState(x) ((KeyStateBuffer[x] & 0x80) ? TRUE : FALSE)


