Add more code to units to help distinguish between types and visual values
This commit is contained in:
parent
ea426c70c6
commit
9fc5f33de8
8 changed files with 67 additions and 29 deletions
|
@ -4,4 +4,12 @@
|
|||
typedef short coord_t;
|
||||
typedef unsigned short ucoord_t;
|
||||
|
||||
enum dir_t : char
|
||||
{
|
||||
N = 'N',
|
||||
S = 'S',
|
||||
E = 'E',
|
||||
W = 'W',
|
||||
};
|
||||
|
||||
#endif //_BASETYPES_H_
|
Loading…
Add table
Add a link
Reference in a new issue