]> Shamusworld >> Repos - thunder/blob - src/types.h
c65b5f586fcb40ff12d0d923af0aa3bbeab49834
[thunder] / src / types.h
1 //
2 // TYPES.H
3 //
4
5 #ifndef __TYPES_H__
6 #define __TYPES_H__
7
8 // This is only good on certain intel 32-bit platforms...
9 // You may need to tweak to suit your specific platform.
10
11 typedef unsigned char           uint8;
12 typedef signed char                     int8;
13 typedef unsigned short          uint16;
14 typedef signed short            int16;
15 typedef unsigned                        uint32;
16 typedef signed                          int32;
17 typedef unsigned long long      uint64;
18 typedef signed long long        int64;
19
20 typedef uint8   UINT8;
21 typedef int8    INT8;
22 typedef uint16  UINT16;
23 typedef int16   INT16;
24 typedef uint32  UINT32;
25 typedef int32   INT32;
26 typedef uint64  UINT64;
27 typedef int64   INT64;
28
29 typedef uint8   BYTE;
30 typedef uint16  WORD;
31 //ugly, ugly kludge
32 #ifndef __SDLEMU_OPENGL_H__
33 typedef uint32  DWORD;
34 #endif
35 typedef int8    SBYTE;
36 typedef int16   SWORD;
37 typedef int32   SDWORD;
38
39 #endif  // __TYPES_H__