diff -r 8138670eab08 -r 3997d85b3d2e QTfrontend/model/gameSchemeModel.cpp --- a/QTfrontend/model/gameSchemeModel.cpp Sat Jun 27 23:38:45 2020 +0300 +++ b/QTfrontend/model/gameSchemeModel.cpp Sun Jun 28 00:47:43 2020 +0300 @@ -63,14 +63,15 @@ << QVariant(0) // mine dud pct 33 << QVariant(2) // explosives 34 << QVariant(0) // air mines 35 - << QVariant(35) // health case pct 36 - << QVariant(25) // health case amt 37 - << QVariant(47) // water rise amt 38 - << QVariant(5) // health dec amt 39 - << QVariant(100) // rope modfier 40 - << QVariant(100) // get away time 41 - << QVariant(0) // world edge 42 - << QVariant() // scriptparam 43 + << QVariant(0) // sentries 36 + << QVariant(35) // health case pct 37 + << QVariant(25) // health case amt 38 + << QVariant(47) // water rise amt 39 + << QVariant(5) // health dec amt 40 + << QVariant(100) // rope modfier 41 + << QVariant(100) // get away time 42 + << QVariant(0) // world edge 43 + << QVariant() // scriptparam 44 ; GameSchemeModel::GameSchemeModel(QObject* parent, const QString & directory) : @@ -134,14 +135,15 @@ << "minedudpct" // 33 << "explosives" // 34 << "airmines" // 35 - << "healthprobability" // 36 - << "healthcaseamount" // 37 - << "waterrise" // 38 - << "healthdecrease" // 39 - << "ropepct" // 40 - << "getawaytime" // 41 - << "worldedge" // 42 - << "scriptparam" // scriptparam 43 + << "sentries" // 36 + << "healthprobability" // 37 + << "healthcaseamount" // 38 + << "waterrise" // 39 + << "healthdecrease" // 40 + << "ropepct" // 41 + << "getawaytime" // 42 + << "worldedge" // 43 + << "scriptparam" // scriptparam 44 ; QList proMode; @@ -182,14 +184,15 @@ << QVariant(0) // mine dud pct 33 << QVariant(2) // explosives 34 << QVariant(0) // air mines 35 - << QVariant(35) // health case pct 36 - << QVariant(25) // health case amt 37 - << QVariant(47) // water rise amt 38 - << QVariant(5) // health dec amt 39 - << QVariant(100) // rope modfier 40 - << QVariant(100) // get away time 41 - << QVariant(0) // world edge 42 - << QVariant() // scriptparam 43 + << QVariant(0) // sentries 36 + << QVariant(35) // health case pct 37 + << QVariant(25) // health case amt 38 + << QVariant(47) // water rise amt 39 + << QVariant(5) // health dec amt 40 + << QVariant(100) // rope modfier 41 + << QVariant(100) // get away time 42 + << QVariant(0) // world edge 43 + << QVariant() // scriptparam 44 ; QList shoppa; @@ -230,14 +233,15 @@ << QVariant(0) // mine dud pct 33 << QVariant(0) // explosives 34 << QVariant(0) // air mines 35 - << QVariant(0) // health case pct 36 - << QVariant(25) // health case amt 37 - << QVariant(0) // water rise amt 38 - << QVariant(0) // health dec amt 39 - << QVariant(100) // rope modfier 40 - << QVariant(100) // get away time 41 - << QVariant(0) // world edge 42 - << QVariant() // scriptparam 43 + << QVariant(0) // sentries 36 + << QVariant(0) // health case pct 37 + << QVariant(25) // health case amt 38 + << QVariant(0) // water rise amt 39 + << QVariant(0) // health dec amt 40 + << QVariant(100) // rope modfier 41 + << QVariant(100) // get away time 42 + << QVariant(0) // world edge 43 + << QVariant() // scriptparam 44 ; QList cleanslate; @@ -278,14 +282,15 @@ << QVariant(0) // mine dud pct 33 << QVariant(2) // explosives 34 << QVariant(0) // air mines 35 - << QVariant(35) // health case pct 36 - << QVariant(25) // health case amt 37 - << QVariant(47) // water rise amt 38 - << QVariant(5) // health dec amt 39 - << QVariant(100) // rope modfier 40 - << QVariant(100) // get away time 41 - << QVariant(0) // world edge 42 - << QVariant() // scriptparam 43 + << QVariant(0) // sentries 36 + << QVariant(35) // health case pct 37 + << QVariant(25) // health case amt 38 + << QVariant(47) // water rise amt 39 + << QVariant(5) // health dec amt 40 + << QVariant(100) // rope modfier 41 + << QVariant(100) // get away time 42 + << QVariant(0) // world edge 43 + << QVariant() // scriptparam 44 ; QList minefield; @@ -326,14 +331,15 @@ << QVariant(0) // mine dud pct 33 << QVariant(0) // explosives 34 << QVariant(0) // air mines 35 - << QVariant(35) // health case pct 36 - << QVariant(25) // health case amt 37 - << QVariant(47) // water rise amt 38 - << QVariant(5) // health dec amt 39 - << QVariant(100) // rope modfier 40 - << QVariant(100) // get away time 41 - << QVariant(0) // world edge 42 - << QVariant() // scriptparam 43 + << QVariant(0) // sentries 36 + << QVariant(35) // health case pct 37 + << QVariant(25) // health case amt 38 + << QVariant(47) // water rise amt 39 + << QVariant(5) // health dec amt 40 + << QVariant(100) // rope modfier 41 + << QVariant(100) // get away time 42 + << QVariant(0) // world edge 43 + << QVariant() // scriptparam 44 ; QList barrelmayhem; @@ -374,14 +380,15 @@ << QVariant(0) // mine dud pct 33 << QVariant(200) // explosives 34 << QVariant(0) // air mines 35 - << QVariant(35) // health case pct 36 - << QVariant(25) // health case amt 37 - << QVariant(47) // water rise amt 38 - << QVariant(5) // health dec amt 39 - << QVariant(100) // rope modfier 40 - << QVariant(100) // get away time 41 - << QVariant(0) // world edge 42 - << QVariant() // scriptparam 43 + << QVariant(0) // sentries 36 + << QVariant(35) // health case pct 37 + << QVariant(25) // health case amt 38 + << QVariant(47) // water rise amt 39 + << QVariant(5) // health dec amt 40 + << QVariant(100) // rope modfier 41 + << QVariant(100) // get away time 42 + << QVariant(0) // world edge 43 + << QVariant() // scriptparam 44 ; QList tunnelhogs; @@ -422,14 +429,15 @@ << QVariant(10) // mine dud pct 33 << QVariant(10) // explosives 34 << QVariant(4) // air mines 35 - << QVariant(35) // health case pct 36 - << QVariant(25) // health case amt 37 - << QVariant(47) // water rise amt 38 - << QVariant(5) // health dec amt 39 - << QVariant(100) // rope modfier 40 - << QVariant(100) // get away time 41 - << QVariant(0) // world edge 42 - << QVariant() // scriptparam 43 + << QVariant(0) // sentries 36 + << QVariant(35) // health case pct 37 + << QVariant(25) // health case amt 38 + << QVariant(47) // water rise amt 39 + << QVariant(5) // health dec amt 40 + << QVariant(100) // rope modfier 41 + << QVariant(100) // get away time 42 + << QVariant(0) // world edge 43 + << QVariant() // scriptparam 44 ; QList timeless; @@ -470,14 +478,15 @@ << QVariant(10) // mine dud pct 33 << QVariant(2) // explosives 34 << QVariant(0) // air mines 35 - << QVariant(35) // health case pct 36 - << QVariant(30) // health case amt 37 - << QVariant(0) // water rise amt 38 - << QVariant(0) // health dec amt 39 - << QVariant(100) // rope modfier 40 - << QVariant(100) // get away time 41 - << QVariant(0) // world edge 42 - << QVariant() // scriptparam 43 + << QVariant(0) // sentries 36 + << QVariant(35) // health case pct 37 + << QVariant(30) // health case amt 38 + << QVariant(0) // water rise amt 39 + << QVariant(0) // health dec amt 40 + << QVariant(100) // rope modfier 41 + << QVariant(100) // get away time 42 + << QVariant(0) // world edge 43 + << QVariant() // scriptparam 44 ; QList thinkingportals; @@ -518,14 +527,15 @@ << QVariant(0) // mine dud pct 33 << QVariant(5) // explosives 34 << QVariant(4) // air mines 35 - << QVariant(25) // health case pct 36 - << QVariant(25) // health case amt 37 - << QVariant(47) // water rise amt 38 - << QVariant(5) // health dec amt 39 - << QVariant(100) // rope modfier 40 - << QVariant(100) // get away time 41 - << QVariant(0) // world edge 42 - << QVariant() // scriptparam 43 + << QVariant(0) // sentries 36 + << QVariant(25) // health case pct 37 + << QVariant(25) // health case amt 38 + << QVariant(47) // water rise amt 39 + << QVariant(5) // health dec amt 40 + << QVariant(100) // rope modfier 41 + << QVariant(100) // get away time 42 + << QVariant(0) // world edge 43 + << QVariant() // scriptparam 44 ; QList kingmode; @@ -566,14 +576,15 @@ << QVariant(0) // mine dud pct 33 << QVariant(2) // explosives 34 << QVariant(0) // air mines 35 - << QVariant(35) // health case pct 36 - << QVariant(25) // health case amt 37 - << QVariant(47) // water rise amt 38 - << QVariant(5) // health dec amt 39 - << QVariant(100) // rope modfier 40 - << QVariant(100) // get away time 41 - << QVariant(0) // world edge 42 - << QVariant() // scriptparam 43 + << QVariant(0) // sentries 36 + << QVariant(35) // health case pct 37 + << QVariant(25) // health case amt 38 + << QVariant(47) // water rise amt 39 + << QVariant(5) // health dec amt 40 + << QVariant(100) // rope modfier 41 + << QVariant(100) // get away time 42 + << QVariant(0) // world edge 43 + << QVariant() // scriptparam 44 ; QList mutant; @@ -614,14 +625,15 @@ << QVariant(0) // mine dud pct 33 << QVariant(2) // explosives 34 << QVariant(0) // air mines 35 - << QVariant(0) // health case pct 36 - << QVariant(25) // health case amt 37 - << QVariant(0) // water rise amt 38 - << QVariant(0) // health dec amt 39 - << QVariant(100) // rope modfier 40 - << QVariant(100) // get away time 41 - << QVariant(0) // world edge 42 - << QVariant() // scriptparam 43 + << QVariant(0) // sentries 36 + << QVariant(0) // health case pct 37 + << QVariant(25) // health case amt 38 + << QVariant(0) // water rise amt 39 + << QVariant(0) // health dec amt 40 + << QVariant(100) // rope modfier 41 + << QVariant(100) // get away time 42 + << QVariant(0) // world edge 43 + << QVariant() // scriptparam 44 ; QList construction; @@ -662,15 +674,16 @@ << QVariant(0) // mine dud pct 33 << QVariant(0) // explosives 34 << QVariant(0) // air mines 35 - << QVariant(35) // health case pct 36 - << QVariant(25) // health case amt 37 - << QVariant(47) // water rise amt 38 - << QVariant(5) // health dec amt 39 - << QVariant(100) // rope modfier 40 - << QVariant(100) // get away time 41 - << QVariant(0) // world edge 42 + << QVariant(0) // sentries 36 + << QVariant(35) // health case pct 37 + << QVariant(25) // health case amt 38 + << QVariant(47) // water rise amt 39 + << QVariant(5) // health dec amt 40 + << QVariant(100) // rope modfier 41 + << QVariant(100) // get away time 42 + << QVariant(0) // world edge 43 // NOTE: If you change this, also change the defaults in the Construction Mode script - << QVariant("initialenergy=550, energyperround=50, maxenergy=1000, cratesperround=5") // scriptparam 43 + << QVariant("initialenergy=550, energyperround=50, maxenergy=1000, cratesperround=5") // scriptparam 44 ; QList specialists; @@ -711,15 +724,16 @@ << QVariant(0) // mine dud pct 33 << QVariant(0) // explosives 34 << QVariant(0) // air mines 35 - << QVariant(100) // health case pct 36 - << QVariant(25) // health case amt 37 - << QVariant(47) // water rise amt 38 - << QVariant(5) // health dec amt 39 - << QVariant(100) // rope modfier 40 - << QVariant(100) // get away time 41 - << QVariant(0) // world edge 42 + << QVariant(0) // sentries 36 + << QVariant(100) // health case pct 37 + << QVariant(25) // health case amt 38 + << QVariant(47) // water rise amt 39 + << QVariant(5) // health dec amt 40 + << QVariant(100) // rope modfier 41 + << QVariant(100) // get away time 42 + << QVariant(0) // world edge 43 // NOTE: If you change this, also change the defaults in the The Specialists script - << QVariant("t=SENDXHPL") // scriptparam 43 + << QVariant("t=SENDXHPL") // scriptparam 44 ; QList spaceinvasion; @@ -760,15 +774,16 @@ << QVariant(0) // mine dud pct 33 << QVariant(0) // explosives 34 << QVariant(0) // air mines 35 - << QVariant(0) // health case pct 36 - << QVariant(25) // health case amt 37 - << QVariant(0) // water rise amt 38 - << QVariant(0) // health dec amt 39 - << QVariant(100) // rope modfier 40 - << QVariant(100) // get away time 41 - << QVariant(0) // world edge 42 + << QVariant(0) // sentries 36 + << QVariant(0) // health case pct 37 + << QVariant(25) // health case amt 38 + << QVariant(0) // water rise amt 39 + << QVariant(0) // health dec amt 40 + << QVariant(100) // rope modfier 41 + << QVariant(100) // get away time 42 + << QVariant(0) // world edge 43 // NOTE: If you change this, also change the defaults in the Space Invasion script - << QVariant("rounds=3, shield=30, barrels=5, pings=2, barrelbonus=3, shieldbonus=30, timebonus=4") // scriptparam 43 + << QVariant("rounds=3, shield=30, barrels=5, pings=2, barrelbonus=3, shieldbonus=30, timebonus=4") // scriptparam 44 ; QList hedgeeditor; @@ -809,14 +824,15 @@ << QVariant(0) // mine dud pct 33 << QVariant(0) // explosives 34 << QVariant(0) // air mines 35 - << QVariant(35) // health case pct 36 - << QVariant(25) // health case amt 37 - << QVariant(0) // water rise amt 38 - << QVariant(0) // health dec amt 39 - << QVariant(100) // rope modfier 40 - << QVariant(100) // get away time 41 - << QVariant(0) // world edge 42 - << QVariant() // scriptparam 43 + << QVariant(0) // sentries 36 + << QVariant(35) // health case pct 37 + << QVariant(25) // health case amt 38 + << QVariant(0) // water rise amt 39 + << QVariant(0) // health dec amt 40 + << QVariant(100) // rope modfier 41 + << QVariant(100) // get away time 42 + << QVariant(0) // world edge 43 + << QVariant() // scriptparam 44 ; QList racer; @@ -857,14 +873,15 @@ << QVariant(0) // mine dud pct 33 << QVariant(0) // explosives 34 << QVariant(0) // air mines 35 - << QVariant(0) // health case pct 36 - << QVariant(25) // health case amt 37 - << QVariant(0) // water rise amt 38 - << QVariant(0) // health dec amt 39 - << QVariant(100) // rope modfier 40 - << QVariant(100) // get away time 41 - << QVariant(0) // world edge 42 - << QVariant() // scriptparam 43 + << QVariant(0) // sentries 36 + << QVariant(0) // health case pct 37 + << QVariant(25) // health case amt 38 + << QVariant(0) // water rise amt 39 + << QVariant(0) // health dec amt 40 + << QVariant(100) // rope modfier 41 + << QVariant(100) // get away time 42 + << QVariant(0) // world edge 43 + << QVariant() // scriptparam 44 ;