1
0
mirror of https://github.com/zenorogue/hyperrogue.git synced 2025-10-24 02:17:40 +00:00

size_known() does not ensure known trees -- added trees_known(), also implemented special Yendor generation for binary and bitruncated a4(<4)

This commit is contained in:
Zeno Rogue
2018-09-23 18:15:15 +02:00
parent c294c9f6c5
commit 65fabe89c6
2 changed files with 39 additions and 3 deletions

View File

@@ -361,6 +361,10 @@ bool sizes_known() {
return true;
}
bool trees_known() {
return sizes_known() && !(BITRUNCATED && a4 && S7 <= 5);
}
string expansion_analyzer::approximate_descendants(int d, int max_length) {
auto t = SDL_GetTicks();
while(isize(descendants) <= d && SDL_GetTicks() < t + 100)