QTfrontend/ammoSchemeModel.cpp
changeset 3743 234ce4da76d4
parent 3494 208c5671b202
child 3943 9835060e5c01
--- a/QTfrontend/ammoSchemeModel.cpp	Tue Aug 17 19:43:17 2010 -0400
+++ b/QTfrontend/ammoSchemeModel.cpp	Fri Aug 20 11:26:27 2010 -0400
@@ -41,15 +41,16 @@
         << QVariant(false)         // shared ammo    15
         << QVariant(false)         //disable girders 16
         << QVariant(false)         // disable land objects 17
-        << QVariant(100)           // damage modfier 18
-        << QVariant(45)            // turn time      19
-        << QVariant(100)           // init health    20
-        << QVariant(15)            // sudden death   21
-        << QVariant(5)             // case prob      22
-        << QVariant(3)             //  mines time    23
-        << QVariant(4)             //  landadds      24
-        << QVariant(0)             // mine dud pct   25
-        << QVariant(2)             // explosives     26
+        << QVariant(false)         // AI survival    18
+        << QVariant(100)           // damage modfier 19
+        << QVariant(45)            // turn time      20
+        << QVariant(100)           // init health    21
+        << QVariant(15)            // sudden death   22
+        << QVariant(5)             // case prob      23
+        << QVariant(3)             //  mines time    24
+        << QVariant(4)             //  landadds      25
+        << QVariant(0)             // mine dud pct   26
+        << QVariant(2)             // explosives     27
         ;
 
 AmmoSchemeModel::AmmoSchemeModel(QObject* parent, const QString & fileName) :
@@ -87,15 +88,16 @@
         << "sharedammo"       // 15
         << "disablegirders"   // 16
         << "disablelandobjects" // 17
-        << "damagefactor"     // 18
-        << "turntime"         // 19
-        << "health"           // 20
-        << "suddendeath"      // 21
-        << "caseprobability"  // 22
-        << "minestime"        // 23
-        << "landadds"         // 24
-        << "minedudpct"       // 25
-        << "explosives"       // 26
+        << "aisurvival"       // 18
+        << "damagefactor"     // 19
+        << "turntime"         // 20
+        << "health"           // 21
+        << "suddendeath"      // 22
+        << "caseprobability"  // 23
+        << "minestime"        // 24
+        << "landadds"         // 25
+        << "minedudpct"       // 26
+        << "explosives"       // 27
         ;
 
     QList<QVariant> proMode;
@@ -118,15 +120,16 @@
         << QVariant(true)          // shared ammo    15
         << QVariant(false)         //disable girders 16
         << QVariant(false)         // disable land objects 17
-        << QVariant(100)           // damage modfier 18
-        << QVariant(15)            // turn time      19
-        << QVariant(100)           // init health    20
-        << QVariant(15)            // sudden death   21
-        << QVariant(0)             // case prob      22
-        << QVariant(3)             //  mines time    23
-        << QVariant(4)             //  landadds      24
-        << QVariant(0)             // mine dud pct   25
-        << QVariant(2)             // explosives     26
+        << QVariant(false)         // AI survival    18
+        << QVariant(100)           // damage modfier 19
+        << QVariant(15)            // turn time      20
+        << QVariant(100)           // init health    21
+        << QVariant(15)            // sudden death   22
+        << QVariant(0)             // case prob      23
+        << QVariant(3)             //  mines time    24
+        << QVariant(4)             //  landadds      25
+        << QVariant(0)             // mine dud pct   26
+        << QVariant(2)             // explosives     27
         ;
 
     QList<QVariant> shoppa;
@@ -149,15 +152,16 @@
         << QVariant(true)          // shared ammo    15
         << QVariant(true)          //disable girders 16
         << QVariant(false)         // disable land objects 17
-        << QVariant(100)           // damage modfier 18
-        << QVariant(30)            // turn time      19
-        << QVariant(100)           // init health    20
-        << QVariant(50)            // sudden death   21
-        << QVariant(1)             // case prob      22
-        << QVariant(3)             //  mines time    23
-        << QVariant(4)             //  landadds      24
-        << QVariant(0)             // mine dud pct   25
-        << QVariant(0)             // explosives     26
+        << QVariant(false)         // AI survival    18
+        << QVariant(100)           // damage modfier 19
+        << QVariant(30)            // turn time      20
+        << QVariant(100)           // init health    21
+        << QVariant(50)            // sudden death   22
+        << QVariant(1)             // case prob      23
+        << QVariant(3)             //  mines time    24
+        << QVariant(4)             //  landadds      25
+        << QVariant(0)             // mine dud pct   26
+        << QVariant(0)             // explosives     27
         ;
 
     QList<QVariant> basketball;
@@ -180,15 +184,16 @@
         << QVariant(true)          // shared ammo    15
         << QVariant(true)          //disable girders 16
         << QVariant(false)         // disable land objects 17
-        << QVariant(100)           // damage modfier 18
-        << QVariant(30)            // turn time      19
-        << QVariant(100)           // init health    20
-        << QVariant(15)            // sudden death   21
-        << QVariant(0)             // case prob      22
-        << QVariant(3)             //  mines time    23
-        << QVariant(4)             //  landadds      24
-        << QVariant(0)             // mine dud pct   25
-        << QVariant(0)             // explosives     26
+        << QVariant(false)         // AI survival    18
+        << QVariant(100)           // damage modfier 19
+        << QVariant(30)            // turn time      20
+        << QVariant(100)           // init health    21
+        << QVariant(15)            // sudden death   22
+        << QVariant(0)             // case prob      23
+        << QVariant(3)             //  mines time    24
+        << QVariant(4)             //  landadds      25
+        << QVariant(0)             // mine dud pct   26
+        << QVariant(0)             // explosives     27
         ;
 
     QList<QVariant> minefield;
@@ -211,15 +216,16 @@
         << QVariant(true)          // shared ammo    15
         << QVariant(true)          //disable girders 16
         << QVariant(false)         // disable land objects 17
-        << QVariant(150)           // damage modfier 18
-        << QVariant(30)            // turn time      19
-        << QVariant(50)            // init health    20
-        << QVariant(15)            // sudden death   21
-        << QVariant(0)             // case prob      22
-        << QVariant(0)             //  mines time    23
-        << QVariant(80)            //  landadds      24
-        << QVariant(0)             // mine dud pct   25
-        << QVariant(0)             // explosives     26
+        << QVariant(false)         // AI survival    18
+        << QVariant(150)           // damage modfier 19
+        << QVariant(30)            // turn time      20
+        << QVariant(50)            // init health    21
+        << QVariant(15)            // sudden death   22
+        << QVariant(0)             // case prob      23
+        << QVariant(0)             //  mines time    24
+        << QVariant(80)            //  landadds      25
+        << QVariant(0)             // mine dud pct   26
+        << QVariant(0)             // explosives     27
         ;
 
     QList<QVariant> barrelmayhem;
@@ -242,15 +248,16 @@
         << QVariant(true)          // shared ammo    15
         << QVariant(false)         //disable girders 16
         << QVariant(false)         // disable land objects 17
-        << QVariant(100)           // damage modfier 18
-        << QVariant(30)            // turn time      19
-        << QVariant(100)           // init health    20
-        << QVariant(15)            // sudden death   21
-        << QVariant(0)             // case prob      22
-        << QVariant(0)             // mines time     23
-        << QVariant(0)             // landadds       24
-        << QVariant(0)             // mine dud pct   25
-        << QVariant(80)            // explosives     26
+        << QVariant(false)         // AI survival    18
+        << QVariant(100)           // damage modfier 19
+        << QVariant(30)            // turn time      20
+        << QVariant(100)           // init health    21
+        << QVariant(15)            // sudden death   22
+        << QVariant(0)             // case prob      23
+        << QVariant(0)             // mines time     24
+        << QVariant(0)             // landadds       25
+        << QVariant(0)             // mine dud pct   26
+        << QVariant(80)            // explosives     27
         ;
 
     QList<QVariant> tunnelhogs;
@@ -273,15 +280,16 @@
         << QVariant(true)          // shared ammo    15
         << QVariant(true)          //disable girders 16
         << QVariant(true)          // disable land objects 17
-        << QVariant(100)           // damage modfier 18
-        << QVariant(30)            // turn time      19
-        << QVariant(100)           // init health    20
-        << QVariant(15)            // sudden death   21
-        << QVariant(5)             // case prob      22
-        << QVariant(3)             // mines time     23
-        << QVariant(10)            // landadds       24
-        << QVariant(10)            // mine dud pct   25
-        << QVariant(10)            // explosives     26
+        << QVariant(false)         // AI survival    18
+        << QVariant(100)           // damage modfier 19
+        << QVariant(30)            // turn time      20
+        << QVariant(100)           // init health    21
+        << QVariant(15)            // sudden death   22
+        << QVariant(5)             // case prob      23
+        << QVariant(3)             // mines time     24
+        << QVariant(10)            // landadds       25
+        << QVariant(10)            // mine dud pct   26
+        << QVariant(10)            // explosives     27
         ;
 
     schemes.append(defaultScheme);