| 1 | 
 – | 
 #pragma once | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 1 | 
   | 
 #ifndef DAODAN_H | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 2 | 
   | 
 #define DAODAN_H | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 3 | 
   | 
  | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 4 | 
   | 
 #include <windows.h> | 
 
 
 
 
 
 
 
 
 
 
 
 | 5 | 
 < | 
 #include <stdbool.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 | 
   | 
  | 
 
 
 
 
 
 
 
 
 
 | 13 | 
 – | 
 extern bool opt_border; | 
 
 
 
 
 
 
 
 
 
 | 14 | 
 – | 
 extern bool opt_shadow; | 
 
 
 
 
 
 
 
 
 
 | 15 | 
 – | 
 extern bool opt_topmost; | 
 
 
 
 
 
 
 
 
 
 | 16 | 
 – | 
  | 
 
 
 
 
 
 
 
 
 
 
 
 
 
 | 23 | 
   | 
 #endif |