summaryrefslogtreecommitdiff
path: root/bench
diff options
context:
space:
mode:
authorBenji Dial <benji6283@gmail.com>2023-11-25 18:15:30 -0500
committerBenji Dial <benji6283@gmail.com>2023-11-25 18:15:30 -0500
commiteab56a7f006f5a73c2b7eb984b2aae72bc898212 (patch)
tree9a88abaf9fc474948cf0f0055d39c6911d2d8a92 /bench
parent5141b88157d02040e20a59b923cc672dd7fdc875 (diff)
downloadlib94-eab56a7f006f5a73c2b7eb984b2aae72bc898212.tar.gz
allow more control over init_round, rewrite tabulator and make it run every possible separation and turn order exactly once
Diffstat (limited to 'bench')
-rw-r--r--bench/bench_window.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/bench/bench_window.cpp b/bench/bench_window.cpp
index 99d7926..08f2236 100644
--- a/bench/bench_window.cpp
+++ b/bench/bench_window.cpp
@@ -194,7 +194,7 @@ void bench_window::on_click_new_round() {
.bnumber = 0
});
- if (!lib94::init_round(warriors.data(), warriors.size())) {
+ if (!lib94::init_round(warriors.data(), warriors.size(), 0, true)) {
Gtk::MessageDialog *md = new Gtk::MessageDialog("warriors do not fit in core; removing last warrior");
md->set_transient_for(*this);
md->set_modal();
@@ -208,7 +208,7 @@ void bench_window::on_click_new_round() {
update_ui();
return;
}
- assert(lib94::init_round(warriors.data(), warriors.size()));
+ assert(lib94::init_round(warriors.data(), warriors.size(), 0, true));
}
core.mut.lock();