-
Notifications
You must be signed in to change notification settings - Fork 0
/
dxfunc.h
29 lines (24 loc) · 925 Bytes
/
dxfunc.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#ifndef __DXFUNC_H
#define __DXFUNC_H
#include <d3d9.h>
#include <d3dx9.h>
#include "common.h"
extern IDirect3DDevice9* Device;
extern ID3DXSprite* Sprite;
extern ID3DXFont* Font;
extern D3DXCOLOR Color;
extern D3DXMATRIX World;
extern D3DXMATRIX Translation;
extern D3DXMATRIX Rotation;
extern D3DXMATRIX Scaling;
void InitializeDevice();
void LoadTexture(char*, IDirect3DTexture9**);
void DrawTexture(IDirect3DTexture9*, float, float, float, float, float, float);
void DrawTexture(IDirect3DTexture9*, float, float, float, float, float);
void DrawTexture(IDirect3DTexture9*, float, float, float, float);
void DrawTexture(IDirect3DTexture9*, Location, float, float, float, float);
void DrawTexture(IDirect3DTexture9*, Location, float, float, float);
void DrawTexture(IDirect3DTexture9*, Location, float, float);
void DrawEnding(IDirect3DTexture9*, float, float, float, float);
void ReleaseDevice();
#endif // __DXFUNC_H