Rename basetypes to mathtypes
This commit is contained in:
parent
108be3035f
commit
e9308b839c
3 changed files with 4 additions and 2 deletions
|
@ -1,9 +1,11 @@
|
||||||
#ifndef _BASETYPES_H_
|
#ifndef _BASETYPES_H_
|
||||||
#define _BASETYPES_H_
|
#define _BASETYPES_H_
|
||||||
|
|
||||||
|
// Coordinate types
|
||||||
typedef short coord_t;
|
typedef short coord_t;
|
||||||
typedef unsigned short ucoord_t;
|
typedef unsigned short ucoord_t;
|
||||||
|
|
||||||
|
// Direction representation
|
||||||
enum dir_t : char
|
enum dir_t : char
|
||||||
{
|
{
|
||||||
N = 'N',
|
N = 'N',
|
|
@ -1,7 +1,7 @@
|
||||||
#ifndef _VECTOR2_H_
|
#ifndef _VECTOR2_H_
|
||||||
#define _VECTOR2_H_
|
#define _VECTOR2_H_
|
||||||
|
|
||||||
#include "basetypes.h"
|
#include "mathtypes.h"
|
||||||
|
|
||||||
struct vector2
|
struct vector2
|
||||||
{
|
{
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
#define _BOARD_H_
|
#define _BOARD_H_
|
||||||
|
|
||||||
#include "gametypes.h"
|
#include "gametypes.h"
|
||||||
#include "basetypes.h"
|
#include "mathtypes.h"
|
||||||
|
|
||||||
#include <limits> // std::numeric_limits
|
#include <limits> // std::numeric_limits
|
||||||
#include <vector> // std::vector
|
#include <vector> // std::vector
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue