Pol  Revision:cb584c9
utype.h
Go to the documentation of this file.
1 
7 #ifndef __UTYPE_H
8 #define __UTYPE_H
9 
10 #ifndef CLIB_RAWTYPES_H
11 #include "../clib/rawtypes.h"
12 #endif
13 
14 // I'm thinking of using these as parameters to functions, and as the
15 // member variable types in UObject, Item, Character, and UContainer,
16 // rather than explictly u32, u16 etc - more self-documenting.
17 // Probably not in the message types, though - those would stay
18 // whatever raw types.
19 // Can't decide between USERIAL, UXCOORD, and USerial, UXCoord, either.
20 
21 typedef u32 USERIAL;
22 typedef u16 UOBJTYPE;
23 typedef u16 UCOLOR;
24 typedef u16 UXCOORD;
25 typedef u16 UYCOORD;
26 typedef s8 UZCOORD;
27 
28 
29 #endif
s8 UZCOORD
Definition: utype.h:26
u32 USERIAL
Definition: utype.h:21
unsigned short u16
Definition: rawtypes.h:26
unsigned int u32
Definition: rawtypes.h:27
u16 UXCOORD
Definition: utype.h:24
u16 UCOLOR
Definition: utype.h:23
signed char s8
Definition: rawtypes.h:29
u16 UOBJTYPE
Definition: utype.h:22
u16 UYCOORD
Definition: utype.h:25