QTfrontend/ammoSchemeModel.cpp
changeset 5717 6d513913b7a9
parent 5180 a881cd3d3163
equal deleted inserted replaced
5716:9505a6f3fe05 5717:6d513913b7a9
    46         << QVariant(false)         // reset weps     20
    46         << QVariant(false)         // reset weps     20
    47         << QVariant(false)         // per hog ammo   21
    47         << QVariant(false)         // per hog ammo   21
    48         << QVariant(false)         // no wind        22
    48         << QVariant(false)         // no wind        22
    49         << QVariant(false)         // more wind      23
    49         << QVariant(false)         // more wind      23
    50         << QVariant(false)         // tag team       24
    50         << QVariant(false)         // tag team       24
    51         << QVariant(100)           // damage modfier 25
    51         << QVariant(false)         // bottom border  25
    52         << QVariant(45)            // turn time      26
    52         << QVariant(100)           // damage modfier 26
    53         << QVariant(100)           // init health    27
    53         << QVariant(45)            // turn time      27
    54         << QVariant(15)            // sudden death   28
    54         << QVariant(100)           // init health    28
    55         << QVariant(5)             // case prob      29
    55         << QVariant(15)            // sudden death   29
    56         << QVariant(3)             // mines time     30
    56         << QVariant(5)             // case prob      30
    57         << QVariant(4)             // mines number   31
    57         << QVariant(3)             // mines time     31
    58         << QVariant(0)             // mine dud pct   32
    58         << QVariant(4)             // mines number   32
    59         << QVariant(2)             // explosives     33
    59         << QVariant(0)             // mine dud pct   33
    60         << QVariant(35)            // health case pct 34
    60         << QVariant(2)             // explosives     34
    61         << QVariant(25)            // health case amt 35
    61         << QVariant(35)            // health case pct 35
    62         << QVariant(47)            // water rise amt 36
    62         << QVariant(25)            // health case amt 36
    63         << QVariant(5)             // health dec amt 37
    63         << QVariant(47)            // water rise amt 37
    64         << QVariant(100)           // rope modfier   38
    64         << QVariant(5)             // health dec amt 38
    65         << QVariant(100)           // get away time  39
    65         << QVariant(100)           // rope modfier   39
       
    66         << QVariant(100)           // get away time  40
    66         ;
    67         ;
    67 
    68 
    68 AmmoSchemeModel::AmmoSchemeModel(QObject* parent, const QString & fileName) :
    69 AmmoSchemeModel::AmmoSchemeModel(QObject* parent, const QString & fileName) :
    69     QAbstractTableModel(parent),
    70     QAbstractTableModel(parent),
    70     fileConfig(fileName, QSettings::IniFormat)
    71     fileConfig(fileName, QSettings::IniFormat)
   109         << "resetweps"           // 20
   110         << "resetweps"           // 20
   110         << "perhogammo"          // 21
   111         << "perhogammo"          // 21
   111         << "disablewind"         // 22
   112         << "disablewind"         // 22
   112         << "morewind"            // 23
   113         << "morewind"            // 23
   113         << "tagteam"             // 24
   114         << "tagteam"             // 24
   114         << "damagefactor"        // 25
   115         << "bottomborder"        // 25
   115         << "turntime"            // 26
   116         << "damagefactor"        // 26
   116         << "health"              // 27
   117         << "turntime"            // 27
   117         << "suddendeath"         // 28
   118         << "health"              // 28
   118         << "caseprobability"     // 29
   119         << "suddendeath"         // 29
   119         << "minestime"           // 30
   120         << "caseprobability"     // 30
   120         << "minesnum"            // 31
   121         << "minestime"           // 31
   121         << "minedudpct"          // 32
   122         << "minesnum"            // 32
   122         << "explosives"          // 33
   123         << "minedudpct"          // 33
   123         << "healthprobability"   // 34
   124         << "explosives"          // 34
   124         << "healthcaseamount"    // 35
   125         << "healthprobability"   // 35
   125         << "waterrise"           // 36
   126         << "healthcaseamount"    // 36
   126         << "healthdecrease"      // 37
   127         << "waterrise"           // 37
   127         << "ropepct"             // 38
   128         << "healthdecrease"      // 38
   128         << "getawaytime"         // 39
   129         << "ropepct"             // 39
       
   130         << "getawaytime"         // 40
   129         ;
   131         ;
   130 
   132 
   131     QList<QVariant> proMode;
   133     QList<QVariant> proMode;
   132     proMode
   134     proMode
   133         << predefSchemesNames[1]   // name           0
   135         << predefSchemesNames[1]   // name           0
   153         << QVariant(false)         // reset weps     20
   155         << QVariant(false)         // reset weps     20
   154         << QVariant(false)         // per hog ammo   21
   156         << QVariant(false)         // per hog ammo   21
   155         << QVariant(false)         // no wind        22
   157         << QVariant(false)         // no wind        22
   156         << QVariant(false)         // more wind      23
   158         << QVariant(false)         // more wind      23
   157         << QVariant(false)         // tag team       24
   159         << QVariant(false)         // tag team       24
   158         << QVariant(100)           // damage modfier 25
   160         << QVariant(false)         // bottom border  25
   159         << QVariant(15)            // turn time      26
   161         << QVariant(100)           // damage modfier 26
   160         << QVariant(100)           // init health    27
   162         << QVariant(15)            // turn time      27
   161         << QVariant(15)            // sudden death   28
   163         << QVariant(100)           // init health    28
   162         << QVariant(0)             // case prob      29
   164         << QVariant(15)            // sudden death   29
   163         << QVariant(3)             // mines time     30
   165         << QVariant(0)             // case prob      30
   164         << QVariant(0)             // mines number   31
   166         << QVariant(3)             // mines time     31
   165         << QVariant(0)             // mine dud pct   32
   167         << QVariant(0)             // mines number   32
   166         << QVariant(2)             // explosives     33
   168         << QVariant(0)             // mine dud pct   33
   167         << QVariant(35)            // health case pct 34
   169         << QVariant(2)             // explosives     34
   168         << QVariant(25)            // health case amt 35
   170         << QVariant(35)            // health case pct 35
   169         << QVariant(47)            // water rise amt 36
   171         << QVariant(25)            // health case amt 36
   170         << QVariant(5)             // health dec amt 37
   172         << QVariant(47)            // water rise amt 37
   171         << QVariant(100)           // rope modfier   38 
   173         << QVariant(5)             // health dec amt 38
   172         << QVariant(100)           // get away time  39 
   174         << QVariant(100)           // rope modfier   39
       
   175         << QVariant(100)           // get away time  40
   173         ;
   176         ;
   174 
   177 
   175     QList<QVariant> shoppa;
   178     QList<QVariant> shoppa;
   176     shoppa
   179     shoppa
   177         << predefSchemesNames[2]   // name           0
   180         << predefSchemesNames[2]   // name           0
   197         << QVariant(true)          // reset weps     20
   200         << QVariant(true)          // reset weps     20
   198         << QVariant(false)         // per hog ammo   21
   201         << QVariant(false)         // per hog ammo   21
   199         << QVariant(false)         // no wind        22
   202         << QVariant(false)         // no wind        22
   200         << QVariant(false)         // more wind      23
   203         << QVariant(false)         // more wind      23
   201         << QVariant(false)         // tag team       24
   204         << QVariant(false)         // tag team       24
   202         << QVariant(100)           // damage modfier 25
   205         << QVariant(false)         // bottom border  25
   203         << QVariant(30)            // turn time      26
   206         << QVariant(100)           // damage modfier 26
   204         << QVariant(100)           // init health    27
   207         << QVariant(30)            // turn time      27
   205         << QVariant(50)            // sudden death   28
   208         << QVariant(100)           // init health    28
   206         << QVariant(1)             // case prob      29
   209         << QVariant(50)            // sudden death   29
   207         << QVariant(3)             // mines time     30
   210         << QVariant(1)             // case prob      30
   208         << QVariant(0)             // mines number   31
   211         << QVariant(3)             // mines time     31
   209         << QVariant(0)             // mine dud pct   32
   212         << QVariant(0)             // mines number   32
   210         << QVariant(0)             // explosives     33
   213         << QVariant(0)             // mine dud pct   33
   211         << QVariant(0)             // health case pct 34
   214         << QVariant(0)             // explosives     34
   212         << QVariant(25)            // health case amt 35
   215         << QVariant(0)             // health case pct 35
   213         << QVariant(47)            // water rise amt 36
   216         << QVariant(25)            // health case amt 36
   214         << QVariant(5)             // health dec amt 37
   217         << QVariant(47)            // water rise amt 37
   215         << QVariant(100)           // rope modfier   38 
   218         << QVariant(5)             // health dec amt 38
   216         << QVariant(100)           // get away time  39 
   219         << QVariant(100)           // rope modfier   39
       
   220         << QVariant(100)           // get away time  40
   217         ;
   221         ;
   218 
   222 
   219     QList<QVariant> cleanslate;
   223     QList<QVariant> cleanslate;
   220     cleanslate
   224     cleanslate
   221         << predefSchemesNames[3]   // name           0
   225         << predefSchemesNames[3]   // name           0
   241         << QVariant(true)          // reset weps     20
   245         << QVariant(true)          // reset weps     20
   242         << QVariant(false)         // per hog ammo   21
   246         << QVariant(false)         // per hog ammo   21
   243         << QVariant(false)         // no wind        22
   247         << QVariant(false)         // no wind        22
   244         << QVariant(false)         // more wind      23
   248         << QVariant(false)         // more wind      23
   245         << QVariant(false)         // tag team       24
   249         << QVariant(false)         // tag team       24
   246         << QVariant(100)           // damage modfier 25
   250         << QVariant(false)         // bottom border  25
   247         << QVariant(45)            // turn time      26
   251         << QVariant(100)           // damage modfier 26
   248         << QVariant(100)           // init health    27
   252         << QVariant(45)            // turn time      27
   249         << QVariant(15)            // sudden death   28
   253         << QVariant(100)           // init health    28
   250         << QVariant(5)             // case prob      29
   254         << QVariant(15)            // sudden death   29
   251         << QVariant(3)             // mines time     30
   255         << QVariant(5)             // case prob      30
   252         << QVariant(4)             // mines number   31
   256         << QVariant(3)             // mines time     31
   253         << QVariant(0)             // mine dud pct   32
   257         << QVariant(4)             // mines number   32
   254         << QVariant(2)             // explosives     33
   258         << QVariant(0)             // mine dud pct   33
   255         << QVariant(35)            // health case pct 34
   259         << QVariant(2)             // explosives     34
   256         << QVariant(25)            // health case amt 35
   260         << QVariant(35)            // health case pct 35
   257         << QVariant(47)            // water rise amt 36
   261         << QVariant(25)            // health case amt 36
   258         << QVariant(5)             // health dec amt 37
   262         << QVariant(47)            // water rise amt 37
   259         << QVariant(100)           // rope modfier   38  
   263         << QVariant(5)             // health dec amt 38
   260         << QVariant(100)           // get away time  39 
   264         << QVariant(100)           // rope modfier   39
       
   265         << QVariant(100)           // get away time  40
   261         ;
   266         ;
   262 
   267 
   263     QList<QVariant> minefield;
   268     QList<QVariant> minefield;
   264     minefield
   269     minefield
   265         << predefSchemesNames[4]   // name           0
   270         << predefSchemesNames[4]   // name           0
   285         << QVariant(false)         // reset weps     20
   290         << QVariant(false)         // reset weps     20
   286         << QVariant(false)         // per hog ammo   21
   291         << QVariant(false)         // per hog ammo   21
   287         << QVariant(false)         // no wind        22
   292         << QVariant(false)         // no wind        22
   288         << QVariant(false)         // more wind      23
   293         << QVariant(false)         // more wind      23
   289         << QVariant(false)         // tag team       24
   294         << QVariant(false)         // tag team       24
   290         << QVariant(100)           // damage modfier 25
   295         << QVariant(false)         // bottom border  25
   291         << QVariant(30)            // turn time      26
   296         << QVariant(100)           // damage modfier 26
   292         << QVariant(50)            // init health    27
   297         << QVariant(30)            // turn time      27
   293         << QVariant(15)            // sudden death   28
   298         << QVariant(50)            // init health    28
   294         << QVariant(0)             // case prob      29
   299         << QVariant(15)            // sudden death   29
   295         << QVariant(0)             // mines time     30
   300         << QVariant(0)             // case prob      30
   296         << QVariant(80)            // mines number   31
   301         << QVariant(0)             // mines time     31
   297         << QVariant(0)             // mine dud pct   32
   302         << QVariant(80)            // mines number   32
   298         << QVariant(0)             // explosives     33
   303         << QVariant(0)             // mine dud pct   33
   299         << QVariant(35)            // health case pct 34
   304         << QVariant(0)             // explosives     34
   300         << QVariant(25)            // health case amt 35
   305         << QVariant(35)            // health case pct 35
   301         << QVariant(47)            // water rise amt 36
   306         << QVariant(25)            // health case amt 36
   302         << QVariant(5)             // health dec amt 37
   307         << QVariant(47)            // water rise amt 37
   303         << QVariant(100)           // rope modfier   38   
   308         << QVariant(5)             // health dec amt 38
   304         << QVariant(100)           // get away time  39 
   309         << QVariant(100)           // rope modfier   39
       
   310         << QVariant(100)           // get away time  40
   305         ;
   311         ;
   306 
   312 
   307     QList<QVariant> barrelmayhem;
   313     QList<QVariant> barrelmayhem;
   308     barrelmayhem
   314     barrelmayhem
   309         << predefSchemesNames[5]   // name           0
   315         << predefSchemesNames[5]   // name           0
   329         << QVariant(false)         // reset weps     20
   335         << QVariant(false)         // reset weps     20
   330         << QVariant(false)         // per hog ammo   21
   336         << QVariant(false)         // per hog ammo   21
   331         << QVariant(false)         // no wind        22
   337         << QVariant(false)         // no wind        22
   332         << QVariant(false)         // more wind      23
   338         << QVariant(false)         // more wind      23
   333         << QVariant(false)         // tag team       24
   339         << QVariant(false)         // tag team       24
   334         << QVariant(100)           // damage modfier 25
   340         << QVariant(false)         // bottom border  25
   335         << QVariant(30)            // turn time      26
   341         << QVariant(100)           // damage modfier 26
   336         << QVariant(100)           // init health    27
   342         << QVariant(30)            // turn time      27
   337         << QVariant(15)            // sudden death   28
   343         << QVariant(100)           // init health    28
   338         << QVariant(0)             // case prob      29
   344         << QVariant(15)            // sudden death   29
   339         << QVariant(0)             // mines time     30
   345         << QVariant(0)             // case prob      30
   340         << QVariant(0)             // mines number   31
   346         << QVariant(0)             // mines time     31
   341         << QVariant(0)             // mine dud pct   32
   347         << QVariant(0)             // mines number   32
   342         << QVariant(80)            // explosives     33
   348         << QVariant(0)             // mine dud pct   33
   343         << QVariant(35)            // health case pct 34
   349         << QVariant(80)            // explosives     34
   344         << QVariant(25)            // health case amt 35
   350         << QVariant(35)            // health case pct 35
   345         << QVariant(47)            // water rise amt 36
   351         << QVariant(25)            // health case amt 36
   346         << QVariant(5)             // health dec amt 37
   352         << QVariant(47)            // water rise amt 37
   347         << QVariant(100)           // rope modfier   38    
   353         << QVariant(5)             // health dec amt 38
   348         << QVariant(100)           // get away time  39 
   354         << QVariant(100)           // rope modfier   39
       
   355         << QVariant(100)           // get away time  40
   349         ;
   356         ;
   350 
   357 
   351     QList<QVariant> tunnelhogs;
   358     QList<QVariant> tunnelhogs;
   352     tunnelhogs
   359     tunnelhogs
   353         << predefSchemesNames[6]   // name           0
   360         << predefSchemesNames[6]   // name           0
   373         << QVariant(false)         // reset weps     20
   380         << QVariant(false)         // reset weps     20
   374         << QVariant(false)         // per hog ammo   21
   381         << QVariant(false)         // per hog ammo   21
   375         << QVariant(false)         // no wind        22
   382         << QVariant(false)         // no wind        22
   376         << QVariant(false)         // more wind      23
   383         << QVariant(false)         // more wind      23
   377         << QVariant(false)         // tag team       24
   384         << QVariant(false)         // tag team       24
   378         << QVariant(100)           // damage modfier 25
   385         << QVariant(false)         // bottom border  25
   379         << QVariant(30)            // turn time      26
   386         << QVariant(100)           // damage modfier 26
   380         << QVariant(100)           // init health    27
   387         << QVariant(30)            // turn time      27
   381         << QVariant(15)            // sudden death   28
   388         << QVariant(100)           // init health    28
   382         << QVariant(5)             // case prob      29
   389         << QVariant(15)            // sudden death   29
   383         << QVariant(3)             // mines time     30
   390         << QVariant(5)             // case prob      30
   384         << QVariant(10)            // mines number   31
   391         << QVariant(3)             // mines time     31
   385         << QVariant(10)            // mine dud pct   32
   392         << QVariant(10)            // mines number   32
   386         << QVariant(10)            // explosives     33
   393         << QVariant(10)            // mine dud pct   33
   387         << QVariant(35)            // health case pct 34
   394         << QVariant(10)            // explosives     34
   388         << QVariant(25)            // health case amt 35
   395         << QVariant(35)            // health case pct 35
   389         << QVariant(47)            // water rise amt 36
   396         << QVariant(25)            // health case amt 36
   390         << QVariant(5)             // health dec amt 37
   397         << QVariant(47)            // water rise amt 37
   391         << QVariant(100)           // rope modfier   38     
   398         << QVariant(5)             // health dec amt 38
   392         << QVariant(100)           // get away time  39 
   399         << QVariant(100)           // rope modfier   39
       
   400         << QVariant(100)           // get away time  40
   393         ;
   401         ;
   394 
   402 
   395     QList<QVariant> forts;
   403     QList<QVariant> forts;
   396     forts
   404     forts
   397         << predefSchemesNames[7]   // name           0
   405         << predefSchemesNames[7]   // name           0
   417         << QVariant(false)         // reset weps     20
   425         << QVariant(false)         // reset weps     20
   418         << QVariant(false)         // per hog ammo   21
   426         << QVariant(false)         // per hog ammo   21
   419         << QVariant(false)         // no wind        22
   427         << QVariant(false)         // no wind        22
   420         << QVariant(false)         // more wind      23
   428         << QVariant(false)         // more wind      23
   421         << QVariant(false)         // tag team       24
   429         << QVariant(false)         // tag team       24
   422         << QVariant(100)           // damage modfier 25
   430         << QVariant(false)         // bottom border  25
   423         << QVariant(45)            // turn time      26
   431         << QVariant(100)           // damage modfier 26
   424         << QVariant(100)           // init health    27
   432         << QVariant(45)            // turn time      27
   425         << QVariant(15)            // sudden death   28
   433         << QVariant(100)           // init health    28
   426         << QVariant(5)             // case prob      29
   434         << QVariant(15)            // sudden death   29
   427         << QVariant(3)             // mines time     30
   435         << QVariant(5)             // case prob      30
   428         << QVariant(0)             // mines number   31
   436         << QVariant(3)             // mines time     31
   429         << QVariant(0)             // mine dud pct   32
   437         << QVariant(0)             // mines number   32
   430         << QVariant(0)             // explosives     33
   438         << QVariant(0)             // mine dud pct   33
   431         << QVariant(35)            // health case pct 34
   439         << QVariant(0)             // explosives     34
   432         << QVariant(25)            // health case amt 35
   440         << QVariant(35)            // health case pct 35
   433         << QVariant(47)            // water rise amt 36
   441         << QVariant(25)            // health case amt 36
   434         << QVariant(5)             // health dec amt 37
   442         << QVariant(47)            // water rise amt 37
   435         << QVariant(100)           // rope modfier   38      
   443         << QVariant(5)             // health dec amt 38
   436         << QVariant(100)           // get away time  39 
   444         << QVariant(100)           // rope modfier   39
       
   445         << QVariant(100)           // get away time  40
   437         ;
   446         ;
   438 
   447 
   439     QList<QVariant> timeless;
   448     QList<QVariant> timeless;
   440     timeless
   449     timeless
   441         << predefSchemesNames[8]   // name           0
   450         << predefSchemesNames[8]   // name           0
   461         << QVariant(false)         // reset weps     20
   470         << QVariant(false)         // reset weps     20
   462         << QVariant(true)          // per hog ammo   21
   471         << QVariant(true)          // per hog ammo   21
   463         << QVariant(false)         // no wind        22
   472         << QVariant(false)         // no wind        22
   464         << QVariant(false)         // more wind      23
   473         << QVariant(false)         // more wind      23
   465         << QVariant(false)         // tag team       24
   474         << QVariant(false)         // tag team       24
   466         << QVariant(100)           // damage modfier 25
   475         << QVariant(false)         // bottom border  25
   467         << QVariant(9999)          // turn time      26
   476         << QVariant(100)           // damage modfier 26
   468         << QVariant(100)           // init health    27
   477         << QVariant(9999)          // turn time      27
   469         << QVariant(15)            // sudden death   28
   478         << QVariant(100)           // init health    28
   470         << QVariant(5)             // case prob      29
   479         << QVariant(15)            // sudden death   29
   471         << QVariant(3)             // mines time     30
   480         << QVariant(5)             // case prob      30
   472         << QVariant(5)             // mines number   31
   481         << QVariant(3)             // mines time     31
   473         << QVariant(10)            // mine dud pct   32
   482         << QVariant(5)             // mines number   32
   474         << QVariant(2)             // explosives     33
   483         << QVariant(10)            // mine dud pct   33
   475         << QVariant(35)            // health case pct 34
   484         << QVariant(2)             // explosives     34
   476         << QVariant(30)            // health case amt 35
   485         << QVariant(35)            // health case pct 35
   477         << QVariant(0)             // water rise amt 36
   486         << QVariant(30)            // health case amt 36
   478         << QVariant(0)             // health dec amt 37
   487         << QVariant(0)             // water rise amt 37
   479         << QVariant(100)           // rope modfier   38 
   488         << QVariant(0)             // health dec amt 38
   480         << QVariant(100)           // get away time  39 
   489         << QVariant(100)           // rope modfier   39
       
   490         << QVariant(100)           // get away time  40
   481         ;
   491         ;
   482 
   492 
   483     QList<QVariant> thinkingportals;
   493     QList<QVariant> thinkingportals;
   484     thinkingportals
   494     thinkingportals
   485         << predefSchemesNames[9]   // name           0
   495         << predefSchemesNames[9]   // name           0
   505         << QVariant(false)         // reset weps     20
   515         << QVariant(false)         // reset weps     20
   506         << QVariant(false)         // per hog ammo   21
   516         << QVariant(false)         // per hog ammo   21
   507         << QVariant(false)         // no wind        22
   517         << QVariant(false)         // no wind        22
   508         << QVariant(false)         // more wind      23
   518         << QVariant(false)         // more wind      23
   509         << QVariant(false)         // tag team       24
   519         << QVariant(false)         // tag team       24
   510         << QVariant(100)           // damage modfier 25
   520         << QVariant(false)         // bottom border  25
   511         << QVariant(45)            // turn time      26
   521         << QVariant(100)           // damage modfier 26
   512         << QVariant(100)           // init health    27
   522         << QVariant(45)            // turn time      27
   513         << QVariant(15)            // sudden death   28
   523         << QVariant(100)           // init health    28
   514         << QVariant(2)             // case prob      29
   524         << QVariant(15)            // sudden death   29
   515         << QVariant(3)             // mines time     30
   525         << QVariant(2)             // case prob      30
   516         << QVariant(5)             // mines number   31
   526         << QVariant(3)             // mines time     31
   517         << QVariant(0)             // mine dud pct   32
   527         << QVariant(5)             // mines number   32
   518         << QVariant(5)             // explosives     33
   528         << QVariant(0)             // mine dud pct   33
   519         << QVariant(25)            // health case pct 34
   529         << QVariant(5)             // explosives     34
   520         << QVariant(25)            // health case amt 35
   530         << QVariant(25)            // health case pct 35
   521         << QVariant(47)            // water rise amt 36
   531         << QVariant(25)            // health case amt 36
   522         << QVariant(5)             // health dec amt 37
   532         << QVariant(47)            // water rise amt 37
   523         << QVariant(100)           // rope modfier   38  
   533         << QVariant(5)             // health dec amt 38
   524         << QVariant(100)           // get away time  39 
   534         << QVariant(100)           // rope modfier   39
       
   535         << QVariant(100)           // get away time  40
   525         ;
   536         ;
   526 
   537 
   527     QList<QVariant> kingmode;
   538     QList<QVariant> kingmode;
   528     kingmode
   539     kingmode
   529         << predefSchemesNames[10]  // name           0
   540         << predefSchemesNames[10]  // name           0
   549         << QVariant(false)         // reset weps     20
   560         << QVariant(false)         // reset weps     20
   550         << QVariant(false)         // per hog ammo   21
   561         << QVariant(false)         // per hog ammo   21
   551         << QVariant(false)         // no wind        22
   562         << QVariant(false)         // no wind        22
   552         << QVariant(false)         // more wind      23
   563         << QVariant(false)         // more wind      23
   553         << QVariant(false)         // tag team       24
   564         << QVariant(false)         // tag team       24
   554         << QVariant(100)           // damage modfier 25
   565         << QVariant(false)         // bottom border  25
   555         << QVariant(45)            // turn time      26
   566         << QVariant(100)           // damage modfier 26
   556         << QVariant(100)           // init health    27
   567         << QVariant(45)            // turn time      27
   557         << QVariant(15)            // sudden death   28
   568         << QVariant(100)           // init health    28
   558         << QVariant(5)             // case prob      29
   569         << QVariant(15)            // sudden death   29
   559         << QVariant(3)             // mines time     30
   570         << QVariant(5)             // case prob      30
   560         << QVariant(4)             // mines number   31
   571         << QVariant(3)             // mines time     31
   561         << QVariant(0)             // mine dud pct   32
   572         << QVariant(4)             // mines number   32
   562         << QVariant(2)             // explosives     33
   573         << QVariant(0)             // mine dud pct   33
   563         << QVariant(35)            // health case pct 34
   574         << QVariant(2)             // explosives     34
   564         << QVariant(25)            // health case amt 35
   575         << QVariant(35)            // health case pct 35
   565         << QVariant(47)            // water rise amt 36
   576         << QVariant(25)            // health case amt 36
   566         << QVariant(5)             // health dec amt 37
   577         << QVariant(47)            // water rise amt 37
   567         << QVariant(100)           // rope modfier   38 
   578         << QVariant(5)             // health dec amt 38
   568         << QVariant(100)           // get away time  39 
   579         << QVariant(100)           // rope modfier   39
       
   580         << QVariant(100)           // get away time  40
   569         ;
   581         ;
   570 
   582 
   571 
   583 
   572     schemes.append(defaultScheme);
   584     schemes.append(defaultScheme);
   573     schemes.append(proMode);
   585     schemes.append(proMode);
   769 
   781 
   770     for(int i = 0; i < cfg.size(); ++i)
   782     for(int i = 0; i < cfg.size(); ++i)
   771         netScheme[i] = QVariant(cfg[i]);
   783         netScheme[i] = QVariant(cfg[i]);
   772 
   784 
   773     reset();
   785     reset();
   774 }                      
   786 }