QTfrontend/ammoSchemeModel.cpp
changeset 4143 eb7981f34800
parent 4130 f437909ac9d4
child 4151 08b95ec1bfdf
--- a/QTfrontend/ammoSchemeModel.cpp	Fri Nov 05 21:59:02 2010 -0400
+++ b/QTfrontend/ammoSchemeModel.cpp	Fri Nov 05 22:32:00 2010 -0400
@@ -54,6 +54,8 @@
         << QVariant(4)             // mines number   28
         << QVariant(0)             // mine dud pct   29
         << QVariant(2)             // explosives     30
+        << QVariant(35)            // health case pct 31
+        << QVariant(25)            // health case amt 32
         ;
 
 AmmoSchemeModel::AmmoSchemeModel(QObject* parent, const QString & fileName) :
@@ -104,6 +106,8 @@
         << "minesnum"         // 28
         << "minedudpct"       // 29
         << "explosives"       // 30
+        << "healthprobability" // 31
+        << "healthcaseamount" // 32
         ;
 
     QList<QVariant> proMode;
@@ -139,6 +143,8 @@
         << QVariant(0)             // mines number   28
         << QVariant(0)             // mine dud pct   29
         << QVariant(2)             // explosives     30
+        << QVariant(35)            // health case pct 31
+        << QVariant(25)            // health case amt 32
         ;
 
     QList<QVariant> shoppa;
@@ -174,6 +180,8 @@
         << QVariant(0)             // mines number   28
         << QVariant(0)             // mine dud pct   29
         << QVariant(0)             // explosives     30
+        << QVariant(0)             // health case pct 31
+        << QVariant(25)            // health case amt 32
         ;
 
     QList<QVariant> cleanslate;
@@ -209,6 +217,8 @@
         << QVariant(4)             // mines number   28
         << QVariant(0)             // mine dud pct   29
         << QVariant(2)             // explosives     30
+        << QVariant(35)            // health case pct 31
+        << QVariant(25)            // health case amt 32
         ;
 
     QList<QVariant> minefield;
@@ -244,6 +254,8 @@
         << QVariant(80)            // mines number   28
         << QVariant(0)             // mine dud pct   29
         << QVariant(0)             // explosives     30
+        << QVariant(35)            // health case pct 31
+        << QVariant(25)            // health case amt 32
         ;
 
     QList<QVariant> barrelmayhem;
@@ -279,6 +291,8 @@
         << QVariant(0)             // mines number   28
         << QVariant(0)             // mine dud pct   29
         << QVariant(80)            // explosives     30
+        << QVariant(35)            // health case pct 31
+        << QVariant(25)            // health case amt 32
         ;
 
     QList<QVariant> tunnelhogs;
@@ -314,6 +328,8 @@
         << QVariant(10)            // mines number   28
         << QVariant(10)            // mine dud pct   29
         << QVariant(10)            // explosives     30
+        << QVariant(35)            // health case pct 31
+        << QVariant(25)            // health case amt 32
         ;
 
     schemes.append(defaultScheme);