Add more code to units to help distinguish between types and visual values

This commit is contained in:
Marc Di Luzio 2014-12-16 13:12:55 +00:00
parent ea426c70c6
commit 9fc5f33de8
8 changed files with 67 additions and 29 deletions

View file

@ -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_