Skip to content

Commit

Permalink
misc. not very notable changes
Browse files Browse the repository at this point in the history
  • Loading branch information
fl4shk committed Nov 13, 2022
1 parent c45d999 commit 4577375
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 19 deletions.
33 changes: 19 additions & 14 deletions dungeon.txt
Original file line number Diff line number Diff line change
@@ -1,14 +1,19 @@
~~~~~~~~~~~~~~~~~~~~~~~~~~
~##############~~~#######~
~#............#~~~#.....#~
~#.............,,,......#~
~#............#~~~#.....#~
~#####.########~~~#.....#~
~~~~~~,~~~~~~~~~~~#.....#~
~~~~~~,~~~~~~~~~###.....#~
~#####.#####~~~~#.......#~
~#.........#~~~~#.......#~
~#..........,,,,........#~
~#.........#~~~~#.......#~
~###########~~~~#.......#~
~~~~~~~~~~~~~~~~#########~

######## ##########
#......# #........#
#.......,,,,,,,,,.........#
#......# #....,...#
#####.## ######.###
, ,
, ,
, ,
,,,,,,,,,,,,,,,,,,
, ,
, ,
, ,
#####.###### #####.###
#..........# #.......#
#...........,,,,,........#
#..........# #.......#
############ #.......#
#########
10 changes: 5 additions & 5 deletions mountain_range.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
........................................
............&&&&&&&&&&&&&&&&&&&.........
........&&&&&& &&........
........& &........
........& &........
........& &........
........& &........
........& &........
........& ^^^^^^^^ &........
........& ^^^^^^^^ &........
........& ^^^^^^^^^ &........
........& ^^^ &........
........& ^^ &........
........& &........
........&& &&........
.........&&&&&&&&&&&&&&&&&&&&&&.........
Expand Down
2 changes: 2 additions & 0 deletions src/wfc_class.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -384,6 +384,7 @@ void Wfc::_gen() {
const CollapseTemps& ct
//= _calc_collapse_temps(guess_umap, guess_pos);
= _calc_collapse_temps(to_push.potential, guess_pos);
//= _calc_collapse_temps(potential, guess_pos);
Ddist ddist(ct.modded_weight_darr.begin(),
ct.modded_weight_darr.end());
to_collapse.clear();
Expand All @@ -408,6 +409,7 @@ void Wfc::_gen() {
//}
//need_pop = true;
_baktk_stk.top().erase_guess();
// hopefully this works?
if (_baktk_stk.top().guess_umap.size() == 0) {
#ifdef DEBUG
printout("failed `_propagate()`: ",
Expand Down

0 comments on commit 4577375

Please sign in to comment.