2007-05-12 19:43:01 +00:00
|
|
|
#ifndef _DDRAWTEST_H
|
|
|
|
#define _DDRAWTEST_H
|
|
|
|
|
|
|
|
#include <stdio.h>
|
|
|
|
#include <windows.h>
|
2007-06-07 19:03:11 +00:00
|
|
|
#include <stdio.h>
|
2007-05-12 19:43:01 +00:00
|
|
|
#include <ddraw.h>
|
2007-06-07 19:03:11 +00:00
|
|
|
#include <ddrawi.h>
|
|
|
|
#include <d3dhal.h>
|
|
|
|
#include <ddrawgdi.h>
|
2007-05-12 19:43:01 +00:00
|
|
|
|
|
|
|
#define TEST(x) \
|
|
|
|
if (x)\
|
|
|
|
{\
|
|
|
|
(*passed)++;\
|
|
|
|
} else {\
|
|
|
|
(*failed)++;\
|
|
|
|
printf("Test failed in %s:%d (%s)\n", __FILE__, __LINE__, #x);\
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
/* The type definitions */
|
|
|
|
typedef BOOL (*TESTPROC)(INT*, INT*);
|
|
|
|
|
|
|
|
typedef struct tagTEST
|
|
|
|
{
|
|
|
|
CHAR* Test;
|
|
|
|
TESTPROC Proc;
|
|
|
|
} TEST, *PTEST;
|
|
|
|
|
|
|
|
|
|
|
|
extern TEST TestList[];
|
|
|
|
|
|
|
|
#endif /* _DDRAWTEST_H */
|
|
|
|
|
|
|
|
/* EOF */
|