blob: 4a4ecec4981c8f828c47a28bc80239658b76c7e6 (
plain)
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
30
31
32
33
34
35
36
37
|
#ifndef _INCLUDED_AW_H_
#define _INCLUDED_AW_H_
struct AwBackupTexture;
typedef struct AwBackupTexture * AW_BACKUPTEXTUREHANDLE;
// fake type used by opengl.c
typedef struct DIRECTDRAWSURFACE
{
unsigned char *buf;
int id;
unsigned int w;
unsigned int h;
unsigned int IsNpot;
unsigned int TexWidth;
unsigned int TexHeight;
float RecipW;
float RecipH;
int hasAlpha;
int hasChroma;
int filter;
} DIRECTDRAWSURFACE;
typedef DIRECTDRAWSURFACE * LPDIRECTDRAWSURFACE;
typedef DIRECTDRAWSURFACE DDSurface;
typedef DIRECTDRAWSURFACE DIRECT3DTEXTURE;
typedef DIRECT3DTEXTURE * LPDIRECT3DTEXTURE;
typedef DIRECT3DTEXTURE D3DTexture;
typedef int D3DTEXTUREHANDLE;
#endif /* _INCLUDED_AW_H_ */
|