From eab56a7f006f5a73c2b7eb984b2aae72bc898212 Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Sat, 25 Nov 2023 18:15:30 -0500 Subject: allow more control over init_round, rewrite tabulator and make it run every possible separation and turn order exactly once --- bench/bench_window.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'bench') 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(); -- cgit v1.2.3