From e9308b839c997e3a47bd27dbd9985cf637afb453 Mon Sep 17 00:00:00 2001 From: Marc Di Luzio Date: Tue, 16 Dec 2014 13:12:59 +0000 Subject: [PATCH] Rename basetypes to mathtypes --- maths/{basetypes.h => mathtypes.h} | 2 ++ maths/vector2.h | 2 +- ui/board.h | 2 +- 3 files changed, 4 insertions(+), 2 deletions(-) rename maths/{basetypes.h => mathtypes.h} (70%) diff --git a/maths/basetypes.h b/maths/mathtypes.h similarity index 70% rename from maths/basetypes.h rename to maths/mathtypes.h index a0d88c2..8dfdd5f 100644 --- a/maths/basetypes.h +++ b/maths/mathtypes.h @@ -1,9 +1,11 @@ #ifndef _BASETYPES_H_ #define _BASETYPES_H_ +// Coordinate types typedef short coord_t; typedef unsigned short ucoord_t; +// Direction representation enum dir_t : char { N = 'N', diff --git a/maths/vector2.h b/maths/vector2.h index 446a68d..fe00dec 100644 --- a/maths/vector2.h +++ b/maths/vector2.h @@ -1,7 +1,7 @@ #ifndef _VECTOR2_H_ #define _VECTOR2_H_ -#include "basetypes.h" +#include "mathtypes.h" struct vector2 { diff --git a/ui/board.h b/ui/board.h index d36ab3a..38703a4 100644 --- a/ui/board.h +++ b/ui/board.h @@ -2,7 +2,7 @@ #define _BOARD_H_ #include "gametypes.h" -#include "basetypes.h" +#include "mathtypes.h" #include // std::numeric_limits #include // std::vector