Jump to content

  • Log In with Google      Sign In   
  • Create Account


#Actualchris2307

Posted 03 February 2013 - 04:27 PM

Should probably mention that I have a headers file:
#ifndef HEADERS_H
#define HEADERS_H

#define KEY_DOWN(vk_code)((GetAsyncKeyState(vk_code) & 0x8000) ? 1 : 0)

#include <windows.h>
#include <windowsx.h>
#include <vector>
#include <d3d9.h>
#include <d3dx9.h>
#include <string>
#include <fstream>
#include <iostream>
#include <string>
#include <ctime>
#include <sstream>
#include <cmath>


#pragma comment (lib, "d3d9.lib")
#pragma comment (lib, "d3dx9.lib")

#define SCREEN_WIDTH  1024 
#define SCREEN_HEIGHT 768

LPDIRECT3D9 d3d;                 // Pointer to Direct3D interface
LPDIRECT3DDEVICE9 d3dDevice;     // Pointer to the device class
LPD3DXSPRITE d3dSprite;          // Pointer to Direct3D Sprite interface

std::ofstream diagFile;

#endif

#2chris2307

Posted 03 February 2013 - 04:27 PM

Should probably mention that I have a headers file:
#ifndef HEADERS_H
#define HEADERS_H

#define KEY_DOWN(vk_code)((GetAsyncKeyState(vk_code) & 0x8000) ? 1 : 0)

#include <windows.h>
#include <windowsx.h>
#include <vector>
#include <d3d9.h>
#include <d3dx9.h>
#include <string>
#include <fstream>
#include <iostream>
#include <string>
#include <ctime>
#include <sstream>
#include <cmath>


#pragma comment (lib, "d3d9.lib")
#pragma comment (lib, "d3dx9.lib")

#define SCREEN_WIDTH  1024 
#define SCREEN_HEIGHT 768

LPDIRECT3D9 d3d;                 // Pointer to Direct3D interface
LPDIRECT3DDEVICE9 d3dDevice;     // Pointer to the device class
LPD3DXSPRITE d3dSprite;          // Pointer to Direct3D Sprite interface

std::ofstream diagFile;

#endif

#1chris2307

Posted 03 February 2013 - 04:27 PM

Should probably mention that I have a headers file:

 

[code=auto:0]

#ifndef HEADERS_H
#define HEADERS_H

#define KEY_DOWN(vk_code)((GetAsyncKeyState(vk_code) & 0x8000) ? 1 : 0)

#include <windows.h>
#include <windowsx.h>
#include <vector>
#include <d3d9.h>
#include <d3dx9.h>
#include <string>
#include <fstream>
#include <iostream>
#include <string>
#include <ctime>
#include <sstream>
#include <cmath>


#pragma comment (lib, "d3d9.lib")
#pragma comment (lib, "d3dx9.lib")

#define SCREEN_WIDTH  1024
#define SCREEN_HEIGHT 768

LPDIRECT3D9 d3d;                 // Pointer to Direct3D interface
LPDIRECT3DDEVICE9 d3dDevice;     // Pointer to the device class
LPD3DXSPRITE d3dSprite;          // Pointer to Direct3D Sprite interface

std::ofstream diagFile;

#endif

/[code=auto:0]


PARTNERS