lib/proceduralDunGen.h
/// Naively fill a rectangle of height & width at map[row][col] with floortype.
Naively fill a rectangle of height & width at map[row][col] with floortype.
Naively fill a rectangle of height & width at map [ row ] [ col ] with floortype .
void fillRectangle(int **map, int row, int col, int height, int width, enum tile floortype)
{
    for(int i = row; i < row+height; i++)
        for(int j = col; j < col+width; j++)
            map[i][j] = floortype;
}
void fillRectangle ( int * * map , int row , int col , int height , int width , enum tile floortype ) { for ( int i = row ; i < row + height ; i ++ ) for ( int j = col ; j < col + width ; j ++ ) map [ i ] [ j ] = floortype ; }
Naively fill a rectangle of height & width at map[row][col] with floortype.
Naively fill a rectangle of height & width at map [ row ] [ col ] with floortype .