Commit graph

15 commits

Author SHA1 Message Date
56da38792f Rooms are now automatically connected by pathfinding algorithm. 2013-08-20 21:46:59 +02:00
e469211e95 Added Vector2 class to replace sf::Vector2, featuring comparison operator. 2013-08-07 17:41:20 +02:00
602cc605e8 Changed procedural generation to use minimum spanning trees. 2013-08-07 00:13:04 +02:00
Felix Ableitner
51cf1d9c68 Added enemies back in.
Fixed a bug where Pathfinder areas were created incorrectly, also
added a debug draw function to Pathfinder
2013-06-21 17:40:39 +02:00
Felix Ableitner
94814e0172 Added own SimplexNoise class, cache noise values. 2013-06-21 17:40:26 +02:00
Felix Ableitner
12048ffc8c Areas are now generated on the fly based on player position 2013-05-20 23:01:01 +02:00
Felix Ableitner
73bb918a01 Added Generator::getEnemySpawns. 2013-05-08 11:20:31 +02:00
Felix Ableitner
f7b0d1348b Changed Generator to use std::map and Tile::Type. 2013-05-01 21:32:03 +02:00
Felix Ableitner
a2de030cbc Removed TileManager. 2013-04-29 16:49:16 +02:00
Felix Ableitner
0fc271495d Added Generator::getPlayerSpawn to find a valid spawn position. 2013-04-29 00:43:00 +02:00
Felix Ableitner
39cfb89f5e Changed Generator to use enum instead of bool. 2013-04-28 23:18:17 +02:00
Felix Ableitner
5be4a65653 Extracted Pathfinder class from World. 2013-04-28 18:12:30 +02:00
Felix Ableitner
ca6943f37d Added automatic area generation so path finding works on random maps. 2013-04-27 14:04:23 +02:00
Felix Ableitner
ef3553f74e Improved random map generation. 2013-04-18 10:05:17 +02:00
Felix Ableitner
59b6885b15 Moved generator into subfolder. 2013-04-12 20:34:48 +02:00
Renamed from source/Generator.h (Browse further)