Implement the monocle of truth, closes#62
Yohann D'ANELLO
2021-01-08 15:48:12 +0100
5424c7cd98Nicer default parameters
Charles Peyrat
2021-01-08 15:20:32 +0100
dab84738d9Remove the starting room door only if it really shouldn't be here; also account for the new randomized placement in removing lone door tile
Charles Peyrat
2021-01-08 15:18:13 +0100
Change hint whenever the T key is pressed or not
Yohann D'ANELLO
2021-01-08 15:07:35 +0100
8d7e264381Fix a bug where the generator could crash by trying to place the starting room out of bounds; starting room position is now random
Charles Peyrat
2021-01-08 15:06:38 +0100
Only read required keys in settings file
Yohann D'ANELLO
2021-01-08 11:07:38 +0100
6673b67ffeRepaired spawn of trumpets.
eichhornchen
2021-01-08 10:58:40 +0100
c06f903a16Fix a typo that made corridors unable to be built
Charles Peyrat
2021-01-08 07:41:00 +0100
c6947fab44Integrate the new map generation into the game ! Closes#5
Charles Peyrat
2021-01-08 07:39:52 +0100
641f5c7872Make generation more sparse by asking for extra space around rooms; also add out of bounds option to Map.neighbourhood
Charles Peyrat
2021-01-08 07:38:47 +0100
605696ddddRevamp door placing algorithm so that it generates cleaner doors; also remove lone starting room door from level
Charles Peyrat
2021-01-08 07:36:31 +0100
5ba07afc9fFix typo in parameter names
Charles Peyrat
2021-01-08 07:05:02 +0100
e21d4d230cAdd missing termination condition
Charles Peyrat
2021-01-08 07:04:24 +0100
b0ac580677Fix place_walls, that placed floors instead ...
Charles Peyrat
2021-01-08 07:03:49 +0100
d362bdc949Fix place_room and add missing argument
Charles Peyrat
2021-01-08 06:58:02 +0100
9c252a2bbcCorrect out of bounds errors and add missing arguments to range call
Charles Peyrat
2021-01-08 06:54:01 +0100
c959a9d865Update tests because Map.neighbourhood became a static method
Charles Peyrat
2021-01-08 05:42:12 +0100
8475e5228eLarge neighbourhood shouldn't return the central cell
Charles Peyrat
2021-01-08 05:41:16 +0100
20cbf546f9Correct formulas for random enumeration of a grid
Charles Peyrat
2021-01-08 05:21:31 +0100
49e261557cFix typos
Charles Peyrat
2021-01-08 05:14:46 +0100
abbad0f352Fix formulas in place_room and room_fits
Charles Peyrat
2021-01-08 05:14:32 +0100
05ccd0e339Circular rooms should not try to generate any holes if their radius isn't large enough
Charles Peyrat
2021-01-08 04:51:20 +0100
c6f66d95f2Fix typos
Charles Peyrat
2021-01-08 04:48:32 +0100
6fbc757f1eImplement method place_walls
Charles Peyrat
2021-01-08 04:43:10 +0100
ffa7641b21Made Map.neighbourhood a static method
Charles Peyrat
2021-01-08 04:36:57 +0100
3229eb8ea7Implement place_room method
Charles Peyrat
2021-01-08 03:45:26 +0100
42f0c195aaAdd prototype for create_random_room; change return value of attach_doors and create_circular_room so we have info on door direction; minor syntax change
Charles Peyrat
2021-01-08 03:43:20 +0100
ddbd0299a0Implement method room_fits
Charles Peyrat
2021-01-08 03:38:37 +0100
5cbf15bef5Return value of Generator.run should be a Map
Charles Peyrat
2021-01-08 03:37:10 +0100
bb3422f7d8Add main generation loop
Charles Peyrat
2021-01-08 03:19:59 +0100
fb47c15d6bMerge branch 'equipment' into 'master'ynerant2021-01-08 02:19:29 +0100