home *** CD-ROM | disk | FTP | other *** search
Unknown | 2004-05-10 | 3.1 KB |
view JSON data
|
view as text
|
open on a Mac
|
open on a PC
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 78 31 2f 2f 3d 3d 3d 3d |........|x1//====|
|00000010| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000020| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000030| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000040| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000050| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 0d 0a 2f 2f 20 53 |========|==..// S|
|00000060| 69 6e 67 6c 65 20 50 6c | 61 79 65 72 20 43 68 61 |ingle Pl|ayer Cha|
|00000070| 6c 6c 65 6e 67 65 20 47 | 61 6d 65 20 63 6f 64 65 |llenge G|ame code|
|00000080| 20 2d 20 62 61 73 65 20 | 63 6c 61 73 73 0d 0a 2f | - base |class../|
|00000090| 2f 0d 0a 2f 2f 20 57 72 | 69 74 74 65 6e 20 62 79 |/..// Wr|itten by|
|000000a0| 20 4d 69 63 68 69 65 6c | 20 48 65 6e 64 72 69 6b | Michiel| Hendrik|
|000000b0| 73 0d 0a 2f 2f 20 28 63 | 29 20 32 30 30 33 2c 20 |s..// (c|) 2003, |
|000000c0| 45 70 69 63 20 47 61 6d | 65 73 2c 20 49 6e 63 2e |Epic Gam|es, Inc.|
|000000d0| 20 41 6c 6c 20 52 69 67 | 68 74 73 20 52 65 73 65 | All Rig|hts Rese|
|000000e0| 72 76 65 64 0d 0a 2f 2f | 3d 3d 3d 3d 3d 3d 3d 3d |rved..//|========|
|000000f0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000100| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000110| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000120| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000130| 3d 3d 3d 3d 3d 3d 0d 0a | 0d 0a 63 6c 61 73 73 20 |======..|..class |
|00000140| 43 68 61 6c 6c 65 6e 67 | 65 47 61 6d 65 20 65 78 |Challeng|eGame ex|
|00000150| 74 65 6e 64 73 20 4f 62 | 6a 65 63 74 20 61 62 73 |tends Ob|ject abs|
|00000160| 74 72 61 63 74 3b 0d 0a | 0d 0a 2f 2a 2a 20 6e 61 |tract;..|../** na|
|00000170| 6d 65 20 6f 66 20 74 68 | 69 73 20 63 68 61 6c 6c |me of th|is chall|
|00000180| 65 6e 67 65 20 2a 2f 0d | 0a 76 61 72 20 6c 6f 63 |enge */.|.var loc|
|00000190| 61 6c 69 7a 65 64 20 73 | 74 72 69 6e 67 20 43 68 |alized s|tring Ch|
|000001a0| 61 6c 6c 65 6e 67 65 4e | 61 6d 65 3b 0d 0a 2f 2a |allengeN|ame;../*|
|000001b0| 2a 20 64 65 73 63 72 69 | 70 74 69 6f 6e 20 6f 66 |* descri|ption of|
|000001c0| 20 74 68 65 20 63 68 61 | 6c 6c 65 6e 67 65 20 2a | the cha|llenge *|
|000001d0| 2f 0d 0a 76 61 72 20 6c | 6f 63 61 6c 69 7a 65 64 |/..var l|ocalized|
|000001e0| 20 73 74 72 69 6e 67 20 | 43 68 61 6c 6c 65 6e 67 | string |Challeng|
|000001f0| 65 44 65 73 63 72 69 70 | 74 69 6f 6e 3b 0d 0a 76 |eDescrip|tion;..v|
|00000200| 61 72 20 6c 6f 63 61 6c | 69 7a 65 64 20 73 74 72 |ar local|ized str|
|00000210| 69 6e 67 20 6d 73 67 47 | 6f 74 43 68 61 6c 6c 65 |ing msgG|otChalle|
|00000220| 6e 67 65 64 2c 20 6d 73 | 67 57 65 43 68 61 6c 6c |nged, ms|gWeChall|
|00000230| 65 6e 67 65 64 2c 20 6d | 73 67 46 6f 72 3b 0d 0a |enged, m|sgFor;..|
|00000240| 0d 0a 2f 2a 2a 20 74 68 | 65 20 63 68 61 6c 6c 65 |../** th|e challe|
|00000250| 6e 67 65 20 63 6f 6e 66 | 69 67 75 72 61 74 69 6f |nge conf|iguratio|
|00000260| 6e 20 6d 65 6e 75 20 2a | 2f 0d 0a 76 61 72 20 73 |n menu *|/..var s|
|00000270| 74 72 69 6e 67 20 43 68 | 61 6c 6c 65 6e 67 65 4d |tring Ch|allengeM|
|00000280| 65 6e 75 3b 0d 0a 0d 0a | 73 74 72 75 63 74 20 54 |enu;....|struct T|
|00000290| 72 69 53 74 72 69 6e 67 | 0d 0a 7b 0d 0a 09 76 61 |riString|..{...va|
|000002a0| 72 20 73 74 72 69 6e 67 | 20 47 55 49 50 61 67 65 |r string| GUIPage|
|000002b0| 3b 0d 0a 09 76 61 72 20 | 73 74 72 69 6e 67 20 50 |;...var |string P|
|000002c0| 61 72 61 6d 31 2c 20 50 | 61 72 61 6d 32 3b 0d 0a |aram1, P|aram2;..|
|000002d0| 7d 3b 0d 0a 0d 0a 2f 2a | 2a 20 63 61 6c 6c 65 64 |};..../*|* called|
|000002e0| 20 66 72 6f 6d 20 47 61 | 6d 65 50 72 6f 66 69 6c | from Ga|meProfil|
|000002f0| 65 2e 52 65 67 69 73 74 | 65 72 47 61 6d 65 28 29 |e.Regist|erGame()|
|00000300| 20 62 65 66 6f 72 65 20 | 61 6e 79 74 68 69 6e 67 | before |anything|
|00000310| 20 69 73 20 70 72 6f 63 | 65 73 73 65 64 20 2a 2f | is proc|essed */|
|00000320| 0d 0a 73 74 61 74 69 63 | 20 66 75 6e 63 74 69 6f |..static| functio|
|00000330| 6e 20 50 72 65 52 65 67 | 69 73 74 65 72 47 61 6d |n PreReg|isterGam|
|00000340| 65 28 55 54 32 4b 34 47 | 61 6d 65 50 72 6f 66 69 |e(UT2K4G|ameProfi|
|00000350| 6c 65 20 47 50 2c 20 47 | 61 6d 65 49 6e 66 6f 20 |le GP, G|ameInfo |
|00000360| 63 75 72 72 65 6e 74 47 | 61 6d 65 2c 20 50 6c 61 |currentG|ame, Pla|
|00000370| 79 65 72 52 65 70 6c 69 | 63 61 74 69 6f 6e 49 6e |yerRepli|cationIn|
|00000380| 66 6f 20 50 52 49 29 0d | 0a 7b 0d 0a 7d 0d 0a 0d |fo PRI).|.{..}...|
|00000390| 0a 2f 2a 2a 20 63 61 6c | 6c 65 64 20 66 72 6f 6d |./** cal|led from|
|000003a0| 20 47 61 6d 65 50 72 6f | 66 69 6c 65 2e 52 65 67 | GamePro|file.Reg|
|000003b0| 69 73 74 65 72 47 61 6d | 65 28 29 20 61 66 74 65 |isterGam|e() afte|
|000003c0| 72 20 65 76 65 72 79 74 | 68 69 6e 67 20 69 73 20 |r everyt|hing is |
|000003d0| 70 72 6f 63 65 73 73 65 | 64 20 2a 2f 0d 0a 73 74 |processe|d */..st|
|000003e0| 61 74 69 63 20 66 75 6e | 63 74 69 6f 6e 20 50 6f |atic fun|ction Po|
|000003f0| 73 74 52 65 67 69 73 74 | 65 72 47 61 6d 65 28 55 |stRegist|erGame(U|
|00000400| 54 32 4b 34 47 61 6d 65 | 50 72 6f 66 69 6c 65 20 |T2K4Game|Profile |
|00000410| 47 50 2c 20 47 61 6d 65 | 49 6e 66 6f 20 63 75 72 |GP, Game|Info cur|
|00000420| 72 65 6e 74 47 61 6d 65 | 2c 20 50 6c 61 79 65 72 |rentGame|, Player|
|00000430| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 20 |Replicat|ionInfo |
|00000440| 50 52 49 29 0d 0a 7b 0d | 0a 7d 0d 0a 0d 0a 2f 2a |PRI)..{.|.}..../*|
|00000450| 2a 20 73 74 61 72 74 20 | 74 68 69 73 20 63 68 61 |* start |this cha|
|00000460| 6c 6c 65 6e 67 65 20 2a | 2f 0d 0a 73 74 61 74 69 |llenge *|/..stati|
|00000470| 63 20 66 75 6e 63 74 69 | 6f 6e 20 53 74 61 72 74 |c functi|on Start|
|00000480| 43 68 61 6c 6c 65 6e 67 | 65 28 55 54 32 4b 34 47 |Challeng|e(UT2K4G|
|00000490| 61 6d 65 50 72 6f 66 69 | 6c 65 20 47 50 2c 20 4c |ameProfi|le GP, L|
|000004a0| 65 76 65 6c 49 6e 66 6f | 20 6d 79 4c 65 76 65 6c |evelInfo| myLevel|
|000004b0| 29 0d 0a 7b 0d 0a 09 47 | 50 2e 53 70 65 63 69 61 |)..{...G|P.Specia|
|000004c0| 6c 45 76 65 6e 74 20 3d | 20 22 22 3b 0d 0a 09 47 |lEvent =| "";...G|
|000004d0| 50 2e 62 49 73 43 68 61 | 6c 6c 65 6e 67 65 20 3d |P.bIsCha|llenge =|
|000004e0| 20 74 72 75 65 3b 0d 0a | 09 47 50 2e 42 61 6c 61 | true;..|.GP.Bala|
|000004f0| 6e 63 65 20 2d 3d 20 47 | 50 2e 43 68 61 6c 6c 65 |nce -= G|P.Challe|
|00000500| 6e 67 65 49 6e 66 6f 2e | 45 6e 74 72 79 46 65 65 |ngeInfo.|EntryFee|
|00000510| 3b 0d 0a 09 47 50 2e 43 | 68 61 6c 6c 65 6e 67 65 |;...GP.C|hallenge|
|00000520| 47 61 6d 65 43 6c 61 73 | 73 20 3d 20 64 65 66 61 |GameClas|s = defa|
|00000530| 75 6c 74 2e 63 6c 61 73 | 73 3b 0d 0a 09 47 50 2e |ult.clas|s;...GP.|
|00000540| 53 74 61 72 74 4e 65 77 | 4d 61 74 63 68 20 28 20 |StartNew|Match ( |
|00000550| 2d 31 2c 20 6d 79 4c 65 | 76 65 6c 20 29 3b 0d 0a |-1, myLe|vel );..|
|00000560| 7d 0d 0a 0d 0a 2f 2a 2a | 0d 0a 09 63 61 6c 6c 65 |}..../**|...calle|
|00000570| 64 20 77 68 65 6e 20 74 | 68 65 20 67 61 6d 65 20 |d when t|he game |
|00000580| 77 61 73 20 61 20 63 68 | 61 6c 6c 65 6e 67 65 20 |was a ch|allenge |
|00000590| 67 61 6d 65 20 61 6e 64 | 20 77 61 73 20 6e 6f 74 |game and| was not|
|000005a0| 20 6f 6e 65 20 6f 66 20 | 74 68 65 20 64 65 66 61 | one of |the defa|
|000005b0| 75 6c 74 20 73 70 65 63 | 69 61 6c 20 65 76 65 6e |ult spec|ial even|
|000005c0| 74 73 2e 0d 0a 09 46 69 | 6c 6c 20 74 68 65 20 47 |ts....Fi|ll the G|
|000005d0| 55 49 50 61 67 65 73 20 | 61 72 72 61 79 20 77 69 |UIPages |array wi|
|000005e0| 74 68 20 70 61 67 65 73 | 20 79 6f 75 20 77 61 6e |th pages| you wan|
|000005f0| 74 20 74 6f 20 62 65 20 | 6f 70 65 6e 65 64 20 61 |t to be |opened a|
|00000600| 66 74 65 72 20 74 68 69 | 73 20 73 70 65 63 69 61 |fter thi|s specia|
|00000610| 6c 20 65 76 65 6e 74 20 | 68 61 73 20 62 65 65 6e |l event |has been|
|00000620| 20 70 72 6f 63 65 73 73 | 65 64 2e 0d 0a 09 59 65 | process|ed....Ye|
|00000630| 73 20 49 20 6b 6e 6f 77 | 20 74 68 69 73 20 6d 65 |s I know| this me|
|00000640| 74 68 6f 64 20 73 75 63 | 6b 73 2c 20 62 75 74 20 |thod suc|ks, but |
|00000650| 69 74 20 77 61 73 20 74 | 68 65 20 62 65 73 74 20 |it was t|he best |
|00000660| 49 20 63 6f 75 6c 64 20 | 63 6f 6d 65 20 75 70 20 |I could |come up |
|00000670| 77 69 74 68 20 77 69 74 | 68 6f 75 74 20 61 20 6c |with wit|hout a l|
|00000680| 6f 74 20 6f 66 20 63 68 | 61 6e 67 65 73 20 69 6e |ot of ch|anges in|
|00000690| 20 74 68 65 20 63 75 72 | 72 65 6e 74 20 73 79 73 | the cur|rent sys|
|000006a0| 74 65 6d 2e 0d 0a 2a 2f | 0d 0a 73 74 61 74 69 63 |tem...*/|..static|
|000006b0| 20 66 75 6e 63 74 69 6f | 6e 20 48 61 6e 64 6c 65 | functio|n Handle|
|000006c0| 53 70 65 63 69 61 6c 45 | 76 65 6e 74 28 55 54 32 |SpecialE|vent(UT2|
|000006d0| 4b 34 47 61 6d 65 50 72 | 6f 66 69 6c 65 20 47 50 |K4GamePr|ofile GP|
|000006e0| 2c 20 61 72 72 61 79 3c | 73 74 72 69 6e 67 3e 20 |, array<|string> |
|000006f0| 53 70 65 63 69 61 6c 45 | 76 65 6e 74 2c 20 6f 75 |SpecialE|vent, ou|
|00000700| 74 20 61 72 72 61 79 3c | 54 72 69 53 74 72 69 6e |t array<|TriStrin|
|00000710| 67 3e 20 47 55 49 50 61 | 67 65 73 29 0d 0a 7b 0d |g> GUIPa|ges)..{.|
|00000720| 0a 7d 0d 0a 0d 0a 2f 2a | 2a 20 48 61 6e 64 6c 65 |.}..../*|* Handle|
|00000730| 20 6d 61 74 63 68 20 72 | 65 71 75 69 72 65 6d 65 | match r|equireme|
|00000740| 6e 74 73 2c 20 72 65 74 | 75 72 6e 20 66 61 6c 73 |nts, ret|urn fals|
|00000750| 65 20 69 66 20 61 20 72 | 65 71 75 69 72 65 6d 65 |e if a r|equireme|
|00000760| 6e 74 20 68 61 73 20 6e | 6f 74 20 62 65 65 6e 20 |nt has n|ot been |
|00000770| 6d 65 74 20 2a 2f 0d 0a | 73 74 61 74 69 63 20 66 |met */..|static f|
|00000780| 75 6e 63 74 69 6f 6e 20 | 62 6f 6f 6c 20 48 61 6e |unction |bool Han|
|00000790| 64 6c 65 52 65 71 75 69 | 72 65 6d 65 6e 74 73 28 |dleRequi|rements(|
|000007a0| 55 54 32 4b 34 47 61 6d | 65 50 72 6f 66 69 6c 65 |UT2K4Gam|eProfile|
|000007b0| 20 47 50 2c 20 61 72 72 | 61 79 3c 73 74 72 69 6e | GP, arr|ay<strin|
|000007c0| 67 3e 20 53 70 65 63 69 | 61 6c 45 76 65 6e 74 2c |g> Speci|alEvent,|
|000007d0| 20 6f 75 74 20 61 72 72 | 61 79 3c 54 72 69 53 74 | out arr|ay<TriSt|
|000007e0| 72 69 6e 67 3e 20 47 55 | 49 50 61 67 65 73 29 0d |ring> GU|IPages).|
|000007f0| 0a 7b 0d 0a 09 72 65 74 | 75 72 6e 20 74 72 75 65 |.{...ret|urn true|
|00000800| 3b 0d 0a 7d 0d 0a 0d 0a | 2f 2a 2a 0d 0a 09 77 69 |;..}....|/**...wi|
|00000810| 6c 6c 20 62 65 20 63 61 | 6c 6c 65 64 20 61 66 74 |ll be ca|lled aft|
|00000820| 65 72 20 74 68 65 20 64 | 65 66 61 75 6c 74 20 69 |er the d|efault i|
|00000830| 6e 66 6f 20 68 61 73 20 | 62 65 65 6e 20 61 64 64 |nfo has |been add|
|00000840| 65 64 20 74 6f 20 74 68 | 65 20 68 69 73 74 6f 72 |ed to th|e histor|
|00000850| 79 20 72 65 63 6f 72 64 | 2e 0d 0a 09 6f 76 65 72 |y record|....over|
|00000860| 72 69 64 65 20 74 68 69 | 73 20 74 6f 20 63 68 61 |ride thi|s to cha|
|00000870| 6e 67 65 20 6f 72 20 61 | 70 70 65 6e 64 20 61 64 |nge or a|ppend ad|
|00000880| 64 69 74 69 6f 6e 61 6c | 20 69 6e 74 6f 2e 0d 0a |ditional| into...|
|00000890| 2a 2f 0d 0a 73 74 61 74 | 69 63 20 66 75 6e 63 74 |*/..stat|ic funct|
|000008a0| 69 6f 6e 20 41 64 64 48 | 69 73 74 6f 72 79 52 65 |ion AddH|istoryRe|
|000008b0| 63 6f 72 64 28 55 54 32 | 4b 34 47 61 6d 65 50 72 |cord(UT2|K4GamePr|
|000008c0| 6f 66 69 6c 65 20 47 50 | 2c 20 69 6e 74 20 6f 66 |ofile GP|, int of|
|000008d0| 66 73 65 74 2c 20 47 61 | 6d 65 49 6e 66 6f 20 47 |fset, Ga|meInfo G|
|000008e0| 61 6d 65 2c 20 50 6c 61 | 79 65 72 52 65 70 6c 69 |ame, Pla|yerRepli|
|000008f0| 63 61 74 69 6f 6e 49 6e | 66 6f 20 50 52 49 2c 20 |cationIn|fo PRI, |
|00000900| 55 54 32 4b 34 4d 61 74 | 63 68 49 6e 66 6f 20 4d |UT2K4Mat|chInfo M|
|00000910| 49 29 0d 0a 7b 0d 0a 09 | 69 66 20 28 47 50 2e 62 |I)..{...|if (GP.b|
|00000920| 47 6f 74 43 68 61 6c 6c | 65 6e 67 65 64 29 20 47 |GotChall|enged) G|
|00000930| 50 2e 46 69 67 68 74 48 | 69 73 74 6f 72 79 5b 6f |P.FightH|istory[o|
|00000940| 66 66 73 65 74 5d 2e 4d | 61 74 63 68 45 78 74 72 |ffset].M|atchExtr|
|00000950| 61 20 3d 20 64 65 66 61 | 75 6c 74 2e 6d 73 67 47 |a = defa|ult.msgG|
|00000960| 6f 74 43 68 61 6c 6c 65 | 6e 67 65 64 3b 0d 0a 09 |otChalle|nged;...|
|00000970| 65 6c 73 65 20 47 50 2e | 46 69 67 68 74 48 69 73 |else GP.|FightHis|
|00000980| 74 6f 72 79 5b 6f 66 66 | 73 65 74 5d 2e 4d 61 74 |tory[off|set].Mat|
|00000990| 63 68 45 78 74 72 61 20 | 3d 20 64 65 66 61 75 6c |chExtra |= defaul|
|000009a0| 74 2e 6d 73 67 57 65 43 | 68 61 6c 6c 65 6e 67 65 |t.msgWeC|hallenge|
|000009b0| 64 3b 0d 0a 09 69 66 20 | 28 47 50 2e 43 68 61 6c |d;...if |(GP.Chal|
|000009c0| 6c 65 6e 67 65 56 61 72 | 69 61 62 6c 65 20 21 3d |lengeVar|iable !=|
|000009d0| 20 22 22 29 20 47 50 2e | 46 69 67 68 74 48 69 73 | "") GP.|FightHis|
|000009e0| 74 6f 72 79 5b 6f 66 66 | 73 65 74 5d 2e 4d 61 74 |tory[off|set].Mat|
|000009f0| 63 68 45 78 74 72 61 20 | 40 3d 20 64 65 66 61 75 |chExtra |@= defau|
|00000a00| 6c 74 2e 6d 73 67 46 6f | 72 40 47 50 2e 43 68 61 |lt.msgFo|r@GP.Cha|
|00000a10| 6c 6c 65 6e 67 65 56 61 | 72 69 61 62 6c 65 3b 0d |llengeVa|riable;.|
|00000a20| 0a 7d 0d 0a 0d 0a 2f 2a | 2a 0d 0a 09 52 65 74 75 |.}..../*|*...Retu|
|00000a30| 72 6e 20 74 72 75 65 20 | 77 68 65 6e 20 74 68 69 |rn true |when thi|
|00000a40| 73 20 63 68 61 6c 6c 65 | 6e 67 65 20 67 61 6d 65 |s challe|nge game|
|00000a50| 20 63 61 6e 20 62 65 20 | 75 73 65 64 20 74 6f 20 | can be |used to |
|00000a60| 63 68 61 6c 6c 65 6e 67 | 65 20 74 68 65 20 70 6c |challeng|e the pl|
|00000a70| 61 79 65 72 0d 0a 2a 2f | 0d 0a 73 74 61 74 69 63 |ayer..*/|..static|
|00000a80| 20 66 75 6e 63 74 69 6f | 6e 20 62 6f 6f 6c 20 63 | functio|n bool c|
|00000a90| 61 6e 43 68 61 6c 6c 65 | 6e 67 65 28 6f 70 74 69 |anChalle|nge(opti|
|00000aa0| 6f 6e 61 6c 20 55 54 32 | 4b 34 47 61 6d 65 50 72 |onal UT2|K4GamePr|
|00000ab0| 6f 66 69 6c 65 20 47 50 | 29 0d 0a 7b 0d 0a 09 72 |ofile GP|)..{...r|
|00000ac0| 65 74 75 72 6e 20 74 72 | 75 65 3b 0d 0a 7d 0d 0a |eturn tr|ue;..}..|
|00000ad0| 0d 0a 2f 2a 2a 20 72 65 | 74 75 72 6e 20 74 72 75 |../** re|turn tru|
|00000ae0| 65 20 77 68 65 6e 20 74 | 68 65 20 74 65 61 6d 20 |e when t|he team |
|00000af0| 6d 61 74 65 73 20 73 68 | 6f 75 6c 64 20 62 65 20 |mates sh|ould be |
|00000b00| 70 61 79 65 64 20 2a 2f | 0d 0a 73 74 61 74 69 63 |payed */|..static|
|00000b10| 20 66 75 6e 63 74 69 6f | 6e 20 62 6f 6f 6c 20 70 | functio|n bool p|
|00000b20| 61 79 54 65 61 6d 4d 61 | 74 65 73 28 55 54 32 4b |ayTeamMa|tes(UT2K|
|00000b30| 34 47 61 6d 65 50 72 6f | 66 69 6c 65 20 47 50 29 |4GamePro|file GP)|
|00000b40| 0d 0a 7b 0d 0a 09 72 65 | 74 75 72 6e 20 74 72 75 |..{...re|turn tru|
|00000b50| 65 3b 0d 0a 7d 0d 0a 0d | 0a 2f 2a 2a 0d 0a 09 52 |e;..}...|./**...R|
|00000b60| 65 74 75 72 6e 20 74 72 | 75 65 20 77 68 65 6e 20 |eturn tr|ue when |
|00000b70| 61 20 74 65 61 6d 20 6d | 61 74 65 20 5f 6d 61 79 |a team m|ate _may|
|00000b80| 5f 20 62 65 20 69 6e 6a | 75 72 65 64 2c 20 74 68 |_ be inj|ured, th|
|00000b90| 69 73 20 64 6f 65 73 20 | 6e 6f 74 20 6d 65 61 6e |is does |not mean|
|00000ba0| 20 61 20 74 65 61 6d 20 | 6d 61 74 65 20 77 69 6c | a team |mate wil|
|00000bb0| 6c 20 62 65 20 69 6e 6a | 75 72 65 64 2e 0d 0a 09 |l be inj|ured....|
|00000bc0| 42 79 20 64 65 66 61 75 | 6c 74 20 6f 6e 6c 79 20 |By defau|lt only |
|00000bd0| 63 68 61 6c 6c 65 6e 67 | 65 64 20 74 68 61 74 20 |challeng|ed that |
|00000be0| 77 68 65 72 65 20 69 6e | 69 74 69 61 74 65 64 20 |where in|itiated |
|00000bf0| 62 79 20 74 68 65 20 70 | 6c 61 79 65 72 20 6d 61 |by the p|layer ma|
|00000c00| 79 20 68 61 76 65 20 61 | 20 74 65 61 6d 20 6d 61 |y have a| team ma|
|00000c10| 74 65 20 69 6e 6a 75 72 | 65 64 2e 0d 0a 20 2a 2f |te injur|ed... */|
|00000c20| 0d 0a 73 74 61 74 69 63 | 20 66 75 6e 63 74 69 6f |..static| functio|
|00000c30| 6e 20 62 6f 6f 6c 20 69 | 6e 6a 75 72 65 54 65 61 |n bool i|njureTea|
|00000c40| 6d 4d 61 74 65 28 55 54 | 32 4b 34 47 61 6d 65 50 |mMate(UT|2K4GameP|
|00000c50| 72 6f 66 69 6c 65 20 47 | 50 29 0d 0a 7b 0d 0a 09 |rofile G|P)..{...|
|00000c60| 72 65 74 75 72 6e 20 21 | 47 50 2e 62 47 6f 74 43 |return !|GP.bGotC|
|00000c70| 68 61 6c 6c 65 6e 67 65 | 64 3b 0d 0a 7d 0d 0a 0d |hallenge|d;..}...|
|00000c80| 0a 00 | |.. | |
+--------+-------------------------+-------------------------+--------+--------+