Framework for movement and action orders, plus some better organisation of the test code

This commit is contained in:
Marc Di Luzio 2014-12-16 13:13:00 +00:00
parent 008739dee6
commit 72b35dbc06
5 changed files with 115 additions and 44 deletions

View file

@ -3,6 +3,11 @@
#include <limits> // std::numeric_limits
#include "stdlib.h" // for size_t
template<class T, size_t N>
constexpr size_t _countof(T (&)[N]) { return N; }
// Coordinate types
typedef short coord_t;
typedef unsigned short ucoord_t;