| 1 |
#ifndef DAODAN_H |
| 2 |
#define DAODAN_H |
| 3 |
|
| 4 |
#include <windows.h> |
| 5 |
#include <assert.h> |
| 6 |
#include "stdint.h" |
| 7 |
|
| 8 |
#define ONICALL __fastcall |
| 9 |
#define UUmType(t) typedef struct t t; |
| 10 |
|
| 11 |
#define DDmAssert(expr) assert(expr); |
| 12 |
|
| 13 |
typedef unsigned char UUtBool; |
| 14 |
#define UUcTrue ((UUtBool) 1) |
| 15 |
#define UUcFalse ((UUtBool) 0) |
| 16 |
|
| 17 |
typedef unsigned short UUtError; |
| 18 |
#define UUcError_None ((UUtError) 0) |
| 19 |
|
| 20 |
typedef unsigned char UUtUns8; |
| 21 |
typedef unsigned short UUtUns16; |
| 22 |
typedef unsigned int UUtUns32; |
| 23 |
typedef char UUtInt8; |
| 24 |
typedef short UUtInt16; |
| 25 |
typedef int UUtInt32; |
| 26 |
|
| 27 |
extern HMODULE DDrDLLModule; |
| 28 |
extern HMODULE DDrONiModule; |
| 29 |
|
| 30 |
#endif |