]> git.rm.cloudns.org Git - xonotic/netradiant.git/commitdiff
allow up to 31x31 patches
authordivverent <divverent@61c419a2-8eb2-4b30-bcec-8cead039b335>
Tue, 21 Jul 2009 17:22:59 +0000 (17:22 +0000)
committerdivverent <divverent@61c419a2-8eb2-4b30-bcec-8cead039b335>
Tue, 21 Jul 2009 17:22:59 +0000 (17:22 +0000)
git-svn-id: svn://svn.icculus.org/netradiant/trunk@388 61c419a2-8eb2-4b30-bcec-8cead039b335

radiant/patchmanip.cpp

index af278f990b2975fac86d9eeeb03ff1bdd7f25c8e..ac360b6f8ee44d4ff91028f75e06122ac5342513 100644 (file)
@@ -900,6 +900,14 @@ void DoNewPatchDlg()
         gtk_combo_box_append_text(combo, "11");
         gtk_combo_box_append_text(combo, "13");
         gtk_combo_box_append_text(combo, "15");
+        gtk_combo_box_append_text(combo, "17");
+        gtk_combo_box_append_text(combo, "19");
+        gtk_combo_box_append_text(combo, "21");
+        gtk_combo_box_append_text(combo, "23");
+        gtk_combo_box_append_text(combo, "25");
+        gtk_combo_box_append_text(combo, "27");
+        gtk_combo_box_append_text(combo, "29");
+        gtk_combo_box_append_text(combo, "31"); // MAX_PATCH_SIZE is 32, so we should be able to do 31...
         gtk_widget_show(GTK_WIDGET(combo));
         gtk_table_attach(table, GTK_WIDGET(combo), 1, 2, 0, 1,
                           (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),
@@ -916,6 +924,14 @@ void DoNewPatchDlg()
         gtk_combo_box_append_text(combo, "11");
         gtk_combo_box_append_text(combo, "13");
         gtk_combo_box_append_text(combo, "15");
+        gtk_combo_box_append_text(combo, "17");
+        gtk_combo_box_append_text(combo, "19");
+        gtk_combo_box_append_text(combo, "21");
+        gtk_combo_box_append_text(combo, "23");
+        gtk_combo_box_append_text(combo, "25");
+        gtk_combo_box_append_text(combo, "27");
+        gtk_combo_box_append_text(combo, "29");
+        gtk_combo_box_append_text(combo, "31"); // MAX_PATCH_SIZE is 32, so we should be able to do 31...
         gtk_widget_show(GTK_WIDGET(combo));
         gtk_table_attach(table, GTK_WIDGET(combo), 1, 2, 1, 2,
                           (GtkAttachOptions) (GTK_EXPAND | GTK_FILL),