Framework for movement and action orders, plus some better organisation of the test code
This commit is contained in:
parent
008739dee6
commit
72b35dbc06
5 changed files with 115 additions and 44 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue