mirror of
https://github.com/zenorogue/hyperrogue.git
synced 2025-10-14 13:57:38 +00:00
qHUGE_BOUNDED to detect bounded geometries not to be computed fully
This commit is contained in:
10
racing.cpp
10
racing.cpp
@@ -463,7 +463,11 @@ EX void generate_track() {
|
||||
if(WDIM == 3 || weirdhyperbolic) length = max(length - 10 * race_try, 10);
|
||||
|
||||
try {
|
||||
if(asonov::in()) {
|
||||
if(bounded && !prod && !(cgflags & qHUGE_BOUNDED)) {
|
||||
bounded_track = true;
|
||||
make_bounded_track(s);
|
||||
}
|
||||
else if(asonov::in()) {
|
||||
find_track(s, 0, length);
|
||||
}
|
||||
else if(sol && !asonov::in()) {
|
||||
@@ -484,10 +488,6 @@ EX void generate_track() {
|
||||
find_track(track.back(), 3, length/4);
|
||||
find_track(track.back(), 4, length/4);
|
||||
}
|
||||
else if(bounded && !prod) {
|
||||
bounded_track = true;
|
||||
make_bounded_track(s);
|
||||
}
|
||||
else find_track(s, 0, length);
|
||||
}
|
||||
catch(hr_track_failure&) {
|
||||
|
Reference in New Issue
Block a user