summaryrefslogtreecommitdiff
path: root/src/win95/aw.h
diff options
context:
space:
mode:
authorSteven Fuller <relnev@icculus.org>2001-08-05 05:51:56 +0000
committerPatryk Obara <dreamer.tan@gmail.com>2019-08-20 02:22:36 +0200
commita5fdb9f7c852743d2d3c29d2db8862249929e3a0 (patch)
treebaa6ed008700b2669becbb7d75a22e1f8b109657 /src/win95/aw.h
parentf2c6ac73625670a1a99b665b75b1757e8bf4d3ec (diff)
Now in the Data loading phase.
Converted many '\\' to '/'. Partially implemented win32 file routines. Got texture code to work OK for now (still needs to be reimplemented). Partially implemented the main loop.
Diffstat (limited to 'src/win95/aw.h')
-rw-r--r--src/win95/aw.h14
1 files changed, 12 insertions, 2 deletions
diff --git a/src/win95/aw.h b/src/win95/aw.h
index a70be64..ed35da4 100644
--- a/src/win95/aw.h
+++ b/src/win95/aw.h
@@ -6,7 +6,12 @@ typedef struct AwBackupTexture * AW_BACKUPTEXTUREHANDLE;
typedef struct DIRECTDRAWSURFACE
{
- int x;
+ int id;
+
+ int w;
+ int h;
+ unsigned char *data;
+ int type;
} DIRECTDRAWSURFACE;
typedef DIRECTDRAWSURFACE * LPDIRECTDRAWSURFACE;
@@ -14,7 +19,12 @@ typedef DIRECTDRAWSURFACE DDSurface;
typedef struct DIRECT3DTEXTURE
{
- int x;
+ int id;
+
+ int w;
+ int h;
+ unsigned char *data;
+ int type;
} DIRECT3DTEXTURE;
typedef DIRECT3DTEXTURE * LPDIRECT3DTEXTURE;