QTfrontend/model/ammoSchemeModel.cpp
changeset 12258 41af2274953d
parent 12233 05fb32410350
child 12666 1d25f5555c38
equal deleted inserted replaced
12257:b46b4ec17f8c 12258:41af2274953d
    82                          << "Barrel Mayhem"
    82                          << "Barrel Mayhem"
    83                          << "Tunnel Hogs"
    83                          << "Tunnel Hogs"
    84                          << "Timeless"
    84                          << "Timeless"
    85                          << "Thinking with Portals"
    85                          << "Thinking with Portals"
    86                          << "King Mode"
    86                          << "King Mode"
    87 						 << "Construction Mode"
    87                          << "Construction Mode"
       
    88                          << "HedgeEditor"
    88                          ;
    89                          ;
    89 
    90 
    90     numberOfDefaultSchemes = predefSchemesNames.size();
    91     numberOfDefaultSchemes = predefSchemesNames.size();
    91 
    92 
    92     spNames = QStringList()
    93     spNames = QStringList()
   613             << QVariant(100)           // rope modfier   40
   614             << QVariant(100)           // rope modfier   40
   614             << QVariant(100)           // get away time  41
   615             << QVariant(100)           // get away time  41
   615             << QVariant(0)             // world edge     42
   616             << QVariant(0)             // world edge     42
   616             << QVariant()              // scriptparam    43
   617             << QVariant()              // scriptparam    43
   617             ;
   618             ;
       
   619 
       
   620 	QList<QVariant> hedgeeditor;
       
   621     hedgeeditor
       
   622             << predefSchemesNames[11]  // name           0
       
   623             << QVariant(false)         // fortsmode      1
       
   624             << QVariant(false)         // team divide    2
       
   625             << QVariant(false)         // solid land     3
       
   626             << QVariant(false)         // border         4
       
   627             << QVariant(false)         // low gravity    5
       
   628             << QVariant(false)         // laser sight    6
       
   629             << QVariant(false)         // invulnerable   7
       
   630             << QVariant(false)         // reset health   8
       
   631             << QVariant(false)         // vampiric       9
       
   632             << QVariant(false)         // karma          10
       
   633             << QVariant(false)         // artillery      11
       
   634             << QVariant(false)         // random order   12
       
   635             << QVariant(false)         // king           13
       
   636             << QVariant(false)         // place hog      14
       
   637             << QVariant(false)         // shared ammo    15
       
   638             << QVariant(false)         // disable girders 16
       
   639             << QVariant(false)         // disable land objects 17
       
   640             << QVariant(false)         // AI survival    18
       
   641             << QVariant(false)         // inf. attack    19
       
   642             << QVariant(false)         // reset weps     20
       
   643             << QVariant(true)          // per hog ammo   21
       
   644             << QVariant(false)         // no wind        22
       
   645             << QVariant(false)         // more wind      23
       
   646             << QVariant(false)         // tag team       24
       
   647             << QVariant(false)         // bottom border  25
       
   648             << QVariant(100)           // damage modfier 26
       
   649             << QVariant(9999)          // turn time      27
       
   650             << QVariant(100)           // init health    28
       
   651             << QVariant(50)            // sudden death   29
       
   652             << QVariant(5)             // case prob      30
       
   653             << QVariant(3)             // mines time     31
       
   654             << QVariant(0)             // mines number   32
       
   655             << QVariant(0)             // mine dud pct   33
       
   656             << QVariant(0)             // explosives     34
       
   657             << QVariant(0)             // air mines      35
       
   658             << QVariant(35)            // health case pct 36
       
   659             << QVariant(25)            // health case amt 37
       
   660             << QVariant(0)            // water rise amt 38
       
   661             << QVariant(0)             // health dec amt 39
       
   662             << QVariant(100)           // rope modfier   40
       
   663             << QVariant(100)           // get away time  41
       
   664             << QVariant(0)             // world edge     42
       
   665             << QVariant()              // scriptparam    43
       
   666             ;
       
   667 			
       
   668  
   618 			
   669 			
   619     schemes.append(defaultScheme);
   670     schemes.append(defaultScheme);
   620     schemes.append(proMode);
   671     schemes.append(proMode);
   621     schemes.append(shoppa);
   672     schemes.append(shoppa);
   622     schemes.append(cleanslate);
   673     schemes.append(cleanslate);
   624     schemes.append(barrelmayhem);
   675     schemes.append(barrelmayhem);
   625     schemes.append(tunnelhogs);
   676     schemes.append(tunnelhogs);
   626     schemes.append(timeless);
   677     schemes.append(timeless);
   627     schemes.append(thinkingportals);
   678     schemes.append(thinkingportals);
   628     schemes.append(kingmode);
   679     schemes.append(kingmode);
   629 	schemes.append(construction);
   680     schemes.append(construction);
       
   681     schemes.append(hedgeeditor);
   630 
   682 
   631 
   683 
   632     int size = fileConfig.beginReadArray("schemes");
   684     int size = fileConfig.beginReadArray("schemes");
   633     for (int i = 0; i < size; ++i)
   685     for (int i = 0; i < size; ++i)
   634     {
   686     {