equal
deleted
inserted
replaced
62 << QVariant(25) // health case amt 36 |
62 << QVariant(25) // health case amt 36 |
63 << QVariant(47) // water rise amt 37 |
63 << QVariant(47) // water rise amt 37 |
64 << QVariant(5) // health dec amt 38 |
64 << QVariant(5) // health dec amt 38 |
65 << QVariant(100) // rope modfier 39 |
65 << QVariant(100) // rope modfier 39 |
66 << QVariant(100) // get away time 40 |
66 << QVariant(100) // get away time 40 |
|
67 << QVariant(0) // world edge 41 |
67 ; |
68 ; |
68 |
69 |
69 AmmoSchemeModel::AmmoSchemeModel(QObject* parent, const QString & fileName) : |
70 AmmoSchemeModel::AmmoSchemeModel(QObject* parent, const QString & fileName) : |
70 QAbstractTableModel(parent), |
71 QAbstractTableModel(parent), |
71 fileConfig(fileName, QSettings::IniFormat) |
72 fileConfig(fileName, QSettings::IniFormat) |
126 << "healthcaseamount" // 36 |
127 << "healthcaseamount" // 36 |
127 << "waterrise" // 37 |
128 << "waterrise" // 37 |
128 << "healthdecrease" // 38 |
129 << "healthdecrease" // 38 |
129 << "ropepct" // 39 |
130 << "ropepct" // 39 |
130 << "getawaytime" // 40 |
131 << "getawaytime" // 40 |
|
132 << "worldedge" // 41 |
131 ; |
133 ; |
132 |
134 |
133 QList<QVariant> proMode; |
135 QList<QVariant> proMode; |
134 proMode |
136 proMode |
135 << predefSchemesNames[1] // name 0 |
137 << predefSchemesNames[1] // name 0 |
171 << QVariant(25) // health case amt 36 |
173 << QVariant(25) // health case amt 36 |
172 << QVariant(47) // water rise amt 37 |
174 << QVariant(47) // water rise amt 37 |
173 << QVariant(5) // health dec amt 38 |
175 << QVariant(5) // health dec amt 38 |
174 << QVariant(100) // rope modfier 39 |
176 << QVariant(100) // rope modfier 39 |
175 << QVariant(100) // get away time 40 |
177 << QVariant(100) // get away time 40 |
|
178 << QVariant(0) // world edge 41 |
176 ; |
179 ; |
177 |
180 |
178 QList<QVariant> shoppa; |
181 QList<QVariant> shoppa; |
179 shoppa |
182 shoppa |
180 << predefSchemesNames[2] // name 0 |
183 << predefSchemesNames[2] // name 0 |
216 << QVariant(25) // health case amt 36 |
219 << QVariant(25) // health case amt 36 |
217 << QVariant(47) // water rise amt 37 |
220 << QVariant(47) // water rise amt 37 |
218 << QVariant(5) // health dec amt 38 |
221 << QVariant(5) // health dec amt 38 |
219 << QVariant(100) // rope modfier 39 |
222 << QVariant(100) // rope modfier 39 |
220 << QVariant(100) // get away time 40 |
223 << QVariant(100) // get away time 40 |
|
224 << QVariant(0) // world edge 41 |
221 ; |
225 ; |
222 |
226 |
223 QList<QVariant> cleanslate; |
227 QList<QVariant> cleanslate; |
224 cleanslate |
228 cleanslate |
225 << predefSchemesNames[3] // name 0 |
229 << predefSchemesNames[3] // name 0 |
261 << QVariant(25) // health case amt 36 |
265 << QVariant(25) // health case amt 36 |
262 << QVariant(47) // water rise amt 37 |
266 << QVariant(47) // water rise amt 37 |
263 << QVariant(5) // health dec amt 38 |
267 << QVariant(5) // health dec amt 38 |
264 << QVariant(100) // rope modfier 39 |
268 << QVariant(100) // rope modfier 39 |
265 << QVariant(100) // get away time 40 |
269 << QVariant(100) // get away time 40 |
|
270 << QVariant(0) // world edge 41 |
266 ; |
271 ; |
267 |
272 |
268 QList<QVariant> minefield; |
273 QList<QVariant> minefield; |
269 minefield |
274 minefield |
270 << predefSchemesNames[4] // name 0 |
275 << predefSchemesNames[4] // name 0 |
306 << QVariant(25) // health case amt 36 |
311 << QVariant(25) // health case amt 36 |
307 << QVariant(47) // water rise amt 37 |
312 << QVariant(47) // water rise amt 37 |
308 << QVariant(5) // health dec amt 38 |
313 << QVariant(5) // health dec amt 38 |
309 << QVariant(100) // rope modfier 39 |
314 << QVariant(100) // rope modfier 39 |
310 << QVariant(100) // get away time 40 |
315 << QVariant(100) // get away time 40 |
|
316 << QVariant(0) // world edge 41 |
311 ; |
317 ; |
312 |
318 |
313 QList<QVariant> barrelmayhem; |
319 QList<QVariant> barrelmayhem; |
314 barrelmayhem |
320 barrelmayhem |
315 << predefSchemesNames[5] // name 0 |
321 << predefSchemesNames[5] // name 0 |
351 << QVariant(25) // health case amt 36 |
357 << QVariant(25) // health case amt 36 |
352 << QVariant(47) // water rise amt 37 |
358 << QVariant(47) // water rise amt 37 |
353 << QVariant(5) // health dec amt 38 |
359 << QVariant(5) // health dec amt 38 |
354 << QVariant(100) // rope modfier 39 |
360 << QVariant(100) // rope modfier 39 |
355 << QVariant(100) // get away time 40 |
361 << QVariant(100) // get away time 40 |
|
362 << QVariant(0) // world edge 41 |
356 ; |
363 ; |
357 |
364 |
358 QList<QVariant> tunnelhogs; |
365 QList<QVariant> tunnelhogs; |
359 tunnelhogs |
366 tunnelhogs |
360 << predefSchemesNames[6] // name 0 |
367 << predefSchemesNames[6] // name 0 |
396 << QVariant(25) // health case amt 36 |
403 << QVariant(25) // health case amt 36 |
397 << QVariant(47) // water rise amt 37 |
404 << QVariant(47) // water rise amt 37 |
398 << QVariant(5) // health dec amt 38 |
405 << QVariant(5) // health dec amt 38 |
399 << QVariant(100) // rope modfier 39 |
406 << QVariant(100) // rope modfier 39 |
400 << QVariant(100) // get away time 40 |
407 << QVariant(100) // get away time 40 |
|
408 << QVariant(0) // world edge 41 |
401 ; |
409 ; |
402 |
410 |
403 QList<QVariant> forts; |
411 QList<QVariant> forts; |
404 forts |
412 forts |
405 << predefSchemesNames[7] // name 0 |
413 << predefSchemesNames[7] // name 0 |
441 << QVariant(25) // health case amt 36 |
449 << QVariant(25) // health case amt 36 |
442 << QVariant(47) // water rise amt 37 |
450 << QVariant(47) // water rise amt 37 |
443 << QVariant(5) // health dec amt 38 |
451 << QVariant(5) // health dec amt 38 |
444 << QVariant(100) // rope modfier 39 |
452 << QVariant(100) // rope modfier 39 |
445 << QVariant(100) // get away time 40 |
453 << QVariant(100) // get away time 40 |
|
454 << QVariant(0) // world edge 41 |
446 ; |
455 ; |
447 |
456 |
448 QList<QVariant> timeless; |
457 QList<QVariant> timeless; |
449 timeless |
458 timeless |
450 << predefSchemesNames[8] // name 0 |
459 << predefSchemesNames[8] // name 0 |
486 << QVariant(30) // health case amt 36 |
495 << QVariant(30) // health case amt 36 |
487 << QVariant(0) // water rise amt 37 |
496 << QVariant(0) // water rise amt 37 |
488 << QVariant(0) // health dec amt 38 |
497 << QVariant(0) // health dec amt 38 |
489 << QVariant(100) // rope modfier 39 |
498 << QVariant(100) // rope modfier 39 |
490 << QVariant(100) // get away time 40 |
499 << QVariant(100) // get away time 40 |
|
500 << QVariant(0) // world edge 41 |
491 ; |
501 ; |
492 |
502 |
493 QList<QVariant> thinkingportals; |
503 QList<QVariant> thinkingportals; |
494 thinkingportals |
504 thinkingportals |
495 << predefSchemesNames[9] // name 0 |
505 << predefSchemesNames[9] // name 0 |
531 << QVariant(25) // health case amt 36 |
541 << QVariant(25) // health case amt 36 |
532 << QVariant(47) // water rise amt 37 |
542 << QVariant(47) // water rise amt 37 |
533 << QVariant(5) // health dec amt 38 |
543 << QVariant(5) // health dec amt 38 |
534 << QVariant(100) // rope modfier 39 |
544 << QVariant(100) // rope modfier 39 |
535 << QVariant(100) // get away time 40 |
545 << QVariant(100) // get away time 40 |
|
546 << QVariant(0) // world edge 41 |
536 ; |
547 ; |
537 |
548 |
538 QList<QVariant> kingmode; |
549 QList<QVariant> kingmode; |
539 kingmode |
550 kingmode |
540 << predefSchemesNames[10] // name 0 |
551 << predefSchemesNames[10] // name 0 |
576 << QVariant(25) // health case amt 36 |
587 << QVariant(25) // health case amt 36 |
577 << QVariant(47) // water rise amt 37 |
588 << QVariant(47) // water rise amt 37 |
578 << QVariant(5) // health dec amt 38 |
589 << QVariant(5) // health dec amt 38 |
579 << QVariant(100) // rope modfier 39 |
590 << QVariant(100) // rope modfier 39 |
580 << QVariant(100) // get away time 40 |
591 << QVariant(100) // get away time 40 |
|
592 << QVariant(0) // world edge 41 |
581 ; |
593 ; |
582 |
594 |
583 |
595 |
584 schemes.append(defaultScheme); |
596 schemes.append(defaultScheme); |
585 schemes.append(proMode); |
597 schemes.append(proMode); |