ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/Daodan/src/Daodan.h
(Generate patch)

Comparing Daodan/src/Daodan.h (file contents):
Revision 273 by rossy, Tue Mar 17 09:55:12 2009 UTC vs.
Revision 894 by alloc, Sun Aug 11 22:31:16 2013 UTC

# Line 1 | Line 1
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 + 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;

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)