Commit Graph

92 Commits

Author SHA1 Message Date
klangner
f6d1f2ac75 Merge branch 'master' of https://github.com/klangner/mapgen.rs 2021-08-26 17:11:18 +02:00
klangner
f65a5f3c6e Test for overflow 2021-08-26 17:11:14 +02:00
Krzysztof Langner
289e693092
Merge pull request #38 from ndarilek/master
Guard against overflows.
2021-08-26 17:08:49 +02:00
9095605092 Guard against overflows. 2021-08-25 12:48:00 -05:00
klangner
b9d633eb52 v 0.5.1 2021-08-11 16:08:30 +02:00
Krzysztof Langner
363b90cde9
Merge pull request #37 from ndarilek/master
Add getter for index.
2021-07-15 10:01:58 +02:00
96720c5662 Add getter for index. 2021-07-13 12:17:51 -05:00
klangner
e50c26356e Added index to the Tile 2021-06-28 17:11:51 +02:00
klangner
082f251143 Version 0.5 2021-06-28 17:08:09 +02:00
klangner
d513dcda8f changed TileType to struct 2021-06-28 17:06:47 +02:00
klangner
5c440c17ba Improved map selection in demo app 2021-01-15 14:26:19 +01:00
klangner
1474324a1e Better map selection. Prepare for prefabs 2021-01-15 14:24:52 +01:00
klangner
56417cf9b4 Metrics Fixed: #20, Fixed #21. 2021-01-14 12:18:31 +01:00
Krzysztof Langner
f25b454c00
Merge pull request #34 from ndarilek/master
Upgrade to rand 0.8.
2021-01-12 18:58:55 +01:00
a01cbb36ab Bump sample count to get test passing. 2021-01-12 10:27:33 -06:00
92627630d3 Upgrade to rand 0.8. 2021-01-12 09:16:49 -06:00
klangner
128c8104b2 updated demo 2020-11-19 21:00:36 +01:00
klangner
2e4fba61e4 implemented Voronoi Hive. Fixed: 30 2020-11-19 20:53:34 +01:00
klangner
a14aaee0a7 Improved README example 2020-11-03 09:24:33 +01:00
klangner
569d751031 Added maze Fixed #28 2020-11-03 09:04:33 +01:00
klangner
322eca52cf bsp rooms 2020-10-22 22:35:46 +02:00
klangner
f231a5f4d6 BSP Rooms as an example 2020-10-22 22:35:06 +02:00
klangner
fc1bebb4c3 Create map with the given size 2020-10-19 21:39:30 +02:00
klangner
89e9bf072e smaller example1 2020-10-19 21:35:24 +02:00
klangner
3334184ad8 Cell size depends on map size 2020-10-19 21:28:01 +02:00
klangner
16f4eb141b fixed doc 2020-10-19 20:14:36 +02:00
klangner
21fa869081 Refactoring 2020-10-19 20:08:40 +02:00
klangner
45c76e18c7 Fixed #13. Show starting end exit point 2020-10-18 21:40:40 +02:00
klangner
ee8f9aa273 Renamed const to ipper cases 2020-10-18 20:44:08 +02:00
klangner
d6b7c29736 refactore draw_tile 2020-10-18 13:07:36 +02:00
klangner
6d25e17e44 fixed assets location 2020-10-17 22:30:28 +02:00
klangner
633ec7a535 copy assets with webpack 2020-10-17 22:27:05 +02:00
klangner
422ad9ee08 generated demo to gh-pages 2020-10-17 22:22:32 +02:00
klangner
50d25f3103 better walls 2020-10-17 22:11:21 +02:00
klangner
217685055e bump version 2020-10-17 21:52:57 +02:00
klangner
ce34d237fa Drunkard can use up to col and row 0 2020-10-17 21:51:43 +02:00
klangner
8ba9fa304a Added tiles. Fixed #11 2020-10-17 21:47:59 +02:00
klangner
e7a02ed91f Link to github page Fixed #19 2020-10-17 19:22:57 +02:00
klangner
a228846d35 Fixed README example 2020-10-17 18:25:16 +02:00
klangner
26ff48f5f7 bump version 0.4 2020-10-17 18:07:20 +02:00
klangner
df1e52ad26 Fixed bsp-interior corridors 2020-10-17 18:02:50 +02:00
klangner
4434a35022 Added examples and tests 2020-10-17 17:31:32 +02:00
klangner
3e40de60a5 refactored to new 2020-10-17 12:19:01 +02:00
klangner
dc66f7e11b removed mutable variable 2020-10-17 12:08:33 +02:00
klangner
8f2c07c4ae Remove unreachable areas. Fixed #16 2020-10-16 08:13:43 +02:00
klangner
bd7b12e57d Added seed 2020-10-15 22:24:14 +02:00
klangner
4b8bb89110 refactored MapBuilder 2020-09-25 15:09:08 +02:00
klangner
be1d9e95bb Added NoiseGenerator 2020-09-23 10:31:13 +02:00
klangner
416cd633eb updated demo 2020-09-22 20:54:19 +02:00
klangner
ce1229830f vwr 0.3 2020-09-22 20:45:49 +02:00