ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/src/Daodan.h
Revision: 894
Committed: Sun Aug 11 22:31:16 2013 UTC (12 years, 2 months ago) by alloc
Content type: text/x-chdr
File size: 628 byte(s)
Log Message:
Daodan 3.5: Fix displaying screens larger than screen res

File Contents

# Content
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