| 1 |
/* |
| 2 |
=========================================================================== |
| 3 |
Copyright (C) 2008-2009 Poul Sander |
| 4 |
|
| 5 |
This file is part of the Open Arena source code. |
| 6 |
|
| 7 |
Open Arena source code is free software; you can redistribute it |
| 8 |
and/or modify it under the terms of the GNU General Public License as |
| 9 |
published by the Free Software Foundation; either version 2 of the License, |
| 10 |
or (at your option) any later version. |
| 11 |
|
| 12 |
Open Arena source code is distributed in the hope that it will be |
| 13 |
useful, but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 14 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 15 |
GNU General Public License for more details. |
| 16 |
|
| 17 |
You should have received a copy of the GNU General Public License |
| 18 |
along with Open Arena source code; if not, write to the Free Software |
| 19 |
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
| 20 |
=========================================================================== |
| 21 |
*/ |
| 22 |
|
| 23 |
#include "ui_local.h" |
| 24 |
#include "../game/challenges.h" |
| 25 |
|
| 26 |
//This is an ugly way of syncing to cgame but it is platform compatible |
| 27 |
#define PARTofUI 1 |
| 28 |
#include "../cgame/cg_challenges.c" |
| 29 |
|
| 30 |
#define ID_BACK 1 |
| 31 |
|
| 32 |
//Main menu: |
| 33 |
#define ID_GENERAL 100 |
| 34 |
#define ID_GAMETYPES 101 |
| 35 |
#define ID_WEAPONS 102 |
| 36 |
#define ID_AWARDS 103 |
| 37 |
#define ID_POWERUPS 104 |
| 38 |
#define ID_FFA 105 |
| 39 |
|
| 40 |
#define ART_BACK0 "menu/art_blueish/back_0" |
| 41 |
#define ART_BACK1 "menu/art_blueish/back_1" |
| 42 |
#define ART_FRAMEL "menu/art_blueish/frame2_l" |
| 43 |
#define ART_FRAMER "menu/art_blueish/frame1_r" |
| 44 |
|
| 45 |
#define MAX_ENTRIES 18 |
| 46 |
#define MAX_INT_AS_STRING 8 |
| 47 |
|
| 48 |
typedef struct { |
| 49 |
menuframework_s menu; |
| 50 |
|
| 51 |
menutext_s banner; |
| 52 |
menubitmap_s framel; |
| 53 |
menubitmap_s framer; |
| 54 |
|
| 55 |
menutext_s general; |
| 56 |
menutext_s gametypes; |
| 57 |
menutext_s weapons; |
| 58 |
menutext_s awards; |
| 59 |
menutext_s powerups; |
| 60 |
|
| 61 |
int numberOfEntries; |
| 62 |
menutext_s entry[MAX_ENTRIES]; |
| 63 |
menutext_s entryIntText[MAX_ENTRIES]; |
| 64 |
char entryIntString[MAX_ENTRIES][MAX_INT_AS_STRING]; |
| 65 |
int entryInt[MAX_ENTRIES]; |
| 66 |
|
| 67 |
menutext_s notice; |
| 68 |
menutext_s notice2; |
| 69 |
menubitmap_s back; |
| 70 |
} challenges_t; |
| 71 |
|
| 72 |
static challenges_t challenges; |
| 73 |
|
| 74 |
static int mainSelection; |
| 75 |
|
| 76 |
//This should only be accessed locally |
| 77 |
void UI_ChallengesLocal( void ); |
| 78 |
|
| 79 |
/* |
| 80 |
================= |
| 81 |
UI_Challenges_Event |
| 82 |
================= |
| 83 |
*/ |
| 84 |
static void UI_Challenges_Event( void* ptr, int event ) { |
| 85 |
if( event != QM_ACTIVATED ) { |
| 86 |
return; |
| 87 |
} |
| 88 |
|
| 89 |
switch( ((menucommon_s*)ptr)->id ) { |
| 90 |
case ID_GENERAL: |
| 91 |
mainSelection = 0; |
| 92 |
UI_PopMenu(); |
| 93 |
UI_ChallengesLocal(); |
| 94 |
break; |
| 95 |
|
| 96 |
case ID_GAMETYPES: |
| 97 |
mainSelection = 1; |
| 98 |
UI_PopMenu(); |
| 99 |
UI_ChallengesLocal(); |
| 100 |
break; |
| 101 |
|
| 102 |
case ID_WEAPONS: |
| 103 |
mainSelection = 2; |
| 104 |
UI_PopMenu(); |
| 105 |
UI_ChallengesLocal(); |
| 106 |
break; |
| 107 |
|
| 108 |
case ID_AWARDS: |
| 109 |
mainSelection = 3; |
| 110 |
UI_PopMenu(); |
| 111 |
UI_ChallengesLocal(); |
| 112 |
break; |
| 113 |
|
| 114 |
case ID_POWERUPS: |
| 115 |
mainSelection = 4; |
| 116 |
UI_PopMenu(); |
| 117 |
UI_ChallengesLocal(); |
| 118 |
break; |
| 119 |
|
| 120 |
case ID_FFA: |
| 121 |
break; |
| 122 |
|
| 123 |
case ID_BACK: |
| 124 |
UI_PopMenu(); |
| 125 |
break; |
| 126 |
} |
| 127 |
} |
| 128 |
|
| 129 |
/* |
| 130 |
=============== |
| 131 |
UI_Challenges_Cache |
| 132 |
=============== |
| 133 |
*/ |
| 134 |
void UI_Challenges_Cache( void ) { |
| 135 |
trap_R_RegisterShaderNoMip( ART_FRAMEL ); |
| 136 |
trap_R_RegisterShaderNoMip( ART_FRAMER ); |
| 137 |
trap_R_RegisterShaderNoMip( ART_BACK0 ); |
| 138 |
trap_R_RegisterShaderNoMip( ART_BACK1 ); |
| 139 |
} |
| 140 |
|
| 141 |
/* |
| 142 |
=============== |
| 143 |
UI_Challenges_Init |
| 144 |
=============== |
| 145 |
*/ |
| 146 |
static void UI_Challenges_Init( void ) { |
| 147 |
int y,i; |
| 148 |
|
| 149 |
memset( &challenges, 0, sizeof(challenges) ); |
| 150 |
|
| 151 |
UI_DisplayOptionsMenu_Cache(); |
| 152 |
challenges.menu.wrapAround = qtrue; |
| 153 |
challenges.menu.fullscreen = qtrue; |
| 154 |
|
| 155 |
challenges.banner.generic.type = MTYPE_BTEXT; |
| 156 |
challenges.banner.generic.flags = QMF_CENTER_JUSTIFY; |
| 157 |
challenges.banner.generic.x = 320; |
| 158 |
challenges.banner.generic.y = 16; |
| 159 |
challenges.banner.string = "STATISTICS"; |
| 160 |
challenges.banner.color = color_white; |
| 161 |
challenges.banner.style = UI_CENTER; |
| 162 |
|
| 163 |
challenges.framel.generic.type = MTYPE_BITMAP; |
| 164 |
challenges.framel.generic.name = ART_FRAMEL; |
| 165 |
challenges.framel.generic.flags = QMF_INACTIVE; |
| 166 |
challenges.framel.generic.x = 0; |
| 167 |
challenges.framel.generic.y = 78; |
| 168 |
challenges.framel.width = 256; |
| 169 |
challenges.framel.height = 329; |
| 170 |
|
| 171 |
challenges.framer.generic.type = MTYPE_BITMAP; |
| 172 |
challenges.framer.generic.name = ART_FRAMER; |
| 173 |
challenges.framer.generic.flags = QMF_INACTIVE; |
| 174 |
challenges.framer.generic.x = 376; |
| 175 |
challenges.framer.generic.y = 76; |
| 176 |
challenges.framer.width = 256; |
| 177 |
challenges.framer.height = 334; |
| 178 |
|
| 179 |
challenges.general.generic.type = MTYPE_PTEXT; |
| 180 |
challenges.general.generic.flags = QMF_RIGHT_JUSTIFY|QMF_PULSEIFFOCUS; |
| 181 |
challenges.general.generic.id = ID_GENERAL; |
| 182 |
challenges.general.generic.callback = UI_Challenges_Event; |
| 183 |
challenges.general.generic.x = 216; |
| 184 |
challenges.general.generic.y = 240 - 1 * PROP_HEIGHT; |
| 185 |
challenges.general.string = "GENERAL"; |
| 186 |
challenges.general.style = UI_RIGHT; |
| 187 |
challenges.general.color = color_red; |
| 188 |
|
| 189 |
/*challenges.gametypes.generic.type = MTYPE_PTEXT; |
| 190 |
challenges.gametypes.generic.flags = QMF_RIGHT_JUSTIFY|QMF_PULSEIFFOCUS; |
| 191 |
challenges.gametypes.generic.id = ID_GAMETYPES; |
| 192 |
challenges.gametypes.generic.callback = UI_Challenges_Event; |
| 193 |
challenges.gametypes.generic.x = 216; |
| 194 |
challenges.gametypes.generic.y = 240 - PROP_HEIGHT; |
| 195 |
challenges.gametypes.string = "GAMETYPES"; |
| 196 |
challenges.gametypes.style = UI_RIGHT; |
| 197 |
challenges.gametypes.color = color_red;*/ |
| 198 |
|
| 199 |
challenges.weapons.generic.type = MTYPE_PTEXT; |
| 200 |
challenges.weapons.generic.flags = QMF_RIGHT_JUSTIFY|QMF_PULSEIFFOCUS; |
| 201 |
challenges.weapons.generic.id = ID_WEAPONS; |
| 202 |
challenges.weapons.generic.callback = UI_Challenges_Event; |
| 203 |
challenges.weapons.generic.x = 216; |
| 204 |
challenges.weapons.generic.y = 240; |
| 205 |
challenges.weapons.string = "WEAPONS"; |
| 206 |
challenges.weapons.style = UI_RIGHT; |
| 207 |
challenges.weapons.color = color_red; |
| 208 |
|
| 209 |
challenges.awards.generic.type = MTYPE_PTEXT; |
| 210 |
challenges.awards.generic.flags = QMF_RIGHT_JUSTIFY|QMF_PULSEIFFOCUS; |
| 211 |
challenges.awards.generic.id = ID_AWARDS; |
| 212 |
challenges.awards.generic.callback = UI_Challenges_Event; |
| 213 |
challenges.awards.generic.x = 216; |
| 214 |
challenges.awards.generic.y = 240 + PROP_HEIGHT; |
| 215 |
challenges.awards.string = "AWARDS"; |
| 216 |
challenges.awards.style = UI_RIGHT; |
| 217 |
challenges.awards.color = color_red; |
| 218 |
|
| 219 |
challenges.powerups.generic.type = MTYPE_PTEXT; |
| 220 |
challenges.powerups.generic.flags = QMF_RIGHT_JUSTIFY|QMF_PULSEIFFOCUS; |
| 221 |
challenges.powerups.generic.id = ID_POWERUPS; |
| 222 |
challenges.powerups.generic.callback = UI_Challenges_Event; |
| 223 |
challenges.powerups.generic.x = 216; |
| 224 |
challenges.powerups.generic.y = 240 + PROP_HEIGHT*2; |
| 225 |
challenges.powerups.string = "POWERUPS"; |
| 226 |
challenges.powerups.style = UI_RIGHT; |
| 227 |
challenges.powerups.color = color_red; |
| 228 |
|
| 229 |
challenges.notice.generic.type = MTYPE_TEXT; |
| 230 |
challenges.notice.generic.flags = QMF_CENTER_JUSTIFY|QMF_INACTIVE|QMF_SMALLFONT; |
| 231 |
challenges.notice.generic.x = 160; |
| 232 |
challenges.notice.generic.y = 430; |
| 233 |
challenges.notice.string = "Only results against"; |
| 234 |
|
| 235 |
challenges.notice2.generic.type = MTYPE_TEXT; |
| 236 |
challenges.notice2.generic.flags = QMF_CENTER_JUSTIFY|QMF_INACTIVE|QMF_SMALLFONT; |
| 237 |
challenges.notice2.generic.x = 160; |
| 238 |
challenges.notice2.generic.y = 430+PROP_HEIGHT-10; |
| 239 |
challenges.notice2.string = "humans are counted"; |
| 240 |
|
| 241 |
challenges.back.generic.type = MTYPE_BITMAP; |
| 242 |
challenges.back.generic.name = ART_BACK0; |
| 243 |
challenges.back.generic.flags = QMF_LEFT_JUSTIFY|QMF_PULSEIFFOCUS; |
| 244 |
challenges.back.generic.callback = UI_Challenges_Event; |
| 245 |
challenges.back.generic.id = ID_BACK; |
| 246 |
challenges.back.generic.x = 0; |
| 247 |
challenges.back.generic.y = 480-64; |
| 248 |
challenges.back.width = 128; |
| 249 |
challenges.back.height = 64; |
| 250 |
challenges.back.focuspic = ART_BACK1; |
| 251 |
|
| 252 |
switch(mainSelection) |
| 253 |
{ |
| 254 |
case 0: |
| 255 |
//generel |
| 256 |
challenges.entry[0].string = "Total kills:"; |
| 257 |
challenges.entry[1].string = "Total deaths:"; |
| 258 |
//challenges.entry[2].string = "Total games:"; |
| 259 |
challenges.numberOfEntries = 2; |
| 260 |
challenges.entryInt[0] = getChallenge(GENERAL_TOTALKILLS); |
| 261 |
challenges.entryInt[1] = getChallenge(GENERAL_TOTALDEATHS); |
| 262 |
//challenges.entryInt[2] = getChallenge(GENERAL_TOTALGAMES); |
| 263 |
challenges.general.generic.flags = QMF_RIGHT_JUSTIFY|QMF_INACTIVE; |
| 264 |
break; |
| 265 |
case 1: |
| 266 |
//gametypes |
| 267 |
challenges.numberOfEntries = 0; |
| 268 |
challenges.gametypes.generic.flags = QMF_RIGHT_JUSTIFY|QMF_INACTIVE; |
| 269 |
break; |
| 270 |
case 2: |
| 271 |
//weapons |
| 272 |
challenges.entry[0].string = "Gauntlet kills:"; |
| 273 |
challenges.entry[1].string = "Machinegun kills:"; |
| 274 |
challenges.entry[2].string = "Shotgun kills:"; |
| 275 |
challenges.entry[3].string = "Granade kills:"; |
| 276 |
challenges.entry[4].string = "Rocket kills:"; |
| 277 |
challenges.entry[5].string = "Lightning kills:"; |
| 278 |
challenges.entry[6].string = "Plasmagun kills:"; |
| 279 |
challenges.entry[7].string = "Railgun kills:"; |
| 280 |
challenges.entry[8].string = "Instant rail kills:"; |
| 281 |
challenges.entry[9].string = "BFG kills:"; |
| 282 |
challenges.entry[10].string = "Grapple kills:"; |
| 283 |
challenges.entry[11].string = "Chaingun kills:"; |
| 284 |
challenges.entry[12].string = "Nailgun kills:"; |
| 285 |
challenges.entry[13].string = "Proxy mine kills:"; |
| 286 |
challenges.entry[14].string = "Telefrags:"; |
| 287 |
challenges.entry[15].string = "Push kills:"; |
| 288 |
challenges.entry[16].string = "Crush kills:"; |
| 289 |
challenges.numberOfEntries = 17; |
| 290 |
challenges.entryInt[0] = getChallenge(WEAPON_GAUNTLET_KILLS); |
| 291 |
challenges.entryInt[1] = getChallenge(WEAPON_MACHINEGUN_KILLS); |
| 292 |
challenges.entryInt[2] = getChallenge(WEAPON_SHOTGUN_KILLS); |
| 293 |
challenges.entryInt[3] = getChallenge(WEAPON_GRANADE_KILLS); |
| 294 |
challenges.entryInt[4] = getChallenge(WEAPON_ROCKET_KILLS); |
| 295 |
challenges.entryInt[5] = getChallenge(WEAPON_LIGHTNING_KILLS); |
| 296 |
challenges.entryInt[6] = getChallenge(WEAPON_PLASMA_KILLS); |
| 297 |
challenges.entryInt[7] = getChallenge(WEAPON_RAIL_KILLS); |
| 298 |
challenges.entryInt[8] = getChallenge(WEAPON_INSTANT_RAIL_KILLS); |
| 299 |
challenges.entryInt[9] = getChallenge(WEAPON_BFG_KILLS); |
| 300 |
challenges.entryInt[10] = getChallenge(WEAPON_GRAPPLE_KILLS); |
| 301 |
challenges.entryInt[11] = getChallenge(WEAPON_CHAINGUN_KILLS); |
| 302 |
challenges.entryInt[12] = getChallenge(WEAPON_NAILGUN_KILLS); |
| 303 |
challenges.entryInt[13] = getChallenge(WEAPON_MINE_KILLS); |
| 304 |
challenges.entryInt[14] = getChallenge(WEAPON_TELEFRAG_KILLS); |
| 305 |
challenges.entryInt[15] = getChallenge(WEAPON_PUSH_KILLS); |
| 306 |
challenges.entryInt[16] = getChallenge(WEAPON_CRUSH_KILLS); |
| 307 |
challenges.weapons.generic.flags = QMF_RIGHT_JUSTIFY|QMF_INACTIVE; |
| 308 |
break; |
| 309 |
case 3: |
| 310 |
//awards |
| 311 |
challenges.entry[0].string = "Gauntlet"; |
| 312 |
challenges.entry[1].string = "Impressive"; |
| 313 |
challenges.entry[2].string = "Excellent"; |
| 314 |
challenges.entry[3].string = "Capture"; |
| 315 |
challenges.entry[4].string = "Assist"; |
| 316 |
challenges.entry[5].string = "Defend"; |
| 317 |
challenges.numberOfEntries = 6; |
| 318 |
challenges.entryInt[0] = getChallenge(WEAPON_GAUNTLET_KILLS); |
| 319 |
challenges.entryInt[1] = getChallenge(AWARD_IMPRESSIVE); |
| 320 |
challenges.entryInt[2] = getChallenge(AWARD_EXCELLENT); |
| 321 |
challenges.entryInt[3] = getChallenge(AWARD_CAPTURE); |
| 322 |
challenges.entryInt[4] = getChallenge(AWARD_ASSIST); |
| 323 |
challenges.entryInt[5] = getChallenge(AWARD_DEFENCE); |
| 324 |
challenges.awards.generic.flags = QMF_RIGHT_JUSTIFY|QMF_INACTIVE; |
| 325 |
break; |
| 326 |
case 4: |
| 327 |
challenges.entry[0].string = "Quad kills"; |
| 328 |
challenges.entry[1].string = "2 fast 4 U"; |
| 329 |
challenges.entry[2].string = "They didn't see me"; |
| 330 |
challenges.entry[3].string = "I'm flying"; |
| 331 |
challenges.entry[4].string = "Killing machine"; |
| 332 |
challenges.entry[5].string = "Counter Quad"; |
| 333 |
challenges.entry[6].string = "Not fast enough"; |
| 334 |
challenges.entry[7].string = "You cannot hide"; |
| 335 |
challenges.entry[8].string = "Fall deep"; |
| 336 |
challenges.entry[9].string = "Counter battlesuit"; |
| 337 |
challenges.entry[10].string = "Counter regen"; |
| 338 |
challenges.entry[11].string = "Counter multi"; |
| 339 |
challenges.numberOfEntries = 12; |
| 340 |
|
| 341 |
challenges.entryInt[0] = getChallenge(POWERUP_QUAD_KILL); |
| 342 |
challenges.entryInt[1] = getChallenge(POWERUP_SPEED_KILL); |
| 343 |
challenges.entryInt[2] = getChallenge(POWERUP_INVIS_KILL); |
| 344 |
challenges.entryInt[3] = getChallenge(POWERUP_FLIGHT_KILL); |
| 345 |
challenges.entryInt[4] = getChallenge(POWERUP_MULTI_KILL); |
| 346 |
challenges.entryInt[5] = getChallenge(POWERUP_COUNTER_QUAD); |
| 347 |
challenges.entryInt[6] = getChallenge(POWERUP_COUNTER_SPEED); |
| 348 |
challenges.entryInt[7] = getChallenge(POWERUP_COUNTER_INVIS); |
| 349 |
challenges.entryInt[8] = getChallenge(POWERUP_COUNTER_FLIGHT); |
| 350 |
challenges.entryInt[9] = getChallenge(POWERUP_COUNTER_ENVIR); |
| 351 |
challenges.entryInt[10] = getChallenge(POWERUP_COUNTER_REGEN); |
| 352 |
challenges.entryInt[11] = getChallenge(POWERUP_COUNTER_MULTI); |
| 353 |
challenges.powerups.generic.flags = QMF_RIGHT_JUSTIFY|QMF_INACTIVE; |
| 354 |
break; |
| 355 |
|
| 356 |
default: |
| 357 |
challenges.numberOfEntries = 0; |
| 358 |
}; |
| 359 |
|
| 360 |
//Now write the challenges |
| 361 |
y = 240 - (int)((((float)challenges.numberOfEntries)/2.0) * (float)(BIGCHAR_HEIGHT + 2)); |
| 362 |
for(i=0;i<MAX_ENTRIES && i < challenges.numberOfEntries;i++) |
| 363 |
{ |
| 364 |
challenges.entry[i].color = color_white; |
| 365 |
challenges.entry[i].generic.type = MTYPE_TEXT; |
| 366 |
challenges.entry[i].generic.x = 230; |
| 367 |
challenges.entry[i].generic.y = y; |
| 368 |
|
| 369 |
challenges.entryIntText[i].color = color_white; |
| 370 |
challenges.entryIntText[i].generic.type = MTYPE_TEXT; |
| 371 |
challenges.entryIntText[i].generic.x = 630; |
| 372 |
challenges.entryIntText[i].generic.y = y; |
| 373 |
challenges.entryIntText[i].style = UI_RIGHT; |
| 374 |
challenges.entryIntText[i].string = challenges.entryIntString[i]; |
| 375 |
|
| 376 |
strncpy(challenges.entryIntString[i],va("%u",challenges.entryInt[i]),MAX_INT_AS_STRING); |
| 377 |
y += BIGCHAR_HEIGHT+2; |
| 378 |
} |
| 379 |
|
| 380 |
Menu_AddItem( &challenges.menu, ( void * ) &challenges.banner ); |
| 381 |
Menu_AddItem( &challenges.menu, ( void * ) &challenges.framel ); |
| 382 |
Menu_AddItem( &challenges.menu, ( void * ) &challenges.framer ); |
| 383 |
|
| 384 |
Menu_AddItem( &challenges.menu, ( void * ) &challenges.general ); |
| 385 |
//Menu_AddItem( &challenges.menu, ( void * ) &challenges.gametypes ); |
| 386 |
Menu_AddItem( &challenges.menu, ( void * ) &challenges.weapons ); |
| 387 |
Menu_AddItem( &challenges.menu, ( void * ) &challenges.awards ); |
| 388 |
Menu_AddItem( &challenges.menu, ( void * ) &challenges.powerups ); |
| 389 |
|
| 390 |
for(i=0;i<MAX_ENTRIES && i<challenges.numberOfEntries;i++) |
| 391 |
{ |
| 392 |
Menu_AddItem( &challenges.menu, ( void * ) &challenges.entry[i] ); |
| 393 |
Menu_AddItem( &challenges.menu, ( void * ) &challenges.entryIntText[i] ); |
| 394 |
} |
| 395 |
Menu_AddItem( &challenges.menu, (void *) &challenges.notice); |
| 396 |
Menu_AddItem( &challenges.menu, (void *) &challenges.notice2); |
| 397 |
Menu_AddItem( &challenges.menu, ( void * ) &challenges.back ); |
| 398 |
} |
| 399 |
|
| 400 |
/* |
| 401 |
=============== |
| 402 |
UI_Challenges |
| 403 |
=============== |
| 404 |
*/ |
| 405 |
void UI_Challenges( void ) { |
| 406 |
mainSelection = 0; |
| 407 |
UI_Challenges_Init(); |
| 408 |
UI_PushMenu( &challenges.menu ); |
| 409 |
Menu_SetCursorToItem( &challenges.menu, &challenges.back ); |
| 410 |
} |
| 411 |
|
| 412 |
/* |
| 413 |
=============== |
| 414 |
UI_ChallengesLocal |
| 415 |
*This is only used locally. Remembers selection |
| 416 |
=============== |
| 417 |
*/ |
| 418 |
void UI_ChallengesLocal( void ) { |
| 419 |
UI_Challenges_Init(); |
| 420 |
UI_PushMenu( &challenges.menu ); |
| 421 |
Menu_SetCursorToItem( &challenges.menu, &challenges.back ); |
| 422 |
} |