37 << QVariant(false) // artillery 11 |
37 << QVariant(false) // artillery 11 |
38 << QVariant(true) // random order 12 |
38 << QVariant(true) // random order 12 |
39 << QVariant(false) // king 13 |
39 << QVariant(false) // king 13 |
40 << QVariant(false) // place hog 14 |
40 << QVariant(false) // place hog 14 |
41 << QVariant(false) // shared ammo 15 |
41 << QVariant(false) // shared ammo 15 |
42 << QVariant(false) //disable girders 16 |
42 << QVariant(false) // disable girders 16 |
43 << QVariant(false) // disable land objects 17 |
43 << QVariant(false) // disable land objects 17 |
44 << QVariant(false) // AI survival 18 |
44 << QVariant(false) // AI survival 18 |
45 << QVariant(false) // inf. attack 19 |
45 << QVariant(false) // inf. attack 19 |
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(100) // damage modfier 22 |
48 << QVariant(100) // damage modfier 22 |
49 << QVariant(45) // turn time 23 |
49 << QVariant(45) // turn time 23 |
50 << QVariant(100) // init health 24 |
50 << QVariant(100) // init health 24 |
51 << QVariant(15) // sudden death 25 |
51 << QVariant(15) // sudden death 25 |
52 << QVariant(5) // case prob 26 |
52 << QVariant(5) // case prob 26 |
53 << QVariant(3) // mines time 27 |
53 << QVariant(3) // mines time 27 |
54 << QVariant(4) // landadds 28 |
54 << QVariant(4) // mines number 28 |
55 << QVariant(0) // mine dud pct 29 |
55 << QVariant(0) // mine dud pct 29 |
56 << QVariant(2) // explosives 30 |
56 << QVariant(2) // explosives 30 |
57 ; |
57 ; |
58 |
58 |
59 AmmoSchemeModel::AmmoSchemeModel(QObject* parent, const QString & fileName) : |
59 AmmoSchemeModel::AmmoSchemeModel(QObject* parent, const QString & fileName) : |
122 << QVariant(false) // artillery 11 |
122 << QVariant(false) // artillery 11 |
123 << QVariant(true) // random order 12 |
123 << QVariant(true) // random order 12 |
124 << QVariant(false) // king 13 |
124 << QVariant(false) // king 13 |
125 << QVariant(false) // place hog 14 |
125 << QVariant(false) // place hog 14 |
126 << QVariant(true) // shared ammo 15 |
126 << QVariant(true) // shared ammo 15 |
127 << QVariant(false) //disable girders 16 |
127 << QVariant(false) // disable girders 16 |
128 << QVariant(false) // disable land objects 17 |
128 << QVariant(false) // disable land objects 17 |
129 << QVariant(false) // AI survival 18 |
129 << QVariant(false) // AI survival 18 |
130 << QVariant(false) // inf. attack 19 |
130 << QVariant(false) // inf. attack 19 |
131 << QVariant(false) // reset weps 20 |
131 << QVariant(false) // reset weps 20 |
132 << QVariant(false) // per hog ammo 21 |
132 << QVariant(false) // per hog ammo 21 |
133 << QVariant(100) // damage modfier 22 |
133 << QVariant(100) // damage modfier 22 |
134 << QVariant(15) // turn time 23 |
134 << QVariant(15) // turn time 23 |
135 << QVariant(100) // init health 24 |
135 << QVariant(100) // init health 24 |
136 << QVariant(15) // sudden death 25 |
136 << QVariant(15) // sudden death 25 |
137 << QVariant(0) // case prob 26 |
137 << QVariant(0) // case prob 26 |
138 << QVariant(3) // mines time 27 |
138 << QVariant(3) // mines time 27 |
139 << QVariant(4) // landadds 28 |
139 << QVariant(4) // mines number 28 |
140 << QVariant(0) // mine dud pct 29 |
140 << QVariant(0) // mine dud pct 29 |
141 << QVariant(2) // explosives 30 |
141 << QVariant(2) // explosives 30 |
142 ; |
142 ; |
143 |
143 |
144 QList<QVariant> shoppa; |
144 QList<QVariant> shoppa; |
157 << QVariant(false) // artillery 11 |
157 << QVariant(false) // artillery 11 |
158 << QVariant(true) // random order 12 |
158 << QVariant(true) // random order 12 |
159 << QVariant(false) // king 13 |
159 << QVariant(false) // king 13 |
160 << QVariant(false) // place hog 14 |
160 << QVariant(false) // place hog 14 |
161 << QVariant(true) // shared ammo 15 |
161 << QVariant(true) // shared ammo 15 |
162 << QVariant(true) //disable girders 16 |
162 << QVariant(true) // disable girders 16 |
163 << QVariant(false) // disable land objects 17 |
163 << QVariant(false) // disable land objects 17 |
164 << QVariant(false) // AI survival 18 |
164 << QVariant(false) // AI survival 18 |
165 << QVariant(false) // inf. attack 19 |
165 << QVariant(false) // inf. attack 19 |
166 << QVariant(false) // reset weps 20 |
166 << QVariant(false) // reset weps 20 |
167 << QVariant(false) // per hog ammo 21 |
167 << QVariant(false) // per hog ammo 21 |
168 << QVariant(100) // damage modfier 22 |
168 << QVariant(100) // damage modfier 22 |
169 << QVariant(30) // turn time 23 |
169 << QVariant(30) // turn time 23 |
170 << QVariant(100) // init health 24 |
170 << QVariant(100) // init health 24 |
171 << QVariant(50) // sudden death 25 |
171 << QVariant(50) // sudden death 25 |
172 << QVariant(1) // case prob 26 |
172 << QVariant(1) // case prob 26 |
173 << QVariant(3) // mines time 27 |
173 << QVariant(3) // mines time 27 |
174 << QVariant(4) // landadds 28 |
174 << QVariant(4) // mines number 28 |
175 << QVariant(0) // mine dud pct 29 |
175 << QVariant(0) // mine dud pct 29 |
176 << QVariant(0) // explosives 30 |
176 << QVariant(0) // explosives 30 |
177 ; |
177 ; |
178 |
178 |
179 QList<QVariant> basketball; |
179 QList<QVariant> basketball; |
192 << QVariant(false) // artillery 11 |
192 << QVariant(false) // artillery 11 |
193 << QVariant(true) // random order 12 |
193 << QVariant(true) // random order 12 |
194 << QVariant(false) // king 13 |
194 << QVariant(false) // king 13 |
195 << QVariant(false) // place hog 14 |
195 << QVariant(false) // place hog 14 |
196 << QVariant(true) // shared ammo 15 |
196 << QVariant(true) // shared ammo 15 |
197 << QVariant(true) //disable girders 16 |
197 << QVariant(true) // disable girders 16 |
198 << QVariant(false) // disable land objects 17 |
198 << QVariant(false) // disable land objects 17 |
199 << QVariant(false) // AI survival 18 |
199 << QVariant(false) // AI survival 18 |
200 << QVariant(false) // inf. attack 19 |
200 << QVariant(false) // inf. attack 19 |
201 << QVariant(false) // reset weps 20 |
201 << QVariant(false) // reset weps 20 |
202 << QVariant(false) // per hog ammo 21 |
202 << QVariant(false) // per hog ammo 21 |
203 << QVariant(100) // damage modfier 22 |
203 << QVariant(100) // damage modfier 22 |
204 << QVariant(30) // turn time 23 |
204 << QVariant(30) // turn time 23 |
205 << QVariant(100) // init health 24 |
205 << QVariant(100) // init health 24 |
206 << QVariant(15) // sudden death 25 |
206 << QVariant(15) // sudden death 25 |
207 << QVariant(0) // case prob 26 |
207 << QVariant(0) // case prob 26 |
208 << QVariant(3) // mines time 27 |
208 << QVariant(3) // mines time 27 |
209 << QVariant(4) // landadds 28 |
209 << QVariant(4) // mines number 28 |
210 << QVariant(0) // mine dud pct 29 |
210 << QVariant(0) // mine dud pct 29 |
211 << QVariant(0) // explosives 30 |
211 << QVariant(0) // explosives 30 |
212 ; |
212 ; |
213 |
213 |
214 QList<QVariant> minefield; |
214 QList<QVariant> minefield; |
227 << QVariant(false) // artillery 11 |
227 << QVariant(false) // artillery 11 |
228 << QVariant(true) // random order 12 |
228 << QVariant(true) // random order 12 |
229 << QVariant(false) // king 13 |
229 << QVariant(false) // king 13 |
230 << QVariant(false) // place hog 14 |
230 << QVariant(false) // place hog 14 |
231 << QVariant(true) // shared ammo 15 |
231 << QVariant(true) // shared ammo 15 |
232 << QVariant(true) //disable girders 16 |
232 << QVariant(true) // disable girders 16 |
233 << QVariant(false) // disable land objects 17 |
233 << QVariant(false) // disable land objects 17 |
234 << QVariant(false) // AI survival 18 |
234 << QVariant(false) // AI survival 18 |
235 << QVariant(false) // inf. attack 19 |
235 << QVariant(false) // inf. attack 19 |
236 << QVariant(false) // reset weps 20 |
236 << QVariant(false) // reset weps 20 |
237 << QVariant(false) // per hog ammo 21 |
237 << QVariant(false) // per hog ammo 21 |
238 << QVariant(150) // damage modfier 22 |
238 << QVariant(150) // damage modfier 22 |
239 << QVariant(30) // turn time 23 |
239 << QVariant(30) // turn time 23 |
240 << QVariant(50) // init health 24 |
240 << QVariant(50) // init health 24 |
241 << QVariant(15) // sudden death 25 |
241 << QVariant(15) // sudden death 25 |
242 << QVariant(0) // case prob 26 |
242 << QVariant(0) // case prob 26 |
243 << QVariant(0) // mines time 27 |
243 << QVariant(0) // mines time 27 |
244 << QVariant(80) // landadds 28 |
244 << QVariant(80) // mines number 28 |
245 << QVariant(0) // mine dud pct 29 |
245 << QVariant(0) // mine dud pct 29 |
246 << QVariant(0) // explosives 30 |
246 << QVariant(0) // explosives 30 |
247 ; |
247 ; |
248 |
248 |
249 QList<QVariant> barrelmayhem; |
249 QList<QVariant> barrelmayhem; |
262 << QVariant(false) // artillery 11 |
262 << QVariant(false) // artillery 11 |
263 << QVariant(true) // random order 12 |
263 << QVariant(true) // random order 12 |
264 << QVariant(false) // king 13 |
264 << QVariant(false) // king 13 |
265 << QVariant(false) // place hog 14 |
265 << QVariant(false) // place hog 14 |
266 << QVariant(true) // shared ammo 15 |
266 << QVariant(true) // shared ammo 15 |
267 << QVariant(false) //disable girders 16 |
267 << QVariant(false) // disable girders 16 |
268 << QVariant(false) // disable land objects 17 |
268 << QVariant(false) // disable land objects 17 |
269 << QVariant(false) // AI survival 18 |
269 << QVariant(false) // AI survival 18 |
270 << QVariant(false) // inf. attack 19 |
270 << QVariant(false) // inf. attack 19 |
271 << QVariant(false) // reset weps 20 |
271 << QVariant(false) // reset weps 20 |
272 << QVariant(false) // per hog ammo 21 |
272 << QVariant(false) // per hog ammo 21 |
274 << QVariant(30) // turn time 23 |
274 << QVariant(30) // turn time 23 |
275 << QVariant(100) // init health 24 |
275 << QVariant(100) // init health 24 |
276 << QVariant(15) // sudden death 25 |
276 << QVariant(15) // sudden death 25 |
277 << QVariant(0) // case prob 26 |
277 << QVariant(0) // case prob 26 |
278 << QVariant(0) // mines time 27 |
278 << QVariant(0) // mines time 27 |
279 << QVariant(0) // landadds 28 |
279 << QVariant(0) // mines number 28 |
280 << QVariant(0) // mine dud pct 29 |
280 << QVariant(0) // mine dud pct 29 |
281 << QVariant(80) // explosives 30 |
281 << QVariant(80) // explosives 30 |
282 ; |
282 ; |
283 |
283 |
284 QList<QVariant> tunnelhogs; |
284 QList<QVariant> tunnelhogs; |
297 << QVariant(false) // artillery 11 |
297 << QVariant(false) // artillery 11 |
298 << QVariant(true) // random order 12 |
298 << QVariant(true) // random order 12 |
299 << QVariant(false) // king 13 |
299 << QVariant(false) // king 13 |
300 << QVariant(false) // place hog 14 |
300 << QVariant(false) // place hog 14 |
301 << QVariant(true) // shared ammo 15 |
301 << QVariant(true) // shared ammo 15 |
302 << QVariant(true) //disable girders 16 |
302 << QVariant(true) // disable girders 16 |
303 << QVariant(true) // disable land objects 17 |
303 << QVariant(true) // disable land objects 17 |
304 << QVariant(false) // AI survival 18 |
304 << QVariant(false) // AI survival 18 |
305 << QVariant(false) // inf. attack 19 |
305 << QVariant(false) // inf. attack 19 |
306 << QVariant(false) // reset weps 20 |
306 << QVariant(false) // reset weps 20 |
307 << QVariant(false) // per hog ammo 21 |
307 << QVariant(false) // per hog ammo 21 |
309 << QVariant(30) // turn time 23 |
309 << QVariant(30) // turn time 23 |
310 << QVariant(100) // init health 24 |
310 << QVariant(100) // init health 24 |
311 << QVariant(15) // sudden death 25 |
311 << QVariant(15) // sudden death 25 |
312 << QVariant(5) // case prob 26 |
312 << QVariant(5) // case prob 26 |
313 << QVariant(3) // mines time 27 |
313 << QVariant(3) // mines time 27 |
314 << QVariant(10) // landadds 28 |
314 << QVariant(10) // mines number 28 |
315 << QVariant(10) // mine dud pct 29 |
315 << QVariant(10) // mine dud pct 29 |
316 << QVariant(10) // explosives 30 |
316 << QVariant(10) // explosives 30 |
317 ; |
317 ; |
318 |
318 |
319 schemes.append(defaultScheme); |
319 schemes.append(defaultScheme); |