home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2006 February / Gamestar_81_2006-02_dvd.iso / DVDStar / Akce / UT2004 / UETFTactics.exe / System / UETFTactics.u / ScriptText.TextBuffer < prev    next >
Unknown  |  2005-12-22  |  34.7 KB

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 5b aa 04 63 6c 61 73 73 |........|[..class|
|00000010| 20 55 45 54 46 54 72 61 | 69 6e 69 6e 67 48 75 64 | UETFTra|iningHud|
|00000020| 20 65 78 74 65 6e 64 73 | 20 48 75 64 42 44 65 61 | extends| HudBDea|
|00000030| 74 68 4d 61 74 63 68 3b | 0d 0a 0d 0a 23 65 78 65 |thMatch;|....#exe|
|00000040| 63 20 4f 42 4a 20 4c 4f | 41 44 20 46 49 4c 45 3d |c OBJ LO|AD FILE=|
|00000050| 43 72 6f 73 73 68 61 69 | 72 73 2e 75 74 78 0d 0a |Crosshai|rs.utx..|
|00000060| 0d 0a 2f 2f 76 61 72 28 | 29 20 61 72 72 61 79 3c |..//var(|) array<|
|00000070| 53 70 72 69 74 65 57 69 | 64 67 65 74 3e 20 43 72 |SpriteWi|dget> Cr|
|00000080| 6f 73 73 68 61 69 72 73 | 3b 0d 0a 0d 0a 76 61 72 |osshairs|;....var|
|00000090| 28 29 20 4e 75 6d 65 72 | 69 63 57 69 64 67 65 74 |() Numer|icWidget|
|000000a0| 20 53 63 6f 72 65 54 65 | 61 6d 5b 32 5d 3b 0d 0a | ScoreTe|am[2];..|
|000000b0| 76 61 72 28 29 20 4e 75 | 6d 65 72 69 63 57 69 64 |var() Nu|mericWid|
|000000c0| 67 65 74 20 74 6f 74 61 | 6c 4c 69 6e 6b 73 3b 0d |get tota|lLinks;.|
|000000d0| 0a 0d 0a 76 61 72 28 29 | 20 4e 75 6d 65 72 69 63 |...var()| Numeric|
|000000e0| 57 69 64 67 65 74 20 53 | 63 6f 72 65 3b 0d 0a 76 |Widget S|core;..v|
|000000f0| 61 72 28 29 20 4e 75 6d | 65 72 69 63 57 69 64 67 |ar() Num|ericWidg|
|00000100| 65 74 20 57 61 76 65 54 | 69 6d 65 2c 20 57 61 76 |et WaveT|ime, Wav|
|00000110| 65 43 6f 75 6e 74 3b 0d | 0a 0d 0a 76 61 72 28 29 |eCount;.|...var()|
|00000120| 20 4e 75 6d 65 72 69 63 | 57 69 64 67 65 74 20 41 | Numeric|Widget A|
|00000130| 52 53 6b 69 6c 6c 5b 33 | 5d 3b 2f 2f 73 6b 69 6c |RSkill[3|];//skil|
|00000140| 6c 73 0d 0a 76 61 72 28 | 29 20 4e 75 6d 65 72 69 |ls..var(|) Numeri|
|00000150| 63 57 69 64 67 65 74 20 | 46 52 53 6b 69 6c 6c 5b |cWidget |FRSkill[|
|00000160| 33 5d 3b 0d 0a 76 61 72 | 28 29 20 4e 75 6d 65 72 |3];..var|() Numer|
|00000170| 69 63 57 69 64 67 65 74 | 20 53 52 53 6b 69 6c 6c |icWidget| SRSkill|
|00000180| 5b 33 5d 3b 0d 0a 76 61 | 72 28 29 20 4e 75 6d 65 |[3];..va|r() Nume|
|00000190| 72 69 63 57 69 64 67 65 | 74 20 43 51 42 53 6b 69 |ricWidge|t CQBSki|
|000001a0| 6c 6c 5b 33 5d 3b 0d 0a | 76 61 72 28 29 20 4e 75 |ll[3];..|var() Nu|
|000001b0| 6d 65 72 69 63 57 69 64 | 67 65 74 20 54 47 53 6b |mericWid|get TGSk|
|000001c0| 69 6c 6c 5b 33 5d 3b 0d | 0a 76 61 72 28 29 20 4e |ill[3];.|.var() N|
|000001d0| 75 6d 65 72 69 63 57 69 | 64 67 65 74 20 45 52 53 |umericWi|dget ERS|
|000001e0| 6b 69 6c 6c 5b 33 5d 3b | 0d 0a 76 61 72 28 29 20 |kill[3];|..var() |
|000001f0| 4e 75 6d 65 72 69 63 57 | 69 64 67 65 74 20 45 54 |NumericW|idget ET|
|00000200| 43 53 6b 69 6c 6c 5b 33 | 5d 3b 0d 0a 76 61 72 28 |CSkill[3|];..var(|
|00000210| 29 20 4e 75 6d 65 72 69 | 63 57 69 64 67 65 74 20 |) Numeri|cWidget |
|00000220| 52 4c 53 6b 69 6c 6c 5b | 33 5d 3b 0d 0a 76 61 72 |RLSkill[|3];..var|
|00000230| 28 29 20 4e 75 6d 65 72 | 69 63 57 69 64 67 65 74 |() Numer|icWidget|
|00000240| 20 4c 43 53 6b 69 6c 6c | 5b 33 5d 3b 0d 0a 0d 0a | LCSkill|[3];....|
|00000250| 76 61 72 28 29 20 4e 75 | 6d 65 72 69 63 57 69 64 |var() Nu|mericWid|
|00000260| 67 65 74 20 55 45 54 46 | 48 65 61 6c 74 68 43 6f |get UETF|HealthCo|
|00000270| 75 6e 74 3b 0d 0a 76 61 | 72 28 29 20 4e 75 6d 65 |unt;..va|r() Nume|
|00000280| 72 69 63 57 69 64 67 65 | 74 20 55 45 54 46 53 68 |ricWidge|t UETFSh|
|00000290| 69 65 6c 64 43 6f 75 6e | 74 3b 0d 0a 76 61 72 28 |ieldCoun|t;..var(|
|000002a0| 29 20 4e 75 6d 65 72 69 | 63 57 69 64 67 65 74 20 |) Numeri|cWidget |
|000002b0| 55 45 54 46 45 6e 65 72 | 67 79 43 6f 75 6e 74 3b |UETFEner|gyCount;|
|000002c0| 0d 0a 0d 0a 2f 2f 45 6e | 65 72 67 79 20 43 6f 75 |....//En|ergy Cou|
|000002d0| 6e 74 0d 0a 76 61 72 20 | 74 72 61 6e 73 69 65 6e |nt..var |transien|
|000002e0| 74 20 69 6e 74 20 43 75 | 72 55 45 54 46 45 6e 65 |t int Cu|rUETFEne|
|000002f0| 72 67 79 3b 0d 0a 0d 0a | 76 61 72 28 29 20 4e 75 |rgy;....|var() Nu|
|00000300| 6d 65 72 69 63 57 69 64 | 67 65 74 20 42 75 6c 6c |mericWid|get Bull|
|00000310| 65 74 73 49 6e 43 6c 69 | 70 3b 0d 0a 0d 0a 2f 2f |etsInCli|p;....//|
|00000320| 53 65 65 20 69 66 20 77 | 65 20 68 61 76 65 20 61 |See if w|e have a|
|00000330| 6d 6d 6f 0d 0a 76 61 72 | 20 62 6f 6f 6c 20 64 72 |mmo..var| bool dr|
|00000340| 61 77 61 6d 6d 6f 3b 0d | 0a 0d 0a 2f 2f 4c 69 73 |awammo;.|...//Lis|
|00000350| 74 20 6f 66 20 61 6c 6c | 20 74 68 65 20 73 6b 69 |t of all| the ski|
|00000360| 6c 6c 20 69 63 6f 6e 73 | 0d 0a 76 61 72 28 29 20 |ll icons|..var() |
|00000370| 53 70 72 69 74 65 57 69 | 64 67 65 74 20 57 65 61 |SpriteWi|dget Wea|
|00000380| 70 6f 6e 55 70 67 72 61 | 64 65 49 63 6f 6e 73 5b |ponUpgra|deIcons[|
|00000390| 31 30 5d 3b 0d 0a 0d 0a | 76 61 72 28 29 20 53 70 |10];....|var() Sp|
|000003a0| 72 69 74 65 57 69 64 67 | 65 74 20 57 65 61 70 6f |riteWidg|et Weapo|
|000003b0| 6e 49 63 6f 6e 5b 31 30 | 5d 3b 0d 0a 76 61 72 28 |nIcon[10|];..var(|
|000003c0| 29 20 4e 75 6d 65 72 69 | 63 57 69 64 67 65 74 20 |) Numeri|cWidget |
|000003d0| 57 65 61 70 6f 6e 58 50 | 49 63 6f 6e 5b 31 30 5d |WeaponXP|Icon[10]|
|000003e0| 3b 0d 0a 0d 0a 2f 2f 43 | 6f 6d 62 6f 20 69 63 6f |;....//C|ombo ico|
|000003f0| 6e 73 0d 0a 76 61 72 28 | 29 20 53 70 72 69 74 65 |ns..var(|) Sprite|
|00000400| 57 69 64 67 65 74 20 53 | 70 65 63 69 61 6c 49 63 |Widget S|pecialIc|
|00000410| 6f 6e 5b 33 30 5d 3b 0d | 0a 76 61 72 28 29 20 69 |on[30];.|.var() i|
|00000420| 6e 74 20 53 70 65 63 69 | 61 6c 50 6f 77 65 72 4c |nt Speci|alPowerL|
|00000430| 65 76 65 6c 5b 33 30 5d | 3b 0d 0a 0d 0a 2f 2f 50 |evel[30]|;....//P|
|00000440| 6f 72 74 72 61 69 74 73 | 0d 0a 76 61 72 20 53 70 |ortraits|..var Sp|
|00000450| 72 69 74 65 57 69 64 67 | 65 74 20 44 65 66 61 75 |riteWidg|et Defau|
|00000460| 6c 74 50 6f 72 74 72 61 | 69 74 3b 0d 0a 76 61 72 |ltPortra|it;..var|
|00000470| 28 29 20 53 70 72 69 74 | 65 57 69 64 67 65 74 20 |() Sprit|eWidget |
|00000480| 50 6f 72 74 72 61 69 74 | 73 5b 36 30 5d 3b 0d 0a |Portrait|s[60];..|
|00000490| 0d 0a 2f 2f 44 61 6d 61 | 67 65 20 49 63 6f 6e 73 |..//Dama|ge Icons|
|000004a0| 0d 0a 76 61 72 28 29 20 | 53 70 72 69 74 65 57 69 |..var() |SpriteWi|
|000004b0| 64 67 65 74 20 61 70 5f | 69 63 6f 6e 3b 0d 0a 76 |dget ap_|icon;..v|
|000004c0| 61 72 28 29 20 53 70 72 | 69 74 65 57 69 64 67 65 |ar() Spr|iteWidge|
|000004d0| 74 20 69 6d 70 61 63 74 | 5f 69 63 6f 6e 3b 0d 0a |t impact|_icon;..|
|000004e0| 76 61 72 28 29 20 53 70 | 72 69 74 65 57 69 64 67 |var() Sp|riteWidg|
|000004f0| 65 74 20 65 6e 65 72 67 | 79 5f 69 63 6f 6e 3b 0d |et energ|y_icon;.|
|00000500| 0a 0d 0a 2f 2f 41 6c 74 | 20 46 69 72 65 20 49 63 |...//Alt| Fire Ic|
|00000510| 6f 6e 0d 0a 76 61 72 28 | 29 20 53 70 72 69 74 65 |on..var(|) Sprite|
|00000520| 57 69 64 67 65 74 20 41 | 6c 74 5f 46 69 72 65 3b |Widget A|lt_Fire;|
|00000530| 0d 0a 0d 0a 2f 2f 4c 69 | 73 74 20 68 65 61 64 65 |....//Li|st heade|
|00000540| 72 20 69 63 6f 6e 73 0d | 0a 76 61 72 28 29 20 53 |r icons.|.var() S|
|00000550| 70 72 69 74 65 57 69 64 | 67 65 74 20 77 61 76 65 |priteWid|get wave|
|00000560| 5f 68 65 61 64 65 72 3b | 0d 0a 76 61 72 28 29 20 |_header;|..var() |
|00000570| 53 70 72 69 74 65 57 69 | 64 67 65 74 20 65 78 74 |SpriteWi|dget ext|
|00000580| 72 61 63 74 69 6f 6e 5f | 68 65 61 64 65 72 3b 0d |raction_|header;.|
|00000590| 0a 76 61 72 28 29 20 53 | 70 72 69 74 65 57 69 64 |.var() S|priteWid|
|000005a0| 67 65 74 20 6e 65 78 74 | 5f 77 61 76 65 5f 68 65 |get next|_wave_he|
|000005b0| 61 64 65 72 3b 0d 0a 76 | 61 72 28 29 20 53 70 72 |ader;..v|ar() Spr|
|000005c0| 69 74 65 57 69 64 67 65 | 74 20 6e 65 78 74 5f 77 |iteWidge|t next_w|
|000005d0| 61 76 65 5f 68 65 61 64 | 65 72 5f 6c 6f 77 3b 0d |ave_head|er_low;.|
|000005e0| 0a 76 61 72 28 29 20 53 | 70 72 69 74 65 57 69 64 |.var() S|priteWid|
|000005f0| 67 65 74 20 78 70 5f 68 | 65 61 64 65 72 3b 0d 0a |get xp_h|eader;..|
|00000600| 0d 0a 2f 2f 6e 65 77 20 | 68 75 64 20 73 74 75 66 |..//new |hud stuf|
|00000610| 66 0d 0a 76 61 72 28 29 | 20 53 70 72 69 74 65 57 |f..var()| SpriteW|
|00000620| 69 64 67 65 74 20 68 65 | 61 6c 74 68 5f 69 6e 66 |idget he|alth_inf|
|00000630| 6f 3b 0d 0a 76 61 72 28 | 29 20 53 70 72 69 74 65 |o;..var(|) Sprite|
|00000640| 57 69 64 67 65 74 20 77 | 65 61 70 6f 6e 5f 69 6e |Widget w|eapon_in|
|00000650| 66 6f 3b 0d 0a 76 61 72 | 28 29 20 53 70 72 69 74 |fo;..var|() Sprit|
|00000660| 65 57 69 64 67 65 74 20 | 63 6f 75 6e 74 65 72 5f |eWidget |counter_|
|00000670| 69 6e 66 6f 3b 0d 0a 0d | 0a 2f 2f 48 65 61 64 65 |info;...|.//Heade|
|00000680| 72 20 6d 6f 64 69 66 69 | 65 72 73 0d 0a 76 61 72 |r modifi|ers..var|
|00000690| 20 62 6f 6f 6c 20 65 78 | 74 72 61 63 74 69 6f 6e | bool ex|traction|
|000006a0| 3b 0d 0a 76 61 72 20 62 | 6f 6f 6c 20 77 61 76 65 |;..var b|ool wave|
|000006b0| 5f 6c 6f 77 3b 0d 0a 0d | 0a 76 61 72 28 29 20 53 |_low;...|.var() S|
|000006c0| 70 72 69 74 65 57 69 64 | 67 65 74 20 57 65 61 70 |priteWid|get Weap|
|000006d0| 53 6b 69 6c 6c 46 69 6c | 6c 3b 0d 0a 76 61 72 28 |SkillFil|l;..var(|
|000006e0| 29 20 53 70 72 69 74 65 | 57 69 64 67 65 74 20 48 |) Sprite|Widget H|
|000006f0| 61 63 6b 53 6b 69 6c 6c | 46 69 6c 6c 3b 0d 0a 76 |ackSkill|Fill;..v|
|00000700| 61 72 28 29 20 53 70 72 | 69 74 65 57 69 64 67 65 |ar() Spr|iteWidge|
|00000710| 74 20 45 6e 67 53 6b 69 | 6c 6c 46 69 6c 6c 3b 0d |t EngSki|llFill;.|
|00000720| 0a 0d 0a 76 61 72 28 29 | 20 53 70 72 69 74 65 57 |...var()| SpriteW|
|00000730| 69 64 67 65 74 20 4c 54 | 65 61 6d 48 75 64 5b 33 |idget LT|eamHud[3|
|00000740| 5d 3b 0d 0a 76 61 72 28 | 29 20 53 70 72 69 74 65 |];..var(|) Sprite|
|00000750| 57 69 64 67 65 74 20 52 | 54 65 61 6d 48 75 64 5b |Widget R|TeamHud[|
|00000760| 33 5d 3b 0d 0a 0d 0a 76 | 61 72 28 29 20 53 70 72 |3];....v|ar() Spr|
|00000770| 69 74 65 57 69 64 67 65 | 74 20 54 65 61 6d 53 79 |iteWidge|t TeamSy|
|00000780| 6d 62 6f 6c 73 5b 32 5d | 3b 0d 0a 76 61 72 28 29 |mbols[2]|;..var()|
|00000790| 20 69 6e 74 20 4c 69 6e | 6b 73 3b 0d 0a 0d 0a 76 | int Lin|ks;....v|
|000007a0| 61 72 28 29 20 43 6f 6c | 6f 72 20 43 61 72 72 69 |ar() Col|or Carri|
|000007b0| 65 72 54 65 78 74 43 6f | 6c 6f 72 31 3b 0d 0a 76 |erTextCo|lor1;..v|
|000007c0| 61 72 28 29 20 43 6f 6c | 6f 72 20 43 61 72 72 69 |ar() Col|or Carri|
|000007d0| 65 72 54 65 78 74 43 6f | 6c 6f 72 32 3b 0d 0a 76 |erTextCo|lor2;..v|
|000007e0| 61 72 28 29 20 43 6f 6c | 6f 72 20 43 61 72 72 69 |ar() Col|or Carri|
|000007f0| 65 72 54 65 78 74 43 6f | 6c 6f 72 33 3b 0d 0a 76 |erTextCo|lor3;..v|
|00000800| 61 72 28 29 20 53 74 72 | 69 6e 67 20 43 61 72 72 |ar() Str|ing Carr|
|00000810| 69 65 72 73 4e 61 6d 65 | 2c 20 43 61 72 72 69 65 |iersName|, Carrie|
|00000820| 72 73 4c 6f 63 61 74 69 | 6f 6e 3b 0d 0a 76 61 72 |rsLocati|on;..var|
|00000830| 28 29 20 66 6c 6f 61 74 | 20 43 4e 50 6f 73 58 2c |() float| CNPosX,|
|00000840| 20 43 4e 50 6f 73 59 3b | 0d 0a 0d 0a 76 61 72 20 | CNPosY;|....var |
|00000850| 54 65 78 74 75 72 65 20 | 45 6e 65 6d 79 5f 49 63 |Texture |Enemy_Ic|
|00000860| 6f 6e 3b 0d 0a 76 61 72 | 20 54 65 78 74 75 72 65 |on;..var| Texture|
|00000870| 20 43 75 72 54 65 61 6d | 4d 61 74 65 5f 49 63 6f | CurTeam|Mate_Ico|
|00000880| 6e 3b 0d 0a 76 61 72 20 | 54 65 78 74 75 72 65 20 |n;..var |Texture |
|00000890| 43 6f 6d 6d 61 6e 64 6f | 5f 49 63 6f 6e 3b 0d 0a |Commando|_Icon;..|
|000008a0| 76 61 72 20 54 65 78 74 | 75 72 65 20 46 61 64 65 |var Text|ure Fade|
|000008b0| 5f 49 63 6f 6e 3b 0d 0a | 76 61 72 20 54 65 78 74 |_Icon;..|var Text|
|000008c0| 75 72 65 20 45 6e 67 69 | 6e 65 65 72 5f 49 63 6f |ure Engi|neer_Ico|
|000008d0| 6e 3b 0d 0a 76 61 72 20 | 54 65 78 74 75 72 65 20 |n;..var |Texture |
|000008e0| 54 61 67 5f 49 63 6f 6e | 3b 0d 0a 76 61 72 20 54 |Tag_Icon|;..var T|
|000008f0| 65 78 74 75 72 65 20 43 | 72 69 74 69 63 61 6c 5f |exture C|ritical_|
|00000900| 49 63 6f 6e 3b 0d 0a 0d | 0a 76 61 72 20 6c 6f 63 |Icon;...|.var loc|
|00000910| 61 6c 69 7a 65 64 20 73 | 74 72 69 6e 67 20 4c 69 |alized s|tring Li|
|00000920| 6e 6b 45 73 74 61 62 6c | 69 73 68 65 64 4d 65 73 |nkEstabl|ishedMes|
|00000930| 73 61 67 65 3b 0d 0a 0d | 0a 2f 2f 53 74 72 69 6e |sage;...|.//Strin|
|00000940| 67 73 20 48 65 61 64 65 | 72 73 0d 0a 76 61 72 20 |gs Heade|rs..var |
|00000950| 6c 6f 63 61 6c 69 7a 65 | 64 20 73 74 72 69 6e 67 |localize|d string|
|00000960| 20 57 61 76 65 48 65 61 | 64 65 72 3b 0d 0a 76 61 | WaveHea|der;..va|
|00000970| 72 20 6c 6f 63 61 6c 69 | 7a 65 64 20 73 74 72 69 |r locali|zed stri|
|00000980| 6e 67 20 43 6f 75 6e 74 | 65 72 48 65 61 64 65 72 |ng Count|erHeader|
|00000990| 3b 0d 0a 76 61 72 20 6c | 6f 63 61 6c 69 7a 65 64 |;..var l|ocalized|
|000009a0| 20 73 74 72 69 6e 67 20 | 58 50 48 65 61 64 65 72 | string |XPHeader|
|000009b0| 3b 0d 0a 0d 0a 73 69 6d | 75 6c 61 74 65 64 20 66 |;....sim|ulated f|
|000009c0| 75 6e 63 74 69 6f 6e 20 | 64 72 61 77 57 61 76 65 |unction |drawWave|
|000009d0| 48 65 61 64 65 72 54 65 | 78 74 28 43 61 6e 76 61 |HeaderTe|xt(Canva|
|000009e0| 73 20 43 29 0d 0a 7b 0d | 0a 20 20 74 65 78 74 20 |s C)..{.|. text |
|000009f0| 3d 20 57 61 76 65 48 65 | 61 64 65 72 3b 0d 0a 0d |= WaveHe|ader;...|
|00000a00| 0a 20 20 43 2e 46 6f 6e | 74 20 3d 20 4c 6f 61 64 |. C.Fon|t = Load|
|00000a10| 4c 65 76 65 6c 41 63 74 | 69 6f 6e 46 6f 6e 74 28 |LevelAct|ionFont(|
|00000a20| 29 3b 0d 0a 20 20 43 2e | 44 72 61 77 43 6f 6c 6f |);.. C.|DrawColo|
|00000a30| 72 20 3d 20 4c 65 76 65 | 6c 41 63 74 69 6f 6e 46 |r = Leve|lActionF|
|00000a40| 6f 6e 74 43 6f 6c 6f 72 | 3b 0d 0a 0d 0a 20 20 43 |ontColor|;.... C|
|00000a50| 2e 44 72 61 77 43 6f 6c | 6f 72 20 3d 20 4c 65 76 |.DrawCol|or = Lev|
|00000a60| 65 6c 41 63 74 69 6f 6e | 46 6f 6e 74 43 6f 6c 6f |elAction|FontColo|
|00000a70| 72 3b 0d 0a 20 20 43 2e | 53 74 79 6c 65 20 3d 20 |r;.. C.|Style = |
|00000a80| 45 52 65 6e 64 65 72 53 | 74 79 6c 65 2e 53 54 59 |ERenderS|tyle.STY|
|00000a90| 5f 41 6c 70 68 61 3b 0d | 0a 0d 0a 20 20 2f 2f 44 |_Alpha;.|... //D|
|00000aa0| 72 61 77 53 70 72 69 74 | 65 57 69 64 67 65 74 20 |rawSprit|eWidget |
|00000ab0| 20 28 43 2c 20 77 61 76 | 65 5f 68 65 61 64 65 72 | (C, wav|e_header|
|00000ac0| 29 3b 0d 0a 7d 0d 0a 0d | 0a 73 69 6d 75 6c 61 74 |);..}...|.simulat|
|00000ad0| 65 64 20 66 75 6e 63 74 | 69 6f 6e 20 64 72 61 77 |ed funct|ion draw|
|00000ae0| 58 50 48 65 61 64 65 72 | 28 43 61 6e 76 61 73 20 |XPHeader|(Canvas |
|00000af0| 43 29 0d 0a 7b 0d 0a 20 | 20 74 65 78 74 20 3d 20 |C)..{.. | text = |
|00000b00| 58 50 48 65 61 64 65 72 | 3b 0d 0a 0d 0a 20 20 43 |XPHeader|;.... C|
|00000b10| 2e 46 6f 6e 74 20 3d 20 | 4c 6f 61 64 4c 65 76 65 |.Font = |LoadLeve|
|00000b20| 6c 41 63 74 69 6f 6e 46 | 6f 6e 74 28 29 3b 0d 0a |lActionF|ont();..|
|00000b30| 20 20 43 2e 44 72 61 77 | 43 6f 6c 6f 72 20 3d 20 | C.Draw|Color = |
|00000b40| 54 75 72 71 43 6f 6c 6f | 72 3b 0d 0a 20 20 43 2e |TurqColo|r;.. C.|
|00000b50| 53 74 79 6c 65 20 3d 20 | 45 52 65 6e 64 65 72 53 |Style = |ERenderS|
|00000b60| 74 79 6c 65 2e 53 54 59 | 5f 41 6c 70 68 61 3b 0d |tyle.STY|_Alpha;.|
|00000b70| 0a 20 20 2f 2f 43 2e 53 | 74 72 4c 65 6e 28 49 6e |. //C.S|trLen(In|
|00000b80| 66 6f 53 74 72 69 6e 67 | 2c 58 4c 2c 59 4c 29 3b |foString|,XL,YL);|
|00000b90| 0d 0a 20 20 43 2e 53 65 | 74 50 6f 73 28 35 35 30 |.. C.Se|tPos(550|
|00000ba0| 2c 20 31 30 29 3b 0d 0a | 0d 0a 20 20 43 2e 44 72 |, 10);..|.. C.Dr|
|00000bb0| 61 77 54 65 78 74 28 74 | 65 78 74 2c 66 61 6c 73 |awText(t|ext,fals|
|00000bc0| 65 29 3b 0d 0a 7d 0d 0a | 0d 0a 0d 0a 73 69 6d 75 |e);..}..|....simu|
|00000bd0| 6c 61 74 65 64 20 66 75 | 6e 63 74 69 6f 6e 20 64 |lated fu|nction d|
|00000be0| 72 61 77 43 6f 75 6e 74 | 65 72 48 65 61 64 65 72 |rawCount|erHeader|
|00000bf0| 54 65 78 74 28 43 61 6e | 76 61 73 20 43 29 0d 0a |Text(Can|vas C)..|
|00000c00| 7b 0d 0a 20 20 74 65 78 | 74 20 3d 20 43 6f 75 6e |{.. tex|t = Coun|
|00000c10| 74 65 72 48 65 61 64 65 | 72 3b 0d 0a 0d 0a 20 20 |terHeade|r;.... |
|00000c20| 43 2e 46 6f 6e 74 20 3d | 20 4c 6f 61 64 4c 65 76 |C.Font =| LoadLev|
|00000c30| 65 6c 41 63 74 69 6f 6e | 46 6f 6e 74 28 29 3b 0d |elAction|Font();.|
|00000c40| 0a 20 20 43 2e 44 72 61 | 77 43 6f 6c 6f 72 20 3d |. C.Dra|wColor =|
|00000c50| 20 4c 65 76 65 6c 41 63 | 74 69 6f 6e 46 6f 6e 74 | LevelAc|tionFont|
|00000c60| 43 6f 6c 6f 72 3b 0d 0a | 0d 0a 20 20 43 2e 44 72 |Color;..|.. C.Dr|
|00000c70| 61 77 43 6f 6c 6f 72 20 | 3d 20 4c 65 76 65 6c 41 |awColor |= LevelA|
|00000c80| 63 74 69 6f 6e 46 6f 6e | 74 43 6f 6c 6f 72 3b 0d |ctionFon|tColor;.|
|00000c90| 0a 20 20 43 2e 53 74 79 | 6c 65 20 3d 20 45 52 65 |. C.Sty|le = ERe|
|00000ca0| 6e 64 65 72 53 74 79 6c | 65 2e 53 54 59 5f 41 6c |nderStyl|e.STY_Al|
|00000cb0| 70 68 61 3b 0d 0a 0d 0a | 20 20 44 72 61 77 53 70 |pha;....| DrawSp|
|00000cc0| 72 69 74 65 57 69 64 67 | 65 74 20 28 43 2c 20 68 |riteWidg|et (C, h|
|00000cd0| 65 61 6c 74 68 5f 69 6e | 66 6f 29 3b 0d 0a 20 20 |ealth_in|fo);.. |
|00000ce0| 44 72 61 77 53 70 72 69 | 74 65 57 69 64 67 65 74 |DrawSpri|teWidget|
|00000cf0| 20 28 43 2c 20 77 65 61 | 70 6f 6e 5f 69 6e 66 6f | (C, wea|pon_info|
|00000d00| 29 3b 0d 0a 20 20 44 72 | 61 77 53 70 72 69 74 65 |);.. Dr|awSprite|
|00000d10| 57 69 64 67 65 74 20 28 | 43 2c 20 63 6f 75 6e 74 |Widget (|C, count|
|00000d20| 65 72 5f 69 6e 66 6f 29 | 3b 0d 0a 7d 0d 0a 0d 0a |er_info)|;..}....|
|00000d30| 73 69 6d 75 6c 61 74 65 | 64 20 66 75 6e 63 74 69 |simulate|d functi|
|00000d40| 6f 6e 20 44 72 61 77 53 | 70 65 63 74 61 74 69 6e |on DrawS|pectatin|
|00000d50| 67 48 75 64 20 28 43 61 | 6e 76 61 73 20 43 29 0d |gHud (Ca|nvas C).|
|00000d60| 0a 7b 0d 0a 09 6c 6f 63 | 61 6c 20 73 74 72 69 6e |.{...loc|al strin|
|00000d70| 67 20 49 6e 66 6f 53 74 | 72 69 6e 67 3b 0d 0a 20 |g InfoSt|ring;.. |
|00000d80| 20 20 20 6c 6f 63 61 6c | 20 70 6c 61 6e 65 20 4f | local| plane O|
|00000d90| 6c 64 4d 6f 64 75 6c 61 | 74 65 3b 0d 0a 20 20 20 |ldModula|te;.. |
|00000da0| 20 6c 6f 63 61 6c 20 66 | 6c 6f 61 74 20 78 6c 2c | local f|loat xl,|
|00000db0| 79 6c 2c 46 75 6c 6c 2c | 20 48 65 69 67 68 74 2c |yl,Full,| Height,|
|00000dc0| 20 54 6f 70 2c 20 54 65 | 78 74 54 6f 70 2c 20 4d | Top, Te|xtTop, M|
|00000dd0| 65 64 48 2c 20 53 6d 61 | 6c 6c 48 2c 53 63 61 6c |edH, Sma|llH,Scal|
|00000de0| 65 3b 0d 0a 20 20 20 20 | 6c 6f 63 61 6c 20 47 61 |e;.. |local Ga|
|00000df0| 6d 65 52 65 70 6c 69 63 | 61 74 69 6f 6e 49 6e 66 |meReplic|ationInf|
|00000e00| 6f 20 47 52 49 3b 0d 0a | 20 20 20 20 6c 6f 63 61 |o GRI;..| loca|
|00000e10| 6c 20 69 6e 74 20 69 3b | 0d 0a 0d 0a 20 20 20 20 |l int i;|.... |
|00000e20| 44 69 73 70 6c 61 79 4c | 6f 63 61 6c 4d 65 73 73 |DisplayL|ocalMess|
|00000e30| 61 67 65 73 20 28 43 29 | 3b 0d 0a 0d 0a 09 2f 2f |ages (C)|;.....//|
|00000e40| 20 48 61 63 6b 20 66 6f | 72 20 74 75 74 6f 72 69 | Hack fo|r tutori|
|00000e50| 61 6c 73 2e 0d 0a 0d 0a | 09 69 66 20 28 4d 79 53 |als.....|.if (MyS|
|00000e60| 63 65 6e 65 4d 61 6e 61 | 67 65 72 73 2e 4c 65 6e |ceneMana|gers.Len|
|00000e70| 67 74 68 3e 30 29 0d 0a | 20 20 20 20 7b 0d 0a 20 |gth>0)..| {.. |
|00000e80| 20 20 20 09 66 6f 72 20 | 28 69 3d 30 3b 69 3c 4d | .for |(i=0;i<M|
|00000e90| 79 53 63 65 6e 65 4d 61 | 6e 61 67 65 72 73 2e 4c |ySceneMa|nagers.L|
|00000ea0| 65 6e 67 74 68 3b 69 2b | 2b 29 0d 0a 20 20 20 20 |ength;i+|+).. |
|00000eb0| 20 20 20 20 09 69 66 20 | 28 4d 79 53 63 65 6e 65 | .if |(MyScene|
|00000ec0| 4d 61 6e 61 67 65 72 73 | 5b 69 5d 2e 62 49 73 52 |Managers|[i].bIsR|
|00000ed0| 75 6e 6e 69 6e 67 29 0d | 0a 09 09 09 09 72 65 74 |unning).|.....ret|
|00000ee0| 75 72 6e 3b 0d 0a 20 20 | 20 20 7d 0d 0a 0d 0a 09 |urn;.. | }.....|
|00000ef0| 69 66 20 28 20 55 6e 72 | 65 61 6c 50 6c 61 79 65 |if ( Unr|ealPlaye|
|00000f00| 72 28 4f 77 6e 65 72 29 | 2e 62 44 69 73 70 6c 61 |r(Owner)|.bDispla|
|00000f10| 79 57 69 6e 6e 65 72 20 | 7c 7c 20 20 55 6e 72 65 |yWinner ||| Unre|
|00000f20| 61 6c 50 6c 61 79 65 72 | 28 4f 77 6e 65 72 29 2e |alPlayer|(Owner).|
|00000f30| 62 44 69 73 70 6c 61 79 | 4c 6f 73 65 72 20 29 0d |bDisplay|Loser ).|
|00000f40| 0a 09 7b 0d 0a 0d 0a 20 | 20 20 20 20 4f 6c 64 4d |..{.... | OldM|
|00000f50| 6f 64 75 6c 61 74 65 20 | 3d 20 43 2e 43 6f 6c 6f |odulate |= C.Colo|
|00000f60| 72 4d 6f 64 75 6c 61 74 | 65 3b 0d 0a 0d 0a 20 20 |rModulat|e;.... |
|00000f70| 20 20 20 43 2e 46 6f 6e | 74 20 3d 20 47 65 74 4d | C.Fon|t = GetM|
|00000f80| 65 64 69 75 6d 46 6f 6e | 74 46 6f 72 28 43 29 3b |ediumFon|tFor(C);|
|00000f90| 0d 0a 20 20 20 20 20 43 | 2e 53 74 72 4c 65 6e 28 |.. C|.StrLen(|
|00000fa0| 22 57 22 2c 78 6c 2c 4d | 65 64 48 29 3b 0d 0a 09 |"W",xl,M|edH);...|
|00000fb0| 20 48 65 69 67 68 74 20 | 3d 20 4d 65 64 48 3b 0d | Height |= MedH;.|
|00000fc0| 0a 09 20 43 2e 46 6f 6e | 74 20 3d 20 47 65 74 43 |.. C.Fon|t = GetC|
|00000fd0| 6f 6e 73 6f 6c 65 46 6f | 6e 74 28 43 29 3b 0d 0a |onsoleFo|nt(C);..|
|00000fe0| 20 20 20 20 20 43 2e 53 | 74 72 4c 65 6e 28 22 57 | C.S|trLen("W|
|00000ff0| 22 2c 78 6c 2c 53 6d 61 | 6c 6c 48 29 3b 0d 0a 20 |",xl,Sma|llH);.. |
|00001000| 20 20 20 20 48 65 69 67 | 68 74 20 2b 3d 20 53 6d | Heig|ht += Sm|
|00001010| 61 6c 6c 48 3b 0d 0a 0d | 0a 09 20 46 75 6c 6c 20 |allH;...|.. Full |
|00001020| 3d 20 48 65 69 67 68 74 | 3b 0d 0a 20 20 20 20 20 |= Height|;.. |
|00001030| 54 6f 70 20 20 3d 20 43 | 2e 43 6c 69 70 59 2d 38 |Top = C|.ClipY-8|
|00001040| 2d 46 75 6c 6c 3b 0d 0a | 0d 0a 09 20 53 63 61 6c |-Full;..|... Scal|
|00001050| 65 20 3d 20 28 46 75 6c | 6c 2b 31 36 29 2f 31 32 |e = (Ful|l+16)/12|
|00001060| 38 3b 0d 0a 0d 0a 09 20 | 2f 2f 20 49 20 6c 69 6b |8;..... |// I lik|
|00001070| 65 20 59 65 6c 6c 6f 77 | 0d 0a 0d 0a 20 20 20 20 |e Yellow|.... |
|00001080| 20 43 2e 43 6f 6c 6f 72 | 4d 6f 64 75 6c 61 74 65 | C.Color|Modulate|
|00001090| 2e 58 3d 32 35 35 3b 0d | 0a 20 20 20 20 20 43 2e |.X=255;.|. C.|
|000010a0| 43 6f 6c 6f 72 4d 6f 64 | 75 6c 61 74 65 2e 59 3d |ColorMod|ulate.Y=|
|000010b0| 32 35 35 3b 0d 0a 20 20 | 20 20 20 43 2e 43 6f 6c |255;.. | C.Col|
|000010c0| 6f 72 4d 6f 64 75 6c 61 | 74 65 2e 5a 3d 30 3b 0d |orModula|te.Z=0;.|
|000010d0| 0a 20 20 20 20 20 43 2e | 43 6f 6c 6f 72 4d 6f 64 |. C.|ColorMod|
|000010e0| 75 6c 61 74 65 2e 57 3d | 32 35 35 3b 0d 0a 0d 0a |ulate.W=|255;....|
|000010f0| 20 20 20 20 2f 2f 20 44 | 72 61 77 20 42 6f 72 64 | // D|raw Bord|
|00001100| 65 72 0d 0a 0d 0a 20 20 | 20 20 09 43 2e 53 65 74 |er.... | .C.Set|
|00001110| 50 6f 73 28 30 2c 54 6f | 70 29 3b 0d 0a 20 20 20 |Pos(0,To|p);.. |
|00001120| 20 20 20 20 20 43 2e 53 | 65 74 44 72 61 77 43 6f | C.S|etDrawCo|
|00001130| 6c 6f 72 28 32 35 35 2c | 32 35 35 2c 32 35 35 2c |lor(255,|255,255,|
|00001140| 32 35 35 29 3b 0d 0a 20 | 20 20 20 20 20 20 20 43 |255);.. | C|
|00001150| 2e 44 72 61 77 54 69 6c | 65 53 74 72 65 74 63 68 |.DrawTil|eStretch|
|00001160| 65 64 28 6d 61 74 65 72 | 69 61 6c 27 49 6e 74 65 |ed(mater|ial'Inte|
|00001170| 72 66 61 63 65 43 6f 6e | 74 65 6e 74 2e 53 71 75 |rfaceCon|tent.Squ|
|00001180| 61 72 65 42 6f 78 41 27 | 2c 43 2e 43 6c 69 70 58 |areBoxA'|,C.ClipX|
|00001190| 2c 46 75 6c 6c 29 3b 0d | 0a 20 20 20 20 20 20 20 |,Full);.|. |
|000011a0| 20 43 2e 43 6f 6c 6f 72 | 4d 6f 64 75 6c 61 74 65 | C.Color|Modulate|
|000011b0| 2e 5a 3d 32 35 35 3b 0d | 0a 0d 0a 20 20 20 20 20 |.Z=255;.|... |
|000011c0| 20 20 20 54 65 78 74 54 | 6f 70 20 3d 20 54 6f 70 | TextT|op = Top|
|000011d0| 20 2b 20 34 3b 0d 0a 20 | 20 20 20 20 20 20 20 47 | + 4;.. | G|
|000011e0| 52 49 20 3d 20 50 6c 61 | 79 65 72 4f 77 6e 65 72 |RI = Pla|yerOwner|
|000011f0| 2e 47 61 6d 65 52 65 70 | 6c 69 63 61 74 69 6f 6e |.GameRep|lication|
|00001200| 49 6e 66 6f 3b 0d 0a 0d | 0a 20 20 20 20 20 20 20 |Info;...|. |
|00001210| 20 43 2e 53 65 74 50 6f | 73 28 30 2c 54 6f 70 2d | C.SetPo|s(0,Top-|
|00001220| 38 29 3b 0d 0a 20 20 20 | 20 20 20 20 20 43 2e 53 |8);.. | C.S|
|00001230| 74 79 6c 65 3d 35 3b 0d | 0a 20 20 20 20 20 20 20 |tyle=5;.|. |
|00001240| 20 43 2e 44 72 61 77 54 | 69 6c 65 28 6d 61 74 65 | C.DrawT|ile(mate|
|00001250| 72 69 61 6c 27 4c 4d 53 | 4c 6f 67 6f 53 6d 61 6c |rial'LMS|LogoSmal|
|00001260| 6c 27 2c 32 35 36 2a 53 | 63 61 6c 65 2c 31 32 38 |l',256*S|cale,128|
|00001270| 2a 53 63 61 6c 65 2c 30 | 2c 30 2c 32 35 36 2c 31 |*Scale,0|,0,256,1|
|00001280| 32 38 29 3b 0d 0a 20 20 | 20 20 20 20 20 20 43 2e |28);.. | C.|
|00001290| 53 74 79 6c 65 3d 31 3b | 0d 0a 0d 0a 09 09 69 66 |Style=1;|......if|
|000012a0| 20 28 20 55 6e 72 65 61 | 6c 50 6c 61 79 65 72 28 | ( Unrea|lPlayer(|
|000012b0| 4f 77 6e 65 72 29 2e 62 | 44 69 73 70 6c 61 79 57 |Owner).b|DisplayW|
|000012c0| 69 6e 6e 65 72 20 29 0d | 0a 09 09 09 49 6e 66 6f |inner ).|....Info|
|000012d0| 53 74 72 69 6e 67 20 3d | 20 59 6f 75 76 65 57 6f |String =| YouveWo|
|000012e0| 6e 54 68 65 4d 61 74 63 | 68 3b 0d 0a 09 09 65 6c |nTheMatc|h;....el|
|000012f0| 73 65 0d 0a 09 09 7b 0d | 0a 09 09 09 69 66 20 28 |se....{.|....if (|
|00001300| 20 50 6c 61 79 65 72 52 | 65 70 6c 69 63 61 74 69 | PlayerR|eplicati|
|00001310| 6f 6e 49 6e 66 6f 28 50 | 6c 61 79 65 72 4f 77 6e |onInfo(P|layerOwn|
|00001320| 65 72 2e 47 61 6d 65 52 | 65 70 6c 69 63 61 74 69 |er.GameR|eplicati|
|00001330| 6f 6e 49 6e 66 6f 2e 57 | 69 6e 6e 65 72 29 20 21 |onInfo.W|inner) !|
|00001340| 3d 20 4e 6f 6e 65 20 29 | 0d 0a 09 09 09 09 49 6e |= None )|......In|
|00001350| 66 6f 53 74 72 69 6e 67 | 20 3d 20 57 6f 6e 4d 61 |foString| = WonMa|
|00001360| 74 63 68 50 72 65 66 69 | 78 24 50 6c 61 79 65 72 |tchPrefi|x$Player|
|00001370| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 28 |Replicat|ionInfo(|
|00001380| 50 6c 61 79 65 72 4f 77 | 6e 65 72 2e 47 61 6d 65 |PlayerOw|ner.Game|
|00001390| 52 65 70 6c 69 63 61 74 | 69 6f 6e 49 6e 66 6f 2e |Replicat|ionInfo.|
|000013a0| 57 69 6e 6e 65 72 29 2e | 50 6c 61 79 65 72 4e 61 |Winner).|PlayerNa|
|000013b0| 6d 65 24 57 6f 6e 4d 61 | 74 63 68 50 6f 73 74 46 |me$WonMa|tchPostF|
|000013c0| 69 78 3b 0d 0a 09 09 09 | 65 6c 73 65 0d 0a 09 09 |ix;.....|else....|
|000013d0| 09 09 49 6e 66 6f 53 74 | 72 69 6e 67 20 3d 20 59 |..InfoSt|ring = Y|
|000013e0| 6f 75 76 65 4c 6f 73 74 | 54 68 65 4d 61 74 63 68 |ouveLost|TheMatch|
|000013f0| 3b 0d 0a 09 09 7d 0d 0a | 0d 0a 20 20 20 20 20 20 |;....}..|.. |
|00001400| 20 20 43 2e 53 65 74 44 | 72 61 77 43 6f 6c 6f 72 | C.SetD|rawColor|
|00001410| 28 32 35 35 2c 32 35 35 | 2c 32 35 35 2c 32 35 35 |(255,255|,255,255|
|00001420| 29 3b 0d 0a 20 20 20 20 | 20 20 20 20 43 2e 46 6f |);.. | C.Fo|
|00001430| 6e 74 20 3d 20 47 65 74 | 4d 65 64 69 75 6d 46 6f |nt = Get|MediumFo|
|00001440| 6e 74 46 6f 72 28 43 29 | 3b 0d 0a 20 20 20 20 20 |ntFor(C)|;.. |
|00001450| 20 20 20 43 2e 53 74 72 | 4c 65 6e 28 49 6e 66 6f | C.Str|Len(Info|
|00001460| 53 74 72 69 6e 67 2c 58 | 4c 2c 59 4c 29 3b 0d 0a |String,X|L,YL);..|
|00001470| 20 20 20 20 20 20 20 20 | 43 2e 53 65 74 50 6f 73 | |C.SetPos|
|00001480| 28 20 28 43 2e 43 6c 69 | 70 58 2f 32 29 20 2d 20 |( (C.Cli|pX/2) - |
|00001490| 28 58 4c 2f 32 29 2c 20 | 54 6f 70 20 2b 20 28 46 |(XL/2), |Top + (F|
|000014a0| 75 6c 6c 2f 32 29 20 2d | 20 28 59 4c 2f 32 29 29 |ull/2) -| (YL/2))|
|000014b0| 3b 0d 0a 20 20 20 20 20 | 20 20 20 43 2e 44 72 61 |;.. | C.Dra|
|000014c0| 77 54 65 78 74 28 49 6e | 66 6f 53 74 72 69 6e 67 |wText(In|foString|
|000014d0| 2c 66 61 6c 73 65 29 3b | 0d 0a 20 20 20 20 7d 0d |,false);|.. }.|
|000014e0| 0a 0d 0a 09 2f 2a 65 6c | 73 65 20 69 66 20 28 20 |..../*el|se if ( |
|000014f0| 50 61 77 6e 28 50 6c 61 | 79 65 72 4f 77 6e 65 72 |Pawn(Pla|yerOwner|
|00001500| 2e 56 69 65 77 54 61 72 | 67 65 74 29 20 21 3d 20 |.ViewTar|get) != |
|00001510| 4e 6f 6e 65 20 26 26 20 | 50 61 77 6e 28 50 6c 61 |None && |Pawn(Pla|
|00001520| 79 65 72 4f 77 6e 65 72 | 2e 56 69 65 77 54 61 72 |yerOwner|.ViewTar|
|00001530| 67 65 74 29 2e 50 6c 61 | 79 65 72 52 65 70 6c 69 |get).Pla|yerRepli|
|00001540| 63 61 74 69 6f 6e 49 6e | 66 6f 20 21 3d 20 4e 6f |cationIn|fo != No|
|00001550| 6e 65 20 29 0d 0a 20 20 | 20 20 7b 0d 0a 20 20 20 |ne ).. | {.. |
|00001560| 20 09 2f 2f 20 44 72 61 | 77 20 56 69 65 77 20 54 | .// Dra|w View T|
|00001570| 61 72 67 65 74 20 69 6e | 66 6f 0d 0a 0d 0a 09 09 |arget in|fo......|
|00001580| 43 2e 53 65 74 44 72 61 | 77 43 6f 6c 6f 72 28 33 |C.SetDra|wColor(3|
|00001590| 32 2c 32 35 35 2c 33 32 | 2c 32 35 35 29 3b 0d 0a |2,255,32|,255);..|
|000015a0| 0d 0a 09 09 69 66 20 28 | 20 43 2e 43 6c 69 70 58 |....if (| C.ClipX|
|000015b0| 20 3c 20 36 34 30 20 29 | 0d 0a 09 09 09 53 6d 61 | < 640 )|.....Sma|
|000015c0| 6c 6c 48 20 3d 20 30 3b | 0d 0a 09 09 65 6c 73 65 |llH = 0;|....else|
|000015d0| 0d 0a 09 09 7b 0d 0a 09 | 09 09 2f 2f 20 44 72 61 |....{...|..// Dra|
|000015e0| 77 20 22 4e 6f 77 20 56 | 69 65 77 69 6e 67 22 0d |w "Now V|iewing".|
|000015f0| 0a 0d 0a 09 09 09 43 2e | 53 65 74 50 6f 73 28 28 |......C.|SetPos((|
|00001600| 32 35 36 2a 53 63 61 6c | 65 2a 30 2e 37 35 29 2c |256*Scal|e*0.75),|
|00001610| 54 65 78 74 54 6f 70 29 | 3b 0d 0a 09 09 09 43 2e |TextTop)|;.....C.|
|00001620| 44 72 61 77 54 65 78 74 | 28 4e 6f 77 56 69 65 77 |DrawText|(NowView|
|00001630| 69 6e 67 2c 66 61 6c 73 | 65 29 3b 0d 0a 0d 0a 20 |ing,fals|e);.... |
|00001640| 20 20 20 09 09 2f 2f 20 | 44 72 61 77 20 22 53 63 | ..// |Draw "Sc|
|00001650| 6f 72 65 22 0d 0a 0d 0a | 09 09 09 49 6e 66 6f 53 |ore"....|...InfoS|
|00001660| 74 72 69 6e 67 20 3d 20 | 47 65 74 53 63 6f 72 65 |tring = |GetScore|
|00001670| 54 65 78 74 28 29 3b 0d | 0a 09 09 09 43 2e 53 74 |Text();.|....C.St|
|00001680| 72 4c 65 6e 28 49 6e 66 | 6f 53 74 72 69 6e 67 2c |rLen(Inf|oString,|
|00001690| 58 6c 2c 59 6c 29 3b 0d | 0a 09 09 09 43 2e 53 65 |Xl,Yl);.|....C.Se|
|000016a0| 74 50 6f 73 28 43 2e 43 | 6c 69 70 58 2d 35 2d 58 |tPos(C.C|lipX-5-X|
|000016b0| 4c 2c 54 65 78 74 54 6f | 70 29 3b 0d 0a 09 09 09 |L,TextTo|p);.....|
|000016c0| 43 2e 44 72 61 77 54 65 | 78 74 28 49 6e 66 6f 53 |C.DrawTe|xt(InfoS|
|000016d0| 74 72 69 6e 67 29 3b 0d | 0a 09 09 7d 0d 0a 0d 0a |tring);.|...}....|
|000016e0| 20 20 20 20 20 20 20 20 | 2f 2f 20 44 72 61 77 20 | |// Draw |
|000016f0| 50 6c 61 79 65 72 20 4e | 61 6d 65 0d 0a 0d 0a 20 |Player N|ame.... |
|00001700| 20 20 20 20 20 20 20 43 | 2e 53 65 74 44 72 61 77 | C|.SetDraw|
|00001710| 43 6f 6c 6f 72 28 32 35 | 35 2c 32 35 35 2c 30 2c |Color(25|5,255,0,|
|00001720| 32 35 35 29 3b 0d 0a 20 | 20 20 20 20 20 20 20 43 |255);.. | C|
|00001730| 2e 46 6f 6e 74 20 3d 20 | 47 65 74 4d 65 64 69 75 |.Font = |GetMediu|
|00001740| 6d 46 6f 6e 74 46 6f 72 | 28 43 29 3b 0d 0a 20 20 |mFontFor|(C);.. |
|00001750| 20 20 20 20 20 20 43 2e | 53 65 74 50 6f 73 28 28 | C.|SetPos((|
|00001760| 32 35 36 2a 53 63 61 6c | 65 2a 30 2e 37 35 29 2c |256*Scal|e*0.75),|
|00001770| 54 65 78 74 54 6f 70 2b | 53 6d 61 6c 6c 48 29 3b |TextTop+|SmallH);|
|00001780| 0d 0a 20 20 20 20 20 20 | 20 20 43 2e 44 72 61 77 |.. | C.Draw|
|00001790| 54 65 78 74 28 50 61 77 | 6e 28 50 6c 61 79 65 72 |Text(Paw|n(Player|
|000017a0| 4f 77 6e 65 72 2e 56 69 | 65 77 54 61 72 67 65 74 |Owner.Vi|ewTarget|
|000017b0| 29 2e 50 6c 61 79 65 72 | 52 65 70 6c 69 63 61 74 |).Player|Replicat|
|000017c0| 69 6f 6e 49 6e 66 6f 2e | 50 6c 61 79 65 72 4e 61 |ionInfo.|PlayerNa|
|000017d0| 6d 65 2c 66 61 6c 73 65 | 29 3b 0d 0a 0d 0a 20 20 |me,false|);.... |
|000017e0| 20 20 20 20 20 20 2f 2f | 20 44 72 61 77 20 53 63 | //| Draw Sc|
|000017f0| 6f 72 65 0d 0a 0d 0a 09 | 20 20 20 20 49 6e 66 6f |ore.....| Info|
|00001800| 53 74 72 69 6e 67 20 3d | 20 47 65 74 53 63 6f 72 |String =| GetScor|
|00001810| 65 56 61 6c 75 65 28 50 | 61 77 6e 28 50 6c 61 79 |eValue(P|awn(Play|
|00001820| 65 72 4f 77 6e 65 72 2e | 56 69 65 77 54 61 72 67 |erOwner.|ViewTarg|
|00001830| 65 74 29 2e 50 6c 61 79 | 65 72 52 65 70 6c 69 63 |et).Play|erReplic|
|00001840| 61 74 69 6f 6e 49 6e 66 | 6f 29 3b 0d 0a 09 20 20 |ationInf|o);... |
|00001850| 20 20 43 2e 53 74 72 4c | 65 6e 28 49 6e 66 6f 53 | C.StrL|en(InfoS|
|00001860| 74 72 69 6e 67 2c 78 6c | 2c 79 6c 29 3b 0d 0a 09 |tring,xl|,yl);...|
|00001870| 20 20 20 20 43 2e 53 65 | 74 50 6f 73 28 43 2e 43 | C.Se|tPos(C.C|
|00001880| 6c 69 70 58 2d 35 2d 58 | 4c 2c 54 65 78 74 54 6f |lipX-5-X|L,TextTo|
|00001890| 70 2b 53 6d 61 6c 6c 48 | 29 3b 0d 0a 09 20 20 20 |p+SmallH|);... |
|000018a0| 20 43 2e 44 72 61 77 54 | 65 78 74 28 49 6e 66 6f | C.DrawT|ext(Info|
|000018b0| 53 74 72 69 6e 67 2c 66 | 61 6c 73 65 29 3b 0d 0a |String,f|alse);..|
|000018c0| 0d 0a 20 20 20 20 20 20 | 20 20 2f 2f 20 44 72 61 |.. | // Dra|
|000018d0| 77 20 54 61 67 20 4c 69 | 6e 65 0d 0a 0d 0a 09 20 |w Tag Li|ne..... |
|000018e0| 20 20 20 43 2e 46 6f 6e | 74 20 3d 20 47 65 74 43 | C.Fon|t = GetC|
|000018f0| 6f 6e 73 6f 6c 65 46 6f | 6e 74 28 43 29 3b 0d 0a |onsoleFo|nt(C);..|
|00001900| 09 20 20 20 20 49 6e 66 | 6f 53 74 72 69 6e 67 20 |. Inf|oString |
|00001910| 3d 20 47 65 74 53 63 6f | 72 65 54 61 67 4c 69 6e |= GetSco|reTagLin|
|00001920| 65 28 29 3b 0d 0a 09 20 | 20 20 20 43 2e 53 74 72 |e();... | C.Str|
|00001930| 4c 65 6e 28 49 6e 66 6f | 53 74 72 69 6e 67 2c 78 |Len(Info|String,x|
|00001940| 6c 2c 79 6c 29 3b 0d 0a | 09 20 20 20 20 43 2e 53 |l,yl);..|. C.S|
|00001950| 65 74 50 6f 73 28 20 28 | 43 2e 43 6c 69 70 58 2f |etPos( (|C.ClipX/|
|00001960| 32 29 20 2d 20 28 58 4c | 2f 32 29 2c 54 6f 70 2d |2) - (XL|/2),Top-|
|00001970| 33 2d 59 4c 29 3b 0d 0a | 09 20 20 20 20 43 2e 44 |3-YL);..|. C.D|
|00001980| 72 61 77 54 65 78 74 28 | 49 6e 66 6f 53 74 72 69 |rawText(|InfoStri|
|00001990| 6e 67 29 3b 0d 0a 20 20 | 20 20 7d 0d 0a 20 20 20 |ng);.. | }.. |
|000019a0| 20 65 6c 73 65 0d 0a 20 | 20 20 20 7b 0d 0a 09 09 | else.. | {....|
|000019b0| 49 6e 66 6f 53 74 72 69 | 6e 67 20 3d 20 47 65 74 |InfoStri|ng = Get|
|000019c0| 49 6e 66 6f 53 74 72 69 | 6e 67 28 29 3b 0d 0a 0d |InfoStri|ng();...|
|000019d0| 0a 20 20 20 20 09 2f 2f | 20 44 72 61 77 0d 0a 20 |. .//| Draw.. |
|000019e0| 20 20 20 09 43 2e 53 65 | 74 44 72 61 77 43 6f 6c | .C.Se|tDrawCol|
|000019f0| 6f 72 28 32 35 35 2c 32 | 35 35 2c 32 35 35 2c 32 |or(255,2|55,255,2|
|00001a00| 35 35 29 3b 0d 0a 20 20 | 20 20 20 20 20 20 43 2e |55);.. | C.|
|00001a10| 46 6f 6e 74 20 3d 20 47 | 65 74 4d 65 64 69 75 6d |Font = G|etMedium|
|00001a20| 46 6f 6e 74 46 6f 72 28 | 43 29 3b 0d 0a 20 20 20 |FontFor(|C);.. |
|00001a30| 20 20 20 20 20 43 2e 53 | 74 72 4c 65 6e 28 49 6e | C.S|trLen(In|
|00001a40| 66 6f 53 74 72 69 6e 67 | 2c 58 4c 2c 59 4c 29 3b |foString|,XL,YL);|
|00001a50| 0d 0a 20 20 20 20 20 20 | 20 20 43 2e 53 65 74 50 |.. | C.SetP|
|00001a60| 6f 73 28 20 28 43 2e 43 | 6c 69 70 58 2f 32 29 20 |os( (C.C|lipX/2) |
|00001a70| 2d 20 28 58 4c 2f 32 29 | 2c 20 54 6f 70 20 2b 20 |- (XL/2)|, Top + |
|00001a80| 28 46 75 6c 6c 2f 32 29 | 20 2d 20 28 59 4c 2f 32 |(Full/2)| - (YL/2|
|00001a90| 29 29 3b 0d 0a 20 20 20 | 20 20 20 20 20 43 2e 44 |));.. | C.D|
|00001aa0| 72 61 77 54 65 78 74 28 | 49 6e 66 6f 53 74 72 69 |rawText(|InfoStri|
|00001ab0| 6e 67 2c 66 61 6c 73 65 | 29 3b 0d 0a 20 20 20 20 |ng,false|);.. |
|00001ac0| 7d 0d 0a 0d 0a 20 20 20 | 20 43 2e 43 6f 6c 6f 72 |}.... | C.Color|
|00001ad0| 4d 6f 64 75 6c 61 74 65 | 20 3d 20 4f 6c 64 4d 6f |Modulate| = OldMo|
|00001ae0| 64 75 6c 61 74 65 3b 2a | 2f 0d 0a 7d 0d 0a 0d 0a |dulate;*|/..}....|
|00001af0| 73 69 6d 75 6c 61 74 65 | 64 20 66 75 6e 63 74 69 |simulate|d functi|
|00001b00| 6f 6e 20 54 69 63 6b 28 | 66 6c 6f 61 74 20 64 65 |on Tick(|float de|
|00001b10| 6c 74 61 54 69 6d 65 29 | 0d 0a 7b 0d 0a 20 20 53 |ltaTime)|..{.. S|
|00001b20| 75 70 65 72 2e 54 69 63 | 6b 28 64 65 6c 74 61 54 |uper.Tic|k(deltaT|
|00001b30| 69 6d 65 29 3b 0d 0a 0d | 0a 20 20 69 66 20 28 4c |ime);...|. if (L|
|00001b40| 69 6e 6b 73 20 3e 30 29 | 0d 0a 20 20 7b 0d 0a 20 |inks >0)|.. {.. |
|00001b50| 20 20 20 54 65 61 6d 4c | 69 6e 6b 65 64 20 3d 20 | TeamL|inked = |
|00001b60| 74 72 75 65 3b 0d 0a 20 | 20 20 20 70 75 6c 73 65 |true;.. | pulse|
|00001b70| 57 69 64 67 65 74 28 64 | 65 6c 74 61 54 69 6d 65 |Widget(d|eltaTime|
|00001b80| 2c 20 32 35 35 2c 20 30 | 2c 20 52 48 75 64 32 5b |, 255, 0|, RHud2[|
|00001b90| 33 5d 2c 20 54 65 61 6d | 49 6e 64 65 78 2c 20 31 |3], Team|Index, 1|
|00001ba0| 2c 20 32 30 30 30 29 3b | 0d 0a 20 20 7d 0d 0a 20 |, 2000);|.. }.. |
|00001bb0| 20 65 6c 73 65 0d 0a 20 | 20 7b 0d 0a 20 20 20 20 | else.. | {.. |
|00001bc0| 54 65 61 6d 4c 69 6e 6b | 65 64 20 3d 20 66 61 6c |TeamLink|ed = fal|
|00001bd0| 73 65 3b 0d 0a 20 20 20 | 20 52 48 75 64 32 5b 33 |se;.. | RHud2[3|
|00001be0| 5d 2e 54 69 6e 74 73 5b | 54 65 61 6d 49 6e 64 65 |].Tints[|TeamInde|
|00001bf0| 78 5d 2e 41 20 3d 20 32 | 35 35 3b 0d 0a 20 20 7d |x].A = 2|55;.. }|
|00001c00| 0d 0a 7d 0d 0a 0d 0a 73 | 69 6d 75 6c 61 74 65 64 |..}....s|imulated|
|00001c10| 20 66 75 6e 63 74 69 6f | 6e 20 73 68 6f 77 4c 69 | functio|n showLi|
|00001c20| 6e 6b 73 28 29 0d 0a 7b | 0d 0a 20 72 65 74 75 72 |nks()..{|.. retur|
|00001c30| 6e 3b 0d 0a 7d 0d 0a 0d | 0a 73 69 6d 75 6c 61 74 |n;..}...|.simulat|
|00001c40| 65 64 20 66 75 6e 63 74 | 69 6f 6e 20 64 72 61 77 |ed funct|ion draw|
|00001c50| 4c 69 6e 6b 54 65 78 74 | 28 43 61 6e 76 61 73 20 |LinkText|(Canvas |
|00001c60| 43 29 0d 0a 7b 0d 0a 20 | 72 65 74 75 72 6e 3b 0d |C)..{.. |return;.|
|00001c70| 0a 7d 0d 0a 0d 0a 73 69 | 6d 75 6c 61 74 65 64 20 |.}....si|mulated |
|00001c80| 66 75 6e 63 74 69 6f 6e | 20 55 70 64 61 74 65 52 |function| UpdateR|
|00001c90| 61 6e 6b 41 6e 64 53 70 | 72 65 61 64 28 43 61 6e |ankAndSp|read(Can|
|00001ca0| 76 61 73 20 43 29 0d 0a | 7b 0d 0a 7d 0d 0a 0d 0a |vas C)..|{..}....|
|00001cb0| 73 69 6d 75 6c 61 74 65 | 64 20 66 75 6e 63 74 69 |simulate|d functi|
|00001cc0| 6f 6e 20 44 72 61 77 48 | 75 64 50 61 73 73 41 20 |on DrawH|udPassA |
|00001cd0| 28 43 61 6e 76 61 73 20 | 43 29 0d 0a 7b 0d 0a 7d |(Canvas |C)..{..}|
|00001ce0| 0d 0a 0d 0a 73 69 6d 75 | 6c 61 74 65 64 20 66 75 |....simu|lated fu|
|00001cf0| 6e 63 74 69 6f 6e 20 43 | 61 6c 63 75 6c 61 74 65 |nction C|alculate|
|00001d00| 55 45 54 46 45 6e 65 72 | 67 79 28 29 0d 0a 7b 0d |UETFEner|gy()..{.|
|00001d10| 0a 20 20 20 20 43 75 72 | 55 45 54 46 45 6e 65 72 |. Cur|UETFEner|
|00001d20| 67 79 20 3d 20 55 45 54 | 46 32 6b 34 50 61 77 6e |gy = UET|F2k4Pawn|
|00001d30| 28 50 61 77 6e 4f 77 6e | 65 72 29 2e 45 6e 65 72 |(PawnOwn|er).Ener|
|00001d40| 67 79 3b 0d 0a 7d 0d 0a | 0d 0a 73 69 6d 75 6c 61 |gy;..}..|..simula|
|00001d50| 74 65 64 20 66 75 6e 63 | 74 69 6f 6e 20 53 68 6f |ted func|tion Sho|
|00001d60| 77 54 65 61 6d 53 63 6f | 72 65 50 61 73 73 41 28 |wTeamSco|rePassA(|
|00001d70| 43 61 6e 76 61 73 20 43 | 29 0d 0a 7b 0d 0a 0d 0a |Canvas C|)..{....|
|00001d80| 20 20 6c 6f 63 61 6c 20 | 66 6c 6f 61 74 20 4f 6c | local |float Ol|
|00001d90| 64 48 75 64 53 63 61 6c | 65 3b 0d 0a 20 20 4f 6c |dHudScal|e;.. Ol|
|00001da0| 64 48 75 64 53 63 61 6c | 65 20 3d 20 48 75 64 53 |dHudScal|e = HudS|
|00001db0| 63 61 6c 65 3b 0d 0a 20 | 20 48 75 64 53 63 61 6c |cale;.. | HudScal|
|00001dc0| 65 20 3d 20 31 3b 0d 0a | 0d 0a 20 20 69 66 20 28 |e = 1;..|.. if (|
|00001dd0| 20 62 53 68 6f 77 50 6f | 69 6e 74 73 20 29 0d 0a | bShowPo|ints )..|
|00001de0| 20 20 7b 0d 0a 20 20 20 | 20 44 72 61 77 53 70 72 | {.. | DrawSpr|
|00001df0| 69 74 65 57 69 64 67 65 | 74 20 28 43 2c 20 4c 54 |iteWidge|t (C, LT|
|00001e00| 65 61 6d 48 75 64 5b 32 | 5d 29 3b 0d 0a 20 20 20 |eamHud[2|]);.. |
|00001e10| 20 44 72 61 77 53 70 72 | 69 74 65 57 69 64 67 65 | DrawSpr|iteWidge|
|00001e20| 74 20 28 43 2c 20 4c 54 | 65 61 6d 48 75 64 5b 31 |t (C, LT|eamHud[1|
|00001e30| 5d 29 3b 0d 0a 20 20 20 | 20 44 72 61 77 53 70 72 |]);.. | DrawSpr|
|00001e40| 69 74 65 57 69 64 67 65 | 74 20 28 43 2c 20 4c 54 |iteWidge|t (C, LT|
|00001e50| 65 61 6d 48 75 64 5b 30 | 5d 29 3b 0d 0a 0d 0a 20 |eamHud[0|]);.... |
|00001e60| 20 20 20 44 72 61 77 53 | 70 72 69 74 65 57 69 64 | DrawS|priteWid|
|00001e70| 67 65 74 20 28 43 2c 20 | 52 54 65 61 6d 48 75 64 |get (C, |RTeamHud|
|00001e80| 5b 32 5d 29 3b 0d 0a 20 | 20 20 20 44 72 61 77 53 |[2]);.. | DrawS|
|00001e90| 70 72 69 74 65 57 69 64 | 67 65 74 20 28 43 2c 20 |priteWid|get (C, |
|00001ea0| 52 54 65 61 6d 48 75 64 | 5b 31 5d 29 3b 0d 0a 20 |RTeamHud|[1]);.. |
|00001eb0| 20 20 20 44 72 61 77 53 | 70 72 69 74 65 57 69 64 | DrawS|priteWid|
|00001ec0| 67 65 74 20 28 43 2c 20 | 52 54 65 61 6d 48 75 64 |get (C, |RTeamHud|
|00001ed0| 5b 30 5d 29 3b 0d 0a 20 | 20 7d 0d 0a 0d 0a 20 20 |[0]);.. | }.... |
|00001ee0| 20 20 48 75 64 53 63 61 | 6c 65 20 3d 20 4f 6c 64 | HudSca|le = Old|
|00001ef0| 48 75 64 53 63 61 6c 65 | 3b 0d 0a 0d 0a 7d 0d 0a |HudScale|;....}..|
|00001f00| 0d 0a 73 69 6d 75 6c 61 | 74 65 64 20 66 75 6e 63 |..simula|ted func|
|00001f10| 74 69 6f 6e 20 44 69 73 | 70 6c 61 79 4c 6f 63 61 |tion Dis|playLoca|
|00001f20| 6c 4d 65 73 73 61 67 65 | 73 28 20 43 61 6e 76 61 |lMessage|s( Canva|
|00001f30| 73 20 43 20 29 0d 0a 7b | 0d 0a 09 6c 6f 63 61 6c |s C )..{|...local|
|00001f40| 20 66 6c 6f 61 74 20 50 | 6f 73 58 2c 20 50 6f 73 | float P|osX, Pos|
|00001f50| 59 2c 20 44 59 2c 20 44 | 58 3b 0d 0a 20 20 20 20 |Y, DY, D|X;.. |
|00001f60| 6c 6f 63 61 6c 20 69 6e | 74 20 69 2c 20 6a 2c 20 |local in|t i, j, |
|00001f70| 50 6f 72 74 72 61 69 74 | 4e 75 6d 3b 0d 0a 20 20 |Portrait|Num;.. |
|00001f80| 20 20 6c 6f 63 61 6c 20 | 66 6c 6f 61 74 20 46 61 | local |float Fa|
|00001f90| 64 65 56 61 6c 75 65 3b | 0d 0a 20 20 20 20 6c 6f |deValue;|.. lo|
|00001fa0| 63 61 6c 20 50 6c 61 6e | 65 20 4f 6c 64 43 4d 3b |cal Plan|e OldCM;|
|00001fb0| 0d 0a 0d 0a 20 20 20 20 | 4f 6c 64 43 4d 3d 43 2e |.... |OldCM=C.|
|00001fc0| 43 6f 6c 6f 72 4d 6f 64 | 75 6c 61 74 65 3b 0d 0a |ColorMod|ulate;..|
|00001fd0| 09 43 2e 52 65 73 65 74 | 28 29 3b 0d 0a 20 20 20 |.C.Reset|();.. |
|00001fe0| 20 43 2e 43 6f 6c 6f 72 | 4d 6f 64 75 6c 61 74 65 | C.Color|Modulate|
|00001ff0| 20 3d 20 4f 6c 64 43 4d | 3b 0d 0a 0d 0a 20 20 20 | = OldCM|;.... |
|00002000| 20 2f 2f 20 50 61 73 73 | 20 31 3a 20 4c 61 79 6f | // Pass| 1: Layo|
|00002010| 75 74 20 61 6e 79 74 68 | 69 6e 67 20 74 68 61 74 |ut anyth|ing that|
|00002020| 20 6e 65 65 64 73 20 69 | 74 20 61 6e 64 20 63 75 | needs i|t and cu|
|00002030| 6c 6c 20 64 65 61 64 20 | 73 74 75 66 66 2e 0d 0a |ll dead |stuff...|
|00002040| 0d 0a 20 20 20 20 66 6f | 72 28 20 69 20 3d 20 30 |.. fo|r( i = 0|
|00002050| 3b 20 69 20 3c 20 41 72 | 72 61 79 43 6f 75 6e 74 |; i < Ar|rayCount|
|00002060| 28 4c 6f 63 61 6c 4d 65 | 73 73 61 67 65 73 29 3b |(LocalMe|ssages);|
|00002070| 20 69 2b 2b 20 29 0d 0a | 20 20 20 20 7b 0d 0a 09 | i++ )..| {...|
|00002080| 09 69 66 28 20 4c 6f 63 | 61 6c 4d 65 73 73 61 67 |.if( Loc|alMessag|
|00002090| 65 73 5b 69 5d 2e 4d 65 | 73 73 61 67 65 20 3d 3d |es[i].Me|ssage ==|
|000020a0| 20 4e 6f 6e 65 20 29 0d | 0a 20 20 20 20 20 20 20 | None ).|. |
|000020b0| 20 20 20 20 20 62 72 65 | 61 6b 3b 0d 0a 0d 0a 20 | bre|ak;.... |
|000020c0| 20 20 20 20 20 20 20 4c | 6f 63 61 6c 4d 65 73 73 | L|ocalMess|
|000020d0| 61 67 65 73 5b 69 5d 2e | 44 72 61 77 6e 20 3d 20 |ages[i].|Drawn = |
|000020e0| 66 61 6c 73 65 3b 0d 0a | 0d 0a 20 20 20 20 20 20 |false;..|.. |
|000020f0| 20 20 69 66 28 20 4c 6f | 63 61 6c 4d 65 73 73 61 | if( Lo|calMessa|
|00002100| 67 65 73 5b 69 5d 2e 53 | 74 72 69 6e 67 46 6f 6e |ges[i].S|tringFon|
|00002110| 74 20 3d 3d 20 4e 6f 6e | 65 20 29 0d 0a 20 20 20 |t == Non|e ).. |
|00002120| 20 20 20 20 20 20 20 20 | 20 4c 61 79 6f 75 74 4d | | LayoutM|
|00002130| 65 73 73 61 67 65 28 20 | 4c 6f 63 61 6c 4d 65 73 |essage( |LocalMes|
|00002140| 73 61 67 65 73 5b 69 5d | 2c 20 43 20 29 3b 0d 0a |sages[i]|, C );..|
|00002150| 0d 0a 20 20 20 20 20 20 | 20 20 69 66 28 20 4c 6f |.. | if( Lo|
|00002160| 63 61 6c 4d 65 73 73 61 | 67 65 73 5b 69 5d 2e 53 |calMessa|ges[i].S|
|00002170| 74 72 69 6e 67 46 6f 6e | 74 20 3d 3d 20 4e 6f 6e |tringFon|t == Non|
|00002180| 65 20 29 0d 0a 20 20 20 | 20 20 20 20 20 7b 0d 0a |e ).. | {..|
|00002190| 20 20 20 20 20 20 20 20 | 20 20 20 20 6c 6f 67 28 | | log(|
|000021a0| 20 22 4c 61 79 6f 75 74 | 4d 65 73 73 61 67 65 28 | "Layout|Message(|
|000021b0| 22 24 4c 6f 63 61 6c 4d | 65 73 73 61 67 65 73 5b |"$LocalM|essages[|
|000021c0| 69 5d 2e 4d 65 73 73 61 | 67 65 24 22 29 20 66 61 |i].Messa|ge$") fa|
|000021d0| 69 6c 65 64 21 22 2c 20 | 27 45 72 72 6f 72 27 20 |iled!", |'Error' |
|000021e0| 29 3b 0d 0a 0d 0a 09 20 | 20 20 20 20 20 20 20 66 |);..... | f|
|000021f0| 6f 72 28 20 6a 20 3d 20 | 69 3b 20 6a 20 3c 20 41 |or( j = |i; j < A|
|00002200| 72 72 61 79 43 6f 75 6e | 74 28 4c 6f 63 61 6c 4d |rrayCoun|t(LocalM|
|00002210| 65 73 73 61 67 65 73 29 | 20 2d 20 31 3b 20 6a 2b |essages)| - 1; j+|
|00002220| 2b 20 29 0d 0a 09 09 20 | 20 20 20 20 20 20 20 4c |+ ).... | L|
|00002230| 6f 63 61 6c 4d 65 73 73 | 61 67 65 73 5b 6a 5d 20 |ocalMess|ages[j] |
|00002240| 3d 20 4c 6f 63 61 6c 4d | 65 73 73 61 67 65 73 5b |= LocalM|essages[|
|00002250| 6a 2b 31 5d 3b 0d 0a 20 | 20 20 20 20 20 20 20 20 |j+1];.. | |
|00002260| 20 20 20 43 6c 65 61 72 | 4d 65 73 73 61 67 65 28 | Clear|Message(|
|00002270| 20 4c 6f 63 61 6c 4d 65 | 73 73 61 67 65 73 5b 6a | LocalMe|ssages[j|
|00002280| 5d 20 29 3b 0d 0a 20 20 | 20 20 20 20 20 20 20 20 |] );.. | |
|00002290| 20 20 69 2d 2d 3b 0d 0a | 20 20 20 20 20 20 20 20 | i--;..| |
|000022a0| 20 20 20 20 63 6f 6e 74 | 69 6e 75 65 3b 0d 0a 20 | cont|inue;.. |
|000022b0| 20 20 20 20 20 20 20 7d | 0d 0a 0d 0a 09 09 69 66 | }|......if|
|000022c0| 28 20 4c 6f 63 61 6c 4d | 65 73 73 61 67 65 73 5b |( LocalM|essages[|
|000022d0| 69 5d 2e 4d 65 73 73 61 | 67 65 2e 64 65 66 61 75 |i].Messa|ge.defau|
|000022e0| 6c 74 2e 62 46 61 64 65 | 4d 65 73 73 61 67 65 20 |lt.bFade|Message |
|000022f0| 29 0d 0a 09 09 7b 0d 0a | 09 09 09 46 61 64 65 56 |)....{..|...FadeV|
|00002300| 61 6c 75 65 20 3d 20 28 | 4c 6f 63 61 6c 4d 65 73 |alue = (|LocalMes|
|00002310| 73 61 67 65 73 5b 69 5d | 2e 45 6e 64 4f 66 4c 69 |sages[i]|.EndOfLi|
|00002320| 66 65 20 2d 20 4c 65 76 | 65 6c 2e 54 69 6d 65 53 |fe - Lev|el.TimeS|
|00002330| 65 63 6f 6e 64 73 29 3b | 0d 0a 0d 0a 09 09 09 69 |econds);|.......i|
|00002340| 66 28 20 46 61 64 65 56 | 61 6c 75 65 20 3c 3d 20 |f( FadeV|alue <= |
|00002350| 30 2e 30 20 29 0d 0a 20 | 20 20 20 20 20 20 20 20 |0.0 ).. | |
|00002360| 20 20 20 7b 0d 0a 09 20 | 20 20 20 20 20 20 20 20 | {... | |
|00002370| 20 20 20 66 6f 72 28 20 | 6a 20 3d 20 69 3b 20 6a | for( |j = i; j|
|00002380| 20 3c 20 41 72 72 61 79 | 43 6f 75 6e 74 28 4c 6f | < Array|Count(Lo|
|00002390| 63 61 6c 4d 65 73 73 61 | 67 65 73 29 20 2d 20 31 |calMessa|ges) - 1|
|000023a0| 3b 20 6a 2b 2b 20 29 0d | 0a 09 09 20 20 20 20 20 |; j++ ).|... |
|000023b0| 20 20 20 20 20 20 20 4c | 6f 63 61 6c 4d 65 73 73 | L|ocalMess|
|000023c0| 61 67 65 73 5b 6a 5d 20 | 3d 20 4c 6f 63 61 6c 4d |ages[j] |= LocalM|
|000023d0| 65 73 73 61 67 65 73 5b | 6a 2b 31 5d 3b 0d 0a 20 |essages[|j+1];.. |
|000023e0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 43 | | C|
|000023f0| 6c 65 61 72 4d 65 73 73 | 61 67 65 28 20 4c 6f 63 |learMess|age( Loc|
|00002400| 61 6c 4d 65 73 73 61 67 | 65 73 5b 6a 5d 20 29 3b |alMessag|es[j] );|
|00002410| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.. | |
|00002420| 20 20 69 2d 2d 3b 0d 0a | 20 20 20 20 20 20 20 20 | i--;..| |
|00002430| 20 20 20 20 20 20 20 20 | 63 6f 6e 74 69 6e 75 65 | |continue|
|00002440| 3b 0d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 7d |;.. | }|
|00002450| 0d 0a 20 20 20 20 20 20 | 20 20 7d 0d 0a 20 20 20 |.. | }.. |
|00002460| 20 7d 0d 0a 0d 0a 20 20 | 20 20 2f 2f 20 50 61 73 | }.... | // Pas|
|00002470| 73 20 32 3a 20 47 6f 20 | 74 68 72 6f 75 67 68 20 |s 2: Go |through |
|00002480| 74 68 65 20 6c 69 73 74 | 20 61 6e 64 20 64 72 61 |the list| and dra|
|00002490| 77 20 65 61 63 68 20 73 | 74 61 63 6b 3a 0d 0a 0d |w each s|tack:...|
|000024a0| 0a 20 20 20 20 66 6f 72 | 28 20 69 20 3d 20 30 3b |. for|( i = 0;|
|000024b0| 20 69 20 3c 20 41 72 72 | 61 79 43 6f 75 6e 74 28 | i < Arr|ayCount(|
|000024c0| 4c 6f 63 61 6c 4d 65 73 | 73 61 67 65 73 29 3b 20 |LocalMes|sages); |
|000024d0| 69 2b 2b 20 29 0d 0a 09 | 7b 0d 0a 09 09 69 66 28 |i++ )...|{....if(|
|000024e0| 20 4c 6f 63 61 6c 4d 65 | 73 73 61 67 65 73 5b 69 | LocalMe|ssages[i|
|000024f0| 5d 2e 4d 65 73 73 61 67 | 65 20 3d 3d 20 4e 6f 6e |].Messag|e == Non|
|00002500| 65 20 29 0d 0a 20 20 20 | 20 20 20 20 20 20 20 20 |e ).. | |
|00002510| 20 62 72 65 61 6b 3b 0d | 0a 0d 0a 20 20 20 20 20 | break;.|... |
|00002520| 20 20 20 69 66 28 20 4c | 6f 63 61 6c 4d 65 73 73 | if( L|ocalMess|
|00002530| 61 67 65 73 5b 69 5d 2e | 44 72 61 77 6e 20 29 0d |ages[i].|Drawn ).|
|00002540| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 63 6f 6e |. | con|
|00002550| 74 69 6e 75 65 3b 0d 0a | 0d 0a 09 20 20 20 20 50 |tinue;..|... P|
|00002560| 6f 73 58 20 3d 20 4c 6f | 63 61 6c 4d 65 73 73 61 |osX = Lo|calMessa|
|00002570| 67 65 73 5b 69 5d 2e 50 | 6f 73 58 3b 0d 0a 09 20 |ges[i].P|osX;... |
|00002580| 20 20 20 50 6f 73 59 20 | 3d 20 4c 6f 63 61 6c 4d | PosY |= LocalM|
|00002590| 65 73 73 61 67 65 73 5b | 69 5d 2e 50 6f 73 59 3b |essages[|i].PosY;|
|000025a0| 0d 0a 20 20 20 20 20 20 | 20 20 50 6f 72 74 72 61 |.. | Portra|
|000025b0| 69 74 4e 75 6d 20 3d 20 | 4c 6f 63 61 6c 4d 65 73 |itNum = |LocalMes|
|000025c0| 73 61 67 65 73 5b 69 5d | 2e 53 77 69 74 63 68 3b |sages[i]|.Switch;|
|000025d0| 0d 0a 0d 0a 20 20 20 20 | 20 20 20 20 69 66 28 20 |.... | if( |
|000025e0| 4c 6f 63 61 6c 4d 65 73 | 73 61 67 65 73 5b 69 5d |LocalMes|sages[i]|
|000025f0| 2e 53 74 61 63 6b 4d 6f | 64 65 20 3d 3d 20 53 4d |.StackMo|de == SM|
|00002600| 5f 4e 6f 6e 65 20 29 0d | 0a 20 20 20 20 20 20 20 |_None ).|. |
|00002610| 20 7b 0d 0a 20 20 20 20 | 20 20 20 20 20 69 66 20 | {.. | if |
|00002620| 28 4c 6f 63 61 6c 4d 65 | 73 73 61 67 65 73 5b 69 |(LocalMe|ssages[i|
|00002630| 5d 2e 4d 65 73 73 61 67 | 65 20 3d 3d 20 63 6c 61 |].Messag|e == cla|
|00002640| 73 73 27 55 45 54 46 48 | 75 64 4d 65 73 73 61 67 |ss'UETFH|udMessag|
|00002650| 65 50 6c 75 73 27 29 0d | 0a 20 20 20 20 20 20 20 |ePlus').|. |
|00002660| 20 20 20 20 20 44 72 61 | 77 4d 65 73 73 61 67 65 | Dra|wMessage|
|00002670| 50 6c 75 73 28 43 2c 20 | 69 2c 20 50 6f 73 58 2c |Plus(C, |i, PosX,|
|00002680| 20 50 6f 73 59 2c 20 44 | 58 2c 20 44 59 29 3b 0d | PosY, D|X, DY);.|
|00002690| 0a 20 20 20 20 20 20 20 | 20 20 65 6c 73 65 0d 0a |. | else..|
|000026a0| 20 20 20 20 20 20 20 20 | 20 20 20 20 44 72 61 77 | | Draw|
|000026b0| 4d 65 73 73 61 67 65 28 | 20 43 2c 20 69 2c 20 50 |Message(| C, i, P|
|000026c0| 6f 73 58 2c 20 50 6f 73 | 59 2c 20 44 58 2c 20 44 |osX, Pos|Y, DX, D|
|000026d0| 59 29 3b 0d 0a 0d 0a 20 | 20 20 20 20 20 20 20 20 |Y);.... | |
|000026e0| 20 20 20 63 6f 6e 74 69 | 6e 75 65 3b 0d 0a 20 20 | conti|nue;.. |
|000026f0| 20 20 20 20 20 20 7d 0d | 0a 0d 0a 20 20 20 20 20 | }.|... |
|00002700| 20 20 20 66 6f 72 28 20 | 6a 20 3d 20 69 3b 20 6a | for( |j = i; j|
|00002710| 20 3c 20 41 72 72 61 79 | 43 6f 75 6e 74 28 4c 6f | < Array|Count(Lo|
|00002720| 63 61 6c 4d 65 73 73 61 | 67 65 73 29 3b 20 6a 2b |calMessa|ges); j+|
|00002730| 2b 20 29 0d 0a 20 20 20 | 20 20 20 20 20 7b 0d 0a |+ ).. | {..|
|00002740| 20 20 20 20 20 20 20 20 | 20 20 20 20 69 66 28 20 | | if( |
|00002750| 4c 6f 63 61 6c 4d 65 73 | 73 61 67 65 73 5b 6a 5d |LocalMes|sages[j]|
|00002760| 2e 44 72 61 77 6e 20 29 | 0d 0a 20 20 20 20 20 20 |.Drawn )|.. |
|00002770| 20 20 20 20 20 20 20 20 | 20 20 63 6f 6e 74 69 6e | | contin|
|00002780| 75 65 3b 0d 0a 0d 0a 20 | 20 20 20 20 20 20 20 20 |ue;.... | |
|00002790| 20 20 20 69 66 28 20 4c | 6f 63 61 6c 4d 65 73 73 | if( L|ocalMess|
|000027a0| 61 67 65 73 5b 69 5d 2e | 50 6f 73 58 20 21 3d 20 |ages[i].|PosX != |
|000027b0| 4c 6f 63 61 6c 4d 65 73 | 73 61 67 65 73 5b 6a 5d |LocalMes|sages[j]|
|000027c0| 2e 50 6f 73 58 20 29 0d | 0a 20 20 20 20 20 20 20 |.PosX ).|. |
|000027d0| 20 20 20 20 20 20 20 20 | 20 63 6f 6e 74 69 6e 75 | | continu|
|000027e0| 65 3b 0d 0a 0d 0a 20 20 | 20 20 20 20 20 20 20 20 |e;.... | |
|000027f0| 20 20 69 66 28 20 4c 6f | 63 61 6c 4d 65 73 73 61 | if( Lo|calMessa|
|00002800| 67 65 73 5b 69 5d 2e 50 | 6f 73 59 20 21 3d 20 4c |ges[i].P|osY != L|
|00002810| 6f 63 61 6c 4d 65 73 73 | 61 67 65 73 5b 6a 5d 2e |ocalMess|ages[j].|
|00002820| 50 6f 73 59 20 29 0d 0a | 20 20 20 20 20 20 20 20 |PosY )..| |
|00002830| 20 20 20 20 20 20 20 20 | 63 6f 6e 74 69 6e 75 65 | |continue|
|00002840| 3b 0d 0a 0d 0a 20 20 20 | 20 20 20 20 20 20 20 20 |;.... | |
|00002850| 20 69 66 28 20 4c 6f 63 | 61 6c 4d 65 73 73 61 67 | if( Loc|alMessag|
|00002860| 65 73 5b 69 5d 2e 44 72 | 61 77 50 69 76 6f 74 20 |es[i].Dr|awPivot |
|00002870| 21 3d 20 4c 6f 63 61 6c | 4d 65 73 73 61 67 65 73 |!= Local|Messages|
|00002880| 5b 6a 5d 2e 44 72 61 77 | 50 69 76 6f 74 20 29 0d |[j].Draw|Pivot ).|
|00002890| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |. | |
|000028a0| 20 63 6f 6e 74 69 6e 75 | 65 3b 0d 0a 0d 0a 20 20 | continu|e;.... |
|000028b0| 20 20 20 20 20 20 20 20 | 20 20 69 66 28 20 4c 6f | | if( Lo|
|000028c0| 63 61 6c 4d 65 73 73 61 | 67 65 73 5b 69 5d 2e 53 |calMessa|ges[i].S|
|000028d0| 74 61 63 6b 4d 6f 64 65 | 20 21 3d 20 4c 6f 63 61 |tackMode| != Loca|
|000028e0| 6c 4d 65 73 73 61 67 65 | 73 5b 6a 5d 2e 53 74 61 |lMessage|s[j].Sta|
|000028f0| 63 6b 4d 6f 64 65 20 29 | 0d 0a 20 20 20 20 20 20 |ckMode )|.. |
|00002900| 20 20 20 20 20 20 20 20 | 20 20 63 6f 6e 74 69 6e | | contin|
|00002910| 75 65 3b 0d 0a 0d 0a 20 | 20 20 20 20 20 20 20 20 |ue;.... | |
|00002920| 20 20 20 69 66 20 28 4c | 6f 63 61 6c 4d 65 73 73 | if (L|ocalMess|
|00002930| 61 67 65 73 5b 69 5d 2e | 4d 65 73 73 61 67 65 20 |ages[i].|Message |
|00002940| 3d 3d 20 63 6c 61 73 73 | 27 55 45 54 46 48 75 64 |== class|'UETFHud|
|00002950| 4d 65 73 73 61 67 65 50 | 6c 75 73 27 29 0d 0a 20 |MessageP|lus').. |
|00002960| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 44 | | D|
|00002970| 72 61 77 4d 65 73 73 61 | 67 65 50 6c 75 73 28 43 |rawMessa|gePlus(C|
|00002980| 2c 20 69 2c 20 50 6f 73 | 58 2c 20 50 6f 73 59 2c |, i, Pos|X, PosY,|
|00002990| 20 44 58 2c 20 44 59 29 | 3b 0d 0a 20 20 20 20 20 | DX, DY)|;.. |
|000029a0| 20 20 20 20 20 20 20 65 | 6c 73 65 0d 0a 20 20 20 | e|lse.. |
|000029b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 44 72 61 | | Dra|
|000029c0| 77 4d 65 73 73 61 67 65 | 28 20 43 2c 20 69 2c 20 |wMessage|( C, i, |
|000029d0| 50 6f 73 58 2c 20 50 6f | 73 59 2c 20 44 58 2c 20 |PosX, Po|sY, DX, |
|000029e0| 44 59 29 3b 0d 0a 0d 0a | 20 20 20 20 20 20 20 20 |DY);....| |
|000029f0| 20 20 20 20 73 77 69 74 | 63 68 28 20 4c 6f 63 61 | swit|ch( Loca|
|00002a00| 6c 4d 65 73 73 61 67 65 | 73 5b 6a 5d 2e 53 74 61 |lMessage|s[j].Sta|
|00002a10| 63 6b 4d 6f 64 65 20 29 | 0d 0a 20 20 20 20 20 20 |ckMode )|.. |
|00002a20| 20 20 20 20 20 20 7b 0d | 0a 20 20 20 20 20 20 20 | {.|. |
|00002a30| 20 20 20 20 20 20 20 20 | 20 63 61 73 65 20 53 4d | | case SM|
|00002a40| 5f 55 70 3a 0d 0a 20 20 | 20 20 20 20 20 20 20 20 |_Up:.. | |
|00002a50| 20 20 20 20 20 20 20 20 | 20 20 50 6f 73 59 20 2d | | PosY -|
|00002a60| 3d 20 44 59 3b 0d 0a 20 | 20 20 20 20 20 20 20 20 |= DY;.. | |
|00002a70| 20 20 20 20 20 20 20 20 | 20 20 20 62 72 65 61 6b | | break|
|00002a80| 3b 0d 0a 0d 0a 20 20 20 | 20 20 20 20 20 20 20 20 |;.... | |
|00002a90| 20 20 20 20 20 63 61 73 | 65 20 53 4d 5f 44 6f 77 | cas|e SM_Dow|
|00002aa0| 6e 3a 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |n:.. | |
|00002ab0| 20 20 20 20 20 20 20 20 | 50 6f 73 59 20 2b 3d 20 | |PosY += |
|00002ac0| 44 59 3b 0d 0a 20 20 20 | 20 20 20 20 20 20 20 20 |DY;.. | |
|00002ad0| 20 20 20 20 20 20 20 20 | 20 62 72 65 61 6b 3b 0d | | break;.|
|00002ae0| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 7d 0d 0a |. | }..|
|00002af0| 20 20 20 20 20 20 20 20 | 7d 0d 0a 20 20 20 20 7d | |}.. }|
|00002b00| 0d 0a 7d 0d 0a 0d 0a 2f | 2f 43 68 61 6e 67 65 64 |..}..../|/Changed|
|00002b10| 20 74 6f 20 61 64 64 20 | 70 6f 72 74 72 61 69 74 | to add |portrait|
|00002b20| 73 0d 0a 73 69 6d 75 6c | 61 74 65 64 20 66 75 6e |s..simul|ated fun|
|00002b30| 63 74 69 6f 6e 20 44 72 | 61 77 4d 65 73 73 61 67 |ction Dr|awMessag|
|00002b40| 65 50 6c 75 73 28 43 61 | 6e 76 61 73 20 43 2c 20 |ePlus(Ca|nvas C, |
|00002b50| 69 6e 74 20 69 2c 20 66 | 6c 6f 61 74 20 50 6f 73 |int i, f|loat Pos|
|00002b60| 58 2c 20 66 6c 6f 61 74 | 20 50 6f 73 59 2c 20 6f |X, float| PosY, o|
|00002b70| 75 74 20 66 6c 6f 61 74 | 20 44 58 2c 20 6f 75 74 |ut float| DX, out|
|00002b80| 20 66 6c 6f 61 74 20 44 | 59 29 0d 0a 7b 0d 0a 20 | float D|Y)..{.. |
|00002b90| 20 20 20 6c 6f 63 61 6c | 20 66 6c 6f 61 74 20 46 | local| float F|
|00002ba0| 61 64 65 56 61 6c 75 65 | 3b 0d 0a 20 20 20 20 6c |adeValue|;.. l|
|00002bb0| 6f 63 61 6c 20 66 6c 6f | 61 74 20 53 63 72 65 65 |ocal flo|at Scree|
|00002bc0| 6e 58 2c 20 53 63 72 65 | 65 6e 59 3b 0d 0a 20 20 |nX, Scre|enY;.. |
|00002bd0| 20 20 6c 6f 63 61 6c 20 | 48 75 64 4d 65 73 73 61 | local |HudMessa|
|00002be0| 67 65 48 65 6c 70 65 72 | 20 4d 73 67 49 6e 66 6f |geHelper| MsgInfo|
|00002bf0| 3b 0d 0a 0d 0a 20 20 20 | 20 69 66 20 28 48 75 64 |;.... | if (Hud|
|00002c00| 4d 65 73 73 61 67 65 48 | 65 6c 70 65 72 28 4c 6f |MessageH|elper(Lo|
|00002c10| 63 61 6c 4d 65 73 73 61 | 67 65 73 5b 69 5d 2e 4f |calMessa|ges[i].O|
|00002c20| 70 74 69 6f 6e 61 6c 4f | 62 6a 65 63 74 29 21 3d |ptionalO|bject)!=|
|00002c30| 4e 6f 6e 65 29 7b 0d 0a | 20 20 20 20 20 20 20 4d |None){..| M|
|00002c40| 73 67 49 6e 66 6f 20 3d | 20 48 75 64 4d 65 73 73 |sgInfo =| HudMess|
|00002c50| 61 67 65 48 65 6c 70 65 | 72 28 4c 6f 63 61 6c 4d |ageHelpe|r(LocalM|
|00002c60| 65 73 73 61 67 65 73 5b | 69 5d 2e 4f 70 74 69 6f |essages[|i].Optio|
|00002c70| 6e 61 6c 4f 62 6a 65 63 | 74 29 3b 0d 0a 20 20 20 |nalObjec|t);.. |
|00002c80| 20 20 20 20 4c 6f 63 61 | 6c 4d 65 73 73 61 67 65 | Loca|lMessage|
|00002c90| 73 5b 69 5d 2e 53 74 72 | 69 6e 67 4d 65 73 73 61 |s[i].Str|ingMessa|
|00002ca0| 67 65 20 3d 20 4d 73 67 | 49 6e 66 6f 2e 4d 73 67 |ge = Msg|Info.Msg|
|00002cb0| 53 74 72 69 6e 67 3b 0d | 0a 20 20 20 20 20 20 20 |String;.|. |
|00002cc0| 4c 61 79 6f 75 74 4d 65 | 73 73 61 67 65 28 4c 6f |LayoutMe|ssage(Lo|
|00002cd0| 63 61 6c 4d 65 73 73 61 | 67 65 73 5b 69 5d 2c 20 |calMessa|ges[i], |
|00002ce0| 43 29 3b 0d 0a 0d 0a 09 | 20 20 20 69 66 20 28 20 |C);.....| if ( |
|00002cf0| 21 4c 6f 63 61 6c 4d 65 | 73 73 61 67 65 73 5b 69 |!LocalMe|ssages[i|
|00002d00| 5d 2e 4d 65 73 73 61 67 | 65 2e 64 65 66 61 75 6c |].Messag|e.defaul|
|00002d10| 74 2e 62 46 61 64 65 4d | 65 73 73 61 67 65 20 29 |t.bFadeM|essage )|
|00002d20| 0d 0a 09 09 20 20 43 2e | 44 72 61 77 43 6f 6c 6f |.... C.|DrawColo|
|00002d30| 72 20 3d 20 4c 6f 63 61 | 6c 4d 65 73 73 61 67 65 |r = Loca|lMessage|
|00002d40| 73 5b 69 5d 2e 44 72 61 | 77 43 6f 6c 6f 72 3b 0d |s[i].Dra|wColor;.|
|00002d50| 0a 09 20 20 20 65 6c 73 | 65 0d 0a 09 20 20 20 7b |.. els|e... {|
|00002d60| 0d 0a 09 09 46 61 64 65 | 56 61 6c 75 65 20 3d 20 |....Fade|Value = |
|00002d70| 28 4c 6f 63 61 6c 4d 65 | 73 73 61 67 65 73 5b 69 |(LocalMe|ssages[i|
|00002d80| 5d 2e 45 6e 64 4f 66 4c | 69 66 65 20 2d 20 4c 65 |].EndOfL|ife - Le|
|00002d90| 76 65 6c 2e 54 69 6d 65 | 53 65 63 6f 6e 64 73 29 |vel.Time|Seconds)|
|00002da0| 3b 0d 0a 09 09 43 2e 44 | 72 61 77 43 6f 6c 6f 72 |;....C.D|rawColor|
|00002db0| 20 3d 20 4c 6f 63 61 6c | 4d 65 73 73 61 67 65 73 | = Local|Messages|
|00002dc0| 5b 69 5d 2e 44 72 61 77 | 43 6f 6c 6f 72 3b 0d 0a |[i].Draw|Color;..|
|00002dd0| 09 09 43 2e 44 72 61 77 | 43 6f 6c 6f 72 2e 41 20 |..C.Draw|Color.A |
|00002de0| 3d 20 4c 6f 63 61 6c 4d | 65 73 73 61 67 65 73 5b |= LocalM|essages[|
|00002df0| 69 5d 2e 44 72 61 77 43 | 6f 6c 6f 72 2e 41 20 2a |i].DrawC|olor.A *|
|00002e00| 20 28 46 61 64 65 56 61 | 6c 75 65 2f 4c 6f 63 61 | (FadeVa|lue/Loca|
|00002e10| 6c 4d 65 73 73 61 67 65 | 73 5b 69 5d 2e 4c 69 66 |lMessage|s[i].Lif|
|00002e20| 65 54 69 6d 65 29 3b 0d | 0a 20 20 20 20 20 20 20 |eTime);.|. |
|00002e30| 7d 0d 0a 0d 0a 20 20 20 | 20 20 20 20 44 72 61 77 |}.... | Draw|
|00002e40| 50 6f 72 74 72 61 69 74 | 28 43 2c 20 4d 73 67 49 |Portrait|(C, MsgI|
|00002e50| 6e 66 6f 2e 4d 73 67 50 | 6f 72 74 72 61 69 74 2c |nfo.MsgP|ortrait,|
|00002e60| 20 46 61 64 65 56 61 6c | 75 65 2f 4c 6f 63 61 6c | FadeVal|ue/Local|
|00002e70| 4d 65 73 73 61 67 65 73 | 5b 69 5d 2e 4c 69 66 65 |Messages|[i].Life|
|00002e80| 54 69 6d 65 29 3b 0d 0a | 20 20 20 20 7d 0d 0a 0d |Time);..| }...|
|00002e90| 0a 09 43 2e 46 6f 6e 74 | 20 3d 20 4c 6f 63 61 6c |..C.Font| = Local|
|00002ea0| 4d 65 73 73 61 67 65 73 | 5b 69 5d 2e 53 74 72 69 |Messages|[i].Stri|
|00002eb0| 6e 67 46 6f 6e 74 3b 0d | 0a 09 47 65 74 53 63 72 |ngFont;.|..GetScr|
|00002ec0| 65 65 6e 43 6f 6f 72 64 | 73 28 50 6f 73 58 2c 20 |eenCoord|s(PosX, |
|00002ed0| 50 6f 73 59 2c 20 53 63 | 72 65 65 6e 58 2c 20 53 |PosY, Sc|reenX, S|
|00002ee0| 63 72 65 65 6e 59 2c 20 | 4c 6f 63 61 6c 4d 65 73 |creenY, |LocalMes|
|00002ef0| 73 61 67 65 73 5b 69 5d | 2c 20 43 29 3b 0d 0a 09 |sages[i]|, C);...|
|00002f00| 43 2e 53 65 74 50 6f 73 | 28 53 63 72 65 65 6e 58 |C.SetPos|(ScreenX|
|00002f10| 2c 20 53 63 72 65 65 6e | 59 29 3b 0d 0a 09 44 58 |, Screen|Y);...DX|
|00002f20| 20 3d 20 4c 6f 63 61 6c | 4d 65 73 73 61 67 65 73 | = Local|Messages|
|00002f30| 5b 69 5d 2e 44 58 20 2f | 20 43 2e 43 6c 69 70 58 |[i].DX /| C.ClipX|
|00002f40| 3b 0d 0a 20 20 20 20 44 | 59 20 3d 20 4c 6f 63 61 |;.. D|Y = Loca|
|00002f50| 6c 4d 65 73 73 61 67 65 | 73 5b 69 5d 2e 44 59 20 |lMessage|s[i].DY |
|00002f60| 2f 20 43 2e 43 6c 69 70 | 59 3b 0d 0a 0d 0a 09 43 |/ C.Clip|Y;.....C|
|00002f70| 2e 44 72 61 77 54 65 78 | 74 43 6c 69 70 70 65 64 |.DrawTex|tClipped|
|00002f80| 28 4c 6f 63 61 6c 4d 65 | 73 73 61 67 65 73 5b 69 |(LocalMe|ssages[i|
|00002f90| 5d 2e 53 74 72 69 6e 67 | 4d 65 73 73 61 67 65 2c |].String|Message,|
|00002fa0| 20 66 61 6c 73 65 29 3b | 0d 0a 0d 0a 20 20 20 20 | false);|.... |
|00002fb0| 4c 6f 63 61 6c 4d 65 73 | 73 61 67 65 73 5b 69 5d |LocalMes|sages[i]|
|00002fc0| 2e 44 72 61 77 6e 20 3d | 20 74 72 75 65 3b 0d 0a |.Drawn =| true;..|
|00002fd0| 7d 0d 0a 0d 0a 73 69 6d | 75 6c 61 74 65 64 20 66 |}....sim|ulated f|
|00002fe0| 75 6e 63 74 69 6f 6e 20 | 44 72 61 77 50 6f 72 74 |unction |DrawPort|
|00002ff0| 72 61 69 74 28 43 61 6e | 76 61 73 20 43 2c 20 4d |rait(Can|vas C, M|
|00003000| 61 74 65 72 69 61 6c 20 | 49 6e 50 6f 72 74 72 61 |aterial |InPortra|
|00003010| 69 74 2c 20 66 6c 6f 61 | 74 20 4d 65 73 73 61 67 |it, floa|t Messag|
|00003020| 65 41 6c 70 68 61 29 0d | 0a 7b 0d 0a 20 6c 6f 63 |eAlpha).|.{.. loc|
|00003030| 61 6c 20 53 70 72 69 74 | 65 57 69 64 67 65 74 20 |al Sprit|eWidget |
|00003040| 44 72 61 77 50 6f 72 74 | 72 61 69 74 3b 0d 0a 20 |DrawPort|rait;.. |
|00003050| 44 72 61 77 50 6f 72 74 | 72 61 69 74 20 3d 20 44 |DrawPort|rait = D|
|00003060| 65 66 61 75 6c 74 50 6f | 72 74 72 61 69 74 3b 0d |efaultPo|rtrait;.|
|00003070| 0a 0d 0a 20 44 72 61 77 | 50 6f 72 74 72 61 69 74 |... Draw|Portrait|
|00003080| 2e 57 69 64 67 65 74 54 | 65 78 74 75 72 65 20 3d |.WidgetT|exture =|
|00003090| 20 49 6e 50 6f 72 74 72 | 61 69 74 3b 0d 0a 20 44 | InPortr|ait;.. D|
|000030a0| 72 61 77 50 6f 72 74 72 | 61 69 74 2e 54 69 6e 74 |rawPortr|ait.Tint|
|000030b0| 73 5b 30 5d 2e 41 3d 32 | 35 35 20 2a 20 4d 65 73 |s[0].A=2|55 * Mes|
|000030c0| 73 61 67 65 41 6c 70 68 | 61 3b 0d 0a 20 44 72 61 |sageAlph|a;.. Dra|
|000030d0| 77 53 70 72 69 74 65 57 | 69 64 67 65 74 28 43 2c |wSpriteW|idget(C,|
|000030e0| 20 44 72 61 77 50 6f 72 | 74 72 61 69 74 29 3b 0d | DrawPor|trait);.|
|000030f0| 0a 7d 0d 0a 0d 0a 73 69 | 6d 75 6c 61 74 65 64 20 |.}....si|mulated |
|00003100| 66 75 6e 63 74 69 6f 6e | 20 53 68 6f 77 54 65 61 |function| ShowTea|
|00003110| 6d 53 63 6f 72 65 50 61 | 73 73 43 28 43 61 6e 76 |mScorePa|ssC(Canv|
|00003120| 61 73 20 43 29 0d 0a 7b | 0d 0a 2f 2f 20 20 20 20 |as C)..{|..// |
|00003130| 6c 6f 63 61 6c 20 66 6c | 6f 61 74 20 4f 6c 64 53 |local fl|oat OldS|
|00003140| 63 61 6c 65 3b 0d 0a 7d | 0d 0a 0d 0a 2f 2f 55 73 |cale;..}|....//Us|
|00003150| 69 6e 67 20 6f 75 72 20 | 6f 77 6e 20 48 65 61 6c |ing our |own Heal|
|00003160| 74 68 2f 53 68 69 65 6c | 64 20 63 6f 75 6e 74 65 |th/Shiel|d counte|
|00003170| 72 73 0d 0a 73 69 6d 75 | 6c 61 74 65 64 20 66 75 |rs..simu|lated fu|
|00003180| 6e 63 74 69 6f 6e 20 55 | 70 64 61 74 65 48 75 64 |nction U|pdateHud|
|00003190| 28 29 0d 0a 7b 0d 0a 20 | 20 20 20 69 66 20 28 28 |()..{.. | if ((|
|000031a0| 50 61 77 6e 4f 77 6e 65 | 72 50 52 49 20 21 3d 20 |PawnOwne|rPRI != |
|000031b0| 6e 6f 6e 65 29 20 26 26 | 20 28 50 61 77 6e 4f 77 |none) &&| (PawnOw|
|000031c0| 6e 65 72 50 52 49 2e 54 | 65 61 6d 20 21 3d 20 4e |nerPRI.T|eam != N|
|000031d0| 6f 6e 65 29 29 0d 0a 20 | 20 20 20 20 20 20 20 54 |one)).. | T|
|000031e0| 65 61 6d 49 6e 64 65 78 | 20 3d 20 43 6c 61 6d 70 |eamIndex| = Clamp|
|000031f0| 20 28 50 61 77 6e 4f 77 | 6e 65 72 50 52 49 2e 54 | (PawnOw|nerPRI.T|
|00003200| 65 61 6d 2e 54 65 61 6d | 49 6e 64 65 78 2c 20 30 |eam.Team|Index, 0|
|00003210| 2c 20 31 29 3b 0d 0a 20 | 20 20 20 65 6c 73 65 0d |, 1);.. | else.|
|00003220| 0a 20 20 20 20 20 20 20 | 20 54 65 61 6d 49 6e 64 |. | TeamInd|
|00003230| 65 78 20 3d 20 31 3b 20 | 2f 2f 20 44 65 66 61 75 |ex = 1; |// Defau|
|00003240| 6c 74 20 74 6f 20 74 68 | 65 20 62 6c 75 65 20 48 |lt to th|e blue H|
|00003250| 55 44 20 62 65 63 61 75 | 73 65 20 69 74 27 73 20 |UD becau|se it's |
|00003260| 73 65 78 69 65 72 0d 0a | 0d 0a 20 20 20 20 2f 2f |sexier..|.. //|
|00003270| 20 55 70 64 61 74 65 20 | 76 61 6c 75 65 73 20 3d | Update |values =|
|00003280| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00003290| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000032a0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000032b0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000032c0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 0d 0a |========|======..|
|000032d0| 0d 0a 20 20 20 20 43 61 | 6c 63 75 6c 61 74 65 53 |.. Ca|lculateS|
|000032e0| 63 6f 72 65 28 29 3b 0d | 0a 20 20 20 20 2f 2f 20 |core();.|. // |
|000032f0| 53 63 6f 72 65 2e 56 61 | 6c 75 65 20 3d 20 43 75 |Score.Va|lue = Cu|
|00003300| 72 53 63 6f 72 65 3b 0d | 0a 0d 0a 20 20 20 20 43 |rScore;.|... C|
|00003310| 61 6c 63 75 6c 61 74 65 | 48 65 61 6c 74 68 28 29 |alculate|Health()|
|00003320| 3b 0d 0a 20 20 20 20 55 | 45 54 46 48 65 61 6c 74 |;.. U|ETFHealt|
|00003330| 68 43 6f 75 6e 74 2e 56 | 61 6c 75 65 20 3d 20 43 |hCount.V|alue = C|
|00003340| 75 72 48 65 61 6c 74 68 | 3b 0d 0a 0d 0a 20 20 20 |urHealth|;.... |
|00003350| 20 48 65 61 6c 74 68 49 | 63 6f 6e 2e 54 69 6e 74 | HealthI|con.Tint|
|00003360| 73 5b 54 65 61 6d 49 6e | 64 65 78 5d 2e 52 20 3d |s[TeamIn|dex].R =|
|00003370| 20 32 35 35 20 2d 20 28 | 20 32 35 35 20 2a 20 28 | 255 - (| 255 * (|
|00003380| 20 46 43 6c 61 6d 70 28 | 20 43 75 72 48 65 61 6c | FClamp(| CurHeal|
|00003390| 74 68 20 2f 20 31 30 30 | 2c 20 30 2e 30 2c 20 31 |th / 100|, 0.0, 1|
|000033a0| 2e 30 29 20 29 29 3b 0d | 0a 20 20 20 20 48 65 61 |.0) ));.|. Hea|
|000033b0| 6c 74 68 49 63 6f 6e 2e | 54 69 6e 74 73 5b 54 65 |lthIcon.|Tints[Te|
|000033c0| 61 6d 49 6e 64 65 78 5d | 2e 47 20 3d 20 30 3b 0d |amIndex]|.G = 0;.|
|000033d0| 0a 20 20 20 20 48 65 61 | 6c 74 68 49 63 6f 6e 2e |. Hea|lthIcon.|
|000033e0| 54 69 6e 74 73 5b 54 65 | 61 6d 49 6e 64 65 78 5d |Tints[Te|amIndex]|
|000033f0| 2e 42 20 3d 20 32 35 35 | 3b 0d 0a 0d 0a 20 20 20 |.B = 255|;.... |
|00003400| 20 43 61 6c 63 75 6c 61 | 74 65 53 68 69 65 6c 64 | Calcula|teShield|
|00003410| 28 29 3b 0d 0a 20 20 20 | 20 55 45 54 46 53 68 69 |();.. | UETFShi|
|00003420| 65 6c 64 43 6f 75 6e 74 | 2e 56 61 6c 75 65 20 3d |eldCount|.Value =|
|00003430| 20 43 75 72 53 68 69 65 | 6c 64 3b 0d 0a 0d 0a 20 | CurShie|ld;.... |
|00003440| 20 20 20 43 61 6c 63 75 | 6c 61 74 65 55 45 54 46 | Calcu|lateUETF|
|00003450| 45 6e 65 72 67 79 28 29 | 3b 0d 0a 20 20 20 20 2f |Energy()|;.. /|
|00003460| 2f 47 65 74 20 6f 75 72 | 20 65 6e 65 72 67 79 20 |/Get our| energy |
|00003470| 63 6f 75 6e 74 20 68 65 | 72 65 0d 0a 20 20 20 20 |count he|re.. |
|00003480| 55 45 54 46 45 6e 65 72 | 67 79 43 6f 75 6e 74 2e |UETFEner|gyCount.|
|00003490| 56 61 6c 75 65 20 3d 20 | 43 75 72 55 45 54 46 45 |Value = |CurUETFE|
|000034a0| 6e 65 72 67 79 3b 0d 0a | 0d 0a 20 20 20 20 41 64 |nergy;..|.. Ad|
|000034b0| 72 65 6e 61 6c 69 6e 65 | 5b 32 5d 2e 53 63 61 6c |renaline|[2].Scal|
|000034c0| 65 20 3d 20 43 75 72 45 | 6e 65 72 67 79 20 2f 20 |e = CurE|nergy / |
|000034d0| 4d 61 78 45 6e 65 72 67 | 79 3b 0d 0a 20 20 20 20 |MaxEnerg|y;.. |
|000034e0| 69 66 28 43 75 72 45 6e | 65 72 67 79 20 3d 3d 20 |if(CurEn|ergy == |
|000034f0| 4d 61 78 45 6e 65 72 67 | 79 29 0d 0a 20 20 20 20 |MaxEnerg|y).. |
|00003500| 20 20 20 20 41 64 72 65 | 6e 61 6c 69 6e 65 52 65 | Adre|nalineRe|
|00003510| 61 64 79 20 3d 20 74 72 | 75 65 3b 0d 0a 20 20 20 |ady = tr|ue;.. |
|00003520| 20 65 6c 73 65 0d 0a 20 | 20 20 20 20 20 20 20 41 | else.. | A|
|00003530| 64 72 65 6e 61 6c 69 6e | 65 52 65 61 64 79 20 3d |drenalin|eReady =|
|00003540| 20 66 61 6c 73 65 3b 0d | 0a 0d 0a 20 20 20 20 43 | false;.|... C|
|00003550| 61 6c 63 75 6c 61 74 65 | 41 6d 6d 6f 28 29 3b 0d |alculate|Ammo();.|
|00003560| 0a 20 20 20 20 41 6d 6d | 6f 43 6f 75 6e 74 2e 56 |. Amm|oCount.V|
|00003570| 61 6c 75 65 20 3d 20 43 | 75 72 41 6d 6d 6f 50 72 |alue = C|urAmmoPr|
|00003580| 69 6d 61 72 79 3b 0d 0a | 20 20 20 20 69 66 28 21 |imary;..| if(!|
|00003590| 54 65 61 6d 4c 69 6e 6b | 65 64 29 0d 0a 20 20 20 |TeamLink|ed).. |
|000035a0| 20 7b 0d 0a 20 20 20 20 | 20 20 20 20 52 48 75 64 | {.. | RHud|
|000035b0| 32 5b 33 5d 2e 54 69 6e | 74 73 5b 54 65 61 6d 49 |2[3].Tin|ts[TeamI|
|000035c0| 6e 64 65 78 5d 2e 52 20 | 3d 20 32 35 35 20 2d 20 |ndex].R |= 255 - |
|000035d0| 28 20 32 35 35 20 2a 20 | 28 20 46 43 6c 61 6d 70 |( 255 * |( FClamp|
|000035e0| 28 20 43 75 72 41 6d 6d | 6f 50 72 69 6d 61 72 79 |( CurAmm|oPrimary|
|000035f0| 20 2f 20 4d 61 78 41 6d | 6d 6f 50 72 69 6d 61 72 | / MaxAm|moPrimar|
|00003600| 79 2c 20 30 2e 30 2c 20 | 31 2e 30 29 20 29 29 3b |y, 0.0, |1.0) ));|
|00003610| 0d 0a 20 20 20 20 20 20 | 20 20 52 48 75 64 32 5b |.. | RHud2[|
|00003620| 33 5d 2e 54 69 6e 74 73 | 5b 54 65 61 6d 49 6e 64 |3].Tints|[TeamInd|
|00003630| 65 78 5d 2e 47 20 3d 20 | 28 20 32 35 35 20 2a 20 |ex].G = |( 255 * |
|00003640| 28 20 46 43 6c 61 6d 70 | 28 20 43 75 72 41 6d 6d |( FClamp|( CurAmm|
|00003650| 6f 50 72 69 6d 61 72 79 | 20 2f 20 4d 61 78 41 6d |oPrimary| / MaxAm|
|00003660| 6d 6f 50 72 69 6d 61 72 | 79 2c 20 30 2e 30 2c 20 |moPrimar|y, 0.0, |
|00003670| 31 2e 30 29 20 29 29 3b | 0d 0a 20 20 20 20 20 20 |1.0) ));|.. |
|00003680| 20 20 52 48 75 64 32 5b | 33 5d 2e 54 69 6e 74 73 | RHud2[|3].Tints|
|00003690| 5b 54 65 61 6d 49 6e 64 | 65 78 5d 2e 42 20 3d 20 |[TeamInd|ex].B = |
|000036a0| 30 3b 0d 0a 20 20 20 20 | 7d 0d 0a 0d 0a 20 20 20 |0;.. |}.... |
|000036b0| 20 47 65 74 53 6b 69 6c | 6c 73 28 29 3b 0d 0a 20 | GetSkil|ls();.. |
|000036c0| 20 20 20 47 65 74 57 65 | 61 70 6f 6e 49 6e 66 6f | GetWe|aponInfo|
|000036d0| 28 29 3b 0d 0a 20 20 20 | 20 73 68 6f 77 4c 69 6e |();.. | showLin|
|000036e0| 6b 73 28 29 3b 0d 0a 0d | 0a 20 20 20 20 53 75 70 |ks();...|. Sup|
|000036f0| 65 72 2e 55 70 64 61 74 | 65 48 75 64 28 29 3b 0d |er.Updat|eHud();.|
|00003700| 0a 7d 0d 0a 0d 0a 2f 2f | 49 63 6f 6e 20 4f 76 65 |.}....//|Icon Ove|
|00003710| 72 6c 61 79 73 0d 0a 73 | 69 6d 75 6c 61 74 65 64 |rlays..s|imulated|
|00003720| 20 66 75 6e 63 74 69 6f | 6e 20 52 65 6e 64 65 72 | functio|n Render|
|00003730| 43 72 69 74 69 63 61 6c | 49 63 6f 6e 20 28 43 61 |Critical|Icon (Ca|
|00003740| 6e 76 61 73 20 43 2c 20 | 76 65 63 74 6f 72 20 54 |nvas C, |vector T|
|00003750| 72 67 4c 6f 63 61 74 69 | 6f 6e 2c 20 54 65 78 74 |rgLocati|on, Text|
|00003760| 75 72 65 20 49 63 6f 6e | 54 65 78 74 75 72 65 2c |ure Icon|Texture,|
|00003770| 20 73 74 72 69 6e 67 20 | 73 29 0d 0a 7b 0d 0a 20 | string |s)..{.. |
|00003780| 20 6c 6f 63 61 6c 20 56 | 65 63 74 6f 72 20 48 55 | local V|ector HU|
|00003790| 44 43 6f 6f 72 64 73 3b | 0d 0a 20 20 6c 6f 63 61 |DCoords;|.. loca|
|000037a0| 6c 20 66 6c 6f 61 74 20 | 52 58 53 69 7a 65 3b 0d |l float |RXSize;.|
|000037b0| 0a 20 20 6c 6f 63 61 6c | 20 66 6c 6f 61 74 20 52 |. local| float R|
|000037c0| 59 53 69 7a 65 3b 0d 0a | 20 20 6c 6f 63 61 6c 20 |YSize;..| local |
|000037d0| 66 6c 6f 61 74 20 78 70 | 3b 0d 0a 20 20 6c 6f 63 |float xp|;.. loc|
|000037e0| 61 6c 20 66 6c 6f 61 74 | 20 79 70 3b 0d 0a 0d 0a |al float| yp;....|
|000037f0| 20 20 52 58 53 69 7a 65 | 3d 31 36 2e 30 30 3b 0d | RXSize|=16.00;.|
|00003800| 0a 20 20 52 59 53 69 7a | 65 3d 31 36 2e 30 30 3b |. RYSiz|e=16.00;|
|00003810| 0d 0a 0d 0a 20 20 43 2e | 46 6f 6e 74 20 3d 20 47 |.... C.|Font = G|
|00003820| 65 74 46 6f 6e 74 53 69 | 7a 65 49 6e 64 65 78 28 |etFontSi|zeIndex(|
|00003830| 43 2c 2d 33 29 3b 0d 0a | 0d 0a 20 20 48 55 44 43 |C,-3);..|.. HUDC|
|00003840| 6f 6f 72 64 73 3d 54 72 | 67 4c 6f 63 61 74 69 6f |oords=Tr|gLocatio|
|00003850| 6e 3b 0d 0a 20 20 48 55 | 44 43 6f 6f 72 64 73 2e |n;.. HU|DCoords.|
|00003860| 5a 20 2b 3d 20 31 36 3b | 0d 0a 20 20 48 55 44 43 |Z += 16;|.. HUDC|
|00003870| 6f 6f 72 64 73 3d 43 2e | 57 6f 72 6c 64 54 6f 53 |oords=C.|WorldToS|
|00003880| 63 72 65 65 6e 28 48 55 | 44 43 6f 6f 72 64 73 29 |creen(HU|DCoords)|
|00003890| 3b 0d 0a 20 20 69 66 20 | 28 20 48 55 44 43 6f 6f |;.. if |( HUDCoo|
|000038a0| 72 64 73 2e 5a 20 3e 3d | 20 31 2e 30 30 20 29 0d |rds.Z >=| 1.00 ).|
|000038b0| 0a 20 20 7b 0d 0a 20 20 | 20 20 72 65 74 75 72 6e |. {.. | return|
|000038c0| 3b 0d 0a 20 20 7d 0d 0a | 0d 0a 20 20 43 2e 44 72 |;.. }..|.. C.Dr|
|000038d0| 61 77 43 6f 6c 6f 72 20 | 3d 20 54 75 72 71 43 6f |awColor |= TurqCo|
|000038e0| 6c 6f 72 3b 0d 0a 20 20 | 43 2e 53 65 74 50 6f 73 |lor;.. |C.SetPos|
|000038f0| 28 20 48 55 44 43 6f 6f | 72 64 73 2e 58 20 2d 20 |( HUDCoo|rds.X - |
|00003900| 52 58 53 69 7a 65 20 2f | 20 32 2c 20 48 55 44 43 |RXSize /| 2, HUDC|
|00003910| 6f 6f 72 64 73 2e 59 20 | 2d 20 52 59 53 69 7a 65 |oords.Y |- RYSize|
|00003920| 29 3b 0d 0a 20 20 43 2e | 44 72 61 77 54 69 6c 65 |);.. C.|DrawTile|
|00003930| 28 49 63 6f 6e 54 65 78 | 74 75 72 65 2c 20 52 58 |(IconTex|ture, RX|
|00003940| 53 69 7a 65 2a 32 2c 20 | 52 59 53 69 7a 65 2a 32 |Size*2, |RYSize*2|
|00003950| 2c 20 30 2e 30 2c 20 30 | 2e 30 2c 20 49 63 6f 6e |, 0.0, 0|.0, Icon|
|00003960| 54 65 78 74 75 72 65 2e | 55 53 69 7a 65 2c 20 49 |Texture.|USize, I|
|00003970| 63 6f 6e 54 65 78 74 75 | 72 65 2e 56 53 69 7a 65 |conTextu|re.VSize|
|00003980| 29 3b 0d 0a 0d 0a 20 20 | 20 20 69 66 20 28 73 20 |);.... | if (s |
|00003990| 21 3d 20 22 22 29 0d 0a | 20 20 20 20 7b 0d 0a 0d |!= "")..| {...|
|000039a0| 0a 20 20 20 20 20 20 43 | 2e 53 74 72 4c 65 6e 28 |. C|.StrLen(|
|000039b0| 73 2c 78 70 2c 79 70 29 | 3b 0d 0a 20 20 20 20 20 |s,xp,yp)|;.. |
|000039c0| 20 78 70 20 2a 3d 20 30 | 2e 35 3b 0d 0a 0d 0a 20 | xp *= 0|.5;.... |
|000039d0| 20 20 20 20 20 69 66 20 | 28 48 55 44 43 6f 6f 72 | if |(HUDCoor|
|000039e0| 64 73 2e 58 20 2b 20 78 | 70 20 3c 20 43 2e 43 6c |ds.X + x|p < C.Cl|
|000039f0| 69 70 58 29 0d 0a 20 20 | 20 20 20 20 7b 0d 0a 20 |ipX).. | {.. |
|00003a00| 20 20 20 20 20 20 20 20 | 20 20 2f 2f 20 69 66 20 | | // if |
|00003a10| 54 65 78 74 20 77 6f 75 | 6c 64 20 67 6f 20 6f 75 |Text wou|ld go ou|
|00003a20| 74 20 6f 66 20 73 63 72 | 65 65 6e 2c 20 64 6f 6e |t of scr|een, don|
|00003a30| 27 74 20 64 72 61 77 20 | 74 65 78 74 2e 0d 0a 20 |'t draw |text... |
|00003a40| 20 20 20 20 20 20 20 43 | 2e 53 65 74 50 6f 73 28 | C|.SetPos(|
|00003a50| 20 48 55 44 43 6f 6f 72 | 64 73 2e 58 20 2d 20 78 | HUDCoor|ds.X - x|
|00003a60| 70 2c 20 48 55 44 43 6f | 6f 72 64 73 2e 59 20 2d |p, HUDCo|ords.Y -|
|00003a70| 20 52 59 53 69 7a 65 20 | 2d 20 79 70 29 3b 0d 0a | RYSize |- yp);..|
|00003a80| 20 20 20 20 20 20 20 20 | 43 2e 44 72 61 77 54 65 | |C.DrawTe|
|00003a90| 78 74 43 6c 69 70 70 65 | 64 28 73 29 3b 0d 0a 20 |xtClippe|d(s);.. |
|00003aa0| 20 20 20 20 20 7d 0d 0a | 20 20 20 20 7d 0d 0a 7d | }..| }..}|
|00003ab0| 0d 0a 0d 0a 2f 2f 49 63 | 6f 6e 20 4f 76 65 72 6c |....//Ic|on Overl|
|00003ac0| 61 79 73 0d 0a 73 69 6d | 75 6c 61 74 65 64 20 66 |ays..sim|ulated f|
|00003ad0| 75 6e 63 74 69 6f 6e 20 | 52 65 6e 64 65 72 45 6e |unction |RenderEn|
|00003ae0| 65 6d 79 49 63 6f 6e 20 | 28 43 61 6e 76 61 73 20 |emyIcon |(Canvas |
|00003af0| 43 2c 20 76 65 63 74 6f | 72 20 54 72 67 4c 6f 63 |C, vecto|r TrgLoc|
|00003b00| 61 74 69 6f 6e 2c 20 73 | 74 72 69 6e 67 20 73 29 |ation, s|tring s)|
|00003b10| 0d 0a 7b 0d 0a 20 20 6c | 6f 63 61 6c 20 56 65 63 |..{.. l|ocal Vec|
|00003b20| 74 6f 72 20 48 55 44 43 | 6f 6f 72 64 73 3b 0d 0a |tor HUDC|oords;..|
|00003b30| 20 20 6c 6f 63 61 6c 20 | 66 6c 6f 61 74 20 52 58 | local |float RX|
|00003b40| 53 69 7a 65 3b 0d 0a 20 | 20 6c 6f 63 61 6c 20 66 |Size;.. | local f|
|00003b50| 6c 6f 61 74 20 52 59 53 | 69 7a 65 3b 0d 0a 20 20 |loat RYS|ize;.. |
|00003b60| 6c 6f 63 61 6c 20 66 6c | 6f 61 74 20 78 70 3b 0d |local fl|oat xp;.|
|00003b70| 0a 20 20 6c 6f 63 61 6c | 20 66 6c 6f 61 74 20 79 |. local| float y|
|00003b80| 70 3b 0d 0a 0d 0a 20 20 | 52 58 53 69 7a 65 3d 31 |p;.... |RXSize=1|
|00003b90| 36 2e 30 30 3b 0d 0a 20 | 20 52 59 53 69 7a 65 3d |6.00;.. | RYSize=|
|00003ba0| 31 36 2e 30 30 3b 0d 0a | 0d 0a 20 20 43 2e 46 6f |16.00;..|.. C.Fo|
|00003bb0| 6e 74 20 3d 20 47 65 74 | 46 6f 6e 74 53 69 7a 65 |nt = Get|FontSize|
|00003bc0| 49 6e 64 65 78 28 43 2c | 2d 33 29 3b 0d 0a 0d 0a |Index(C,|-3);....|
|00003bd0| 20 20 48 55 44 43 6f 6f | 72 64 73 3d 54 72 67 4c | HUDCoo|rds=TrgL|
|00003be0| 6f 63 61 74 69 6f 6e 3b | 0d 0a 20 20 48 55 44 43 |ocation;|.. HUDC|
|00003bf0| 6f 6f 72 64 73 2e 5a 20 | 2b 3d 20 31 36 3b 0d 0a |oords.Z |+= 16;..|
|00003c00| 20 20 48 55 44 43 6f 6f | 72 64 73 3d 43 2e 57 6f | HUDCoo|rds=C.Wo|
|00003c10| 72 6c 64 54 6f 53 63 72 | 65 65 6e 28 48 55 44 43 |rldToScr|een(HUDC|
|00003c20| 6f 6f 72 64 73 29 3b 0d | 0a 20 20 69 66 20 28 20 |oords);.|. if ( |
|00003c30| 48 55 44 43 6f 6f 72 64 | 73 2e 5a 20 3e 3d 20 31 |HUDCoord|s.Z >= 1|
|00003c40| 2e 30 30 20 29 0d 0a 20 | 20 7b 0d 0a 20 20 20 20 |.00 ).. | {.. |
|00003c50| 72 65 74 75 72 6e 3b 0d | 0a 20 20 7d 0d 0a 0d 0a |return;.|. }....|
|00003c60| 20 20 43 2e 44 72 61 77 | 43 6f 6c 6f 72 20 3d 20 | C.Draw|Color = |
|00003c70| 52 65 64 43 6f 6c 6f 72 | 3b 0d 0a 20 20 43 2e 53 |RedColor|;.. C.S|
|00003c80| 65 74 50 6f 73 28 20 48 | 55 44 43 6f 6f 72 64 73 |etPos( H|UDCoords|
|00003c90| 2e 58 20 2d 20 52 58 53 | 69 7a 65 20 2f 20 32 2c |.X - RXS|ize / 2,|
|00003ca0| 20 48 55 44 43 6f 6f 72 | 64 73 2e 59 20 2d 20 52 | HUDCoor|ds.Y - R|
|00003cb0| 59 53 69 7a 65 29 3b 0d | 0a 0d 0a 20 20 20 20 69 |YSize);.|... i|
|00003cc0| 66 20 28 73 20 21 3d 20 | 22 22 29 0d 0a 20 20 20 |f (s != |"").. |
|00003cd0| 20 7b 0d 0a 0d 0a 20 20 | 20 20 20 20 43 2e 53 74 | {.... | C.St|
|00003ce0| 72 4c 65 6e 28 73 2c 78 | 70 2c 79 70 29 3b 0d 0a |rLen(s,x|p,yp);..|
|00003cf0| 20 20 20 20 20 20 78 70 | 20 2a 3d 20 30 2e 35 3b | xp| *= 0.5;|
|00003d00| 0d 0a 0d 0a 20 20 20 20 | 20 20 69 66 20 28 48 55 |.... | if (HU|
|00003d10| 44 43 6f 6f 72 64 73 2e | 58 20 2b 20 78 70 20 3c |DCoords.|X + xp <|
|00003d20| 20 43 2e 43 6c 69 70 58 | 29 0d 0a 20 20 20 20 20 | C.ClipX|).. |
|00003d30| 20 7b 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 2f | {.. | /|
|00003d40| 2f 20 69 66 20 54 65 78 | 74 20 77 6f 75 6c 64 20 |/ if Tex|t would |
|00003d50| 67 6f 20 6f 75 74 20 6f | 66 20 73 63 72 65 65 6e |go out o|f screen|
|00003d60| 2c 20 64 6f 6e 27 74 20 | 64 72 61 77 20 74 65 78 |, don't |draw tex|
|00003d70| 74 2e 0d 0a 20 20 20 20 | 20 20 20 20 43 2e 53 65 |t... | C.Se|
|00003d80| 74 50 6f 73 28 20 48 55 | 44 43 6f 6f 72 64 73 2e |tPos( HU|DCoords.|
|00003d90| 58 20 2d 20 78 70 2c 20 | 48 55 44 43 6f 6f 72 64 |X - xp, |HUDCoord|
|00003da0| 73 2e 59 20 2d 20 52 59 | 53 69 7a 65 20 2d 20 79 |s.Y - RY|Size - y|
|00003db0| 70 29 3b 0d 0a 20 20 20 | 20 20 20 20 20 43 2e 44 |p);.. | C.D|
|00003dc0| 72 61 77 54 65 78 74 43 | 6c 69 70 70 65 64 28 73 |rawTextC|lipped(s|
|00003dd0| 29 3b 0d 0a 20 20 20 20 | 20 20 7d 0d 0a 20 20 20 |);.. | }.. |
|00003de0| 20 7d 0d 0a 7d 0d 0a 0d | 0a 0d 0a 2f 2f 49 63 6f | }..}...|...//Ico|
|00003df0| 6e 20 4f 76 65 72 6c 61 | 79 73 0d 0a 73 69 6d 75 |n Overla|ys..simu|
|00003e00| 6c 61 74 65 64 20 66 75 | 6e 63 74 69 6f 6e 20 52 |lated fu|nction R|
|00003e10| 65 6e 64 65 72 48 65 61 | 6c 74 68 49 63 6f 6e 20 |enderHea|lthIcon |
|00003e20| 28 43 61 6e 76 61 73 20 | 43 2c 20 76 65 63 74 6f |(Canvas |C, vecto|
|00003e30| 72 20 54 72 67 4c 6f 63 | 61 74 69 6f 6e 2c 20 73 |r TrgLoc|ation, s|
|00003e40| 74 72 69 6e 67 20 73 29 | 0d 0a 7b 0d 0a 20 20 6c |tring s)|..{.. l|
|00003e50| 6f 63 61 6c 20 56 65 63 | 74 6f 72 20 48 55 44 43 |ocal Vec|tor HUDC|
|00003e60| 6f 6f 72 64 73 3b 0d 0a | 20 20 6c 6f 63 61 6c 20 |oords;..| local |
|00003e70| 66 6c 6f 61 74 20 52 58 | 53 69 7a 65 3b 0d 0a 20 |float RX|Size;.. |
|00003e80| 20 6c 6f 63 61 6c 20 66 | 6c 6f 61 74 20 52 59 53 | local f|loat RYS|
|00003e90| 69 7a 65 3b 0d 0a 20 20 | 6c 6f 63 61 6c 20 66 6c |ize;.. |local fl|
|00003ea0| 6f 61 74 20 78 70 3b 0d | 0a 20 20 6c 6f 63 61 6c |oat xp;.|. local|
|00003eb0| 20 66 6c 6f 61 74 20 79 | 70 3b 0d 0a 0d 0a 20 20 | float y|p;.... |
|00003ec0| 52 58 53 69 7a 65 3d 31 | 36 2e 30 30 3b 0d 0a 20 |RXSize=1|6.00;.. |
|00003ed0| 20 52 59 53 69 7a 65 3d | 31 36 2e 30 30 3b 0d 0a | RYSize=|16.00;..|
|00003ee0| 0d 0a 20 20 43 2e 46 6f | 6e 74 20 3d 20 47 65 74 |.. C.Fo|nt = Get|
|00003ef0| 46 6f 6e 74 53 69 7a 65 | 49 6e 64 65 78 28 43 2c |FontSize|Index(C,|
|00003f00| 2d 33 29 3b 0d 0a 0d 0a | 20 20 48 55 44 43 6f 6f |-3);....| HUDCoo|
|00003f10| 72 64 73 3d 54 72 67 4c | 6f 63 61 74 69 6f 6e 3b |rds=TrgL|ocation;|
|00003f20| 0d 0a 20 20 48 55 44 43 | 6f 6f 72 64 73 2e 5a 20 |.. HUDC|oords.Z |
|00003f30| 2b 3d 20 31 36 3b 0d 0a | 20 20 48 55 44 43 6f 6f |+= 16;..| HUDCoo|
|00003f40| 72 64 73 3d 43 2e 57 6f | 72 6c 64 54 6f 53 63 72 |rds=C.Wo|rldToScr|
|00003f50| 65 65 6e 28 48 55 44 43 | 6f 6f 72 64 73 29 3b 0d |een(HUDC|oords);.|
|00003f60| 0a 20 20 69 66 20 28 20 | 48 55 44 43 6f 6f 72 64 |. if ( |HUDCoord|
|00003f70| 73 2e 5a 20 3e 3d 20 31 | 2e 30 30 20 29 0d 0a 20 |s.Z >= 1|.00 ).. |
|00003f80| 20 7b 0d 0a 20 20 20 20 | 72 65 74 75 72 6e 3b 0d | {.. |return;.|
|00003f90| 0a 20 20 7d 0d 0a 0d 0a | 20 20 43 2e 44 72 61 77 |. }....| C.Draw|
|00003fa0| 43 6f 6c 6f 72 20 3d 20 | 54 75 72 71 43 6f 6c 6f |Color = |TurqColo|
|00003fb0| 72 3b 0d 0a 20 20 43 2e | 53 65 74 50 6f 73 28 20 |r;.. C.|SetPos( |
|00003fc0| 48 55 44 43 6f 6f 72 64 | 73 2e 58 20 2d 20 52 58 |HUDCoord|s.X - RX|
|00003fd0| 53 69 7a 65 20 2f 20 32 | 2c 20 48 55 44 43 6f 6f |Size / 2|, HUDCoo|
|00003fe0| 72 64 73 2e 59 20 2d 20 | 52 59 53 69 7a 65 29 3b |rds.Y - |RYSize);|
|00003ff0| 0d 0a 0d 0a 20 20 20 20 | 69 66 20 28 73 20 21 3d |.... |if (s !=|
|00004000| 20 22 22 29 0d 0a 20 20 | 20 20 7b 0d 0a 0d 0a 20 | "").. | {.... |
|00004010| 20 20 20 20 20 43 2e 53 | 74 72 4c 65 6e 28 73 2c | C.S|trLen(s,|
|00004020| 78 70 2c 79 70 29 3b 0d | 0a 20 20 20 20 20 20 78 |xp,yp);.|. x|
|00004030| 70 20 2a 3d 20 30 2e 35 | 3b 0d 0a 0d 0a 20 20 20 |p *= 0.5|;.... |
|00004040| 20 20 20 69 66 20 28 48 | 55 44 43 6f 6f 72 64 73 | if (H|UDCoords|
|00004050| 2e 58 20 2b 20 78 70 20 | 3c 20 43 2e 43 6c 69 70 |.X + xp |< C.Clip|
|00004060| 58 29 0d 0a 20 20 20 20 | 20 20 7b 0d 0a 20 20 20 |X).. | {.. |
|00004070| 20 20 20 20 20 20 20 20 | 2f 2f 20 69 66 20 54 65 | |// if Te|
|00004080| 78 74 20 77 6f 75 6c 64 | 20 67 6f 20 6f 75 74 20 |xt would| go out |
|00004090| 6f 66 20 73 63 72 65 65 | 6e 2c 20 64 6f 6e 27 74 |of scree|n, don't|
|000040a0| 20 64 72 61 77 20 74 65 | 78 74 2e 0d 0a 20 20 20 | draw te|xt... |
|000040b0| 20 20 20 20 20 43 2e 53 | 65 74 50 6f 73 28 20 48 | C.S|etPos( H|
|000040c0| 55 44 43 6f 6f 72 64 73 | 2e 58 20 2d 20 78 70 2c |UDCoords|.X - xp,|
|000040d0| 20 48 55 44 43 6f 6f 72 | 64 73 2e 59 20 2d 20 52 | HUDCoor|ds.Y - R|
|000040e0| 59 53 69 7a 65 20 2d 20 | 79 70 29 3b 0d 0a 20 20 |YSize - |yp);.. |
|000040f0| 20 20 20 20 20 20 43 2e | 44 72 61 77 54 65 78 74 | C.|DrawText|
|00004100| 43 6c 69 70 70 65 64 28 | 73 29 3b 0d 0a 20 20 20 |Clipped(|s);.. |
|00004110| 20 20 20 7d 0d 0a 20 20 | 20 20 7d 0d 0a 7d 0d 0a | }.. | }..}..|
|00004120| 0d 0a 2f 2f 49 63 6f 6e | 20 4f 76 65 72 6c 61 79 |..//Icon| Overlay|
|00004130| 73 0d 0a 73 69 6d 75 6c | 61 74 65 64 20 66 75 6e |s..simul|ated fun|
|00004140| 63 74 69 6f 6e 20 52 65 | 6e 64 65 72 54 61 67 49 |ction Re|nderTagI|
|00004150| 63 6f 6e 20 28 43 61 6e | 76 61 73 20 43 2c 20 76 |con (Can|vas C, v|
|00004160| 65 63 74 6f 72 20 54 72 | 67 4c 6f 63 61 74 69 6f |ector Tr|gLocatio|
|00004170| 6e 2c 20 73 74 72 69 6e | 67 20 73 29 0d 0a 7b 0d |n, strin|g s)..{.|
|00004180| 0a 20 20 6c 6f 63 61 6c | 20 56 65 63 74 6f 72 20 |. local| Vector |
|00004190| 48 55 44 43 6f 6f 72 64 | 73 3b 0d 0a 20 20 6c 6f |HUDCoord|s;.. lo|
|000041a0| 63 61 6c 20 66 6c 6f 61 | 74 20 52 58 53 69 7a 65 |cal floa|t RXSize|
|000041b0| 3b 0d 0a 20 20 6c 6f 63 | 61 6c 20 66 6c 6f 61 74 |;.. loc|al float|
|000041c0| 20 52 59 53 69 7a 65 3b | 0d 0a 20 20 6c 6f 63 61 | RYSize;|.. loca|
|000041d0| 6c 20 66 6c 6f 61 74 20 | 78 70 3b 0d 0a 20 20 6c |l float |xp;.. l|
|000041e0| 6f 63 61 6c 20 66 6c 6f | 61 74 20 79 70 3b 0d 0a |ocal flo|at yp;..|
|000041f0| 0d 0a 20 20 52 58 53 69 | 7a 65 3d 31 36 2e 30 30 |.. RXSi|ze=16.00|
|00004200| 3b 0d 0a 20 20 52 59 53 | 69 7a 65 3d 31 36 2e 30 |;.. RYS|ize=16.0|
|00004210| 30 3b 0d 0a 0d 0a 20 20 | 43 2e 46 6f 6e 74 20 3d |0;.... |C.Font =|
|00004220| 20 47 65 74 46 6f 6e 74 | 53 69 7a 65 49 6e 64 65 | GetFont|SizeInde|
|00004230| 78 28 43 2c 2d 33 29 3b | 0d 0a 0d 0a 20 20 48 55 |x(C,-3);|.... HU|
|00004240| 44 43 6f 6f 72 64 73 3d | 54 72 67 4c 6f 63 61 74 |DCoords=|TrgLocat|
|00004250| 69 6f 6e 3b 0d 0a 20 20 | 48 55 44 43 6f 6f 72 64 |ion;.. |HUDCoord|
|00004260| 73 2e 5a 20 2b 3d 20 31 | 36 3b 0d 0a 20 20 48 55 |s.Z += 1|6;.. HU|
|00004270| 44 43 6f 6f 72 64 73 3d | 43 2e 57 6f 72 6c 64 54 |DCoords=|C.WorldT|
|00004280| 6f 53 63 72 65 65 6e 28 | 48 55 44 43 6f 6f 72 64 |oScreen(|HUDCoord|
|00004290| 73 29 3b 0d 0a 20 20 69 | 66 20 28 20 48 55 44 43 |s);.. i|f ( HUDC|
|000042a0| 6f 6f 72 64 73 2e 5a 20 | 3e 3d 20 31 2e 30 30 20 |oords.Z |>= 1.00 |
|000042b0| 29 0d 0a 20 20 7b 0d 0a | 20 20 20 20 72 65 74 75 |).. {..| retu|
|000042c0| 72 6e 3b 0d 0a 20 20 7d | 0d 0a 0d 0a 20 20 43 2e |rn;.. }|.... C.|
|000042d0| 44 72 61 77 43 6f 6c 6f | 72 20 3d 20 42 6c 75 65 |DrawColo|r = Blue|
|000042e0| 43 6f 6c 6f 72 3b 0d 0a | 20 20 43 2e 53 65 74 50 |Color;..| C.SetP|
|000042f0| 6f 73 28 20 48 55 44 43 | 6f 6f 72 64 73 2e 58 20 |os( HUDC|oords.X |
|00004300| 2d 20 52 58 53 69 7a 65 | 20 2f 20 32 2c 20 48 55 |- RXSize| / 2, HU|
|00004310| 44 43 6f 6f 72 64 73 2e | 59 20 2d 20 52 59 53 69 |DCoords.|Y - RYSi|
|00004320| 7a 65 29 3b 0d 0a 20 20 | 2f 2f 43 2e 44 72 61 77 |ze);.. |//C.Draw|
|00004330| 54 69 6c 65 28 54 61 67 | 5f 49 63 6f 6e 2c 20 52 |Tile(Tag|_Icon, R|
|00004340| 58 53 69 7a 65 2a 32 2c | 20 52 59 53 69 7a 65 2a |XSize*2,| RYSize*|
|00004350| 32 2c 20 30 2e 30 2c 20 | 30 2e 30 2c 20 45 6e 65 |2, 0.0, |0.0, Ene|
|00004360| 6d 79 5f 49 63 6f 6e 2e | 55 53 69 7a 65 2c 20 45 |my_Icon.|USize, E|
|00004370| 6e 65 6d 79 5f 49 63 6f | 6e 2e 56 53 69 7a 65 29 |nemy_Ico|n.VSize)|
|00004380| 3b 0d 0a 0d 0a 20 20 20 | 20 69 66 20 28 73 20 21 |;.... | if (s !|
|00004390| 3d 20 22 22 29 0d 0a 20 | 20 20 20 7b 0d 0a 0d 0a |= "").. | {....|
|000043a0| 20 20 20 20 20 20 43 2e | 53 74 72 4c 65 6e 28 73 | C.|StrLen(s|
|000043b0| 2c 78 70 2c 79 70 29 3b | 0d 0a 20 20 20 20 20 20 |,xp,yp);|.. |
|000043c0| 78 70 20 2a 3d 20 30 2e | 35 3b 0d 0a 0d 0a 20 20 |xp *= 0.|5;.... |
|000043d0| 20 20 20 20 69 66 20 28 | 48 55 44 43 6f 6f 72 64 | if (|HUDCoord|
|000043e0| 73 2e 58 20 2b 20 78 70 | 20 3c 20 43 2e 43 6c 69 |s.X + xp| < C.Cli|
|000043f0| 70 58 29 0d 0a 20 20 20 | 20 20 20 7b 0d 0a 20 20 |pX).. | {.. |
|00004400| 20 20 20 20 20 20 20 20 | 20 2f 2f 20 69 66 20 54 | | // if T|
|00004410| 65 78 74 20 77 6f 75 6c | 64 20 67 6f 20 6f 75 74 |ext woul|d go out|
|00004420| 20 6f 66 20 73 63 72 65 | 65 6e 2c 20 64 6f 6e 27 | of scre|en, don'|
|00004430| 74 20 64 72 61 77 20 74 | 65 78 74 2e 0d 0a 20 20 |t draw t|ext... |
|00004440| 20 20 20 20 20 20 43 2e | 53 65 74 50 6f 73 28 20 | C.|SetPos( |
|00004450| 48 55 44 43 6f 6f 72 64 | 73 2e 58 20 2d 20 78 70 |HUDCoord|s.X - xp|
|00004460| 2c 20 48 55 44 43 6f 6f | 72 64 73 2e 59 20 2d 20 |, HUDCoo|rds.Y - |
|00004470| 52 59 53 69 7a 65 20 2d | 20 79 70 29 3b 0d 0a 20 |RYSize -| yp);.. |
|00004480| 20 20 20 20 20 20 20 43 | 2e 44 72 61 77 54 65 78 | C|.DrawTex|
|00004490| 74 43 6c 69 70 70 65 64 | 28 73 29 3b 0d 0a 20 20 |tClipped|(s);.. |
|000044a0| 20 20 20 20 7d 0d 0a 20 | 20 20 20 7d 0d 0a 7d 0d | }.. | }..}.|
|000044b0| 0a 0d 0a 0d 0a 73 69 6d | 75 6c 61 74 65 64 20 66 |.....sim|ulated f|
|000044c0| 75 6e 63 74 69 6f 6e 20 | 52 65 6e 64 65 72 54 65 |unction |RenderTe|
|000044d0| 61 6d 49 63 6f 6e 20 28 | 43 61 6e 76 61 73 20 43 |amIcon (|Canvas C|
|000044e0| 2c 20 76 65 63 74 6f 72 | 20 54 72 67 4c 6f 63 61 |, vector| TrgLoca|
|000044f0| 74 69 6f 6e 2c 20 54 65 | 78 74 75 72 65 20 49 63 |tion, Te|xture Ic|
|00004500| 6f 6e 54 65 78 74 75 72 | 65 2c 20 73 74 72 69 6e |onTextur|e, strin|
|00004510| 67 20 73 29 0d 0a 7b 0d | 0a 20 20 6c 6f 63 61 6c |g s)..{.|. local|
|00004520| 20 56 65 63 74 6f 72 20 | 48 55 44 43 6f 6f 72 64 | Vector |HUDCoord|
|00004530| 73 3b 0d 0a 20 20 6c 6f | 63 61 6c 20 66 6c 6f 61 |s;.. lo|cal floa|
|00004540| 74 20 52 58 53 69 7a 65 | 3b 0d 0a 20 20 6c 6f 63 |t RXSize|;.. loc|
|00004550| 61 6c 20 66 6c 6f 61 74 | 20 52 59 53 69 7a 65 3b |al float| RYSize;|
|00004560| 0d 0a 20 20 6c 6f 63 61 | 6c 20 66 6c 6f 61 74 20 |.. loca|l float |
|00004570| 78 70 3b 0d 0a 20 20 6c | 6f 63 61 6c 20 66 6c 6f |xp;.. l|ocal flo|
|00004580| 61 74 20 79 70 3b 0d 0a | 0d 0a 20 20 2f 2f 6c 6f |at yp;..|.. //lo|
|00004590| 67 28 22 41 74 74 65 6d | 70 74 69 6e 67 20 74 6f |g("Attem|pting to|
|000045a0| 20 72 65 6e 64 65 72 20 | 74 65 61 6d 20 69 63 6f | render |team ico|
|000045b0| 6e 22 29 3b 0d 0a 0d 0a | 20 20 52 58 53 69 7a 65 |n");....| RXSize|
|000045c0| 3d 31 36 2e 30 30 3b 0d | 0a 20 20 52 59 53 69 7a |=16.00;.|. RYSiz|
|000045d0| 65 3d 31 36 2e 30 30 3b | 0d 0a 0d 0a 20 20 43 2e |e=16.00;|.... C.|
|000045e0| 46 6f 6e 74 20 3d 20 47 | 65 74 46 6f 6e 74 53 69 |Font = G|etFontSi|
|000045f0| 7a 65 49 6e 64 65 78 28 | 43 2c 2d 33 29 3b 0d 0a |zeIndex(|C,-3);..|
|00004600| 0d 0a 0d 0a 20 20 48 55 | 44 43 6f 6f 72 64 73 3d |.... HU|DCoords=|
|00004610| 54 72 67 4c 6f 63 61 74 | 69 6f 6e 3b 0d 0a 20 20 |TrgLocat|ion;.. |
|00004620| 48 55 44 43 6f 6f 72 64 | 73 2e 5a 20 2b 3d 20 31 |HUDCoord|s.Z += 1|
|00004630| 36 3b 0d 0a 20 20 48 55 | 44 43 6f 6f 72 64 73 3d |6;.. HU|DCoords=|
|00004640| 43 2e 57 6f 72 6c 64 54 | 6f 53 63 72 65 65 6e 28 |C.WorldT|oScreen(|
|00004650| 48 55 44 43 6f 6f 72 64 | 73 29 3b 0d 0a 20 20 69 |HUDCoord|s);.. i|
|00004660| 66 20 28 20 48 55 44 43 | 6f 6f 72 64 73 2e 5a 20 |f ( HUDC|oords.Z |
|00004670| 3e 3d 20 31 2e 30 30 20 | 29 0d 0a 20 20 7b 0d 0a |>= 1.00 |).. {..|
|00004680| 20 20 20 20 72 65 74 75 | 72 6e 3b 0d 0a 20 20 7d | retu|rn;.. }|
|00004690| 0d 0a 0d 0a 20 20 43 2e | 44 72 61 77 43 6f 6c 6f |.... C.|DrawColo|
|000046a0| 72 20 3d 20 54 75 72 71 | 43 6f 6c 6f 72 3b 0d 0a |r = Turq|Color;..|
|000046b0| 0d 0a 20 20 43 2e 53 65 | 74 50 6f 73 28 20 48 55 |.. C.Se|tPos( HU|
|000046c0| 44 43 6f 6f 72 64 73 2e | 58 20 2d 20 52 58 53 69 |DCoords.|X - RXSi|
|000046d0| 7a 65 20 2f 20 32 2c 20 | 48 55 44 43 6f 6f 72 64 |ze / 2, |HUDCoord|
|000046e0| 73 2e 59 20 2d 20 52 59 | 53 69 7a 65 29 3b 0d 0a |s.Y - RY|Size);..|
|000046f0| 20 20 43 2e 44 72 61 77 | 54 69 6c 65 28 49 63 6f | C.Draw|Tile(Ico|
|00004700| 6e 54 65 78 74 75 72 65 | 2c 20 52 58 53 69 7a 65 |nTexture|, RXSize|
|00004710| 2a 32 2c 20 52 59 53 69 | 7a 65 2a 32 2c 20 30 2e |*2, RYSi|ze*2, 0.|
|00004720| 30 2c 20 30 2e 30 2c 20 | 49 63 6f 6e 54 65 78 74 |0, 0.0, |IconText|
|00004730| 75 72 65 2e 55 53 69 7a | 65 2c 20 49 63 6f 6e 54 |ure.USiz|e, IconT|
|00004740| 65 78 74 75 72 65 2e 56 | 53 69 7a 65 29 3b 0d 0a |exture.V|Size);..|
|00004750| 0d 0a 20 20 20 20 69 66 | 20 28 73 20 21 3d 20 22 |.. if| (s != "|
|00004760| 22 29 0d 0a 20 20 20 20 | 7b 0d 0a 20 20 20 20 20 |").. |{.. |
|00004770| 20 43 2e 53 74 72 4c 65 | 6e 28 73 2c 78 70 2c 79 | C.StrLe|n(s,xp,y|
|00004780| 70 29 3b 0d 0a 20 20 20 | 20 20 20 78 70 20 2a 3d |p);.. | xp *=|
|00004790| 20 30 2e 35 3b 0d 0a 0d | 0a 20 20 20 20 20 20 69 | 0.5;...|. i|
|000047a0| 66 20 28 48 55 44 43 6f | 6f 72 64 73 2e 58 20 2b |f (HUDCo|ords.X +|
|000047b0| 20 78 70 20 3c 20 43 2e | 43 6c 69 70 58 29 0d 0a | xp < C.|ClipX)..|
|000047c0| 20 20 20 20 20 20 7b 0d | 0a 20 20 20 20 20 20 20 | {.|. |
|000047d0| 20 20 20 20 2f 2f 20 69 | 66 20 54 65 78 74 20 77 | // i|f Text w|
|000047e0| 6f 75 6c 64 20 67 6f 20 | 6f 75 74 20 6f 66 20 73 |ould go |out of s|
|000047f0| 63 72 65 65 6e 2c 20 64 | 6f 6e 27 74 20 64 72 61 |creen, d|on't dra|
|00004800| 77 20 74 65 78 74 2e 0d | 0a 20 20 20 20 20 20 20 |w text..|. |
|00004810| 20 43 2e 53 65 74 50 6f | 73 28 20 48 55 44 43 6f | C.SetPo|s( HUDCo|
|00004820| 6f 72 64 73 2e 58 20 2d | 20 78 70 2c 20 48 55 44 |ords.X -| xp, HUD|
|00004830| 43 6f 6f 72 64 73 2e 59 | 20 2d 20 52 59 53 69 7a |Coords.Y| - RYSiz|
|00004840| 65 20 2d 20 79 70 29 3b | 0d 0a 20 20 20 20 20 20 |e - yp);|.. |
|00004850| 20 20 43 2e 44 72 61 77 | 54 65 78 74 43 6c 69 70 | C.Draw|TextClip|
|00004860| 70 65 64 28 73 29 3b 0d | 0a 20 20 20 20 20 20 7d |ped(s);.|. }|
|00004870| 0d 0a 20 20 20 20 7d 0d | 0a 7d 0d 0a 0d 0a 0d 0a |.. }.|.}......|
|00004880| 2f 2f 56 61 72 69 61 62 | 6c 65 20 73 69 7a 65 20 |//Variab|le size |
|00004890| 63 72 6f 73 73 68 61 69 | 72 2c 20 62 61 73 65 64 |crosshai|r, based|
|000048a0| 20 6f 6e 20 61 63 63 75 | 72 61 63 79 0d 0a 73 69 | on accu|racy..si|
|000048b0| 6d 75 6c 61 74 65 64 20 | 66 75 6e 63 74 69 6f 6e |mulated |function|
|000048c0| 20 44 72 61 77 43 72 6f | 73 73 68 61 69 72 20 28 | DrawCro|sshair (|
|000048d0| 43 61 6e 76 61 73 20 43 | 29 0d 0a 7b 0d 0a 20 20 |Canvas C|)..{.. |
|000048e0| 20 20 6c 6f 63 61 6c 20 | 66 6c 6f 61 74 20 4e 6f | local |float No|
|000048f0| 72 6d 61 6c 53 63 61 6c | 65 3b 0d 0a 20 20 20 20 |rmalScal|e;.. |
|00004900| 6c 6f 63 61 6c 20 69 6e | 74 20 69 3b 0d 0a 20 20 |local in|t i;.. |
|00004910| 20 20 6c 6f 63 61 6c 20 | 66 6c 6f 61 74 20 4f 6c | local |float Ol|
|00004920| 64 53 63 61 6c 65 2c 4f | 6c 64 57 3b 0d 0a 20 20 |dScale,O|ldW;.. |
|00004930| 20 20 6c 6f 63 61 6c 20 | 66 6c 6f 61 74 20 46 6c | local |float Fl|
|00004940| 61 74 4c 69 6e 65 4d 75 | 6c 74 3b 20 20 2f 2f 54 |atLineMu|lt; //T|
|00004950| 68 69 73 20 73 63 61 6c | 65 73 20 74 68 65 20 63 |his scal|es the c|
|00004960| 72 6f 73 73 68 61 69 72 | 0d 0a 0d 0a 20 20 20 20 |rosshair|.... |
|00004970| 43 72 6f 73 73 68 61 69 | 72 53 74 79 6c 65 20 3d |Crosshai|rStyle =|
|00004980| 20 32 3b 0d 0a 0d 0a 20 | 20 20 20 2f 2f 69 66 20 | 2;.... | //if |
|00004990| 28 21 62 43 72 6f 73 73 | 68 61 69 72 53 68 6f 77 |(!bCross|hairShow|
|000049a0| 29 0d 0a 20 20 20 20 20 | 20 20 2f 2f 72 65 74 75 |).. | //retu|
|000049b0| 72 6e 3b 0d 0a 0d 0a 20 | 20 20 20 2f 2f 43 68 65 |rn;.... | //Che|
|000049c0| 63 6b 20 69 66 20 77 65 | 20 68 61 76 65 20 61 20 |ck if we| have a |
|000049d0| 54 41 47 20 74 61 72 67 | 65 74 2c 20 6f 76 65 72 |TAG targ|et, over|
|000049e0| 6c 61 79 20 69 66 20 77 | 65 20 64 6f 0d 0a 20 20 |lay if w|e do.. |
|000049f0| 20 20 69 66 20 28 50 61 | 77 6e 4f 77 6e 65 72 2e | if (Pa|wnOwner.|
|00004a00| 57 65 61 70 6f 6e 2e 49 | 73 41 28 27 55 45 54 46 |Weapon.I|sA('UETF|
|00004a10| 45 54 43 61 6e 6e 6f 6e | 27 29 29 7b 0d 0a 20 20 |ETCannon|')){.. |
|00004a20| 20 20 20 20 20 69 66 20 | 28 55 45 54 46 45 54 43 | if |(UETFETC|
|00004a30| 61 6e 6e 6f 6e 28 50 61 | 77 6e 4f 77 6e 65 72 2e |annon(Pa|wnOwner.|
|00004a40| 57 65 61 70 6f 6e 29 2e | 43 61 6e 6e 6f 6e 54 61 |Weapon).|CannonTa|
|00004a50| 72 67 65 74 21 3d 4e 6f | 6e 65 29 0d 0a 20 20 20 |rget!=No|ne).. |
|00004a60| 20 20 20 20 20 20 20 52 | 65 6e 64 65 72 54 61 67 | R|enderTag|
|00004a70| 49 63 6f 6e 20 28 43 2c | 55 45 54 46 45 54 43 61 |Icon (C,|UETFETCa|
|00004a80| 6e 6e 6f 6e 28 50 61 77 | 6e 4f 77 6e 65 72 2e 57 |nnon(Paw|nOwner.W|
|00004a90| 65 61 70 6f 6e 29 2e 43 | 61 6e 6e 6f 6e 54 61 72 |eapon).C|annonTar|
|00004aa0| 67 65 74 2e 4c 6f 63 61 | 74 69 6f 6e 2c 20 22 22 |get.Loca|tion, ""|
|00004ab0| 29 3b 0d 0a 20 20 20 20 | 7d 0d 0a 20 20 20 20 2f |);.. |}.. /|
|00004ac0| 2f 69 66 20 77 65 20 64 | 6f 6e 27 74 20 75 73 65 |/if we d|on't use|
|00004ad0| 20 61 6d 6d 6f 2c 20 64 | 6f 6e 27 74 20 64 72 61 | ammo, d|on't dra|
|00004ae0| 77 20 61 20 63 72 6f 73 | 73 68 61 69 72 0d 0a 20 |w a cros|shair.. |
|00004af0| 20 20 20 69 66 20 28 64 | 72 61 77 61 6d 6d 6f 21 | if (d|rawammo!|
|00004b00| 3d 74 72 75 65 29 0d 0a | 20 20 20 20 20 20 20 72 |=true)..| r|
|00004b10| 65 74 75 72 6e 3b 0d 0a | 0d 0a 20 20 20 20 69 66 |eturn;..|.. if|
|00004b20| 20 28 50 61 77 6e 4f 77 | 6e 65 72 2e 62 49 73 43 | (PawnOw|ner.bIsC|
|00004b30| 72 6f 75 63 68 65 64 20 | 26 26 20 55 45 54 46 32 |rouched |&& UETF2|
|00004b40| 6b 34 46 69 72 65 28 50 | 61 77 6e 4f 77 6e 65 72 |k4Fire(P|awnOwner|
|00004b50| 2e 57 65 61 70 6f 6e 2e | 47 65 74 46 69 72 65 4d |.Weapon.|GetFireM|
|00004b60| 6f 64 65 28 30 29 29 21 | 3d 4e 6f 6e 65 29 2f 2f |ode(0))!|=None)//|
|00004b70| 41 64 6a 75 73 74 20 74 | 68 65 20 63 72 6f 73 73 |Adjust t|he cross|
|00004b80| 68 61 69 72 20 77 68 65 | 6e 20 63 72 6f 75 63 68 |hair whe|n crouch|
|00004b90| 65 64 0d 0a 20 20 20 20 | 20 20 20 50 61 77 6e 4f |ed.. | PawnO|
|00004ba0| 77 6e 65 72 2e 57 65 61 | 70 6f 6e 2e 47 65 74 46 |wner.Wea|pon.GetF|
|00004bb0| 69 72 65 4d 6f 64 65 28 | 30 29 2e 53 70 72 65 61 |ireMode(|0).Sprea|
|00004bc0| 64 3d 55 45 54 46 32 6b | 34 46 69 72 65 28 50 61 |d=UETF2k|4Fire(Pa|
|00004bd0| 77 6e 4f 77 6e 65 72 2e | 57 65 61 70 6f 6e 2e 47 |wnOwner.|Weapon.G|
|00004be0| 65 74 46 69 72 65 4d 6f | 64 65 28 30 29 29 2e 63 |etFireMo|de(0)).c|
|00004bf0| 72 6f 75 63 68 65 64 73 | 70 72 65 61 64 3b 0d 0a |roucheds|pread;..|
|00004c00| 20 20 20 20 69 66 20 28 | 21 50 61 77 6e 4f 77 6e | if (|!PawnOwn|
|00004c10| 65 72 2e 62 49 73 43 72 | 6f 75 63 68 65 64 20 26 |er.bIsCr|ouched &|
|00004c20| 26 20 55 45 54 46 32 6b | 34 46 69 72 65 28 50 61 |& UETF2k|4Fire(Pa|
|00004c30| 77 6e 4f 77 6e 65 72 2e | 57 65 61 70 6f 6e 2e 47 |wnOwner.|Weapon.G|
|00004c40| 65 74 46 69 72 65 4d 6f | 64 65 28 30 29 29 21 3d |etFireMo|de(0))!=|
|00004c50| 4e 6f 6e 65 29 2f 2f 77 | 68 65 6e 20 70 61 77 6e |None)//w|hen pawn|
|00004c60| 20 73 74 61 6e 64 73 20 | 75 70 2c 20 72 65 73 65 | stands |up, rese|
|00004c70| 74 20 74 68 65 20 63 72 | 6f 73 73 68 61 69 72 0d |t the cr|osshair.|
|00004c80| 0a 20 20 20 20 20 20 20 | 50 61 77 6e 4f 77 6e 65 |. |PawnOwne|
|00004c90| 72 2e 57 65 61 70 6f 6e | 2e 47 65 74 46 69 72 65 |r.Weapon|.GetFire|
|00004ca0| 4d 6f 64 65 28 30 29 2e | 53 70 72 65 61 64 3d 55 |Mode(0).|Spread=U|
|00004cb0| 45 54 46 32 6b 34 46 69 | 72 65 28 50 61 77 6e 4f |ETF2k4Fi|re(PawnO|
|00004cc0| 77 6e 65 72 2e 57 65 61 | 70 6f 6e 2e 47 65 74 46 |wner.Wea|pon.GetF|
|00004cd0| 69 72 65 4d 6f 64 65 28 | 30 29 29 2e 6f 72 69 67 |ireMode(|0)).orig|
|00004ce0| 69 6e 61 6c 73 70 72 65 | 61 64 3b 0d 0a 0d 0a 20 |inalspre|ad;.... |
|00004cf0| 20 20 20 46 6c 61 74 4c | 69 6e 65 4d 75 6c 74 3d | FlatL|ineMult=|
|00004d00| 28 50 61 77 6e 4f 77 6e | 65 72 2e 57 65 61 70 6f |(PawnOwn|er.Weapo|
|00004d10| 6e 2e 47 65 74 46 69 72 | 65 4d 6f 64 65 28 30 29 |n.GetFir|eMode(0)|
|00004d20| 2e 53 70 72 65 61 64 29 | 2a 35 3b 0d 0a 0d 0a 20 |.Spread)|*5;.... |
|00004d30| 20 20 20 69 66 20 28 50 | 61 77 6e 4f 77 6e 65 72 | if (P|awnOwner|
|00004d40| 2e 57 65 61 70 6f 6e 2e | 47 65 74 46 69 72 65 4d |.Weapon.|GetFireM|
|00004d50| 6f 64 65 28 30 29 2e 53 | 70 72 65 61 64 20 3c 20 |ode(0).S|pread < |
|00004d60| 30 2e 30 37 29 7b 0d 0a | 20 20 20 20 20 20 20 46 |0.07){..| F|
|00004d70| 6c 61 74 4c 69 6e 65 4d | 75 6c 74 3d 31 2e 30 3b |latLineM|ult=1.0;|
|00004d80| 0d 0a 20 20 20 20 20 20 | 20 43 72 6f 73 73 68 61 |.. | Crossha|
|00004d90| 69 72 53 74 79 6c 65 3d | 38 3b 0d 0a 20 20 20 20 |irStyle=|8;.. |
|00004da0| 7d 0d 0a 0d 0a 20 20 20 | 20 69 66 20 28 50 61 77 |}.... | if (Paw|
|00004db0| 6e 4f 77 6e 65 72 2e 57 | 65 61 70 6f 6e 2e 47 65 |nOwner.W|eapon.Ge|
|00004dc0| 74 46 69 72 65 4d 6f 64 | 65 28 30 29 2e 53 70 72 |tFireMod|e(0).Spr|
|00004dd0| 65 61 64 20 3e 20 30 2e | 32 30 29 7b 0d 0a 20 20 |ead > 0.|20){.. |
|00004de0| 20 20 20 20 20 46 6c 61 | 74 4c 69 6e 65 4d 75 6c | Fla|tLineMul|
|00004df0| 74 3d 31 2e 30 3b 0d 0a | 20 20 20 20 20 20 20 43 |t=1.0;..| C|
|00004e00| 72 6f 73 73 68 61 69 72 | 53 74 79 6c 65 3d 31 32 |rosshair|Style=12|
|00004e10| 3b 0d 0a 20 20 20 20 7d | 0d 0a 0d 0a 20 20 20 20 |;.. }|.... |
|00004e20| 4e 6f 72 6d 61 6c 53 63 | 61 6c 65 20 3d 20 43 72 |NormalSc|ale = Cr|
|00004e30| 6f 73 73 68 61 69 72 73 | 5b 43 72 6f 73 73 68 61 |osshairs|[Crossha|
|00004e40| 69 72 53 74 79 6c 65 5d | 2e 54 65 78 74 75 72 65 |irStyle]|.Texture|
|00004e50| 53 63 61 6c 65 3b 0d 0a | 20 20 20 20 43 72 6f 73 |Scale;..| Cros|
|00004e60| 73 68 61 69 72 53 63 61 | 6c 65 20 3d 20 20 46 6c |shairSca|le = Fl|
|00004e70| 61 74 4c 69 6e 65 4d 75 | 6c 74 3b 0d 0a 20 20 20 |atLineMu|lt;.. |
|00004e80| 20 43 72 6f 73 73 68 61 | 69 72 73 5b 43 72 6f 73 | Crossha|irs[Cros|
|00004e90| 73 68 61 69 72 53 74 79 | 6c 65 5d 2e 54 65 78 74 |shairSty|le].Text|
|00004ea0| 75 72 65 53 63 61 6c 65 | 20 2a 3d 20 43 72 6f 73 |ureScale| *= Cros|
|00004eb0| 73 68 61 69 72 53 63 61 | 6c 65 3b 0d 0a 0d 0a 20 |shairSca|le;.... |
|00004ec0| 20 20 20 2f 2a 43 75 72 | 72 65 6e 74 43 72 6f 73 | /*Cur|rentCros|
|00004ed0| 73 68 61 69 72 20 3d 20 | 43 72 6f 73 73 68 61 69 |shair = |Crosshai|
|00004ee0| 72 53 74 79 6c 65 3b 0d | 0a 20 20 20 20 43 75 72 |rStyle;.|. Cur|
|00004ef0| 72 65 6e 74 43 72 6f 73 | 73 68 61 69 72 43 6f 6c |rentCros|shairCol|
|00004f00| 6f 72 20 3d 20 43 72 6f | 73 73 68 61 69 72 43 6f |or = Cro|sshairCo|
|00004f10| 6c 6f 72 3b 0d 0a 20 20 | 20 20 43 75 72 72 65 6e |lor;.. | Curren|
|00004f20| 74 43 72 6f 73 73 68 61 | 69 72 53 63 61 6c 65 20 |tCrossha|irScale |
|00004f30| 3d 20 43 72 6f 73 73 68 | 61 69 72 53 63 61 6c 65 |= Crossh|airScale|
|00004f40| 3b 2a 2f 0d 0a 0d 0a 20 | 20 20 20 66 6f 72 28 20 |;*/.... | for( |
|00004f50| 69 20 3d 20 30 3b 20 69 | 20 3c 20 41 72 72 61 79 |i = 0; i| < Array|
|00004f60| 43 6f 75 6e 74 28 43 72 | 6f 73 73 68 61 69 72 73 |Count(Cr|osshairs|
|00004f70| 5b 43 72 6f 73 73 68 61 | 69 72 53 74 79 6c 65 5d |[Crossha|irStyle]|
|00004f80| 2e 54 69 6e 74 73 29 3b | 20 69 2b 2b 20 29 0d 0a |.Tints);| i++ )..|
|00004f90| 20 20 20 20 7b 0d 0a 20 | 20 20 20 20 20 20 20 43 | {.. | C|
|00004fa0| 72 6f 73 73 48 61 69 72 | 73 5b 43 72 6f 73 73 68 |rossHair|s[Crossh|
|00004fb0| 61 69 72 53 74 79 6c 65 | 5d 2e 54 69 6e 74 73 5b |airStyle|].Tints[|
|00004fc0| 69 5d 20 3d 20 43 72 6f | 73 73 48 61 69 72 43 6f |i] = Cro|ssHairCo|
|00004fd0| 6c 6f 72 3b 0d 0a 20 20 | 20 20 7d 0d 0a 0d 0a 0d |lor;.. | }.....|
|00004fe0| 0a 20 20 20 20 4f 6c 64 | 53 63 61 6c 65 20 3d 20 |. Old|Scale = |
|00004ff0| 48 75 64 53 63 61 6c 65 | 3b 0d 0a 20 20 20 20 48 |HudScale|;.. H|
|00005000| 75 64 53 63 61 6c 65 3d | 31 3b 0d 0a 20 20 20 20 |udScale=|1;.. |
|00005010| 4f 6c 64 57 20 3d 20 43 | 2e 43 6f 6c 6f 72 4d 6f |OldW = C|.ColorMo|
|00005020| 64 75 6c 61 74 65 2e 57 | 3b 0d 0a 20 20 20 20 43 |dulate.W|;.. C|
|00005030| 2e 43 6f 6c 6f 72 4d 6f | 64 75 6c 61 74 65 2e 57 |.ColorMo|dulate.W|
|00005040| 20 3d 20 31 3b 0d 0a 0d | 0a 20 20 20 20 44 72 61 | = 1;...|. Dra|
|00005050| 77 53 70 72 69 74 65 57 | 69 64 67 65 74 20 28 43 |wSpriteW|idget (C|
|00005060| 2c 20 43 72 6f 73 73 68 | 61 69 72 73 5b 43 72 6f |, Crossh|airs[Cro|
|00005070| 73 73 68 61 69 72 53 74 | 79 6c 65 5d 29 3b 0d 0a |sshairSt|yle]);..|
|00005080| 20 20 20 20 43 2e 43 6f | 6c 6f 72 4d 6f 64 75 6c | C.Co|lorModul|
|00005090| 61 74 65 2e 57 20 3d 20 | 4f 6c 64 57 3b 0d 0a 20 |ate.W = |OldW;.. |
|000050a0| 20 20 20 48 75 64 53 63 | 61 6c 65 3d 4f 6c 64 53 | HudSc|ale=OldS|
|000050b0| 63 61 6c 65 3b 0d 0a 20 | 20 20 20 43 72 6f 73 73 |cale;.. | Cross|
|000050c0| 68 61 69 72 73 5b 43 72 | 6f 73 73 68 61 69 72 53 |hairs[Cr|osshairS|
|000050d0| 74 79 6c 65 5d 2e 54 65 | 78 74 75 72 65 53 63 61 |tyle].Te|xtureSca|
|000050e0| 6c 65 20 3d 20 46 6c 61 | 74 4c 69 6e 65 4d 75 6c |le = Fla|tLineMul|
|000050f0| 74 3b 0d 0a 0d 0a 20 20 | 20 20 44 72 61 77 45 6e |t;.... | DrawEn|
|00005100| 65 6d 79 4e 61 6d 65 28 | 43 29 3b 0d 0a 7d 0d 0a |emyName(|C);..}..|
|00005110| 0d 0a 2f 2a 73 69 6d 75 | 6c 61 74 65 64 20 66 75 |../*simu|lated fu|
|00005120| 6e 63 74 69 6f 6e 20 54 | 65 61 6d 53 63 6f 72 65 |nction T|eamScore|
|00005130| 4f 66 66 73 65 74 28 29 | 0d 0a 7b 0d 0a 20 20 53 |Offset()|..{.. S|
|00005140| 63 6f 72 65 54 65 61 6d | 5b 31 5d 2e 4f 66 66 73 |coreTeam|[1].Offs|
|00005150| 65 74 58 20 3d 20 38 30 | 3b 0d 0a 20 20 69 66 20 |etX = 80|;.. if |
|00005160| 28 20 53 63 6f 72 65 54 | 65 61 6d 5b 31 5d 2e 56 |( ScoreT|eam[1].V|
|00005170| 61 6c 75 65 20 3c 20 30 | 20 29 0d 0a 20 20 20 20 |alue < 0| ).. |
|00005180| 53 63 6f 72 65 54 65 61 | 6d 5b 31 5d 2e 4f 66 66 |ScoreTea|m[1].Off|
|00005190| 73 65 74 58 20 2b 3d 20 | 39 30 3b 0d 0a 20 20 69 |setX += |90;.. i|
|000051a0| 66 28 20 61 62 73 28 53 | 63 6f 72 65 54 65 61 6d |f( abs(S|coreTeam|
|000051b0| 5b 31 5d 2e 56 61 6c 75 | 65 29 20 3e 20 39 20 29 |[1].Valu|e) > 9 )|
|000051c0| 0d 0a 20 20 20 20 53 63 | 6f 72 65 54 65 61 6d 5b |.. Sc|oreTeam[|
|000051d0| 31 5d 2e 4f 66 66 73 65 | 74 58 20 2b 3d 20 39 30 |1].Offse|tX += 90|
|000051e0| 3b 0d 0a 7d 2a 2f 0d 0a | 0d 0a 73 69 6d 75 6c 61 |;..}*/..|..simula|
|000051f0| 74 65 64 20 66 75 6e 63 | 74 69 6f 6e 20 53 68 6f |ted func|tion Sho|
|00005200| 77 50 65 72 73 6f 6e 61 | 6c 53 63 6f 72 65 28 43 |wPersona|lScore(C|
|00005210| 61 6e 76 61 73 20 43 29 | 0d 0a 7b 0d 0a 20 20 20 |anvas C)|..{.. |
|00005220| 20 44 72 61 77 4e 75 6d | 65 72 69 63 57 69 64 67 | DrawNum|ericWidg|
|00005230| 65 74 20 28 43 2c 20 53 | 63 6f 72 65 2c 20 44 69 |et (C, S|core, Di|
|00005240| 67 69 74 73 42 69 67 29 | 3b 0d 0a 7d 0d 0a 2f 2f |gitsBig)|;..}..//|
|00005250| 20 41 6c 70 68 61 20 50 | 61 73 73 20 3d 3d 3d 3d | Alpha P|ass ====|
|00005260| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00005270| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00005280| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00005290| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000052a0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 0d 0a |========|======..|
|000052b0| 73 69 6d 75 6c 61 74 65 | 64 20 66 75 6e 63 74 69 |simulate|d functi|
|000052c0| 6f 6e 20 44 72 61 77 48 | 75 64 50 61 73 73 43 20 |on DrawH|udPassC |
|000052d0| 28 43 61 6e 76 61 73 20 | 43 29 0d 0a 7b 0d 0a 20 |(Canvas |C)..{.. |
|000052e0| 6c 6f 63 61 6c 20 66 6c | 6f 61 74 20 4f 6c 64 53 |local fl|oat OldS|
|000052f0| 63 61 6c 65 3b 0d 0a 20 | 6c 6f 63 61 6c 20 55 45 |cale;.. |local UE|
|00005300| 54 46 32 6b 34 50 61 77 | 6e 20 55 50 3b 0d 0a 20 |TF2k4Paw|n UP;.. |
|00005310| 6c 6f 63 61 6c 20 55 45 | 54 46 32 6b 34 50 6c 61 |local UE|TF2k4Pla|
|00005320| 79 65 72 20 55 50 6c 61 | 79 65 72 3b 0d 0a 20 2f |yer UPla|yer;.. /|
|00005330| 2f 6c 6f 63 61 6c 20 55 | 45 54 46 57 65 61 70 6f |/local U|ETFWeapo|
|00005340| 6e 20 57 3b 0d 0a 20 2f | 2f 6c 6f 63 61 6c 20 55 |n W;.. /|/local U|
|00005350| 45 54 46 47 61 6d 65 20 | 55 69 6e 66 6f 3b 0d 0a |ETFGame |Uinfo;..|
|00005360| 20 6c 6f 63 61 6c 20 55 | 45 54 46 32 6b 34 57 65 | local U|ETF2k4We|
|00005370| 61 70 6f 6e 20 57 32 6b | 34 3b 0d 0a 20 6c 6f 63 |apon W2k|4;.. loc|
|00005380| 61 6c 20 55 45 54 46 32 | 6b 34 47 61 6d 65 52 65 |al UETF2|k4GameRe|
|00005390| 70 6c 69 63 61 74 69 6f | 6e 49 6e 66 6f 20 6e 66 |plicatio|nInfo nf|
|000053a0| 6f 3b 0d 0a 20 6c 6f 63 | 61 6c 20 55 45 54 46 32 |o;.. loc|al UETF2|
|000053b0| 6b 34 50 52 49 20 55 50 | 52 49 2c 20 49 63 6f 6e |k4PRI UP|RI, Icon|
|000053c0| 50 52 49 3b 0d 0a 20 6c | 6f 63 61 6c 20 69 6e 74 |PRI;.. l|ocal int|
|000053d0| 20 69 3b 0d 0a 20 6c 6f | 63 61 6c 20 69 6e 74 20 | i;.. lo|cal int |
|000053e0| 77 65 61 70 6f 6e 63 6f | 75 6e 74 65 72 2c 20 73 |weaponco|unter, s|
|000053f0| 70 65 63 69 61 6c 63 6f | 75 6e 74 65 72 3b 0d 0a |pecialco|unter;..|
|00005400| 20 2f 2f 6c 6f 63 61 6c | 20 55 45 54 46 42 6f 74 | //local| UETFBot|
|00005410| 4d 6f 6e 73 74 65 72 20 | 74 61 72 67 65 74 65 64 |Monster |targeted|
|00005420| 3b 0d 0a 20 6c 6f 63 61 | 6c 20 43 72 69 74 69 63 |;.. loca|l Critic|
|00005430| 61 6c 50 6f 69 6e 74 20 | 43 50 3b 0d 0a 20 6c 6f |alPoint |CP;.. lo|
|00005440| 63 61 6c 20 66 6c 6f 61 | 74 20 43 72 69 74 69 63 |cal floa|t Critic|
|00005450| 61 6c 44 69 73 74 61 6e | 63 65 3b 0d 0a 20 6c 6f |alDistan|ce;.. lo|
|00005460| 63 61 6c 20 55 45 54 46 | 41 6c 6c 79 20 6d 79 61 |cal UETF|Ally mya|
|00005470| 6c 6c 79 3b 0d 0a 20 6c | 6f 63 61 6c 20 55 45 54 |lly;.. l|ocal UET|
|00005480| 46 42 6f 74 4d 6f 6e 73 | 74 65 72 20 6d 79 6d 6f |FBotMons|ter mymo|
|00005490| 6e 73 74 65 72 3b 0d 0a | 20 6c 6f 63 61 6c 20 73 |nster;..| local s|
|000054a0| 74 72 69 6e 67 20 61 6c | 6c 79 69 6e 66 6f 3b 0d |tring al|lyinfo;.|
|000054b0| 0a 0d 0a 20 2f 2f 55 69 | 6e 66 6f 20 3d 20 55 45 |... //Ui|nfo = UE|
|000054c0| 54 46 47 61 6d 65 28 6c | 65 76 65 6c 2e 67 61 6d |TFGame(l|evel.gam|
|000054d0| 65 29 3b 0d 0a 20 6e 66 | 6f 20 3d 20 55 45 54 46 |e);.. nf|o = UETF|
|000054e0| 32 6b 34 47 61 6d 65 52 | 65 70 6c 69 63 61 74 69 |2k4GameR|eplicati|
|000054f0| 6f 6e 49 6e 66 6f 28 50 | 6c 61 79 65 72 4f 77 6e |onInfo(P|layerOwn|
|00005500| 65 72 2e 47 61 6d 65 52 | 65 70 6c 69 63 61 74 69 |er.GameR|eplicati|
|00005510| 6f 6e 49 6e 66 6f 29 3b | 0d 0a 20 55 50 52 49 20 |onInfo);|.. UPRI |
|00005520| 3d 20 55 45 54 46 32 6b | 34 50 52 49 28 50 6c 61 |= UETF2k|4PRI(Pla|
|00005530| 79 65 72 4f 77 6e 65 72 | 2e 50 6c 61 79 65 72 52 |yerOwner|.PlayerR|
|00005540| 65 70 6c 69 63 61 74 69 | 6f 6e 49 6e 66 6f 29 3b |eplicati|onInfo);|
|00005550| 0d 0a 0d 0a 20 4f 6c 64 | 53 63 61 6c 65 20 3d 20 |.... Old|Scale = |
|00005560| 48 75 64 53 63 61 6c 65 | 3b 0d 0a 20 48 75 64 53 |HudScale|;.. HudS|
|00005570| 63 61 6c 65 20 3d 20 31 | 2e 30 3b 0d 0a 0d 0a 20 |cale = 1|.0;.... |
|00005580| 57 61 76 65 43 6f 75 6e | 74 2e 76 61 6c 75 65 3d |WaveCoun|t.value=|
|00005590| 6e 66 6f 2e 4d 61 78 57 | 61 76 65 73 2d 6e 66 6f |nfo.MaxW|aves-nfo|
|000055a0| 2e 4d 61 73 74 65 72 57 | 61 76 65 73 3b 0d 0a 20 |.MasterW|aves;.. |
|000055b0| 57 61 76 65 54 69 6d 65 | 2e 76 61 6c 75 65 3d 38 |WaveTime|.value=8|
|000055c0| 30 2d 6e 66 6f 2e 4e 65 | 78 74 57 61 76 65 54 69 |0-nfo.Ne|xtWaveTi|
|000055d0| 6d 65 3b 0d 0a 20 44 72 | 61 77 4e 75 6d 65 72 69 |me;.. Dr|awNumeri|
|000055e0| 63 57 69 64 67 65 74 20 | 28 43 2c 20 57 61 76 65 |cWidget |(C, Wave|
|000055f0| 54 69 6d 65 2c 20 44 69 | 67 69 74 73 42 69 67 29 |Time, Di|gitsBig)|
|00005600| 3b 0d 0a 20 44 72 61 77 | 4e 75 6d 65 72 69 63 57 |;.. Draw|NumericW|
|00005610| 69 64 67 65 74 20 28 43 | 2c 20 57 61 76 65 43 6f |idget (C|, WaveCo|
|00005620| 75 6e 74 2c 20 44 69 67 | 69 74 73 42 69 67 29 3b |unt, Dig|itsBig);|
|00005630| 0d 0a 0d 0a 20 20 48 75 | 64 53 63 61 6c 65 20 3d |.... Hu|dScale =|
|00005640| 20 4f 6c 64 53 63 61 6c | 65 3b 0d 0a 0d 0a 20 20 | OldScal|e;.... |
|00005650| 55 50 3d 55 45 54 46 32 | 6b 34 50 61 77 6e 28 50 |UP=UETF2|k4Pawn(P|
|00005660| 61 77 6e 4f 77 6e 65 72 | 29 3b 0d 0a 20 20 55 50 |awnOwner|);.. UP|
|00005670| 6c 61 79 65 72 3d 55 45 | 54 46 32 6b 34 50 6c 61 |layer=UE|TF2k4Pla|
|00005680| 79 65 72 28 55 50 2e 6f | 77 6e 65 72 29 3b 0d 0a |yer(UP.o|wner);..|
|00005690| 0d 0a 20 20 2f 2f 52 65 | 6e 64 65 72 20 43 72 69 |.. //Re|nder Cri|
|000056a0| 74 69 63 61 6c 20 4e 61 | 76 69 67 61 74 69 6f 6e |tical Na|vigation|
|000056b0| 20 50 6f 69 6e 74 73 0d | 0a 20 20 66 6f 72 65 61 | Points.|. forea|
|000056c0| 63 68 20 41 6c 6c 41 63 | 74 6f 72 73 28 63 6c 61 |ch AllAc|tors(cla|
|000056d0| 73 73 27 43 72 69 74 69 | 63 61 6c 50 6f 69 6e 74 |ss'Criti|calPoint|
|000056e0| 27 2c 43 50 29 0d 0a 20 | 20 7b 0d 0a 20 20 20 43 |',CP).. | {.. C|
|000056f0| 72 69 74 69 63 61 6c 44 | 69 73 74 61 6e 63 65 3d |riticalD|istance=|
|00005700| 56 53 69 7a 65 28 43 50 | 2e 4c 6f 63 61 74 69 6f |VSize(CP|.Locatio|
|00005710| 6e 2d 50 6c 61 79 65 72 | 4f 77 6e 65 72 2e 50 61 |n-Player|Owner.Pa|
|00005720| 77 6e 2e 4c 6f 63 61 74 | 69 6f 6e 29 3b 0d 0a 20 |wn.Locat|ion);.. |
|00005730| 20 20 52 65 6e 64 65 72 | 43 72 69 74 69 63 61 6c | Render|Critical|
|00005740| 49 63 6f 6e 28 43 2c 43 | 50 2e 4c 6f 63 61 74 69 |Icon(C,C|P.Locati|
|00005750| 6f 6e 2c 43 50 2e 69 63 | 6f 6e 2c 20 43 50 2e 64 |on,CP.ic|on, CP.d|
|00005760| 65 73 63 72 69 70 74 69 | 6f 6e 24 22 20 22 24 43 |escripti|on$" "$C|
|00005770| 72 69 74 69 63 61 6c 44 | 69 73 74 61 6e 63 65 29 |riticalD|istance)|
|00005780| 3b 0d 0a 20 20 7d 0d 0a | 0d 0a 20 20 2f 2f 52 65 |;.. }..|.. //Re|
|00005790| 6e 64 65 72 20 46 72 69 | 65 6e 64 6c 79 20 5a 6f |nder Fri|endly Zo|
|000057a0| 6e 65 73 0d 0a 20 20 66 | 6f 72 20 28 69 3d 30 3b |nes.. f|or (i=0;|
|000057b0| 20 69 3c 6e 66 6f 2e 50 | 52 49 41 72 72 61 79 2e | i<nfo.P|RIArray.|
|000057c0| 4c 65 6e 67 74 68 3b 20 | 69 2b 2b 29 0d 0a 20 20 |Length; |i++).. |
|000057d0| 7b 0d 0a 20 20 20 49 63 | 6f 6e 50 52 49 3d 55 45 |{.. Ic|onPRI=UE|
|000057e0| 54 46 32 6b 34 50 52 49 | 28 6e 66 6f 2e 50 52 49 |TF2k4PRI|(nfo.PRI|
|000057f0| 41 72 72 61 79 5b 69 5d | 29 3b 0d 0a 20 20 20 20 |Array[i]|);.. |
|00005800| 20 69 66 20 28 49 63 6f | 6e 50 52 49 21 3d 4e 6f | if (Ico|nPRI!=No|
|00005810| 6e 65 20 26 26 20 49 63 | 6f 6e 50 52 49 2e 54 65 |ne && Ic|onPRI.Te|
|00005820| 61 6d 2e 54 65 61 6d 49 | 6e 64 65 78 3d 3d 30 29 |am.TeamI|ndex==0)|
|00005830| 7b 0d 0a 20 20 20 20 20 | 20 69 66 20 28 28 49 63 |{.. | if ((Ic|
|00005840| 6f 6e 50 52 49 2e 50 6c | 61 79 65 72 5a 6f 6e 65 |onPRI.Pl|ayerZone|
|00005850| 20 21 3d 20 4e 6f 6e 65 | 20 7c 7c 20 49 63 6f 6e | != None| || Icon|
|00005860| 50 52 49 2e 50 6c 61 79 | 65 72 56 6f 6c 75 6d 65 |PRI.Play|erVolume|
|00005870| 20 21 3d 20 4e 6f 6e 65 | 29 20 26 26 0d 0a 20 20 | != None|) &&.. |
|00005880| 20 20 20 20 20 20 20 20 | 28 55 50 2e 50 6c 61 79 | |(UP.Play|
|00005890| 65 72 52 65 70 6c 69 63 | 61 74 69 6f 6e 49 6e 66 |erReplic|ationInf|
|000058a0| 6f 2e 50 6c 61 79 65 72 | 5a 6f 6e 65 20 21 3d 20 |o.Player|Zone != |
|000058b0| 49 63 6f 6e 50 52 49 2e | 50 6c 61 79 65 72 5a 6f |IconPRI.|PlayerZo|
|000058c0| 6e 65 29 29 7b 0d 0a 20 | 20 20 20 20 20 20 20 69 |ne)){.. | i|
|000058d0| 66 20 28 49 63 6f 6e 50 | 52 49 2e 70 6c 61 79 65 |f (IconP|RI.playe|
|000058e0| 72 63 6c 61 73 73 3d 3d | 31 29 0d 0a 20 20 20 20 |rclass==|1).. |
|000058f0| 20 20 20 20 20 20 20 52 | 65 6e 64 65 72 54 65 61 | R|enderTea|
|00005900| 6d 49 63 6f 6e 20 28 43 | 2c 49 63 6f 6e 50 52 49 |mIcon (C|,IconPRI|
|00005910| 2e 50 6c 61 79 65 72 5a | 6f 6e 65 2e 4c 6f 63 61 |.PlayerZ|one.Loca|
|00005920| 74 69 6f 6e 2c 43 6f 6d | 6d 61 6e 64 6f 5f 49 63 |tion,Com|mando_Ic|
|00005930| 6f 6e 2c 20 22 22 29 3b | 0d 0a 20 20 20 20 20 20 |on, "");|.. |
|00005940| 20 20 69 66 20 28 49 63 | 6f 6e 50 52 49 2e 70 6c | if (Ic|onPRI.pl|
|00005950| 61 79 65 72 63 6c 61 73 | 73 3d 3d 32 29 0d 0a 20 |ayerclas|s==2).. |
|00005960| 20 20 20 20 20 20 20 20 | 20 20 52 65 6e 64 65 72 | | Render|
|00005970| 54 65 61 6d 49 63 6f 6e | 20 28 43 2c 49 63 6f 6e |TeamIcon| (C,Icon|
|00005980| 50 52 49 2e 50 6c 61 79 | 65 72 5a 6f 6e 65 2e 4c |PRI.Play|erZone.L|
|00005990| 6f 63 61 74 69 6f 6e 2c | 46 61 64 65 5f 49 63 6f |ocation,|Fade_Ico|
|000059a0| 6e 2c 20 22 22 29 3b 0d | 0a 20 20 20 20 20 20 20 |n, "");.|. |
|000059b0| 20 69 66 20 28 49 63 6f | 6e 50 52 49 2e 70 6c 61 | if (Ico|nPRI.pla|
|000059c0| 79 65 72 63 6c 61 73 73 | 3d 3d 33 29 0d 0a 20 20 |yerclass|==3).. |
|000059d0| 20 20 20 20 20 20 20 20 | 20 52 65 6e 64 65 72 54 | | RenderT|
|000059e0| 65 61 6d 49 63 6f 6e 20 | 28 43 2c 49 63 6f 6e 50 |eamIcon |(C,IconP|
|000059f0| 52 49 2e 50 6c 61 79 65 | 72 5a 6f 6e 65 2e 4c 6f |RI.Playe|rZone.Lo|
|00005a00| 63 61 74 69 6f 6e 2c 45 | 6e 67 69 6e 65 65 72 5f |cation,E|ngineer_|
|00005a10| 49 63 6f 6e 2c 20 22 22 | 29 3b 0d 0a 20 20 20 20 |Icon, ""|);.. |
|00005a20| 7d 0d 0a 20 20 20 7d 0d | 0a 20 20 7d 0d 0a 0d 0a |}.. }.|. }....|
|00005a30| 20 20 2f 2f 49 6e 66 6f | 72 6d 61 74 69 6f 6e 20 | //Info|rmation |
|00005a40| 4f 76 65 72 6c 61 79 20 | 66 6f 72 20 46 72 69 65 |Overlay |for Frie|
|00005a50| 6e 64 6c 69 65 73 0d 0a | 20 20 46 6f 72 45 61 63 |ndlies..| ForEac|
|00005a60| 68 20 56 69 73 69 62 6c | 65 41 63 74 6f 72 73 20 |h Visibl|eActors |
|00005a70| 28 63 6c 61 73 73 27 55 | 45 54 46 41 6c 6c 79 27 |(class'U|ETFAlly'|
|00005a80| 2c 20 6d 79 61 6c 6c 79 | 2c 2c 50 61 77 6e 4f 77 |, myally|,,PawnOw|
|00005a90| 6e 65 72 2e 4c 6f 63 61 | 74 69 6f 6e 29 7b 0d 0a |ner.Loca|tion){..|
|00005aa0| 20 20 20 20 20 20 61 6c | 6c 79 69 6e 66 6f 3d 22 | al|lyinfo="|
|00005ab0| 48 65 61 6c 74 68 20 3a | 22 24 6d 79 61 6c 6c 79 |Health :|"$myally|
|00005ac0| 2e 48 65 61 6c 74 68 3b | 0d 0a 20 20 20 20 20 20 |.Health;|.. |
|00005ad0| 69 66 20 28 6d 79 61 6c | 6c 79 2e 43 6f 6e 74 72 |if (myal|ly.Contr|
|00005ae0| 6f 6c 6c 65 72 20 21 3d | 20 4e 6f 6e 65 29 7b 0d |oller !=| None){.|
|00005af0| 0a 20 20 20 20 20 20 20 | 20 20 69 66 20 28 55 45 |. | if (UE|
|00005b00| 54 46 41 6c 6c 79 43 6f | 6e 74 72 6f 6c 6c 65 72 |TFAllyCo|ntroller|
|00005b10| 28 6d 79 61 6c 6c 79 2e | 43 6f 6e 74 72 6f 6c 6c |(myally.|Controll|
|00005b20| 65 72 29 2e 46 6f 6c 6c | 6f 77 50 61 77 6e 21 3d |er).Foll|owPawn!=|
|00005b30| 4e 6f 6e 65 29 0d 0a 20 | 20 20 20 20 20 20 20 20 |None).. | |
|00005b40| 20 20 20 61 6c 6c 79 69 | 6e 66 6f 3d 61 6c 6c 79 | allyi|nfo=ally|
|00005b50| 69 6e 66 6f 24 22 20 46 | 6f 6c 6c 6f 77 69 6e 67 |info$" F|ollowing|
|00005b60| 22 3b 0d 0a 20 20 20 20 | 20 20 20 20 20 69 66 20 |";.. | if |
|00005b70| 28 55 45 54 46 41 6c 6c | 79 43 6f 6e 74 72 6f 6c |(UETFAll|yControl|
|00005b80| 6c 65 72 28 6d 79 61 6c | 6c 79 2e 43 6f 6e 74 72 |ler(myal|ly.Contr|
|00005b90| 6f 6c 6c 65 72 29 2e 62 | 47 75 61 72 64 69 6e 67 |oller).b|Guarding|
|00005ba0| 29 0d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 61 |).. | a|
|00005bb0| 6c 6c 79 69 6e 66 6f 3d | 61 6c 6c 79 69 6e 66 6f |llyinfo=|allyinfo|
|00005bc0| 24 22 20 44 65 66 65 6e | 64 69 6e 67 22 3b 0d 0a |$" Defen|ding";..|
|00005bd0| 20 20 20 20 20 20 7d 0d | 0a 0d 0a 20 20 20 20 20 | }.|... |
|00005be0| 20 69 66 20 28 6d 79 61 | 6c 6c 79 2e 62 43 6f 6e | if (mya|lly.bCon|
|00005bf0| 74 72 6f 6c 6c 61 62 6c | 65 29 0d 0a 20 20 20 20 |trollabl|e).. |
|00005c00| 20 20 20 20 20 52 65 6e | 64 65 72 48 65 61 6c 74 | Ren|derHealt|
|00005c10| 68 49 63 6f 6e 28 43 2c | 6d 79 61 6c 6c 79 2e 4c |hIcon(C,|myally.L|
|00005c20| 6f 63 61 74 69 6f 6e 2c | 61 6c 6c 79 69 6e 66 6f |ocation,|allyinfo|
|00005c30| 29 3b 0d 0a 20 20 7d 0d | 0a 0d 0a 20 20 2f 2f 54 |);.. }.|... //T|
|00005c40| 72 61 69 6e 65 72 20 48 | 75 64 20 2d 20 73 68 6f |rainer H|ud - sho|
|00005c50| 77 20 69 6e 66 6f 20 66 | 6f 72 20 65 6e 65 6d 69 |w info f|or enemi|
|00005c60| 65 73 0d 0a 20 20 46 6f | 72 45 61 63 68 20 56 69 |es.. Fo|rEach Vi|
|00005c70| 73 69 62 6c 65 41 63 74 | 6f 72 73 20 28 63 6c 61 |sibleAct|ors (cla|
|00005c80| 73 73 27 55 45 54 46 42 | 6f 74 4d 6f 6e 73 74 65 |ss'UETFB|otMonste|
|00005c90| 72 27 2c 20 6d 79 6d 6f | 6e 73 74 65 72 2c 2c 50 |r', mymo|nster,,P|
|00005ca0| 61 77 6e 4f 77 6e 65 72 | 2e 4c 6f 63 61 74 69 6f |awnOwner|.Locatio|
|00005cb0| 6e 29 7b 0d 0a 20 20 20 | 20 20 20 61 6c 6c 79 69 |n){.. | allyi|
|00005cc0| 6e 66 6f 3d 22 48 65 61 | 6c 74 68 20 3a 22 24 6d |nfo="Hea|lth :"$m|
|00005cd0| 79 6d 6f 6e 73 74 65 72 | 2e 48 65 61 6c 74 68 3b |ymonster|.Health;|
|00005ce0| 0d 0a 0d 0a 20 20 20 20 | 20 20 69 66 20 28 6d 79 |.... | if (my|
|00005cf0| 6d 6f 6e 73 74 65 72 2e | 61 72 6d 6f 72 74 79 70 |monster.|armortyp|
|00005d00| 65 20 3d 3d 20 30 29 0d | 0a 20 20 20 20 20 20 20 |e == 0).|. |
|00005d10| 20 20 61 6c 6c 79 69 6e | 66 6f 20 3d 20 61 6c 6c | allyin|fo = all|
|00005d20| 79 69 6e 66 6f 24 22 20 | 4e 4f 20 41 52 4d 4f 52 |yinfo$" |NO ARMOR|
|00005d30| 20 54 59 50 45 22 3b 0d | 0a 20 20 20 20 20 20 69 | TYPE";.|. i|
|00005d40| 66 20 28 6d 79 6d 6f 6e | 73 74 65 72 2e 61 72 6d |f (mymon|ster.arm|
|00005d50| 6f 72 74 79 70 65 20 3d | 3d 20 31 29 0d 0a 20 20 |ortype =|= 1).. |
|00005d60| 20 20 20 20 20 20 20 61 | 6c 6c 79 69 6e 66 6f 20 | a|llyinfo |
|00005d70| 3d 20 61 6c 6c 79 69 6e | 66 6f 24 22 20 50 4c 41 |= allyin|fo$" PLA|
|00005d80| 54 45 20 41 52 4d 4f 52 | 22 3b 0d 0a 20 20 20 20 |TE ARMOR|";.. |
|00005d90| 20 20 69 66 20 28 6d 79 | 6d 6f 6e 73 74 65 72 2e | if (my|monster.|
|00005da0| 61 72 6d 6f 72 74 79 70 | 65 20 3d 3d 20 32 29 0d |armortyp|e == 2).|
|00005db0| 0a 20 20 20 20 20 20 20 | 20 20 61 6c 6c 79 69 6e |. | allyin|
|00005dc0| 66 6f 20 3d 20 61 6c 6c | 79 69 6e 66 6f 24 22 20 |fo = all|yinfo$" |
|00005dd0| 49 4d 50 41 43 54 20 41 | 52 4d 4f 52 22 3b 0d 0a |IMPACT A|RMOR";..|
|00005de0| 20 20 20 20 20 20 69 66 | 20 28 6d 79 6d 6f 6e 73 | if| (mymons|
|00005df0| 74 65 72 2e 61 72 6d 6f | 72 74 79 70 65 20 3d 3d |ter.armo|rtype ==|
|00005e00| 20 33 29 0d 0a 20 20 20 | 20 20 20 20 20 20 61 6c | 3).. | al|
|00005e10| 6c 79 69 6e 66 6f 20 3d | 20 61 6c 6c 79 69 6e 66 |lyinfo =| allyinf|
|00005e20| 6f 24 22 20 45 4e 45 52 | 47 59 20 53 48 49 45 4c |o$" ENER|GY SHIEL|
|00005e30| 44 45 44 22 3b 0d 0a 0d | 0a 20 20 20 20 20 20 20 |DED";...|. |
|00005e40| 20 20 52 65 6e 64 65 72 | 45 6e 65 6d 79 49 63 6f | Render|EnemyIco|
|00005e50| 6e 28 43 2c 6d 79 6d 6f | 6e 73 74 65 72 2e 4c 6f |n(C,mymo|nster.Lo|
|00005e60| 63 61 74 69 6f 6e 2c 61 | 6c 6c 79 69 6e 66 6f 29 |cation,a|llyinfo)|
|00005e70| 3b 0d 0a 20 20 7d 0d 0a | 0d 0a 20 20 69 66 20 28 |;.. }..|.. if (|
|00005e80| 50 61 77 6e 4f 77 6e 65 | 72 2e 57 65 61 70 6f 6e |PawnOwne|r.Weapon|
|00005e90| 2e 49 73 41 28 27 55 45 | 54 46 32 6b 34 57 65 61 |.IsA('UE|TF2k4Wea|
|00005ea0| 70 6f 6e 27 29 29 0d 0a | 20 20 20 20 57 32 6b 34 |pon'))..| W2k4|
|00005eb0| 3d 55 45 54 46 32 6b 34 | 57 65 61 70 6f 6e 28 50 |=UETF2k4|Weapon(P|
|00005ec0| 61 77 6e 4f 77 6e 65 72 | 2e 57 65 61 70 6f 6e 29 |awnOwner|.Weapon)|
|00005ed0| 3b 0d 0a 0d 0a 20 20 20 | 20 2f 2f 44 72 61 77 20 |;.... | //Draw |
|00005ee0| 48 65 61 64 65 72 73 0d | 0a 20 20 20 20 64 72 61 |Headers.|. dra|
|00005ef0| 77 58 50 48 65 61 64 65 | 72 28 43 29 3b 0d 0a 20 |wXPHeade|r(C);.. |
|00005f00| 20 20 20 64 72 61 77 43 | 6f 75 6e 74 65 72 48 65 | drawC|ounterHe|
|00005f10| 61 64 65 72 54 65 78 74 | 28 43 29 3b 0d 0a 0d 0a |aderText|(C);....|
|00005f20| 20 20 20 20 2f 2f 43 72 | 6f 73 73 68 61 69 72 0d | //Cr|osshair.|
|00005f30| 0a 20 20 20 20 44 72 61 | 77 43 72 6f 73 73 68 61 |. Dra|wCrossha|
|00005f40| 69 72 28 43 29 3b 0d 0a | 0d 0a 20 20 20 20 2f 2f |ir(C);..|.. //|
|00005f50| 44 72 61 77 20 46 6c 61 | 74 6c 69 6e 65 20 49 6e |Draw Fla|tline In|
|00005f60| 66 6f 72 6d 61 74 69 6f | 6e 0d 0a 0d 0a 20 20 20 |formatio|n.... |
|00005f70| 20 69 66 28 20 62 53 68 | 6f 77 50 65 72 73 6f 6e | if( bSh|owPerson|
|00005f80| 61 6c 49 6e 66 6f 20 29 | 0d 0a 20 20 20 20 7b 0d |alInfo )|.. {.|
|00005f90| 0a 20 20 20 20 20 69 66 | 28 20 53 68 69 65 6c 64 |. if|( Shield|
|00005fa0| 43 6f 75 6e 74 2e 56 61 | 6c 75 65 20 3e 20 30 20 |Count.Va|lue > 0 |
|00005fb0| 29 0d 0a 20 20 20 20 20 | 7b 0d 0a 20 20 20 20 20 |).. |{.. |
|00005fc0| 20 20 20 20 44 72 61 77 | 4e 75 6d 65 72 69 63 57 | Draw|NumericW|
|00005fd0| 69 64 67 65 74 20 28 43 | 2c 20 55 45 54 46 53 68 |idget (C|, UETFSh|
|00005fe0| 69 65 6c 64 43 6f 75 6e | 74 2c 20 44 69 67 69 74 |ieldCoun|t, Digit|
|00005ff0| 73 42 69 67 29 3b 0d 0a | 20 20 20 20 20 7d 0d 0a |sBig);..| }..|
|00006000| 0d 0a 20 20 20 20 20 44 | 72 61 77 4e 75 6d 65 72 |.. D|rawNumer|
|00006010| 69 63 57 69 64 67 65 74 | 20 28 43 2c 20 55 45 54 |icWidget| (C, UET|
|00006020| 46 48 65 61 6c 74 68 43 | 6f 75 6e 74 2c 20 44 69 |FHealthC|ount, Di|
|00006030| 67 69 74 73 42 69 67 29 | 3b 0d 0a 20 20 20 20 20 |gitsBig)|;.. |
|00006040| 44 72 61 77 4e 75 6d 65 | 72 69 63 57 69 64 67 65 |DrawNume|ricWidge|
|00006050| 74 20 28 43 2c 20 55 45 | 54 46 45 6e 65 72 67 79 |t (C, UE|TFEnergy|
|00006060| 43 6f 75 6e 74 2c 20 44 | 69 67 69 74 73 42 69 67 |Count, D|igitsBig|
|00006070| 29 3b 0d 0a 20 20 20 20 | 7d 0d 0a 0d 0a 20 20 20 |);.. |}.... |
|00006080| 20 69 66 28 20 62 53 68 | 6f 77 57 65 61 70 6f 6e | if( bSh|owWeapon|
|00006090| 49 6e 66 6f 20 26 26 20 | 28 50 61 77 6e 4f 77 6e |Info && |(PawnOwn|
|000060a0| 65 72 20 21 3d 20 4e 6f | 6e 65 29 20 26 26 20 28 |er != No|ne) && (|
|000060b0| 50 61 77 6e 4f 77 6e 65 | 72 2e 57 65 61 70 6f 6e |PawnOwne|r.Weapon|
|000060c0| 20 21 3d 20 4e 6f 6e 65 | 29 20 29 0d 0a 20 20 20 | != None|) ).. |
|000060d0| 20 7b 0d 0a 20 20 20 20 | 20 20 20 20 44 72 61 77 | {.. | Draw|
|000060e0| 4e 75 6d 65 72 69 63 57 | 69 64 67 65 74 20 28 43 |NumericW|idget (C|
|000060f0| 2c 20 41 6d 6d 6f 43 6f | 75 6e 74 2c 20 44 69 67 |, AmmoCo|unt, Dig|
|00006100| 69 74 73 42 69 67 29 3b | 0d 0a 20 20 20 20 20 20 |itsBig);|.. |
|00006110| 20 20 69 66 20 28 57 32 | 6b 34 2e 42 75 6c 6c 65 | if (W2|k4.Bulle|
|00006120| 74 73 49 6e 43 6c 69 70 | 20 3e 3d 20 30 29 0d 0a |tsInClip| >= 0)..|
|00006130| 20 20 20 20 20 20 20 20 | 7b 0d 0a 20 20 20 20 20 | |{.. |
|00006140| 20 20 20 20 20 20 20 44 | 72 61 77 4e 75 6d 65 72 | D|rawNumer|
|00006150| 69 63 57 69 64 67 65 74 | 28 43 2c 20 42 75 6c 6c |icWidget|(C, Bull|
|00006160| 65 74 73 49 6e 43 6c 69 | 70 2c 20 44 69 67 69 74 |etsInCli|p, Digit|
|00006170| 73 42 69 67 29 3b 0d 0a | 20 20 20 20 20 20 20 20 |sBig);..| |
|00006180| 20 20 20 20 50 61 77 6e | 4f 77 6e 65 72 2e 57 65 | Pawn|Owner.We|
|00006190| 61 70 6f 6e 2e 44 72 61 | 77 57 65 61 70 6f 6e 49 |apon.Dra|wWeaponI|
|000061a0| 6e 66 6f 28 43 29 3b 0d | 0a 20 20 20 20 20 20 20 |nfo(C);.|. |
|000061b0| 20 7d 0d 0a 0d 0a 20 20 | 20 20 7d 0d 0a 0d 0a 20 | }.... | }.... |
|000061c0| 20 20 20 2f 2f 44 61 6d | 61 67 65 20 49 63 6f 6e | //Dam|age Icon|
|000061d0| 73 0d 0a 20 20 20 20 69 | 66 20 28 57 32 6b 34 2e |s.. i|f (W2k4.|
|000061e0| 49 73 41 28 27 55 45 54 | 46 41 52 27 29 20 7c 7c |IsA('UET|FAR') |||
|000061f0| 20 57 32 6b 34 2e 49 73 | 41 28 27 55 45 54 46 54 | W2k4.Is|A('UETFT|
|00006200| 75 72 72 65 74 27 29 20 | 7c 7c 20 57 32 6b 34 2e |urret') ||| W2k4.|
|00006210| 49 73 41 28 27 55 45 54 | 46 46 61 64 65 52 69 66 |IsA('UET|FFadeRif|
|00006220| 6c 65 27 29 29 0d 0a 20 | 20 20 20 20 20 20 44 72 |le')).. | Dr|
|00006230| 61 77 53 70 72 69 74 65 | 57 69 64 67 65 74 20 28 |awSprite|Widget (|
|00006240| 43 2c 20 61 70 5f 69 63 | 6f 6e 29 3b 0d 0a 20 20 |C, ap_ic|on);.. |
|00006250| 20 20 69 66 20 28 57 32 | 6b 34 2e 49 73 41 28 27 | if (W2|k4.IsA('|
|00006260| 55 45 54 46 46 52 69 66 | 6c 65 27 29 20 7c 7c 20 |UETFFRif|le') || |
|00006270| 57 32 6b 34 2e 49 73 41 | 28 27 55 45 54 46 47 79 |W2k4.IsA|('UETFGy|
|00006280| 72 6f 4a 65 74 27 29 20 | 7c 7c 20 57 32 6b 34 2e |roJet') ||| W2k4.|
|00006290| 49 73 41 28 27 55 45 54 | 46 52 4c 27 29 29 0d 0a |IsA('UET|FRL'))..|
|000062a0| 20 20 20 20 20 20 20 44 | 72 61 77 53 70 72 69 74 | D|rawSprit|
|000062b0| 65 57 69 64 67 65 74 20 | 28 43 2c 20 69 6d 70 61 |eWidget |(C, impa|
|000062c0| 63 74 5f 69 63 6f 6e 29 | 3b 0d 0a 20 20 20 20 69 |ct_icon)|;.. i|
|000062d0| 66 20 28 57 32 6b 34 2e | 49 73 41 28 27 55 45 54 |f (W2k4.|IsA('UET|
|000062e0| 46 45 54 43 61 6e 6e 6f | 6e 27 29 20 7c 7c 20 57 |FETCanno|n') || W|
|000062f0| 32 6b 34 2e 49 73 41 28 | 27 55 45 54 46 4c 61 73 |2k4.IsA(|'UETFLas|
|00006300| 65 72 43 61 6e 6e 6f 6e | 27 29 20 7c 7c 20 57 32 |erCannon|') || W2|
|00006310| 6b 34 2e 49 73 41 28 27 | 55 45 54 46 45 63 68 6f |k4.IsA('|UETFEcho|
|00006320| 52 69 66 6c 65 27 29 29 | 0d 0a 20 20 20 20 20 20 |Rifle'))|.. |
|00006330| 20 44 72 61 77 53 70 72 | 69 74 65 57 69 64 67 65 | DrawSpr|iteWidge|
|00006340| 74 20 28 43 2c 20 65 6e | 65 72 67 79 5f 69 63 6f |t (C, en|ergy_ico|
|00006350| 6e 29 3b 0d 0a 0d 0a 20 | 20 20 20 2f 2f 41 6c 74 |n);.... | //Alt|
|00006360| 20 46 69 72 65 20 49 6e | 64 69 63 61 74 6f 72 0d | Fire In|dicator.|
|00006370| 0a 20 20 20 20 69 66 20 | 28 57 32 6b 34 2e 62 41 |. if |(W2k4.bA|
|00006380| 6c 74 65 72 6e 61 74 65 | 29 7b 0d 0a 20 20 20 20 |lternate|){.. |
|00006390| 20 20 20 41 6c 74 5f 46 | 69 72 65 2e 57 69 64 67 | Alt_F|ire.Widg|
|000063a0| 65 74 54 65 78 74 75 72 | 65 3d 57 32 6b 34 2e 41 |etTextur|e=W2k4.A|
|000063b0| 6c 74 46 69 72 65 54 65 | 78 74 75 72 65 3b 0d 0a |ltFireTe|xture;..|
|000063c0| 20 20 20 20 20 20 20 44 | 72 61 77 53 70 72 69 74 | D|rawSprit|
|000063d0| 65 57 69 64 67 65 74 20 | 28 43 2c 20 41 6c 74 5f |eWidget |(C, Alt_|
|000063e0| 46 69 72 65 29 3b 0d 0a | 20 20 20 20 7d 0d 0a 0d |Fire);..| }...|
|000063f0| 0a 20 20 20 20 2f 2f 44 | 72 61 77 20 57 65 61 70 |. //D|raw Weap|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.