| 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 |  | extern HMODULE DDrDLLModule; | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 21 |  | extern HMODULE DDrONiModule; | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 22 |  |  | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 23 |  | extern bool opt_border; | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 24 |  | extern bool opt_topmost; | 
 
 
 
 
 
 
 
 | 25 | + | extern bool opt_gamma; | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 26 |  |  | 
 
 
 
 
 
 
 
 
 
 
 
 
 | 27 |  | #endif |