direction
# define direction(abs,rel) (((abs) + (rel)) % NUMDIRECTIONS)
direction(int dx, int dy, int ratio)
enum direction {