#pragma once

#define WIN32_LEAN_AND_MEAN //cull out MFC and associated junk
#include <windows.h> //magic header file

#include <d3d9.h> //directX9 Header File
#include <d3dx9.h> //directX9 Helper Functions

//-----[ defines used in creation ]---------------------------
#define X_INCREMENT 8
#define Y_INCREMENT 4
#define TILE_WIDTH 64
#define TILE_HEIGHT 32
#define TILES_PER_ROW 18
#define TILES_PER_COLUMN 50
#define MAX_FRAME_RATE 60
#define LOCK_FRAME_RATE true

typedef POINT TILE;

//-----[ Error Reporting Global Functions ]------------------------------------------
void GameError (char* );		//definition of error reporting class
void GameError (const char* );	//may be used for other things besides errors...
void GameError (int errorOutput); // outputs ints to the output string
void GameError (const char* errorString, int errorOutput ); // outputs text and a number

//-----[ Global Focus Tools
void setWindowFocus( int windowFocus );
int getWindowFocus();

class GameCore{
public:
	enum DIRECTION { DOWN, LEFT, UP, RIGHT };
};
