HOG2
utils
MapGenerators.h
Go to the documentation of this file.
1
//
2
// Maze.h
3
// hog2 glut
4
//
5
// Created by Nathan Sturtevant on 2/5/14.
6
// Copyright (c) 2014 University of Denver. All rights reserved.
7
//
8
9
#ifndef MAP_GENERATOR_H
10
#define MAP_GENERATOR_H
11
12
#include "
Map.h
"
13
14
void
MakeMaze
(
Map
*map,
int
width
= 1,
int
startx = -1,
int
starty = -1);
15
//void MakeMaze(Map *map, int pathSize);
16
void
MakeMaze
(
Map
*m,
float
straightPercent,
float
branchPercent);
17
void
MakeRandomMap
(
Map
*map,
int
obstacles);
18
void
MakePseudoMaze
(
Map
*map,
int
pathSize);
19
void
BuildRandomRoomMap
(
Map
*map,
int
roomSize,
int
openingProbability=80);
20
Map
*
MakeWarehouseMap
(
int
columns,
int
rows,
int
corridor,
int
shelfWidth,
int
shelfHeight,
int
leftMargin,
int
rightMargin);
21
22
#endif
/* defined(MAP_GENERATOR_H) */
BuildRandomRoomMap
void BuildRandomRoomMap(Map *map, int roomSize, int openingProbability=80)
Definition:
MapGenerators.cpp:233
MakeWarehouseMap
Map * MakeWarehouseMap(int columns, int rows, int corridor, int shelfWidth, int shelfHeight, int leftMargin, int rightMargin)
Definition:
MapGenerators.cpp:388
width
int width
Definition:
SFML_HOG.cpp:54
MakeRandomMap
void MakeRandomMap(Map *map, int obstacles)
Definition:
MapGenerators.cpp:279
MakeMaze
void MakeMaze(Map *map, int width=1, int startx=-1, int starty=-1)
MakeMaze(map)
Definition:
MapGenerators.cpp:96
MakePseudoMaze
void MakePseudoMaze(Map *map, int pathSize)
MakeMaze(map, pathsize)
Definition:
MapGenerators.cpp:20
Map.h
Map
A tile-based representation of the world.
Definition:
Map.h:142
Generated by
1.8.17