QTfrontend/model/gameSchemeModel.cpp
changeset 14290 47af42f7ca8b
parent 13874 46e1c1069ac2
child 14542 8a11548cb1d2
equal deleted inserted replaced
14289:23eacb6f1c20 14290:47af42f7ca8b
    85                          << "Barrel Mayhem"
    85                          << "Barrel Mayhem"
    86                          << "Tunnel Hogs"
    86                          << "Tunnel Hogs"
    87                          << "Timeless"
    87                          << "Timeless"
    88                          << "Thinking with Portals"
    88                          << "Thinking with Portals"
    89                          << "King Mode"
    89                          << "King Mode"
       
    90                          << "Mutant"
    90                          << "Construction Mode"
    91                          << "Construction Mode"
    91                          << "Space Invasion"
    92                          << "Space Invasion"
    92                          << "HedgeEditor"
    93                          << "HedgeEditor"
    93                          ;
    94                          ;
    94 
    95 
   571             << QVariant(100)           // get away time  41
   572             << QVariant(100)           // get away time  41
   572             << QVariant(0)             // world edge     42
   573             << QVariant(0)             // world edge     42
   573             << QVariant()              // scriptparam    43
   574             << QVariant()              // scriptparam    43
   574             ;
   575             ;
   575 
   576 
       
   577     QList<QVariant> mutant;
       
   578     mutant
       
   579             << predefSchemesNames[10]  // name           0
       
   580             << QVariant(false)         // switchhog      1
       
   581             << QVariant(false)         // team divide    2
       
   582             << QVariant(false)         // solid land     3
       
   583             << QVariant(false)         // border         4
       
   584             << QVariant(false)         // low gravity    5
       
   585             << QVariant(false)         // laser sight    6
       
   586             << QVariant(false)         // invulnerable   7
       
   587             << QVariant(false)         // reset health   8
       
   588             << QVariant(false)         // vampiric       9
       
   589             << QVariant(false)         // karma          10
       
   590             << QVariant(false)         // artillery      11
       
   591             << QVariant(true)          // random order   12
       
   592             << QVariant(false)         // king           13
       
   593             << QVariant(false)         // place hog      14
       
   594             << QVariant(false)         // shared ammo    15
       
   595             << QVariant(false)         // disable girders 16
       
   596             << QVariant(false)         // disable land objects 17
       
   597             << QVariant(false)         // AI survival    18
       
   598             << QVariant(false)         // inf. attack    19
       
   599             << QVariant(true)          // reset weps     20
       
   600             << QVariant(false)         // per hog ammo   21
       
   601             << QVariant(false)         // no wind        22
       
   602             << QVariant(false)         // more wind      23
       
   603             << QVariant(false)         // tag team       24
       
   604             << QVariant(false)         // bottom border  25
       
   605             << QVariant(100)           // damage modfier 26
       
   606             << QVariant(20)            // turn time      27
       
   607             << QVariant(100)           // init health    28
       
   608             << QVariant(15)            // sudden death   29
       
   609             << QVariant(2)             // case prob      30
       
   610             << QVariant(1)             // mines time     31
       
   611             << QVariant(4)             // mines number   32
       
   612             << QVariant(0)             // mine dud pct   33
       
   613             << QVariant(2)             // explosives     34
       
   614             << QVariant(0)             // air mines      35
       
   615             << QVariant(0)             // health case pct 36
       
   616             << QVariant(25)            // health case amt 37
       
   617             << QVariant(0)             // water rise amt 38
       
   618             << QVariant(0)             // health dec amt 39
       
   619             << QVariant(100)           // rope modfier   40
       
   620             << QVariant(100)           // get away time  41
       
   621             << QVariant(0)             // world edge     42
       
   622             << QVariant()              // scriptparam    43
       
   623             ;
       
   624 
   576     QList<QVariant> construction;
   625     QList<QVariant> construction;
   577     construction
   626     construction
   578             << predefSchemesNames[10]  // name           0
   627             << predefSchemesNames[11]  // name           0
   579             << QVariant(false)         // switchhog      1
   628             << QVariant(false)         // switchhog      1
   580             << QVariant(false)         // team divide    2
   629             << QVariant(false)         // team divide    2
   581             << QVariant(false)         // solid land     3
   630             << QVariant(false)         // solid land     3
   582             << QVariant(false)         // border         4
   631             << QVariant(false)         // border         4
   583             << QVariant(false)         // low gravity    5
   632             << QVariant(false)         // low gravity    5
   622             << QVariant("initialenergy=550, energyperround=50, maxenergy=1000, cratesperround=5") // scriptparam    43
   671             << QVariant("initialenergy=550, energyperround=50, maxenergy=1000, cratesperround=5") // scriptparam    43
   623             ;
   672             ;
   624 
   673 
   625     QList<QVariant> spaceinvasion;
   674     QList<QVariant> spaceinvasion;
   626     spaceinvasion
   675     spaceinvasion
   627             << predefSchemesNames[11]  // name           0
   676             << predefSchemesNames[12]  // name           0
   628             << QVariant(false)         // switchhog      1
   677             << QVariant(false)         // switchhog      1
   629             << QVariant(false)         // team divide    2
   678             << QVariant(false)         // team divide    2
   630             << QVariant(false)         // solid land     3
   679             << QVariant(false)         // solid land     3
   631             << QVariant(false)         // border         4
   680             << QVariant(false)         // border         4
   632             << QVariant(false)         // low gravity    5
   681             << QVariant(false)         // low gravity    5
   671             << QVariant("rounds=3, shield=30, barrels=5, pings=2, barrelbonus=3, shieldbonus=30, timebonus=4") // scriptparam    43
   720             << QVariant("rounds=3, shield=30, barrels=5, pings=2, barrelbonus=3, shieldbonus=30, timebonus=4") // scriptparam    43
   672             ;
   721             ;
   673 
   722 
   674     QList<QVariant> hedgeeditor;
   723     QList<QVariant> hedgeeditor;
   675     hedgeeditor
   724     hedgeeditor
   676             << predefSchemesNames[12]  // name           0
   725             << predefSchemesNames[13]  // name           0
   677             << QVariant(false)         // switchhog      1
   726             << QVariant(false)         // switchhog      1
   678             << QVariant(false)         // team divide    2
   727             << QVariant(false)         // team divide    2
   679             << QVariant(false)         // solid land     3
   728             << QVariant(false)         // solid land     3
   680             << QVariant(false)         // border         4
   729             << QVariant(false)         // border         4
   681             << QVariant(false)         // low gravity    5
   730             << QVariant(false)         // low gravity    5
   729     schemes.append(barrelmayhem);
   778     schemes.append(barrelmayhem);
   730     schemes.append(tunnelhogs);
   779     schemes.append(tunnelhogs);
   731     schemes.append(timeless);
   780     schemes.append(timeless);
   732     schemes.append(thinkingportals);
   781     schemes.append(thinkingportals);
   733     schemes.append(kingmode);
   782     schemes.append(kingmode);
       
   783     schemes.append(mutant);
   734     schemes.append(construction);
   784     schemes.append(construction);
   735     schemes.append(spaceinvasion);
   785     schemes.append(spaceinvasion);
   736     schemes.append(hedgeeditor);
   786     schemes.append(hedgeeditor);
   737 
   787 
   738     if (!QDir(cfgdir->absolutePath() + "/Schemes").exists()) {
   788     if (!QDir(cfgdir->absolutePath() + "/Schemes").exists()) {