lib/proceduralDunGen.h
/// Step 'tiles' amount of tiles in the direction of inert.
Step 'tiles' amount of tiles in the direction of inert.
Step ' tiles ' amount of tiles in the direction of inert .
struct inertPoint follow(struct inertPoint inert, const int tiles)
{
    if (inert.dir == NORTH) inert.row = inert.row - tiles;
    if (inert.dir == SOUTH) inert.row = inert.row + tiles;
    if (inert.dir == WEST) inert.col = inert.col - tiles;
    if (inert.dir == EAST) inert.col = inert.col + tiles;
    return inert;
}
struct inertPoint follow ( struct inertPoint inert , const int tiles ) { if ( inert . dir == NORTH ) inert . row = inert . row - tiles ; if ( inert . dir == SOUTH ) inert . row = inert . row + tiles ; if ( inert . dir == WEST ) inert . col = inert . col - tiles ; if ( inert . dir == EAST ) inert . col = inert . col + tiles ; return inert ; }
Step 'tiles' amount of tiles in the direction of inert.
Step ' tiles ' amount of tiles in the direction of inert .