while it is still possible: renamed select:cyclic to select:equal.

Added "equal proportional" and "equal nonempty" for symmetry.
select:equal now takes weights into account.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1342 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2009-01-11 01:36:17 +00:00
parent c8dd777bca
commit 8b9c2b4064
4 changed files with 190 additions and 107 deletions
+2 -2
View File
@@ -373,7 +373,7 @@ CustomPackDialog::CustomPackDialog(Window* parent, const SetP& set, const PackTy
}
void CustomPackDialog::updateTotals() {
generator.gen.seed(0);
generator.reset(0);
int total_packs = 0;
FOR_EACH(pick,pickers) {
int copies = pick.value->GetValue();
@@ -636,7 +636,7 @@ void RandomPackPanel::onPackTypeClick(wxCommandEvent& ev) {
void RandomPackPanel::updateTotals() {
#if USE_NEW_PACK_SYSTEM
generator.gen.seed((unsigned)last_seed);
generator.reset(last_seed);
#else
totals->clear();
#endif