Commit graph

18 commits

Author SHA1 Message Date
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
260bb46ac6 Added documentation. 2013-07-21 11:02:14 +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
b47b323180 Added logging on area generation. 2013-05-26 20:57:37 +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
4b222e9c7a Switched to linux, updated sfml, thor. 2013-05-20 12:07:05 +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
b52af711a0 Changed tile generation, decreased tile size. 2013-04-27 19:42:44 +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