home *** CD-ROM | disk | FTP | other *** search
Unknown | 2004-05-10 | 24.7 KB |
view JSON data
|
view as text
|
open on a Mac
|
open on a PC
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 68 8b 03 2f 2f 2d 2d 2d |........|h..//---|
|00000010| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000020| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000030| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000040| 2d 2d 2d 2d 2d 2d 2d 2d | 0d 0a 2f 2f 0d 0a 2f 2f |--------|..//..//|
|00000050| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000060| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000070| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 2d 2d 2d 2d 2d |--------|--------|
|00000080| 2d 2d 2d 2d 2d 2d 2d 2d | 2d 2d 2d 0d 0a 63 6c 61 |--------|---..cla|
|00000090| 73 73 20 4f 4e 53 48 55 | 44 4f 6e 73 6c 61 75 67 |ss ONSHU|DOnslaug|
|000000a0| 68 74 20 65 78 74 65 6e | 64 73 20 48 75 64 43 54 |ht exten|ds HudCT|
|000000b0| 65 61 6d 44 65 61 74 68 | 4d 61 74 63 68 0d 0a 20 |eamDeath|Match.. |
|000000c0| 20 20 20 63 6f 6e 66 69 | 67 28 75 73 65 72 29 3b | confi|g(user);|
|000000d0| 0d 0a 0d 0a 76 61 72 20 | 63 6f 6e 66 69 67 20 66 |....var |config f|
|000000e0| 6c 6f 61 74 20 52 61 64 | 61 72 53 63 61 6c 65 2c |loat Rad|arScale,|
|000000f0| 20 52 61 64 61 72 54 72 | 61 6e 73 2c 20 49 63 6f | RadarTr|ans, Ico|
|00000100| 6e 53 63 61 6c 65 2c 20 | 52 61 64 61 72 50 6f 73 |nScale, |RadarPos|
|00000110| 58 2c 20 52 61 64 61 72 | 50 6f 73 59 3b 0d 0a 76 |X, Radar|PosY;..v|
|00000120| 61 72 20 66 6c 6f 61 74 | 20 52 61 64 61 72 4d 61 |ar float| RadarMa|
|00000130| 78 52 61 6e 67 65 2c 20 | 52 61 64 61 72 52 61 6e |xRange, |RadarRan|
|00000140| 67 65 3b 0d 0a 76 61 72 | 20 4f 4e 53 50 6f 77 65 |ge;..var| ONSPowe|
|00000150| 72 43 6f 72 65 20 46 69 | 6e 61 6c 43 6f 72 65 5b |rCore Fi|nalCore[|
|00000160| 32 5d 3b 0d 0a 76 61 72 | 20 4f 4e 53 50 6f 77 65 |2];..var| ONSPowe|
|00000170| 72 43 6f 72 65 20 4e 6f | 64 65 3b 0d 0a 76 61 72 |rCore No|de;..var|
|00000180| 20 4f 4e 53 50 6c 61 79 | 65 72 52 65 70 6c 69 63 | ONSPlay|erReplic|
|00000190| 61 74 69 6f 6e 49 6e 66 | 6f 20 4f 77 6e 65 72 50 |ationInf|o OwnerP|
|000001a0| 52 49 3b 0d 0a 76 61 72 | 20 70 72 6f 74 65 63 74 |RI;..var| protect|
|000001b0| 65 64 20 61 72 72 61 79 | 3c 50 6f 77 65 72 4c 69 |ed array|<PowerLi|
|000001c0| 6e 6b 3e 20 50 6f 77 65 | 72 4c 69 6e 6b 73 3b 0d |nk> Powe|rLinks;.|
|000001d0| 0a 0d 0a 2f 2f 76 61 72 | 20 61 72 72 61 79 3c 63 |...//var| array<c|
|000001e0| 6f 6c 6f 72 3e 20 50 6f | 77 65 72 4c 69 6e 6b 73 |olor> Po|werLinks|
|000001f0| 3b 0d 0a 76 61 72 20 62 | 6f 6f 6c 20 62 4d 61 70 |;..var b|ool bMap|
|00000200| 44 69 73 61 62 6c 65 64 | 3b 0d 0a 76 61 72 20 62 |Disabled|;..var b|
|00000210| 6f 6f 6c 20 62 52 65 63 | 65 69 76 65 64 4c 69 6e |ool bRec|eivedLin|
|00000220| 6b 73 3b 0d 0a 76 61 72 | 20 76 65 63 74 6f 72 20 |ks;..var| vector |
|00000230| 4d 61 70 43 65 6e 74 65 | 72 3b 0d 0a 76 61 72 20 |MapCente|r;..var |
|00000240| 66 6c 6f 61 74 20 43 6f | 6c 6f 72 50 65 72 63 65 |float Co|lorPerce|
|00000250| 6e 74 3b 0d 0a 0d 0a 76 | 61 72 28 29 20 20 20 4d |nt;....v|ar() M|
|00000260| 61 74 65 72 69 61 6c 20 | 20 20 20 20 20 20 20 20 |aterial | |
|00000270| 20 20 20 48 65 61 6c 74 | 68 42 61 72 42 61 63 6b | Healt|hBarBack|
|00000280| 4d 61 74 3b 0d 0a 76 61 | 72 28 29 20 20 20 4d 61 |Mat;..va|r() Ma|
|00000290| 74 65 72 69 61 6c 20 20 | 20 20 20 20 20 20 20 20 |terial | |
|000002a0| 20 20 48 65 61 6c 74 68 | 42 61 72 4d 61 74 3b 0d | Health|BarMat;.|
|000002b0| 0a 76 61 72 28 29 20 20 | 20 66 6c 6f 61 74 20 20 |.var() | float |
|000002c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 48 65 61 | | Hea|
|000002d0| 6c 74 68 42 61 72 57 69 | 64 74 68 3b 0d 0a 76 61 |lthBarWi|dth;..va|
|000002e0| 72 28 29 20 20 20 66 6c | 6f 61 74 20 20 20 20 20 |r() fl|oat |
|000002f0| 20 20 20 20 20 20 20 20 | 20 20 48 65 61 6c 74 68 | | Health|
|00000300| 42 61 72 48 65 69 67 68 | 74 2c 20 48 65 61 6c 74 |BarHeigh|t, Healt|
|00000310| 68 42 61 72 50 6f 73 69 | 74 69 6f 6e 3b 0d 0a 76 |hBarPosi|tion;..v|
|00000320| 61 72 28 29 20 20 20 66 | 6c 6f 61 74 20 20 20 20 |ar() f|loat |
|00000330| 20 20 20 20 20 20 20 20 | 20 20 20 48 65 61 6c 74 | | Healt|
|00000340| 68 42 61 72 56 69 65 77 | 44 69 73 74 3b 0d 0a 76 |hBarView|Dist;..v|
|00000350| 61 72 28 29 20 20 20 4d | 61 74 65 72 69 61 6c 20 |ar() M|aterial |
|00000360| 20 20 20 20 20 20 20 20 | 20 20 20 42 6f 72 64 65 | | Borde|
|00000370| 72 4d 61 74 3b 0d 0a 76 | 61 72 28 29 20 20 20 63 |rMat;..v|ar() c|
|00000380| 6f 6c 6f 72 20 20 20 20 | 20 20 20 20 20 20 20 20 |olor | |
|00000390| 20 20 20 4e 65 75 74 72 | 61 6c 43 6f 6c 6f 72 3b | Neutr|alColor;|
|000003a0| 0d 0a 76 61 72 28 29 20 | 20 20 63 6f 6c 6f 72 20 |..var() | color |
|000003b0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 41 74 | | At|
|000003c0| 74 61 63 6b 43 6f 6c 6f | 72 41 3b 0d 0a 76 61 72 |tackColo|rA;..var|
|000003d0| 28 29 20 20 20 63 6f 6c | 6f 72 20 20 20 20 20 20 |() col|or |
|000003e0| 20 20 20 20 20 20 20 20 | 20 41 74 74 61 63 6b 43 | | AttackC|
|000003f0| 6f 6c 6f 72 42 3b 0d 0a | 76 61 72 28 29 20 20 20 |olorB;..|var() |
|00000400| 63 6f 6c 6f 72 20 20 20 | 20 20 20 20 20 20 20 20 |color | |
|00000410| 20 20 20 20 53 65 76 65 | 72 65 64 43 6f 6c 6f 72 | Seve|redColor|
|00000420| 41 3b 0d 0a 76 61 72 28 | 29 20 20 20 63 6f 6c 6f |A;..var(|) colo|
|00000430| 72 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |r | |
|00000440| 53 65 76 65 72 65 64 43 | 6f 6c 6f 72 42 3b 0d 0a |SeveredC|olorB;..|
|00000450| 76 61 72 28 29 20 20 20 | 63 6f 6c 6f 72 20 20 20 |var() |color |
|00000460| 20 20 20 20 20 20 20 20 | 20 20 20 20 4c 69 6e 6b | | Link|
|00000470| 43 6f 6c 6f 72 5b 33 5d | 3b 0d 0a 0d 0a 76 61 72 |Color[3]|;....var|
|00000480| 28 29 20 20 20 53 70 72 | 69 74 65 57 69 64 67 65 |() Spr|iteWidge|
|00000490| 74 20 20 20 20 53 79 6d | 62 6f 6c 47 42 5b 32 5d |t Sym|bolGB[2]|
|000004a0| 3b 0d 0a 76 61 72 28 29 | 20 20 20 53 70 72 69 74 |;..var()| Sprit|
|000004b0| 65 57 69 64 67 65 74 20 | 20 20 20 43 6f 72 65 57 |eWidget | CoreW|
|000004c0| 69 64 67 65 74 73 5b 32 | 5d 3b 0d 0a 76 61 72 28 |idgets[2|];..var(|
|000004d0| 29 20 20 20 4e 75 6d 65 | 72 69 63 57 69 64 67 65 |) Nume|ricWidge|
|000004e0| 74 20 20 20 43 6f 72 65 | 48 65 61 6c 74 68 57 69 |t Core|HealthWi|
|000004f0| 64 67 65 74 73 5b 32 5d | 3b 0d 0a 0d 0a 76 61 72 |dgets[2]|;....var|
|00000500| 28 29 20 20 20 4e 75 6d | 65 72 69 63 57 69 64 67 |() Num|ericWidg|
|00000510| 65 74 20 20 20 4e 6f 64 | 65 4c 61 62 65 6c 57 69 |et Nod|eLabelWi|
|00000520| 64 67 65 74 3b 0d 0a 0d | 0a 23 45 58 45 43 20 4f |dget;...|.#EXEC O|
|00000530| 42 4a 20 4c 4f 41 44 20 | 46 49 4c 45 3d 49 6e 74 |BJ LOAD |FILE=Int|
|00000540| 65 72 66 61 63 65 43 6f | 6e 74 65 6e 74 2e 75 74 |erfaceCo|ntent.ut|
|00000550| 78 0d 0a 23 45 58 45 43 | 20 4f 42 4a 20 4c 4f 41 |x..#EXEC| OBJ LOA|
|00000560| 44 20 46 49 4c 45 3d 4f | 4e 53 49 6e 74 65 72 66 |D FILE=O|NSInterf|
|00000570| 61 63 65 2d 54 58 2e 75 | 74 78 0d 0a 0d 0a 73 69 |ace-TX.u|tx....si|
|00000580| 6d 75 6c 61 74 65 64 20 | 65 76 65 6e 74 20 50 6f |mulated |event Po|
|00000590| 73 74 42 65 67 69 6e 50 | 6c 61 79 28 29 0d 0a 7b |stBeginP|lay()..{|
|000005a0| 0d 0a 09 6c 6f 63 61 6c | 20 4f 4e 53 50 6f 77 65 |...local| ONSPowe|
|000005b0| 72 43 6f 72 65 20 43 6f | 72 65 3b 0d 0a 09 6c 6f |rCore Co|re;...lo|
|000005c0| 63 61 6c 20 54 65 72 72 | 61 69 6e 49 6e 66 6f 20 |cal Terr|ainInfo |
|000005d0| 54 2c 20 50 72 69 6d 61 | 72 79 54 65 72 72 61 69 |T, Prima|ryTerrai|
|000005e0| 6e 3b 0d 0a 09 6c 6f 63 | 61 6c 20 69 6e 74 20 69 |n;...loc|al int i|
|000005f0| 3b 0d 0a 0d 0a 09 53 75 | 70 65 72 2e 50 6f 73 74 |;.....Su|per.Post|
|00000600| 42 65 67 69 6e 50 6c 61 | 79 28 29 3b 0d 0a 0d 0a |BeginPla|y();....|
|00000610| 09 66 6f 72 65 61 63 68 | 20 41 6c 6c 41 63 74 6f |.foreach| AllActo|
|00000620| 72 73 28 20 63 6c 61 73 | 73 27 4f 4e 53 50 6f 77 |rs( clas|s'ONSPow|
|00000630| 65 72 43 6f 72 65 27 2c | 20 43 6f 72 65 20 29 0d |erCore',| Core ).|
|00000640| 0a 09 09 69 66 20 28 20 | 43 6f 72 65 2e 62 46 69 |...if ( |Core.bFi|
|00000650| 6e 61 6c 43 6f 72 65 20 | 29 0d 0a 09 09 09 46 69 |nalCore |).....Fi|
|00000660| 6e 61 6c 43 6f 72 65 5b | 43 6f 72 65 2e 44 65 66 |nalCore[|Core.Def|
|00000670| 65 6e 64 65 72 54 65 61 | 6d 49 6e 64 65 78 5d 20 |enderTea|mIndex] |
|00000680| 3d 20 43 6f 72 65 3b 0d | 0a 0d 0a 09 4e 6f 64 65 |= Core;.|....Node|
|00000690| 20 3d 20 46 69 6e 61 6c | 43 6f 72 65 5b 30 5d 3b | = Final|Core[0];|
|000006a0| 0d 0a 0d 0a 09 2f 2f 20 | 53 65 74 75 70 20 6c 69 |.....// |Setup li|
|000006b0| 6e 6b 73 20 72 69 67 68 | 74 20 61 77 61 79 2c 20 |nks righ|t away, |
|000006c0| 65 76 65 6e 20 74 68 6f | 75 67 68 20 74 68 65 73 |even tho|ugh thes|
|000006d0| 65 20 77 69 6c 6c 20 62 | 65 20 6f 76 65 72 77 72 |e will b|e overwr|
|000006e0| 69 74 74 65 6e 20 77 68 | 65 6e 20 74 68 65 20 6e |itten wh|en the n|
|000006f0| 65 77 20 6c 69 6e 6b 20 | 73 65 74 75 70 20 69 73 |ew link |setup is|
|00000700| 20 72 65 63 65 69 76 65 | 64 20 66 72 6f 6d 20 74 | receive|d from t|
|00000710| 68 65 20 73 65 72 76 65 | 72 0d 0a 09 69 66 20 28 |he serve|r...if (|
|00000720| 20 4c 65 76 65 6c 2e 4e | 65 74 4d 6f 64 65 20 3d | Level.N|etMode =|
|00000730| 3d 20 4e 4d 5f 43 6c 69 | 65 6e 74 20 29 0d 0a 09 |= NM_Cli|ent )...|
|00000740| 09 53 65 74 75 70 4c 69 | 6e 6b 73 28 29 3b 0d 0a |.SetupLi|nks();..|
|00000750| 0d 0a 09 2f 2f 20 41 73 | 73 69 67 6e 20 50 6f 77 |...// As|sign Pow|
|00000760| 65 72 4e 6f 64 65 20 6e | 75 6d 62 65 72 73 0d 0a |erNode n|umbers..|
|00000770| 09 43 6f 72 65 20 3d 20 | 4e 6f 64 65 3b 0d 0a 09 |.Core = |Node;...|
|00000780| 64 6f 0d 0a 09 7b 0d 0a | 20 20 20 20 20 20 20 20 |do...{..| |
|00000790| 69 66 20 28 4f 4e 53 50 | 6f 77 65 72 4e 6f 64 65 |if (ONSP|owerNode|
|000007a0| 28 43 6f 72 65 29 20 21 | 3d 20 4e 6f 6e 65 29 0d |(Core) !|= None).|
|000007b0| 0a 20 20 20 20 20 20 20 | 20 7b 0d 0a 20 20 20 20 |. | {.. |
|000007c0| 20 20 20 20 20 20 20 20 | 43 6f 72 65 2e 4e 6f 64 | |Core.Nod|
|000007d0| 65 4e 75 6d 20 3d 20 2b | 2b 69 3b 0d 0a 20 20 20 |eNum = +|+i;.. |
|000007e0| 20 20 20 20 20 20 20 20 | 20 43 6f 72 65 2e 55 70 | | Core.Up|
|000007f0| 64 61 74 65 4c 6f 63 61 | 74 69 6f 6e 4e 61 6d 65 |dateLoca|tionName|
|00000800| 28 29 3b 0d 0a 20 20 20 | 20 20 20 20 20 7d 0d 0a |();.. | }..|
|00000810| 0d 0a 20 20 20 20 20 20 | 20 20 43 6f 72 65 20 3d |.. | Core =|
|00000820| 20 43 6f 72 65 2e 4e 65 | 78 74 43 6f 72 65 3b 0d | Core.Ne|xtCore;.|
|00000830| 0a 09 7d 20 75 6e 74 69 | 6c 20 28 20 43 6f 72 65 |..} unti|l ( Core|
|00000840| 20 3d 3d 20 4e 6f 6e 65 | 20 7c 7c 20 43 6f 72 65 | == None| || Core|
|00000850| 20 3d 3d 20 4e 6f 64 65 | 20 29 3b 0d 0a 0d 0a 09 | == Node| );.....|
|00000860| 2f 2f 20 44 65 74 65 72 | 6d 69 6e 65 20 70 72 69 |// Deter|mine pri|
|00000870| 6d 61 72 79 20 74 65 72 | 72 61 69 6e 0d 0a 20 20 |mary ter|rain.. |
|00000880| 20 20 66 6f 72 65 61 63 | 68 20 41 6c 6c 41 63 74 | foreac|h AllAct|
|00000890| 6f 72 73 28 63 6c 61 73 | 73 27 54 65 72 72 61 69 |ors(clas|s'Terrai|
|000008a0| 6e 49 6e 66 6f 27 2c 20 | 54 29 0d 0a 20 20 20 20 |nInfo', |T).. |
|000008b0| 7b 0d 0a 20 20 20 20 20 | 20 20 20 50 72 69 6d 61 |{.. | Prima|
|000008c0| 72 79 54 65 72 72 61 69 | 6e 20 3d 20 54 3b 0d 0a |ryTerrai|n = T;..|
|000008d0| 20 20 20 20 20 20 20 20 | 69 66 20 28 54 2e 54 61 | |if (T.Ta|
|000008e0| 67 20 3d 3d 20 27 50 72 | 69 6d 61 72 79 54 65 72 |g == 'Pr|imaryTer|
|000008f0| 72 61 69 6e 27 29 0d 0a | 20 20 20 20 20 20 20 20 |rain')..| |
|00000900| 20 20 20 20 42 72 65 61 | 6b 3b 0d 0a 20 20 20 20 | Brea|k;.. |
|00000910| 7d 0d 0a 0d 0a 20 20 20 | 20 2f 2f 20 53 65 74 20 |}.... | // Set |
|00000920| 52 61 64 61 72 4d 61 78 | 52 61 6e 67 65 20 74 6f |RadarMax|Range to|
|00000930| 20 73 69 7a 65 20 6f 66 | 20 70 72 69 6d 61 72 79 | size of| primary|
|00000940| 20 74 65 72 72 61 69 6e | 0d 0a 20 20 20 20 69 66 | terrain|.. if|
|00000950| 20 28 4c 65 76 65 6c 2e | 62 55 73 65 54 65 72 72 | (Level.|bUseTerr|
|00000960| 61 69 6e 46 6f 72 52 61 | 64 61 72 52 61 6e 67 65 |ainForRa|darRange|
|00000970| 20 26 26 20 50 72 69 6d | 61 72 79 54 65 72 72 61 | && Prim|aryTerra|
|00000980| 69 6e 20 21 3d 20 4e 6f | 6e 65 29 0d 0a 20 20 20 |in != No|ne).. |
|00000990| 20 20 20 20 20 52 61 64 | 61 72 52 61 6e 67 65 20 | Rad|arRange |
|000009a0| 3d 20 61 62 73 28 50 72 | 69 6d 61 72 79 54 65 72 |= abs(Pr|imaryTer|
|000009b0| 72 61 69 6e 2e 54 65 72 | 72 61 69 6e 53 63 61 6c |rain.Ter|rainScal|
|000009c0| 65 2e 58 20 2a 20 50 72 | 69 6d 61 72 79 54 65 72 |e.X * Pr|imaryTer|
|000009d0| 72 61 69 6e 2e 54 65 72 | 72 61 69 6e 4d 61 70 2e |rain.Ter|rainMap.|
|000009e0| 55 53 69 7a 65 29 20 2f | 20 32 2e 30 3b 0d 0a 20 |USize) /| 2.0;.. |
|000009f0| 20 20 20 65 6c 73 65 20 | 69 66 20 28 4c 65 76 65 | else |if (Leve|
|00000a00| 6c 2e 43 75 73 74 6f 6d | 52 61 64 61 72 52 61 6e |l.Custom|RadarRan|
|00000a10| 67 65 20 3e 20 30 29 0d | 0a 20 20 20 20 20 20 20 |ge > 0).|. |
|00000a20| 20 52 61 64 61 72 52 61 | 6e 67 65 20 3d 20 43 6c | RadarRa|nge = Cl|
|00000a30| 61 6d 70 28 4c 65 76 65 | 6c 2e 43 75 73 74 6f 6d |amp(Leve|l.Custom|
|00000a40| 52 61 64 61 72 52 61 6e | 67 65 2c 20 35 30 30 2e |RadarRan|ge, 500.|
|00000a50| 30 2c 20 64 65 66 61 75 | 6c 74 2e 52 61 64 61 72 |0, defau|lt.Radar|
|00000a60| 4d 61 78 52 61 6e 67 65 | 29 3b 0d 0a 0d 0a 20 20 |MaxRange|);.... |
|00000a70| 20 20 53 65 74 54 69 6d | 65 72 28 31 2e 30 2c 20 | SetTim|er(1.0, |
|00000a80| 74 72 75 65 29 3b 0d 0a | 20 20 20 20 54 69 6d 65 |true);..| Time|
|00000a90| 72 28 29 3b 0d 0a 7d 0d | 0a 0d 0a 73 69 6d 75 6c |r();..}.|...simul|
|00000aa0| 61 74 65 64 20 66 75 6e | 63 74 69 6f 6e 20 53 65 |ated fun|ction Se|
|00000ab0| 74 75 70 4c 69 6e 6b 73 | 28 29 0d 0a 7b 0d 0a 09 |tupLinks|()..{...|
|00000ac0| 6c 6f 63 61 6c 20 4f 4e | 53 50 6f 77 65 72 43 6f |local ON|SPowerCo|
|00000ad0| 72 65 20 43 6f 72 65 3b | 0d 0a 09 6c 6f 63 61 6c |re Core;|...local|
|00000ae0| 20 69 6e 74 20 69 3b 0d | 0a 0d 0a 09 69 66 20 28 | int i;.|....if (|
|00000af0| 20 4e 6f 64 65 20 3d 3d | 20 4e 6f 6e 65 20 29 0d | Node ==| None ).|
|00000b00| 0a 09 09 72 65 74 75 72 | 6e 3b 0d 0a 0d 0a 2f 2f |...retur|n;....//|
|00000b10| 09 6c 6f 67 28 4e 61 6d | 65 40 22 53 65 74 75 70 |.log(Nam|e@"Setup|
|00000b20| 4c 69 6e 6b 73 22 29 3b | 0d 0a 09 43 6f 72 65 20 |Links");|...Core |
|00000b30| 3d 20 4e 6f 64 65 3b 0d | 0a 09 64 6f 0d 0a 09 7b |= Node;.|..do...{|
|00000b40| 0d 0a 09 09 66 6f 72 20 | 28 20 69 20 3d 20 30 3b |....for |( i = 0;|
|00000b50| 20 69 20 3c 20 43 6f 72 | 65 2e 50 6f 77 65 72 4c | i < Cor|e.PowerL|
|00000b60| 69 6e 6b 73 2e 4c 65 6e | 67 74 68 3b 20 69 2b 2b |inks.Len|gth; i++|
|00000b70| 20 29 0d 0a 09 09 09 41 | 64 64 4c 69 6e 6b 28 43 | ).....A|ddLink(C|
|00000b80| 6f 72 65 2c 20 43 6f 72 | 65 2e 50 6f 77 65 72 4c |ore, Cor|e.PowerL|
|00000b90| 69 6e 6b 73 5b 69 5d 29 | 3b 0d 0a 0d 0a 09 09 43 |inks[i])|;......C|
|00000ba0| 6f 72 65 20 3d 20 43 6f | 72 65 2e 4e 65 78 74 43 |ore = Co|re.NextC|
|00000bb0| 6f 72 65 3b 0d 0a 09 7d | 20 75 6e 74 69 6c 20 28 |ore;...}| until (|
|00000bc0| 20 43 6f 72 65 20 3d 3d | 20 4e 6f 6e 65 20 7c 7c | Core ==| None |||
|00000bd0| 20 43 6f 72 65 20 3d 3d | 20 4e 6f 64 65 20 29 3b | Core ==| Node );|
|00000be0| 0d 0a 7d 0d 0a 0d 0a 73 | 69 6d 75 6c 61 74 65 64 |..}....s|imulated|
|00000bf0| 20 66 75 6e 63 74 69 6f | 6e 20 52 65 63 65 69 76 | functio|n Receiv|
|00000c00| 65 4c 69 6e 6b 28 20 4f | 4e 53 50 6f 77 65 72 43 |eLink( O|NSPowerC|
|00000c10| 6f 72 65 20 41 2c 20 4f | 4e 53 50 6f 77 65 72 43 |ore A, O|NSPowerC|
|00000c20| 6f 72 65 20 42 20 29 0d | 0a 7b 0d 0a 09 62 52 65 |ore B ).|.{...bRe|
|00000c30| 63 65 69 76 65 64 4c 69 | 6e 6b 73 20 3d 20 54 72 |ceivedLi|nks = Tr|
|00000c40| 75 65 3b 0d 0a 0d 0a 2f | 2f 09 6c 6f 67 28 4e 61 |ue;..../|/.log(Na|
|00000c50| 6d 65 40 22 52 65 63 65 | 69 76 65 4c 69 6e 6b 20 |me@"Rece|iveLink |
|00000c60| 20 41 3a 22 24 41 2e 4e | 61 6d 65 40 22 42 3a 22 | A:"$A.N|ame@"B:"|
|00000c70| 24 42 2e 4e 61 6d 65 29 | 3b 0d 0a 09 41 64 64 4c |$B.Name)|;...AddL|
|00000c80| 69 6e 6b 28 41 2c 42 29 | 3b 0d 0a 2f 2f 09 41 2e |ink(A,B)|;..//.A.|
|00000c90| 41 64 64 50 6f 77 65 72 | 4c 69 6e 6b 28 42 29 3b |AddPower|Link(B);|
|00000ca0| 0d 0a 7d 0d 0a 0d 0a 73 | 69 6d 75 6c 61 74 65 64 |..}....s|imulated|
|00000cb0| 20 66 75 6e 63 74 69 6f | 6e 20 41 64 64 4c 69 6e | functio|n AddLin|
|00000cc0| 6b 28 20 4f 4e 53 50 6f | 77 65 72 43 6f 72 65 20 |k( ONSPo|werCore |
|00000cd0| 41 2c 20 4f 4e 53 50 6f | 77 65 72 43 6f 72 65 20 |A, ONSPo|werCore |
|00000ce0| 42 20 29 0d 0a 7b 0d 0a | 09 6c 6f 63 61 6c 20 50 |B )..{..|.local P|
|00000cf0| 6f 77 65 72 4c 69 6e 6b | 20 4c 69 6e 6b 3b 0d 0a |owerLink| Link;..|
|00000d00| 0d 0a 09 69 66 20 28 20 | 48 61 73 4c 69 6e 6b 28 |...if ( |HasLink(|
|00000d10| 41 2c 42 29 20 29 0d 0a | 09 09 72 65 74 75 72 6e |A,B) )..|..return|
|00000d20| 3b 0d 0a 0d 0a 09 4c 69 | 6e 6b 20 3d 20 53 70 61 |;.....Li|nk = Spa|
|00000d30| 77 6e 28 63 6c 61 73 73 | 27 50 6f 77 65 72 4c 69 |wn(class|'PowerLi|
|00000d40| 6e 6b 27 29 3b 0d 0a 09 | 4c 69 6e 6b 2e 53 65 74 |nk');...|Link.Set|
|00000d50| 4e 6f 64 65 73 28 41 2c | 42 29 3b 0d 0a 0d 0a 09 |Nodes(A,|B);.....|
|00000d60| 50 6f 77 65 72 4c 69 6e | 6b 73 5b 50 6f 77 65 72 |PowerLin|ks[Power|
|00000d70| 4c 69 6e 6b 73 2e 4c 65 | 6e 67 74 68 5d 20 3d 20 |Links.Le|ngth] = |
|00000d80| 4c 69 6e 6b 3b 0d 0a 7d | 0d 0a 0d 0a 73 69 6d 75 |Link;..}|....simu|
|00000d90| 6c 61 74 65 64 20 66 75 | 6e 63 74 69 6f 6e 20 52 |lated fu|nction R|
|00000da0| 65 6d 6f 76 65 4c 69 6e | 6b 28 20 4f 4e 53 50 6f |emoveLin|k( ONSPo|
|00000db0| 77 65 72 43 6f 72 65 20 | 41 2c 20 4f 4e 53 50 6f |werCore |A, ONSPo|
|00000dc0| 77 65 72 43 6f 72 65 20 | 42 20 29 0d 0a 7b 0d 0a |werCore |B )..{..|
|00000dd0| 09 6c 6f 63 61 6c 20 69 | 6e 74 20 69 3b 0d 0a 0d |.local i|nt i;...|
|00000de0| 0a 2f 2f 09 6c 6f 67 28 | 4e 61 6d 65 40 22 52 65 |.//.log(|Name@"Re|
|00000df0| 6d 6f 76 65 20 6c 69 6e | 6b 20 66 72 6f 6d 20 41 |move lin|k from A|
|00000e00| 3a 22 24 41 2e 4e 61 6d | 65 40 22 74 6f 22 40 42 |:"$A.Nam|e@"to"@B|
|00000e10| 2e 4e 61 6d 65 29 3b 0d | 0a 0d 0a 09 66 6f 72 20 |.Name);.|....for |
|00000e20| 28 20 69 20 3d 20 50 6f | 77 65 72 4c 69 6e 6b 73 |( i = Po|werLinks|
|00000e30| 2e 4c 65 6e 67 74 68 20 | 2d 20 31 3b 20 69 20 3e |.Length |- 1; i >|
|00000e40| 3d 20 30 3b 20 69 2d 2d | 20 29 0d 0a 09 7b 0d 0a |= 0; i--| )...{..|
|00000e50| 09 09 69 66 20 28 20 50 | 6f 77 65 72 4c 69 6e 6b |..if ( P|owerLink|
|00000e60| 73 5b 69 5d 20 3d 3d 20 | 4e 6f 6e 65 20 29 0d 0a |s[i] == |None )..|
|00000e70| 09 09 7b 0d 0a 09 09 09 | 50 6f 77 65 72 4c 69 6e |..{.....|PowerLin|
|00000e80| 6b 73 2e 52 65 6d 6f 76 | 65 28 69 2c 31 29 3b 0d |ks.Remov|e(i,1);.|
|00000e90| 0a 09 09 09 63 6f 6e 74 | 69 6e 75 65 3b 0d 0a 09 |....cont|inue;...|
|00000ea0| 09 7d 0d 0a 0d 0a 09 09 | 69 66 20 28 20 50 6f 77 |.}......|if ( Pow|
|00000eb0| 65 72 4c 69 6e 6b 73 5b | 69 5d 2e 48 61 73 4e 6f |erLinks[|i].HasNo|
|00000ec0| 64 65 73 28 41 2c 42 29 | 20 29 0d 0a 09 09 7b 0d |des(A,B)| )....{.|
|00000ed0| 0a 2f 2f 09 09 09 6c 6f | 67 28 4e 61 6d 65 40 22 |.//...lo|g(Name@"|
|00000ee0| 66 6f 75 6e 64 20 70 6f | 77 65 72 6c 69 6e 6b 20 |found po|werlink |
|00000ef0| 63 6f 6e 74 61 69 6e 69 | 6e 67 20 74 68 6f 73 65 |containi|ng those|
|00000f00| 20 6e 6f 64 65 73 3a 22 | 24 50 6f 77 65 72 4c 69 | nodes:"|$PowerLi|
|00000f10| 6e 6b 73 5b 69 5d 2e 4e | 61 6d 65 29 3b 0d 0a 09 |nks[i].N|ame);...|
|00000f20| 09 09 50 6f 77 65 72 4c | 69 6e 6b 73 5b 69 5d 2e |..PowerL|inks[i].|
|00000f30| 44 65 73 74 72 6f 79 28 | 29 3b 0d 0a 09 09 09 50 |Destroy(|);.....P|
|00000f40| 6f 77 65 72 4c 69 6e 6b | 73 2e 52 65 6d 6f 76 65 |owerLink|s.Remove|
|00000f50| 28 69 2c 31 29 3b 0d 0a | 09 09 7d 0d 0a 09 7d 0d |(i,1);..|..}...}.|
|00000f60| 0a 7d 0d 0a 0d 0a 73 69 | 6d 75 6c 61 74 65 64 20 |.}....si|mulated |
|00000f70| 66 75 6e 63 74 69 6f 6e | 20 52 65 73 65 74 4c 69 |function| ResetLi|
|00000f80| 6e 6b 73 28 29 0d 0a 7b | 0d 0a 2f 2f 09 6c 6f 67 |nks()..{|..//.log|
|00000f90| 28 4e 61 6d 65 40 22 52 | 65 73 65 74 4c 69 6e 6b |(Name@"R|esetLink|
|00000fa0| 73 22 29 3b 0d 0a 09 43 | 6c 65 61 72 4c 69 6e 6b |s");...C|learLink|
|00000fb0| 73 28 29 3b 0d 0a 09 52 | 65 71 75 65 73 74 50 6f |s();...R|equestPo|
|00000fc0| 77 65 72 4c 69 6e 6b 73 | 28 29 3b 0d 0a 0d 0a 2f |werLinks|();..../|
|00000fd0| 2a 0d 0a 09 69 66 20 28 | 20 4c 65 76 65 6c 2e 4e |*...if (| Level.N|
|00000fe0| 65 74 4d 6f 64 65 20 3d | 3d 20 4e 4d 5f 43 6c 69 |etMode =|= NM_Cli|
|00000ff0| 65 6e 74 20 29 0d 0a 09 | 7b 0d 0a 09 09 43 6f 72 |ent )...|{....Cor|
|00001000| 65 20 3d 20 4e 6f 64 65 | 3b 0d 0a 09 09 64 6f 0d |e = Node|;....do.|
|00001010| 0a 09 09 7b 0d 0a 09 09 | 09 43 6f 72 65 2e 50 6f |...{....|.Core.Po|
|00001020| 77 65 72 43 6f 72 65 52 | 65 73 65 74 28 29 3b 0d |werCoreR|eset();.|
|00001030| 0a 09 09 09 43 6f 72 65 | 20 3d 20 43 6f 72 65 2e |....Core| = Core.|
|00001040| 4e 65 78 74 43 6f 72 65 | 3b 0d 0a 09 09 7d 20 75 |NextCore|;....} u|
|00001050| 6e 74 69 6c 20 28 20 43 | 6f 72 65 20 3d 3d 20 4e |ntil ( C|ore == N|
|00001060| 6f 6e 65 20 7c 7c 20 43 | 6f 72 65 20 3d 3d 20 4e |one || C|ore == N|
|00001070| 6f 64 65 20 29 3b 0d 0a | 09 7d 0d 0a 2a 2f 0d 0a |ode );..|.}..*/..|
|00001080| 7d 0d 0a 0d 0a 73 69 6d | 75 6c 61 74 65 64 20 66 |}....sim|ulated f|
|00001090| 75 6e 63 74 69 6f 6e 20 | 62 6f 6f 6c 20 48 61 73 |unction |bool Has|
|000010a0| 4c 69 6e 6b 28 20 4f 4e | 53 50 6f 77 65 72 43 6f |Link( ON|SPowerCo|
|000010b0| 72 65 20 41 2c 20 4f 4e | 53 50 6f 77 65 72 43 6f |re A, ON|SPowerCo|
|000010c0| 72 65 20 42 20 29 0d 0a | 7b 0d 0a 09 6c 6f 63 61 |re B )..|{...loca|
|000010d0| 6c 20 69 6e 74 20 69 3b | 0d 0a 0d 0a 09 66 6f 72 |l int i;|.....for|
|000010e0| 20 28 20 69 20 3d 20 50 | 6f 77 65 72 4c 69 6e 6b | ( i = P|owerLink|
|000010f0| 73 2e 4c 65 6e 67 74 68 | 20 2d 20 31 3b 20 69 20 |s.Length| - 1; i |
|00001100| 3e 3d 20 30 3b 20 69 2d | 2d 20 29 0d 0a 09 7b 0d |>= 0; i-|- )...{.|
|00001110| 0a 09 09 69 66 20 28 20 | 50 6f 77 65 72 4c 69 6e |...if ( |PowerLin|
|00001120| 6b 73 5b 69 5d 20 3d 3d | 20 4e 6f 6e 65 20 29 0d |ks[i] ==| None ).|
|00001130| 0a 09 09 7b 0d 0a 09 09 | 09 50 6f 77 65 72 4c 69 |...{....|.PowerLi|
|00001140| 6e 6b 73 2e 52 65 6d 6f | 76 65 28 69 2c 31 29 3b |nks.Remo|ve(i,1);|
|00001150| 0d 0a 09 09 09 63 6f 6e | 74 69 6e 75 65 3b 0d 0a |.....con|tinue;..|
|00001160| 09 09 7d 0d 0a 0d 0a 09 | 09 69 66 20 28 20 50 6f |..}.....|.if ( Po|
|00001170| 77 65 72 4c 69 6e 6b 73 | 5b 69 5d 2e 48 61 73 4e |werLinks|[i].HasN|
|00001180| 6f 64 65 73 28 41 2c 42 | 29 20 29 0d 0a 09 09 09 |odes(A,B|) ).....|
|00001190| 72 65 74 75 72 6e 20 54 | 72 75 65 3b 0d 0a 09 7d |return T|rue;...}|
|000011a0| 0d 0a 0d 0a 09 72 65 74 | 75 72 6e 20 46 61 6c 73 |.....ret|urn Fals|
|000011b0| 65 3b 0d 0a 7d 0d 0a 0d | 0a 73 69 6d 75 6c 61 74 |e;..}...|.simulat|
|000011c0| 65 64 20 66 75 6e 63 74 | 69 6f 6e 20 43 6c 65 61 |ed funct|ion Clea|
|000011d0| 72 4c 69 6e 6b 73 28 29 | 0d 0a 7b 0d 0a 09 6c 6f |rLinks()|..{...lo|
|000011e0| 63 61 6c 20 69 6e 74 20 | 69 3b 0d 0a 09 62 52 65 |cal int |i;...bRe|
|000011f0| 63 65 69 76 65 64 4c 69 | 6e 6b 73 20 3d 20 46 61 |ceivedLi|nks = Fa|
|00001200| 6c 73 65 3b 0d 0a 0d 0a | 2f 2f 09 6c 6f 67 28 4e |lse;....|//.log(N|
|00001210| 61 6d 65 40 22 43 6c 65 | 61 72 4c 69 6e 6b 73 22 |ame@"Cle|arLinks"|
|00001220| 40 50 6f 77 65 72 4c 69 | 6e 6b 73 2e 4c 65 6e 67 |@PowerLi|nks.Leng|
|00001230| 74 68 29 3b 0d 0a 09 66 | 6f 72 20 28 20 69 20 3d |th);...f|or ( i =|
|00001240| 20 30 3b 20 69 20 3c 20 | 50 6f 77 65 72 4c 69 6e | 0; i < |PowerLin|
|00001250| 6b 73 2e 4c 65 6e 67 74 | 68 3b 20 69 2b 2b 20 29 |ks.Lengt|h; i++ )|
|00001260| 0d 0a 09 09 69 66 20 28 | 20 50 6f 77 65 72 4c 69 |....if (| PowerLi|
|00001270| 6e 6b 73 5b 69 5d 20 21 | 3d 20 4e 6f 6e 65 20 29 |nks[i] !|= None )|
|00001280| 0d 0a 09 09 09 50 6f 77 | 65 72 4c 69 6e 6b 73 5b |.....Pow|erLinks[|
|00001290| 69 5d 2e 44 65 73 74 72 | 6f 79 28 29 3b 0d 0a 0d |i].Destr|oy();...|
|000012a0| 0a 09 50 6f 77 65 72 4c | 69 6e 6b 73 2e 52 65 6d |..PowerL|inks.Rem|
|000012b0| 6f 76 65 28 30 2c 20 50 | 6f 77 65 72 4c 69 6e 6b |ove(0, P|owerLink|
|000012c0| 73 2e 4c 65 6e 67 74 68 | 29 3b 0d 0a 7d 0d 0a 0d |s.Length|);..}...|
|000012d0| 0a 2f 2f 20 46 69 6e 64 | 73 20 61 20 50 6f 77 65 |.// Find|s a Powe|
|000012e0| 72 43 6f 72 65 20 77 69 | 74 68 69 6e 20 32 35 30 |rCore wi|thin 250|
|000012f0| 30 20 75 6e 69 74 73 20 | 6f 66 20 50 6f 73 58 2f |0 units |of PosX/|
|00001300| 50 6f 73 59 20 6f 6e 20 | 74 68 65 20 52 61 64 61 |PosY on |the Rada|
|00001310| 72 4d 61 70 20 28 61 73 | 73 75 6d 65 73 20 61 20 |rMap (as|sumes a |
|00001320| 6d 61 70 20 63 65 6e 74 | 65 72 65 64 20 61 74 20 |map cent|ered at |
|00001330| 30 2c 30 2c 30 29 0d 0a | 73 69 6d 75 6c 61 74 65 |0,0,0)..|simulate|
|00001340| 64 20 66 75 6e 63 74 69 | 6f 6e 20 4f 4e 53 50 6f |d functi|on ONSPo|
|00001350| 77 65 72 43 6f 72 65 20 | 4c 6f 63 61 74 65 50 6f |werCore |LocatePo|
|00001360| 77 65 72 43 6f 72 65 28 | 66 6c 6f 61 74 20 50 6f |werCore(|float Po|
|00001370| 73 58 2c 20 66 6c 6f 61 | 74 20 50 6f 73 59 2c 20 |sX, floa|t PosY, |
|00001380| 66 6c 6f 61 74 20 52 61 | 64 61 72 57 69 64 74 68 |float Ra|darWidth|
|00001390| 29 0d 0a 7b 0d 0a 20 20 | 20 20 6c 6f 63 61 6c 20 |)..{.. | local |
|000013a0| 66 6c 6f 61 74 20 57 6f | 72 6c 64 54 6f 4d 61 70 |float Wo|rldToMap|
|000013b0| 53 63 61 6c 65 46 61 63 | 74 6f 72 2c 20 44 69 73 |ScaleFac|tor, Dis|
|000013c0| 74 61 6e 63 65 2c 20 4c | 6f 77 65 73 74 44 69 73 |tance, L|owestDis|
|000013d0| 74 61 6e 63 65 3b 0d 0a | 20 20 20 20 6c 6f 63 61 |tance;..| loca|
|000013e0| 6c 20 76 65 63 74 6f 72 | 20 57 6f 72 6c 64 4c 6f |l vector| WorldLo|
|000013f0| 63 61 74 69 6f 6e 2c 20 | 44 69 73 74 61 6e 63 65 |cation, |Distance|
|00001400| 56 65 63 74 6f 72 3b 0d | 0a 20 20 20 20 6c 6f 63 |Vector;.|. loc|
|00001410| 61 6c 20 4f 4e 53 50 6f | 77 65 72 43 6f 72 65 20 |al ONSPo|werCore |
|00001420| 42 65 73 74 43 6f 72 65 | 2c 20 43 6f 72 65 3b 0d |BestCore|, Core;.|
|00001430| 0a 0d 0a 09 69 66 20 28 | 4e 6f 64 65 20 3d 3d 20 |....if (|Node == |
|00001440| 4e 6f 6e 65 29 0d 0a 09 | 09 72 65 74 75 72 6e 20 |None)...|.return |
|00001450| 4e 6f 6e 65 3b 0d 0a 0d | 0a 20 20 20 20 57 6f 72 |None;...|. Wor|
|00001460| 6c 64 54 6f 4d 61 70 53 | 63 61 6c 65 46 61 63 74 |ldToMapS|caleFact|
|00001470| 6f 72 20 3d 20 52 61 64 | 61 72 52 61 6e 67 65 2f |or = Rad|arRange/|
|00001480| 52 61 64 61 72 57 69 64 | 74 68 3b 0d 0a 0d 0a 20 |RadarWid|th;.... |
|00001490| 20 20 20 57 6f 72 6c 64 | 4c 6f 63 61 74 69 6f 6e | World|Location|
|000014a0| 2e 58 20 3d 20 50 6f 73 | 58 20 2a 20 57 6f 72 6c |.X = Pos|X * Worl|
|000014b0| 64 54 6f 4d 61 70 53 63 | 61 6c 65 46 61 63 74 6f |dToMapSc|aleFacto|
|000014c0| 72 3b 0d 0a 20 20 20 20 | 57 6f 72 6c 64 4c 6f 63 |r;.. |WorldLoc|
|000014d0| 61 74 69 6f 6e 2e 59 20 | 3d 20 50 6f 73 59 20 2a |ation.Y |= PosY *|
|000014e0| 20 57 6f 72 6c 64 54 6f | 4d 61 70 53 63 61 6c 65 | WorldTo|MapScale|
|000014f0| 46 61 63 74 6f 72 3b 0d | 0a 0d 0a 20 20 20 20 4c |Factor;.|... L|
|00001500| 6f 77 65 73 74 44 69 73 | 74 61 6e 63 65 20 3d 20 |owestDis|tance = |
|00001510| 32 35 30 30 2e 30 3b 0d | 0a 0d 0a 09 43 6f 72 65 |2500.0;.|....Core|
|00001520| 20 3d 20 4e 6f 64 65 3b | 0d 0a 09 64 6f 0d 0a 09 | = Node;|...do...|
|00001530| 7b 0d 0a 20 20 20 20 20 | 20 20 20 44 69 73 74 61 |{.. | Dista|
|00001540| 6e 63 65 56 65 63 74 6f | 72 20 3d 20 43 6f 72 65 |nceVecto|r = Core|
|00001550| 2e 4c 6f 63 61 74 69 6f | 6e 20 2d 20 57 6f 72 6c |.Locatio|n - Worl|
|00001560| 64 4c 6f 63 61 74 69 6f | 6e 3b 0d 0a 20 20 20 20 |dLocatio|n;.. |
|00001570| 20 20 20 20 44 69 73 74 | 61 6e 63 65 56 65 63 74 | Dist|anceVect|
|00001580| 6f 72 2e 5a 20 3d 20 30 | 3b 0d 0a 09 09 44 69 73 |or.Z = 0|;....Dis|
|00001590| 74 61 6e 63 65 20 3d 20 | 56 53 69 7a 65 28 44 69 |tance = |VSize(Di|
|000015a0| 73 74 61 6e 63 65 56 65 | 63 74 6f 72 29 3b 0d 0a |stanceVe|ctor);..|
|000015b0| 20 20 20 20 20 20 20 20 | 69 66 20 28 44 69 73 74 | |if (Dist|
|000015c0| 61 6e 63 65 20 3c 20 4c | 6f 77 65 73 74 44 69 73 |ance < L|owestDis|
|000015d0| 74 61 6e 63 65 29 0d 0a | 20 20 20 20 20 20 20 20 |tance)..| |
|000015e0| 7b 0d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 42 |{.. | B|
|000015f0| 65 73 74 43 6f 72 65 20 | 3d 20 43 6f 72 65 3b 0d |estCore |= Core;.|
|00001600| 0a 20 20 20 20 20 20 20 | 20 20 20 20 20 4c 6f 77 |. | Low|
|00001610| 65 73 74 44 69 73 74 61 | 6e 63 65 20 3d 20 44 69 |estDista|nce = Di|
|00001620| 73 74 61 6e 63 65 3b 0d | 0a 20 20 20 20 20 20 20 |stance;.|. |
|00001630| 20 7d 0d 0a 0d 0a 09 09 | 43 6f 72 65 20 3d 20 43 | }......|Core = C|
|00001640| 6f 72 65 2e 4e 65 78 74 | 43 6f 72 65 3b 0d 0a 20 |ore.Next|Core;.. |
|00001650| 20 20 20 7d 20 75 6e 74 | 69 6c 20 28 20 43 6f 72 | } unt|il ( Cor|
|00001660| 65 20 3d 3d 20 4e 6f 6e | 65 20 7c 7c 20 43 6f 72 |e == Non|e || Cor|
|00001670| 65 20 3d 3d 20 4e 6f 64 | 65 20 29 3b 0d 0a 0d 0a |e == Nod|e );....|
|00001680| 20 20 20 20 72 65 74 75 | 72 6e 20 42 65 73 74 43 | retu|rn BestC|
|00001690| 6f 72 65 3b 0d 0a 7d 0d | 0a 0d 0a 73 69 6d 75 6c |ore;..}.|...simul|
|000016a0| 61 74 65 64 20 66 75 6e | 63 74 69 6f 6e 20 44 72 |ated fun|ction Dr|
|000016b0| 61 77 52 61 64 61 72 4d | 61 70 28 43 61 6e 76 61 |awRadarM|ap(Canva|
|000016c0| 73 20 43 2c 20 66 6c 6f | 61 74 20 43 65 6e 74 65 |s C, flo|at Cente|
|000016d0| 72 50 6f 73 58 2c 20 66 | 6c 6f 61 74 20 43 65 6e |rPosX, f|loat Cen|
|000016e0| 74 65 72 50 6f 73 59 2c | 20 66 6c 6f 61 74 20 52 |terPosY,| float R|
|000016f0| 61 64 61 72 57 69 64 74 | 68 2c 20 62 6f 6f 6c 20 |adarWidt|h, bool |
|00001700| 62 53 68 6f 77 44 69 73 | 61 62 6c 65 64 4e 6f 64 |bShowDis|abledNod|
|00001710| 65 73 29 0d 0a 7b 0d 0a | 09 6c 6f 63 61 6c 20 66 |es)..{..|.local f|
|00001720| 6c 6f 61 74 20 50 61 77 | 6e 49 63 6f 6e 53 69 7a |loat Paw|nIconSiz|
|00001730| 65 2c 20 50 6c 61 79 65 | 72 49 63 6f 6e 53 69 7a |e, Playe|rIconSiz|
|00001740| 65 2c 20 43 6f 72 65 49 | 63 6f 6e 53 69 7a 65 2c |e, CoreI|conSize,|
|00001750| 20 4d 61 70 53 63 61 6c | 65 2c 20 4d 61 70 52 61 | MapScal|e, MapRa|
|00001760| 64 61 72 57 69 64 74 68 | 3b 0d 0a 09 6c 6f 63 61 |darWidth|;...loca|
|00001770| 6c 20 76 65 63 74 6f 72 | 20 48 55 44 4c 6f 63 61 |l vector| HUDLoca|
|00001780| 74 69 6f 6e 3b 0d 0a 09 | 6c 6f 63 61 6c 20 46 69 |tion;...|local Fi|
|00001790| 6e 61 6c 42 6c 65 6e 64 | 20 50 6c 61 79 65 72 49 |nalBlend| PlayerI|
|000017a0| 63 6f 6e 3b 0d 0a 09 6c | 6f 63 61 6c 20 41 63 74 |con;...l|ocal Act|
|000017b0| 6f 72 20 41 3b 0d 0a 09 | 6c 6f 63 61 6c 20 4f 4e |or A;...|local ON|
|000017c0| 53 50 6f 77 65 72 43 6f | 72 65 20 43 75 72 43 6f |SPowerCo|re CurCo|
|000017d0| 72 65 3b 0d 0a 09 6c 6f | 63 61 6c 20 69 6e 74 20 |re;...lo|cal int |
|000017e0| 69 3b 0d 0a 09 6c 6f 63 | 61 6c 20 70 6c 61 6e 65 |i;...loc|al plane|
|000017f0| 20 53 61 76 65 64 4d 6f | 64 75 6c 61 74 69 6f 6e | SavedMo|dulation|
|00001800| 3b 0d 0a 0d 0a 09 53 61 | 76 65 64 4d 6f 64 75 6c |;.....Sa|vedModul|
|00001810| 61 74 69 6f 6e 20 3d 20 | 43 2e 43 6f 6c 6f 72 4d |ation = |C.ColorM|
|00001820| 6f 64 75 6c 61 74 65 3b | 0d 0a 0d 0a 09 43 2e 43 |odulate;|.....C.C|
|00001830| 6f 6c 6f 72 4d 6f 64 75 | 6c 61 74 65 2e 58 20 3d |olorModu|late.X =|
|00001840| 20 31 3b 0d 0a 09 43 2e | 43 6f 6c 6f 72 4d 6f 64 | 1;...C.|ColorMod|
|00001850| 75 6c 61 74 65 2e 59 20 | 3d 20 31 3b 0d 0a 09 43 |ulate.Y |= 1;...C|
|00001860| 2e 43 6f 6c 6f 72 4d 6f | 64 75 6c 61 74 65 2e 5a |.ColorMo|dulate.Z|
|00001870| 20 3d 20 31 3b 0d 0a 09 | 43 2e 43 6f 6c 6f 72 4d | = 1;...|C.ColorM|
|00001880| 6f 64 75 6c 61 74 65 2e | 57 20 3d 20 31 3b 0d 0a |odulate.|W = 1;..|
|00001890| 0d 0a 09 2f 2f 20 4d 61 | 6b 65 20 73 75 72 65 20 |...// Ma|ke sure |
|000018a0| 74 68 61 74 20 74 68 65 | 20 63 61 6e 76 61 73 20 |that the| canvas |
|000018b0| 73 74 79 6c 65 20 69 73 | 20 61 6c 70 68 61 0d 0a |style is| alpha..|
|000018c0| 09 43 2e 53 74 79 6c 65 | 20 3d 20 45 52 65 6e 64 |.C.Style| = ERend|
|000018d0| 65 72 53 74 79 6c 65 2e | 53 54 59 5f 41 6c 70 68 |erStyle.|STY_Alph|
|000018e0| 61 3b 0d 0a 0d 0a 09 4d | 61 70 52 61 64 61 72 57 |a;.....M|apRadarW|
|000018f0| 69 64 74 68 20 3d 20 52 | 61 64 61 72 57 69 64 74 |idth = R|adarWidt|
|00001900| 68 3b 0d 0a 20 20 20 20 | 69 66 20 28 50 61 77 6e |h;.. |if (Pawn|
|00001910| 4f 77 6e 65 72 20 21 3d | 20 4e 6f 6e 65 29 0d 0a |Owner !=| None)..|
|00001920| 20 20 20 20 7b 0d 0a 2f | 2f 20 20 20 20 09 4d 61 | {../|/ .Ma|
|00001930| 70 43 65 6e 74 65 72 2e | 58 20 3d 20 46 43 6c 61 |pCenter.|X = FCla|
|00001940| 6d 70 28 50 61 77 6e 4f | 77 6e 65 72 2e 4c 6f 63 |mp(PawnO|wner.Loc|
|00001950| 61 74 69 6f 6e 2e 58 2c | 20 2d 52 61 64 61 72 4d |ation.X,| -RadarM|
|00001960| 61 78 52 61 6e 67 65 20 | 2b 20 52 61 64 61 72 52 |axRange |+ RadarR|
|00001970| 61 6e 67 65 2c 20 52 61 | 64 61 72 4d 61 78 52 61 |ange, Ra|darMaxRa|
|00001980| 6e 67 65 20 2d 20 52 61 | 64 61 72 52 61 6e 67 65 |nge - Ra|darRange|
|00001990| 29 3b 0d 0a 2f 2f 20 20 | 20 20 09 4d 61 70 43 65 |);..// | .MapCe|
|000019a0| 6e 74 65 72 2e 59 20 3d | 20 46 43 6c 61 6d 70 28 |nter.Y =| FClamp(|
|000019b0| 50 61 77 6e 4f 77 6e 65 | 72 2e 4c 6f 63 61 74 69 |PawnOwne|r.Locati|
|000019c0| 6f 6e 2e 59 2c 20 2d 52 | 61 64 61 72 4d 61 78 52 |on.Y, -R|adarMaxR|
|000019d0| 61 6e 67 65 20 2b 20 52 | 61 64 61 72 52 61 6e 67 |ange + R|adarRang|
|000019e0| 65 2c 20 52 61 64 61 72 | 4d 61 78 52 61 6e 67 65 |e, Radar|MaxRange|
|000019f0| 20 2d 20 52 61 64 61 72 | 52 61 6e 67 65 29 3b 0d | - Radar|Range);.|
|00001a00| 0a 20 20 20 20 20 20 20 | 20 4d 61 70 43 65 6e 74 |. | MapCent|
|00001a10| 65 72 2e 58 20 3d 20 30 | 2e 30 3b 0d 0a 20 20 20 |er.X = 0|.0;.. |
|00001a20| 20 20 20 20 20 4d 61 70 | 43 65 6e 74 65 72 2e 59 | Map|Center.Y|
|00001a30| 20 3d 20 30 2e 30 3b 0d | 0a 20 20 20 20 7d 0d 0a | = 0.0;.|. }..|
|00001a40| 20 20 20 20 65 6c 73 65 | 0d 0a 20 20 20 20 20 20 | else|.. |
|00001a50| 20 20 4d 61 70 43 65 6e | 74 65 72 20 3d 20 76 65 | MapCen|ter = ve|
|00001a60| 63 74 28 30 2c 30 2c 30 | 29 3b 0d 0a 0d 0a 09 48 |ct(0,0,0|);.....H|
|00001a70| 55 44 4c 6f 63 61 74 69 | 6f 6e 2e 58 20 3d 20 52 |UDLocati|on.X = R|
|00001a80| 61 64 61 72 57 69 64 74 | 68 3b 0d 0a 09 48 55 44 |adarWidt|h;...HUD|
|00001a90| 4c 6f 63 61 74 69 6f 6e | 2e 59 20 3d 20 52 61 64 |Location|.Y = Rad|
|00001aa0| 61 72 52 61 6e 67 65 3b | 0d 0a 09 48 55 44 4c 6f |arRange;|...HUDLo|
|00001ab0| 63 61 74 69 6f 6e 2e 5a | 20 3d 20 52 61 64 61 72 |cation.Z| = Radar|
|00001ac0| 54 72 61 6e 73 3b 0d 0a | 0d 0a 09 44 72 61 77 4d |Trans;..|...DrawM|
|00001ad0| 61 70 49 6d 61 67 65 28 | 20 43 2c 20 4c 65 76 65 |apImage(| C, Leve|
|00001ae0| 6c 2e 52 61 64 61 72 4d | 61 70 49 6d 61 67 65 2c |l.RadarM|apImage,|
|00001af0| 20 43 65 6e 74 65 72 50 | 6f 73 58 2c 20 43 65 6e | CenterP|osX, Cen|
|00001b00| 74 65 72 50 6f 73 59 2c | 20 4d 61 70 43 65 6e 74 |terPosY,| MapCent|
|00001b10| 65 72 2e 58 2c 20 4d 61 | 70 43 65 6e 74 65 72 2e |er.X, Ma|pCenter.|
|00001b20| 59 2c 20 48 55 44 4c 6f | 63 61 74 69 6f 6e 20 29 |Y, HUDLo|cation )|
|00001b30| 3b 0d 0a 0d 0a 09 69 66 | 20 28 4e 6f 64 65 20 3d |;.....if| (Node =|
|00001b40| 3d 20 4e 6f 6e 65 29 0d | 0a 09 09 72 65 74 75 72 |= None).|...retur|
|00001b50| 6e 3b 0d 0a 0d 0a 09 43 | 75 72 43 6f 72 65 20 3d |n;.....C|urCore =|
|00001b60| 20 4e 6f 64 65 3b 0d 0a | 09 64 6f 0d 0a 09 7b 0d | Node;..|.do...{.|
|00001b70| 0a 09 09 69 66 20 28 20 | 43 75 72 43 6f 72 65 2e |...if ( |CurCore.|
|00001b80| 48 61 73 48 65 61 6c 74 | 68 42 61 72 28 29 20 29 |HasHealt|hBar() )|
|00001b90| 0d 0a 09 09 09 44 72 61 | 77 48 65 61 6c 74 68 42 |.....Dra|wHealthB|
|00001ba0| 61 72 28 43 2c 20 43 75 | 72 43 6f 72 65 2c 20 43 |ar(C, Cu|rCore, C|
|00001bb0| 75 72 43 6f 72 65 2e 48 | 65 61 6c 74 68 2c 20 43 |urCore.H|ealth, C|
|00001bc0| 75 72 43 6f 72 65 2e 44 | 61 6d 61 67 65 43 61 70 |urCore.D|amageCap|
|00001bd0| 61 63 69 74 79 2c 20 48 | 65 61 6c 74 68 42 61 72 |acity, H|ealthBar|
|00001be0| 50 6f 73 69 74 69 6f 6e | 29 3b 0d 0a 0d 0a 09 09 |Position|);......|
|00001bf0| 43 75 72 43 6f 72 65 20 | 3d 20 43 75 72 43 6f 72 |CurCore |= CurCor|
|00001c00| 65 2e 4e 65 78 74 43 6f | 72 65 3b 0d 0a 09 7d 20 |e.NextCo|re;...} |
|00001c10| 75 6e 74 69 6c 20 28 20 | 43 75 72 43 6f 72 65 20 |until ( |CurCore |
|00001c20| 3d 3d 20 4e 6f 6e 65 20 | 7c 7c 20 43 75 72 43 6f |== None ||| CurCo|
|00001c30| 72 65 20 3d 3d 20 4e 6f | 64 65 20 29 3b 0d 0a 0d |re == No|de );...|
|00001c40| 0a 09 43 6f 72 65 49 63 | 6f 6e 53 69 7a 65 20 3d |..CoreIc|onSize =|
|00001c50| 20 49 63 6f 6e 53 63 61 | 6c 65 20 2a 20 31 36 20 | IconSca|le * 16 |
|00001c60| 2a 20 43 2e 43 6c 69 70 | 58 20 2a 20 48 55 44 53 |* C.Clip|X * HUDS|
|00001c70| 63 61 6c 65 2f 31 36 30 | 30 3b 0d 0a 09 50 61 77 |cale/160|0;...Paw|
|00001c80| 6e 49 63 6f 6e 53 69 7a | 65 20 3d 20 43 6f 72 65 |nIconSiz|e = Core|
|00001c90| 49 63 6f 6e 53 69 7a 65 | 20 2a 20 30 2e 35 3b 0d |IconSize| * 0.5;.|
|00001ca0| 0a 09 50 6c 61 79 65 72 | 49 63 6f 6e 53 69 7a 65 |..Player|IconSize|
|00001cb0| 20 3d 20 43 6f 72 65 49 | 63 6f 6e 53 69 7a 65 20 | = CoreI|conSize |
|00001cc0| 2a 20 31 2e 35 3b 0d 0a | 20 20 20 20 4d 61 70 53 |* 1.5;..| MapS|
|00001cd0| 63 61 6c 65 20 3d 20 4d | 61 70 52 61 64 61 72 57 |cale = M|apRadarW|
|00001ce0| 69 64 74 68 2f 52 61 64 | 61 72 52 61 6e 67 65 3b |idth/Rad|arRange;|
|00001cf0| 0d 0a 20 20 20 20 43 2e | 46 6f 6e 74 20 3d 20 47 |.. C.|Font = G|
|00001d00| 65 74 43 6f 6e 73 6f 6c | 65 46 6f 6e 74 28 43 29 |etConsol|eFont(C)|
|00001d10| 3b 0d 0a 0d 0a 09 4e 6f | 64 65 2e 55 70 64 61 74 |;.....No|de.Updat|
|00001d20| 65 48 55 44 4c 6f 63 61 | 74 69 6f 6e 28 20 43 65 |eHUDLoca|tion( Ce|
|00001d30| 6e 74 65 72 50 6f 73 58 | 2c 20 43 65 6e 74 65 72 |nterPosX|, Center|
|00001d40| 50 6f 73 59 2c 20 52 61 | 64 61 72 57 69 64 74 68 |PosY, Ra|darWidth|
|00001d50| 2c 20 52 61 64 61 72 52 | 61 6e 67 65 2c 20 4d 61 |, RadarR|ange, Ma|
|00001d60| 70 43 65 6e 74 65 72 20 | 29 3b 0d 0a 09 66 6f 72 |pCenter |);...for|
|00001d70| 20 28 20 69 20 3d 20 30 | 3b 20 69 20 3c 20 50 6f | ( i = 0|; i < Po|
|00001d80| 77 65 72 4c 69 6e 6b 73 | 2e 4c 65 6e 67 74 68 3b |werLinks|.Length;|
|00001d90| 20 69 2b 2b 20 29 0d 0a | 09 09 50 6f 77 65 72 4c | i++ )..|..PowerL|
|00001da0| 69 6e 6b 73 5b 69 5d 2e | 52 65 6e 64 65 72 28 43 |inks[i].|Render(C|
|00001db0| 2c 20 43 6f 6c 6f 72 50 | 65 72 63 65 6e 74 2c 20 |, ColorP|ercent, |
|00001dc0| 62 53 68 6f 77 44 69 73 | 61 62 6c 65 64 4e 6f 64 |bShowDis|abledNod|
|00001dd0| 65 73 29 3b 0d 0a 0d 0a | 09 43 75 72 43 6f 72 65 |es);....|.CurCore|
|00001de0| 20 3d 20 4e 6f 64 65 3b | 0d 0a 09 64 6f 0d 0a 09 | = Node;|...do...|
|00001df0| 7b 0d 0a 09 09 69 66 20 | 28 21 62 53 68 6f 77 44 |{....if |(!bShowD|
|00001e00| 69 73 61 62 6c 65 64 4e | 6f 64 65 73 20 26 26 20 |isabledN|odes && |
|00001e10| 28 43 75 72 43 6f 72 65 | 2e 43 6f 72 65 53 74 61 |(CurCore|.CoreSta|
|00001e20| 67 65 20 3d 3d 20 32 35 | 35 20 7c 7c 20 43 75 72 |ge == 25|5 || Cur|
|00001e30| 43 6f 72 65 2e 50 6f 77 | 65 72 4c 69 6e 6b 73 2e |Core.Pow|erLinks.|
|00001e40| 4c 65 6e 67 74 68 20 3d | 3d 20 30 29 29 09 2f 2f |Length =|= 0)).//|
|00001e50| 68 69 64 65 20 75 6e 75 | 73 65 64 20 70 6f 77 65 |hide unu|sed powe|
|00001e60| 72 6e 6f 64 65 73 0d 0a | 09 09 7b 0d 0a 09 09 09 |rnodes..|..{.....|
|00001e70| 43 75 72 43 6f 72 65 20 | 3d 20 43 75 72 43 6f 72 |CurCore |= CurCor|
|00001e80| 65 2e 4e 65 78 74 43 6f | 72 65 3b 0d 0a 09 09 09 |e.NextCo|re;.....|
|00001e90| 63 6f 6e 74 69 6e 75 65 | 3b 0d 0a 09 09 7d 0d 0a |continue|;....}..|
|00001ea0| 0d 0a 09 09 43 2e 44 72 | 61 77 43 6f 6c 6f 72 20 |....C.Dr|awColor |
|00001eb0| 3d 20 4c 69 6e 6b 43 6f | 6c 6f 72 5b 43 75 72 43 |= LinkCo|lor[CurC|
|00001ec0| 6f 72 65 2e 44 65 66 65 | 6e 64 65 72 54 65 61 6d |ore.Defe|nderTeam|
|00001ed0| 49 6e 64 65 78 5d 3b 0d | 0a 0d 0a 09 09 2f 2f 20 |Index];.|.....// |
|00001ee0| 44 72 61 77 20 61 70 70 | 72 6f 70 72 69 61 74 65 |Draw app|ropriate|
|00001ef0| 20 69 63 6f 6e 20 74 6f | 20 72 65 70 72 65 73 65 | icon to| represe|
|00001f00| 6e 74 20 74 68 65 20 63 | 75 72 72 65 6e 74 20 73 |nt the c|urrent s|
|00001f10| 74 61 74 65 20 6f 66 20 | 74 68 69 73 20 6e 6f 64 |tate of |this nod|
|00001f20| 65 0d 0a 09 20 20 20 20 | 69 66 20 28 43 75 72 43 |e... |if (CurC|
|00001f30| 6f 72 65 2e 62 55 6e 64 | 65 72 41 74 74 61 63 6b |ore.bUnd|erAttack|
|00001f40| 20 7c 7c 20 28 43 75 72 | 43 6f 72 65 2e 43 6f 72 | || (Cur|Core.Cor|
|00001f50| 65 53 74 61 67 65 20 3d | 3d 20 30 20 26 26 20 43 |eStage =|= 0 && C|
|00001f60| 75 72 43 6f 72 65 2e 62 | 53 65 76 65 72 65 64 29 |urCore.b|Severed)|
|00001f70| 29 0d 0a 09 20 20 20 20 | 09 44 72 61 77 41 74 74 |)... |.DrawAtt|
|00001f80| 61 63 6b 49 63 6f 6e 28 | 20 43 2c 20 43 75 72 43 |ackIcon(| C, CurC|
|00001f90| 6f 72 65 2c 20 43 75 72 | 43 6f 72 65 2e 48 55 44 |ore, Cur|Core.HUD|
|00001fa0| 4c 6f 63 61 74 69 6f 6e | 2c 20 49 63 6f 6e 53 63 |Location|, IconSc|
|00001fb0| 61 6c 65 2c 20 48 55 44 | 53 63 61 6c 65 2c 20 43 |ale, HUD|Scale, C|
|00001fc0| 6f 6c 6f 72 50 65 72 63 | 65 6e 74 20 29 3b 0d 0a |olorPerc|ent );..|
|00001fd0| 0d 0a 09 09 69 66 20 28 | 43 75 72 43 6f 72 65 2e |....if (|CurCore.|
|00001fe0| 62 46 69 6e 61 6c 43 6f | 72 65 29 0d 0a 09 09 09 |bFinalCo|re).....|
|00001ff0| 44 72 61 77 43 6f 72 65 | 49 63 6f 6e 28 20 43 2c |DrawCore|Icon( C,|
|00002000| 20 43 75 72 43 6f 72 65 | 2e 48 55 44 4c 6f 63 61 | CurCore|.HUDLoca|
|00002010| 74 69 6f 6e 2c 20 50 6f | 77 65 72 43 6f 72 65 41 |tion, Po|werCoreA|
|00002020| 74 74 61 63 6b 61 62 6c | 65 28 43 75 72 43 6f 72 |ttackabl|e(CurCor|
|00002030| 65 29 2c 20 49 63 6f 6e | 53 63 61 6c 65 2c 20 48 |e), Icon|Scale, H|
|00002040| 55 44 53 63 61 6c 65 2c | 20 43 6f 6c 6f 72 50 65 |UDScale,| ColorPe|
|00002050| 72 63 65 6e 74 20 29 3b | 0d 0a 09 09 65 6c 73 65 |rcent );|....else|
|00002060| 0d 0a 09 09 7b 0d 0a 09 | 09 09 44 72 61 77 4e 6f |....{...|..DrawNo|
|00002070| 64 65 49 63 6f 6e 28 20 | 43 2c 20 43 75 72 43 6f |deIcon( |C, CurCo|
|00002080| 72 65 2e 48 55 44 4c 6f | 63 61 74 69 6f 6e 2c 20 |re.HUDLo|cation, |
|00002090| 50 6f 77 65 72 43 6f 72 | 65 41 74 74 61 63 6b 61 |PowerCor|eAttacka|
|000020a0| 62 6c 65 28 43 75 72 43 | 6f 72 65 29 2c 20 43 75 |ble(CurC|ore), Cu|
|000020b0| 72 43 6f 72 65 2e 43 6f | 72 65 53 74 61 67 65 2c |rCore.Co|reStage,|
|000020c0| 20 49 63 6f 6e 53 63 61 | 6c 65 2c 20 48 55 44 53 | IconSca|le, HUDS|
|000020d0| 63 61 6c 65 2c 20 43 6f | 6c 6f 72 50 65 72 63 65 |cale, Co|lorPerce|
|000020e0| 6e 74 20 29 3b 0d 0a 09 | 09 09 44 72 61 77 4e 6f |nt );...|..DrawNo|
|000020f0| 64 65 4c 61 62 65 6c 28 | 43 2c 20 43 75 72 43 6f |deLabel(|C, CurCo|
|00002100| 72 65 2e 48 55 44 4c 6f | 63 61 74 69 6f 6e 2c 20 |re.HUDLo|cation, |
|00002110| 49 63 6f 6e 53 63 61 6c | 65 2c 20 48 55 44 53 63 |IconScal|e, HUDSc|
|00002120| 61 6c 65 2c 20 43 2e 44 | 72 61 77 43 6f 6c 6f 72 |ale, C.D|rawColor|
|00002130| 2c 20 43 75 72 43 6f 72 | 65 2e 4e 6f 64 65 4e 75 |, CurCor|e.NodeNu|
|00002140| 6d 29 3b 0d 0a 09 09 7d | 0d 0a 0d 0a 09 09 43 75 |m);....}|......Cu|
|00002150| 72 43 6f 72 65 20 3d 20 | 43 75 72 43 6f 72 65 2e |rCore = |CurCore.|
|00002160| 4e 65 78 74 43 6f 72 65 | 3b 0d 0a 0d 0a 09 7d 20 |NextCore|;.....} |
|00002170| 75 6e 74 69 6c 20 28 20 | 43 75 72 43 6f 72 65 20 |until ( |CurCore |
|00002180| 3d 3d 20 4e 6f 6e 65 20 | 7c 7c 20 43 75 72 43 6f |== None ||| CurCo|
|00002190| 72 65 20 3d 3d 20 4e 6f | 64 65 20 29 3b 0d 0a 0d |re == No|de );...|
|000021a0| 0a 20 20 20 20 2f 2f 20 | 44 72 61 77 20 50 6c 61 |. // |Draw Pla|
|000021b0| 79 65 72 49 63 6f 6e 0d | 0a 20 20 20 20 69 66 20 |yerIcon.|. if |
|000021c0| 28 50 61 77 6e 4f 77 6e | 65 72 20 21 3d 20 4e 6f |(PawnOwn|er != No|
|000021d0| 6e 65 29 0d 0a 20 20 20 | 20 09 41 20 3d 20 50 61 |ne).. | .A = Pa|
|000021e0| 77 6e 4f 77 6e 65 72 3b | 0d 0a 20 20 20 20 65 6c |wnOwner;|.. el|
|000021f0| 73 65 20 69 66 20 28 50 | 6c 61 79 65 72 4f 77 6e |se if (P|layerOwn|
|00002200| 65 72 2e 49 73 49 6e 53 | 74 61 74 65 28 27 53 70 |er.IsInS|tate('Sp|
|00002210| 65 63 74 61 74 69 6e 67 | 27 29 29 0d 0a 20 20 20 |ectating|')).. |
|00002220| 20 20 20 20 20 41 20 3d | 20 50 6c 61 79 65 72 4f | A =| PlayerO|
|00002230| 77 6e 65 72 3b 0d 0a 20 | 20 20 20 65 6c 73 65 20 |wner;.. | else |
|00002240| 69 66 20 28 50 6c 61 79 | 65 72 4f 77 6e 65 72 2e |if (Play|erOwner.|
|00002250| 50 61 77 6e 20 21 3d 20 | 4e 6f 6e 65 29 0d 0a 20 |Pawn != |None).. |
|00002260| 20 20 20 09 41 20 3d 20 | 50 6c 61 79 65 72 4f 77 | .A = |PlayerOw|
|00002270| 6e 65 72 2e 50 61 77 6e | 3b 0d 0a 0d 0a 20 20 20 |ner.Pawn|;.... |
|00002280| 20 69 66 20 28 41 20 21 | 3d 20 4e 6f 6e 65 29 0d | if (A !|= None).|
|00002290| 0a 20 20 20 20 7b 0d 0a | 20 20 20 20 09 50 6c 61 |. {..| .Pla|
|000022a0| 79 65 72 49 63 6f 6e 20 | 3d 20 46 69 6e 61 6c 42 |yerIcon |= FinalB|
|000022b0| 6c 65 6e 64 27 43 75 72 | 72 65 6e 74 50 6c 61 79 |lend'Cur|rentPlay|
|000022c0| 65 72 49 63 6f 6e 46 69 | 6e 61 6c 27 3b 0d 0a 20 |erIconFi|nal';.. |
|000022d0| 20 20 20 09 54 65 78 52 | 6f 74 61 74 6f 72 28 50 | .TexR|otator(P|
|000022e0| 6c 61 79 65 72 49 63 6f | 6e 2e 4d 61 74 65 72 69 |layerIco|n.Materi|
|000022f0| 61 6c 29 2e 52 6f 74 61 | 74 69 6f 6e 2e 59 61 77 |al).Rota|tion.Yaw|
|00002300| 20 3d 20 2d 41 2e 52 6f | 74 61 74 69 6f 6e 2e 59 | = -A.Ro|tation.Y|
|00002310| 61 77 20 2d 20 31 36 33 | 38 34 3b 0d 0a 20 20 20 |aw - 163|84;.. |
|00002320| 20 20 20 20 20 48 55 44 | 4c 6f 63 61 74 69 6f 6e | HUD|Location|
|00002330| 20 3d 20 41 2e 4c 6f 63 | 61 74 69 6f 6e 20 2d 20 | = A.Loc|ation - |
|00002340| 4d 61 70 43 65 6e 74 65 | 72 3b 0d 0a 20 20 20 20 |MapCente|r;.. |
|00002350| 20 20 20 20 48 55 44 4c | 6f 63 61 74 69 6f 6e 2e | HUDL|ocation.|
|00002360| 5a 20 3d 20 30 3b 0d 0a | 20 20 20 20 09 69 66 20 |Z = 0;..| .if |
|00002370| 28 48 55 44 4c 6f 63 61 | 74 69 6f 6e 2e 58 20 3c |(HUDLoca|tion.X <|
|00002380| 20 28 52 61 64 61 72 52 | 61 6e 67 65 20 2a 20 30 | (RadarR|ange * 0|
|00002390| 2e 39 35 29 20 26 26 20 | 48 55 44 4c 6f 63 61 74 |.95) && |HUDLocat|
|000023a0| 69 6f 6e 2e 59 20 3c 20 | 28 52 61 64 61 72 52 61 |ion.Y < |(RadarRa|
|000023b0| 6e 67 65 20 2a 20 30 2e | 39 35 29 29 0d 0a 20 20 |nge * 0.|95)).. |
|000023c0| 20 20 09 7b 0d 0a 20 20 | 20 20 20 20 20 20 09 43 | .{.. | .C|
|000023d0| 2e 53 65 74 50 6f 73 28 | 20 43 65 6e 74 65 72 50 |.SetPos(| CenterP|
|000023e0| 6f 73 58 20 2b 20 48 55 | 44 4c 6f 63 61 74 69 6f |osX + HU|DLocatio|
|000023f0| 6e 2e 58 20 2a 20 4d 61 | 70 53 63 61 6c 65 20 2d |n.X * Ma|pScale -|
|00002400| 20 50 6c 61 79 65 72 49 | 63 6f 6e 53 69 7a 65 20 | PlayerI|conSize |
|00002410| 2a 20 30 2e 35 2c 0d 0a | 20 20 20 20 20 20 20 20 |* 0.5,..| |
|00002420| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 | | |
|00002430| 20 20 43 65 6e 74 65 72 | 50 6f 73 59 20 2b 20 48 | Center|PosY + H|
|00002440| 55 44 4c 6f 63 61 74 69 | 6f 6e 2e 59 20 2a 20 4d |UDLocati|on.Y * M|
|00002450| 61 70 53 63 61 6c 65 20 | 2d 20 50 6c 61 79 65 72 |apScale |- Player|
|00002460| 49 63 6f 6e 53 69 7a 65 | 20 2a 20 30 2e 35 20 29 |IconSize| * 0.5 )|
|00002470| 3b 0d 0a 0d 0a 20 20 20 | 20 20 20 20 20 20 20 20 |;.... | |
|00002480| 20 43 2e 44 72 61 77 43 | 6f 6c 6f 72 20 3d 20 43 | C.DrawC|olor = C|
|00002490| 2e 4d 61 6b 65 43 6f 6c | 6f 72 28 34 30 2c 32 35 |.MakeCol|or(40,25|
|000024a0| 35 2c 34 30 29 3b 0d 0a | 20 20 20 20 20 20 20 20 |5,40);..| |
|000024b0| 20 20 20 20 43 2e 44 72 | 61 77 54 69 6c 65 28 50 | C.Dr|awTile(P|
|000024c0| 6c 61 79 65 72 49 63 6f | 6e 2c 20 50 6c 61 79 65 |layerIco|n, Playe|
|000024d0| 72 49 63 6f 6e 53 69 7a | 65 2c 20 50 6c 61 79 65 |rIconSiz|e, Playe|
|000024e0| 72 49 63 6f 6e 53 69 7a | 65 2c 20 30 2c 20 30 2c |rIconSiz|e, 0, 0,|
|000024f0| 20 36 34 2c 20 36 34 29 | 3b 0d 0a 20 20 20 20 20 | 64, 64)|;.. |
|00002500| 20 20 20 7d 0d 0a 20 20 | 20 20 7d 0d 0a 0d 0a 2f | }.. | }..../|
|00002510| 2f 20 20 20 20 2f 2f 20 | 56 45 52 59 20 53 4c 4f |/ // |VERY SLO|
|00002520| 57 20 44 45 42 55 47 47 | 49 4e 47 20 43 4f 44 45 |W DEBUGG|ING CODE|
|00002530| 20 66 6f 72 20 73 68 6f | 77 69 6e 67 20 61 6c 6c | for sho|wing all|
|00002540| 20 74 68 65 20 64 79 6e | 61 6d 69 63 20 61 63 74 | the dyn|amic act|
|00002550| 6f 72 73 20 74 68 61 74 | 20 65 78 69 73 74 20 69 |ors that| exist i|
|00002560| 6e 20 74 68 65 20 6c 65 | 76 65 6c 20 69 6e 20 72 |n the le|vel in r|
|00002570| 65 61 6c 2d 74 69 6d 65 | 0d 0a 2f 2f 20 20 20 20 |eal-time|..// |
|00002580| 46 6f 72 45 61 63 68 20 | 44 79 6e 61 6d 69 63 41 |ForEach |DynamicA|
|00002590| 63 74 6f 72 73 28 63 6c | 61 73 73 27 41 63 74 6f |ctors(cl|ass'Acto|
|000025a0| 72 27 2c 20 41 29 0d 0a | 2f 2f 20 20 20 20 7b 0d |r', A)..|// {.|
|000025b0| 0a 2f 2f 20 20 20 20 20 | 20 20 20 69 66 20 28 41 |.// | if (A|
|000025c0| 2e 49 73 41 28 27 50 72 | 6f 6a 65 63 74 69 6c 65 |.IsA('Pr|ojectile|
|000025d0| 27 29 29 20 2f 2f 28 41 | 2e 49 73 41 28 27 50 72 |')) //(A|.IsA('Pr|
|000025e0| 6f 6a 65 63 74 6f 72 27 | 29 20 7c 7c 20 41 2e 49 |ojector'|) || A.I|
|000025f0| 73 41 28 27 45 6d 69 74 | 74 65 72 27 29 20 7c 7c |sA('Emit|ter') |||
|00002600| 20 41 2e 49 73 41 28 27 | 78 45 6d 69 74 74 65 72 | A.IsA('|xEmitter|
|00002610| 27 29 29 0d 0a 2f 2f 20 | 20 20 20 20 20 20 20 7b |'))..// | {|
|00002620| 0d 0a 2f 2f 20 20 20 20 | 20 20 20 20 20 20 20 20 |..// | |
|00002630| 48 55 44 4c 6f 63 61 74 | 69 6f 6e 20 3d 20 41 2e |HUDLocat|ion = A.|
|00002640| 4c 6f 63 61 74 69 6f 6e | 20 2d 20 4d 61 70 43 65 |Location| - MapCe|
|00002650| 6e 74 65 72 3b 0d 0a 2f | 2f 20 20 20 20 20 20 20 |nter;../|/ |
|00002660| 20 20 20 20 20 48 55 44 | 4c 6f 63 61 74 69 6f 6e | HUD|Location|
|00002670| 2e 5a 20 3d 20 30 3b 0d | 0a 2f 2f 20 20 20 20 20 |.Z = 0;.|.// |
|00002680| 20 20 20 09 43 2e 53 65 | 74 50 6f 73 28 43 65 6e | .C.Se|tPos(Cen|
|00002690| 74 65 72 50 6f 73 58 20 | 2b 20 48 55 44 4c 6f 63 |terPosX |+ HUDLoc|
|000026a0| 61 74 69 6f 6e 2e 58 20 | 2a 20 4d 61 70 53 63 61 |ation.X |* MapSca|
|000026b0| 6c 65 20 2d 20 50 6c 61 | 79 65 72 49 63 6f 6e 53 |le - Pla|yerIconS|
|000026c0| 69 7a 65 20 2a 20 30 2e | 35 20 2a 20 30 2e 32 35 |ize * 0.|5 * 0.25|
|000026d0| 2c 20 43 65 6e 74 65 72 | 50 6f 73 59 20 2b 20 48 |, Center|PosY + H|
|000026e0| 55 44 4c 6f 63 61 74 69 | 6f 6e 2e 59 20 2a 20 4d |UDLocati|on.Y * M|
|000026f0| 61 70 53 63 61 6c 65 20 | 2d 20 50 6c 61 79 65 72 |apScale |- Player|
|00002700| 49 63 6f 6e 53 69 7a 65 | 20 2a 20 30 2e 35 20 2a |IconSize| * 0.5 *|
|00002710| 20 30 2e 32 35 29 3b 0d | 0a 2f 2f 20 20 20 20 20 | 0.25);.|.// |
|00002720| 20 20 20 20 20 20 20 43 | 2e 44 72 61 77 43 6f 6c | C|.DrawCol|
|00002730| 6f 72 20 3d 20 43 2e 4d | 61 6b 65 43 6f 6c 6f 72 |or = C.M|akeColor|
|00002740| 28 32 35 35 2c 32 35 35 | 2c 30 29 3b 0d 0a 2f 2f |(255,255|,0);..//|
|00002750| 20 20 20 20 20 20 20 20 | 20 20 20 20 43 2e 44 72 | | C.Dr|
|00002760| 61 77 54 69 6c 65 28 4d | 61 74 65 72 69 61 6c 27 |awTile(M|aterial'|
|00002770| 4e 65 77 48 55 44 49 63 | 6f 6e 73 27 2c 20 50 6c |NewHUDIc|ons', Pl|
|00002780| 61 79 65 72 49 63 6f 6e | 53 69 7a 65 20 2a 20 30 |ayerIcon|Size * 0|
|00002790| 2e 32 35 2c 20 50 6c 61 | 79 65 72 49 63 6f 6e 53 |.25, Pla|yerIconS|
|000027a0| 69 7a 65 20 2a 20 30 2e | 32 35 2c 20 30 2c 20 30 |ize * 0.|25, 0, 0|
|000027b0| 2c 20 33 32 2c 20 33 32 | 29 3b 0d 0a 2f 2f 20 20 |, 32, 32|);..// |
|000027c0| 20 20 20 20 20 20 7d 0d | 0a 2f 2f 20 20 20 20 20 | }.|.// |
|000027d0| 20 20 20 69 66 20 28 41 | 2e 49 73 41 28 27 50 61 | if (A|.IsA('Pa|
|000027e0| 77 6e 27 29 29 0d 0a 2f | 2f 20 20 20 20 20 20 20 |wn'))../|/ |
|000027f0| 20 7b 0d 0a 2f 2f 20 20 | 20 20 20 20 20 20 20 20 | {..// | |
|00002800| 20 20 69 66 20 28 50 61 | 77 6e 28 41 29 2e 50 6c | if (Pa|wn(A).Pl|
|00002810| 61 79 65 72 52 65 70 6c | 69 63 61 74 69 6f 6e 49 |ayerRepl|icationI|
|00002820| 6e 66 6f 20 21 3d 20 4e | 6f 6e 65 20 26 26 20 50 |nfo != N|one && P|
|00002830| 61 77 6e 28 41 29 2e 50 | 6c 61 79 65 72 52 65 70 |awn(A).P|layerRep|
|00002840| 6c 69 63 61 74 69 6f 6e | 49 6e 66 6f 2e 54 65 61 |lication|Info.Tea|
|00002850| 6d 20 21 3d 20 4e 6f 6e | 65 29 0d 0a 2f 2f 20 20 |m != Non|e)..// |
|00002860| 20 20 20 20 20 20 20 20 | 20 20 7b 0d 0a 2f 2f 20 | | {..// |
|00002870| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 69 | | i|
|00002880| 66 20 28 50 61 77 6e 28 | 41 29 2e 50 6c 61 79 65 |f (Pawn(|A).Playe|
|00002890| 72 52 65 70 6c 69 63 61 | 74 69 6f 6e 49 6e 66 6f |rReplica|tionInfo|
|000028a0| 2e 54 65 61 6d 2e 54 65 | 61 6d 49 6e 64 65 78 20 |.Team.Te|amIndex |
|000028b0| 3d 3d 20 30 29 0d 0a 2f | 2f 20 20 20 20 20 20 20 |== 0)../|/ |
|000028c0| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 43 2e 44 | | C.D|
|000028d0| 72 61 77 43 6f 6c 6f 72 | 20 3d 20 43 2e 4d 61 6b |rawColor| = C.Mak|
|000028e0| 65 43 6f 6c 6f 72 28 32 | 35 35 2c 30 2c 30 29 3b |eColor(2|55,0,0);|
|000028f0| 0d 0a 2f 2f 20 20 20 20 | 20 20 20 20 20 20 20 20 |..// | |
|00002900| 20 20 20 20 65 6c 73 65 | 20 69 66 20 28 50 61 77 | else| if (Paw|
|00002910| 6e 28 41 29 2e 50 6c 61 | 79 65 72 52 65 70 6c 69 |n(A).Pla|yerRepli|
|00002920| 63 61 74 69 6f 6e 49 6e | 66 6f 2e 54 65 61 6d 2e |cationIn|fo.Team.|
|00002930| 54 65 61 6d 49 6e 64 65 | 78 20 3d 3d 20 31 29 0d |TeamInde|x == 1).|
|00002940| 0a 2f 2f 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.// | |
|00002950| 20 20 20 20 20 20 20 43 | 2e 44 72 61 77 43 6f 6c | C|.DrawCol|
|00002960| 6f 72 20 3d 20 43 2e 4d | 61 6b 65 43 6f 6c 6f 72 |or = C.M|akeColor|
|00002970| 28 30 2c 30 2c 32 35 35 | 29 3b 0d 0a 2f 2f 20 20 |(0,0,255|);..// |
|00002980| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 65 6c | | el|
|00002990| 73 65 0d 0a 2f 2f 20 20 | 20 20 20 20 20 20 20 20 |se..// | |
|000029a0| 20 20 20 20 20 20 20 20 | 20 20 43 2e 44 72 61 77 | | C.Draw|
|000029b0| 43 6f 6c 6f 72 20 3d 20 | 43 2e 4d 61 6b 65 43 6f |Color = |C.MakeCo|
|000029c0| 6c 6f 72 28 32 35 35 2c | 30 2c 32 35 35 29 3b 0d |lor(255,|0,255);.|
|000029d0| 0a 2f 2f 20 20 20 20 20 | 20 20 20 20 20 20 20 7d |.// | }|
|000029e0| 0d 0a 2f 2f 20 20 20 20 | 20 20 20 20 20 20 20 20 |..// | |
|000029f0| 65 6c 73 65 0d 0a 2f 2f | 20 20 20 20 20 20 20 20 |else..//| |
|00002a00| 20 20 20 20 20 20 20 20 | 43 2e 44 72 61 77 43 6f | |C.DrawCo|
|00002a10| 6c 6f 72 20 3d 20 43 2e | 4d 61 6b 65 43 6f 6c 6f |lor = C.|MakeColo|
|00002a20| 72 28 32 35 35 2c 32 35 | 35 2c 32 35 35 29 3b 0d |r(255,25|5,255);.|
|00002a30| 0a 2f 2f 0d 0a 2f 2f 20 | 20 20 20 20 20 20 20 20 |.//..// | |
|00002a40| 20 20 20 48 55 44 4c 6f | 63 61 74 69 6f 6e 20 3d | HUDLo|cation =|
|00002a50| 20 41 2e 4c 6f 63 61 74 | 69 6f 6e 20 2d 20 4d 61 | A.Locat|ion - Ma|
|00002a60| 70 43 65 6e 74 65 72 3b | 0d 0a 2f 2f 20 20 20 20 |pCenter;|..// |
|00002a70| 20 20 20 20 20 20 20 20 | 48 55 44 4c 6f 63 61 74 | |HUDLocat|
|00002a80| 69 6f 6e 2e 5a 20 3d 20 | 30 3b 0d 0a 2f 2f 0d 0a |ion.Z = |0;..//..|
|00002a90| 2f 2f 20 20 20 20 20 20 | 20 20 20 20 20 20 69 66 |// | if|
|00002aa0| 20 28 41 2e 49 73 41 28 | 27 56 65 68 69 63 6c 65 | (A.IsA(|'Vehicle|
|00002ab0| 27 29 29 0d 0a 2f 2f 20 | 20 20 20 20 20 20 20 20 |'))..// | |
|00002ac0| 20 20 20 7b 0d 0a 2f 2f | 20 20 20 20 20 20 20 20 | {..//| |
|00002ad0| 20 20 20 20 09 43 2e 53 | 65 74 50 6f 73 28 43 65 | .C.S|etPos(Ce|
|00002ae0| 6e 74 65 72 50 6f 73 58 | 20 2b 20 48 55 44 4c 6f |nterPosX| + HUDLo|
|00002af0| 63 61 74 69 6f 6e 2e 58 | 20 2a 20 4d 61 70 53 63 |cation.X| * MapSc|
|00002b00| 61 6c 65 20 2d 20 50 6c | 61 79 65 72 49 63 6f 6e |ale - Pl|ayerIcon|
|00002b10| 53 69 7a 65 20 2a 20 30 | 2e 35 20 2a 20 30 2e 35 |Size * 0|.5 * 0.5|
|00002b20| 2c 20 43 65 6e 74 65 72 | 50 6f 73 59 20 2b 20 48 |, Center|PosY + H|
|00002b30| 55 44 4c 6f 63 61 74 69 | 6f 6e 2e 59 20 2a 20 4d |UDLocati|on.Y * M|
|00002b40| 61 70 53 63 61 6c 65 20 | 2d 20 50 6c 61 79 65 72 |apScale |- Player|
|00002b50| 49 63 6f 6e 53 69 7a 65 | 20 2a 20 30 2e 35 20 2a |IconSize| * 0.5 *|
|00002b60| 20 30 2e 35 29 3b 0d 0a | 2f 2f 20 20 20 20 20 20 | 0.5);..|// |
|00002b70| 20 20 20 20 20 20 20 20 | 20 20 43 2e 44 72 61 77 | | C.Draw|
|00002b80| 54 69 6c 65 28 4d 61 74 | 65 72 69 61 6c 27 4e 65 |Tile(Mat|erial'Ne|
|00002b90| 77 48 55 44 49 63 6f 6e | 73 27 2c 20 50 6c 61 79 |wHUDIcon|s', Play|
|00002ba0| 65 72 49 63 6f 6e 53 69 | 7a 65 20 2a 20 30 2e 35 |erIconSi|ze * 0.5|
|00002bb0| 2c 20 50 6c 61 79 65 72 | 49 63 6f 6e 53 69 7a 65 |, Player|IconSize|
|00002bc0| 20 2a 20 30 2e 35 2c 20 | 30 2c 20 30 2c 20 33 32 | * 0.5, |0, 0, 32|
|00002bd0| 2c 20 33 32 29 3b 0d 0a | 2f 2f 20 20 20 20 20 20 |, 32);..|// |
|00002be0| 20 20 20 20 20 20 7d 0d | 0a 2f 2f 20 20 20 20 20 | }.|.// |
|00002bf0| 20 20 20 20 20 20 20 65 | 6c 73 65 0d 0a 2f 2f 20 | e|lse..// |
|00002c00| 20 20 20 20 20 20 20 20 | 20 20 20 7b 0d 0a 2f 2f | | {..//|
|00002c10| 20 20 20 20 20 20 20 20 | 20 20 20 20 09 43 2e 53 | | .C.S|
|00002c20| 65 74 50 6f 73 28 43 65 | 6e 74 65 72 50 6f 73 58 |etPos(Ce|nterPosX|
|00002c30| 20 2b 20 48 55 44 4c 6f | 63 61 74 69 6f 6e 2e 58 | + HUDLo|cation.X|
|00002c40| 20 2a 20 4d 61 70 53 63 | 61 6c 65 20 2d 20 50 6c | * MapSc|ale - Pl|
|00002c50| 61 79 65 72 49 63 6f 6e | 53 69 7a 65 20 2a 20 30 |ayerIcon|Size * 0|
|00002c60| 2e 35 20 2a 20 30 2e 32 | 35 2c 20 43 65 6e 74 65 |.5 * 0.2|5, Cente|
|00002c70| 72 50 6f 73 59 20 2b 20 | 48 55 44 4c 6f 63 61 74 |rPosY + |HUDLocat|
|00002c80| 69 6f 6e 2e 59 20 2a 20 | 4d 61 70 53 63 61 6c 65 |ion.Y * |MapScale|
|00002c90| 20 2d 20 50 6c 61 79 65 | 72 49 63 6f 6e 53 69 7a | - Playe|rIconSiz|
|00002ca0| 65 20 2a 20 30 2e 35 20 | 2a 20 30 2e 32 35 29 3b |e * 0.5 |* 0.25);|
|00002cb0| 0d 0a 2f 2f 20 20 20 20 | 20 20 20 20 20 20 20 20 |..// | |
|00002cc0| 20 20 20 20 43 2e 44 72 | 61 77 54 69 6c 65 28 4d | C.Dr|awTile(M|
|00002cd0| 61 74 65 72 69 61 6c 27 | 4e 65 77 48 55 44 49 63 |aterial'|NewHUDIc|
|00002ce0| 6f 6e 73 27 2c 20 50 6c | 61 79 65 72 49 63 6f 6e |ons', Pl|ayerIcon|
|00002cf0| 53 69 7a 65 20 2a 20 30 | 2e 32 35 2c 20 50 6c 61 |Size * 0|.25, Pla|
|00002d00| 79 65 72 49 63 6f 6e 53 | 69 7a 65 20 2a 20 30 2e |yerIconS|ize * 0.|
|00002d10| 32 35 2c 20 30 2c 20 30 | 2c 20 33 32 2c 20 33 32 |25, 0, 0|, 32, 32|
|00002d20| 29 3b 0d 0a 2f 2f 20 20 | 20 20 20 20 20 20 20 20 |);..// | |
|00002d30| 20 20 7d 0d 0a 2f 2f 20 | 20 20 20 20 20 20 20 7d | }..// | }|
|00002d40| 0d 0a 2f 2f 20 20 20 20 | 7d 0d 0a 0d 0a 20 20 20 |..// |}.... |
|00002d50| 20 2f 2f 20 44 72 61 77 | 20 42 6f 72 64 65 72 0d | // Draw| Border.|
|00002d60| 0a 20 20 20 20 43 2e 44 | 72 61 77 43 6f 6c 6f 72 |. C.D|rawColor|
|00002d70| 20 3d 20 43 2e 4d 61 6b | 65 43 6f 6c 6f 72 28 32 | = C.Mak|eColor(2|
|00002d80| 30 30 2c 32 30 30 2c 32 | 30 30 29 3b 0d 0a 09 43 |00,200,2|00);...C|
|00002d90| 2e 53 65 74 50 6f 73 28 | 43 65 6e 74 65 72 50 6f |.SetPos(|CenterPo|
|00002da0| 73 58 20 2d 20 52 61 64 | 61 72 57 69 64 74 68 2c |sX - Rad|arWidth,|
|00002db0| 20 43 65 6e 74 65 72 50 | 6f 73 59 20 2d 20 52 61 | CenterP|osY - Ra|
|00002dc0| 64 61 72 57 69 64 74 68 | 29 3b 0d 0a 09 43 2e 44 |darWidth|);...C.D|
|00002dd0| 72 61 77 54 69 6c 65 28 | 42 6f 72 64 65 72 4d 61 |rawTile(|BorderMa|
|00002de0| 74 2c 0d 0a 20 20 20 20 | 20 20 20 20 20 20 20 20 |t,.. | |
|00002df0| 20 20 20 52 61 64 61 72 | 57 69 64 74 68 20 2a 20 | Radar|Width * |
|00002e00| 32 2e 30 2c 0d 0a 20 20 | 20 20 20 20 20 20 20 20 |2.0,.. | |
|00002e10| 20 20 20 20 20 52 61 64 | 61 72 57 69 64 74 68 20 | Rad|arWidth |
|00002e20| 2a 20 32 2e 30 2c 0d 0a | 20 20 20 20 20 20 20 20 |* 2.0,..| |
|00002e30| 20 20 20 20 20 20 20 30 | 2c 0d 0a 20 20 20 20 20 | 0|,.. |
|00002e40| 20 20 20 20 20 20 20 20 | 20 20 30 2c 0d 0a 20 20 | | 0,.. |
|00002e50| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 32 35 36 | | 256|
|00002e60| 2c 0d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |,.. | |
|00002e70| 20 20 32 35 36 29 3b 0d | 0a 0d 0a 20 20 20 20 43 | 256);.|... C|
|00002e80| 2e 43 6f 6c 6f 72 4d 6f | 64 75 6c 61 74 65 20 3d |.ColorMo|dulate =|
|00002e90| 20 53 61 76 65 64 4d 6f | 64 75 6c 61 74 69 6f 6e | SavedMo|dulation|
|00002ea0| 3b 0d 0a 7d 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |;..}....|function|
|00002eb0| 20 62 6f 6f 6c 20 50 6f | 77 65 72 43 6f 72 65 41 | bool Po|werCoreA|
|00002ec0| 74 74 61 63 6b 61 62 6c | 65 28 4f 4e 53 50 6f 77 |ttackabl|e(ONSPow|
|00002ed0| 65 72 43 6f 72 65 20 50 | 43 29 0d 0a 7b 0d 0a 20 |erCore P|C)..{.. |
|00002ee0| 20 20 20 69 66 20 20 28 | 50 61 77 6e 4f 77 6e 65 | if (|PawnOwne|
|00002ef0| 72 50 52 49 20 21 3d 20 | 4e 6f 6e 65 20 26 26 20 |rPRI != |None && |
|00002f00| 50 61 77 6e 4f 77 6e 65 | 72 50 52 49 2e 54 65 61 |PawnOwne|rPRI.Tea|
|00002f10| 6d 20 21 3d 20 4e 6f 6e | 65 29 0d 0a 20 20 20 20 |m != Non|e).. |
|00002f20| 7b 0d 0a 20 20 20 20 20 | 20 20 20 69 66 20 28 50 |{.. | if (P|
|00002f30| 43 2e 44 65 66 65 6e 64 | 65 72 54 65 61 6d 49 6e |C.Defend|erTeamIn|
|00002f40| 64 65 78 20 21 3d 20 50 | 61 77 6e 4f 77 6e 65 72 |dex != P|awnOwner|
|00002f50| 50 52 49 2e 54 65 61 6d | 2e 54 65 61 6d 49 6e 64 |PRI.Team|.TeamInd|
|00002f60| 65 78 29 0d 0a 20 20 20 | 20 20 20 20 20 20 20 20 |ex).. | |
|00002f70| 20 72 65 74 75 72 6e 20 | 28 50 43 2e 50 6f 77 65 | return |(PC.Powe|
|00002f80| 72 65 64 42 79 28 50 61 | 77 6e 4f 77 6e 65 72 50 |redBy(Pa|wnOwnerP|
|00002f90| 52 49 2e 54 65 61 6d 2e | 54 65 61 6d 49 6e 64 65 |RI.Team.|TeamInde|
|00002fa0| 78 29 29 3b 0d 0a 20 20 | 20 20 20 20 20 20 65 6c |x));.. | el|
|00002fb0| 73 65 0d 0a 20 20 20 20 | 20 20 20 20 7b 0d 0a 20 |se.. | {.. |
|00002fc0| 20 20 20 20 20 20 20 20 | 20 20 20 69 66 20 28 50 | | if (P|
|00002fd0| 61 77 6e 4f 77 6e 65 72 | 50 52 49 2e 54 65 61 6d |awnOwner|PRI.Team|
|00002fe0| 2e 54 65 61 6d 49 6e 64 | 65 78 20 3d 3d 20 30 29 |.TeamInd|ex == 0)|
|00002ff0| 0d 0a 20 20 20 20 20 20 | 20 20 20 20 20 20 20 20 |.. | |
|00003000| 20 20 72 65 74 75 72 6e | 20 28 50 43 2e 50 6f 77 | return| (PC.Pow|
|00003010| 65 72 65 64 42 79 28 31 | 29 29 3b 0d 0a 20 20 20 |eredBy(1|));.. |
|00003020| 20 20 20 20 20 20 20 20 | 20 65 6c 73 65 0d 0a 20 | | else.. |
|00003030| 20 20 20 20 20 20 20 20 | 20 20 20 20 20 20 20 72 | | r|
|00003040| 65 74 75 72 6e 20 28 50 | 43 2e 50 6f 77 65 72 65 |eturn (P|C.Powere|
|00003050| 64 42 79 28 30 29 29 3b | 0d 0a 20 20 20 20 20 20 |dBy(0));|.. |
|00003060| 20 20 7d 0d 0a 20 20 20 | 20 7d 0d 0a 0d 0a 20 20 | }.. | }.... |
|00003070| 20 20 72 65 74 75 72 6e | 20 46 61 6c 73 65 3b 0d | return| False;.|
|00003080| 0a 7d 0d 0a 0d 0a 73 69 | 6d 75 6c 61 74 65 64 20 |.}....si|mulated |
|00003090| 66 75 6e 63 74 69 6f 6e | 20 53 68 6f 77 54 65 61 |function| ShowTea|
|000030a0| 6d 53 63 6f 72 65 50 61 | 73 73 41 28 43 61 6e 76 |mScorePa|ssA(Canv|
|000030b0| 61 73 20 43 29 0d 0a 7b | 0d 0a 09 6c 6f 63 61 6c |as C)..{|...local|
|000030c0| 20 69 6e 74 20 78 3b 0d | 0a 0d 0a 09 53 75 70 65 | int x;.|....Supe|
|000030d0| 72 2e 53 68 6f 77 54 65 | 61 6d 53 63 6f 72 65 50 |r.ShowTe|amScoreP|
|000030e0| 61 73 73 41 28 43 29 3b | 0d 0a 0d 0a 09 69 66 20 |assA(C);|.....if |
|000030f0| 28 62 53 68 6f 77 50 6f | 69 6e 74 73 29 0d 0a 09 |(bShowPo|ints)...|
|00003100| 09 66 6f 72 20 28 78 20 | 3d 20 30 3b 20 78 20 3c |.for (x |= 0; x <|
|00003110| 20 32 3b 20 78 2b 2b 29 | 0d 0a 09 09 7b 0d 0a 09 | 2; x++)|....{...|
|00003120| 09 09 44 72 61 77 53 70 | 72 69 74 65 57 69 64 67 |..DrawSp|riteWidg|
|00003130| 65 74 20 28 43 2c 20 53 | 79 6d 62 6f 6c 47 42 5b |et (C, S|ymbolGB[|
|00003140| 78 5d 29 3b 0d 0a 0d 0a | 09 09 09 69 66 20 28 46 |x]);....|...if (F|
|00003150| 69 6e 61 6c 43 6f 72 65 | 5b 78 5d 20 21 3d 20 4e |inalCore|[x] != N|
|00003160| 6f 6e 65 20 26 26 20 46 | 69 6e 61 6c 43 6f 72 65 |one && F|inalCore|
|00003170| 5b 78 5d 2e 43 6f 72 65 | 53 74 61 67 65 20 3d 3d |[x].Core|Stage ==|
|00003180| 20 30 29 0d 0a 09 09 09 | 7b 0d 0a 09 09 09 09 44 | 0).....|{......D|
|00003190| 72 61 77 53 70 72 69 74 | 65 57 69 64 67 65 74 20 |rawSprit|eWidget |
|000031a0| 28 43 2c 20 43 6f 72 65 | 57 69 64 67 65 74 73 5b |(C, Core|Widgets[|
|000031b0| 78 5d 29 3b 0d 0a 0d 0a | 09 09 09 09 69 66 20 28 |x]);....|....if (|
|000031c0| 46 69 6e 61 6c 43 6f 72 | 65 5b 78 5d 2e 62 55 6e |FinalCor|e[x].bUn|
|000031d0| 64 65 72 41 74 74 61 63 | 6b 29 0d 0a 09 09 09 09 |derAttac|k)......|
|000031e0| 7b 0d 0a 09 09 09 09 09 | 43 6f 72 65 48 65 61 6c |{.......|CoreHeal|
|000031f0| 74 68 57 69 64 67 65 74 | 73 5b 78 5d 2e 54 69 6e |thWidget|s[x].Tin|
|00003200| 74 73 5b 54 65 61 6d 49 | 6e 64 65 78 5d 2e 47 20 |ts[TeamI|ndex].G |
|00003210| 3d 20 32 35 35 20 2a 20 | 43 6f 6c 6f 72 50 65 72 |= 255 * |ColorPer|
|00003220| 63 65 6e 74 3b 0d 0a 09 | 09 09 09 09 43 6f 72 65 |cent;...|....Core|
|00003230| 48 65 61 6c 74 68 57 69 | 64 67 65 74 73 5b 78 5d |HealthWi|dgets[x]|
|00003240| 2e 54 69 6e 74 73 5b 54 | 65 61 6d 49 6e 64 65 78 |.Tints[T|eamIndex|
|00003250| 5d 2e 42 20 3d 20 32 35 | 35 20 2a 20 43 6f 6c 6f |].B = 25|5 * Colo|
|00003260| 72 50 65 72 63 65 6e 74 | 3b 0d 0a 09 09 09 09 7d |rPercent|;......}|
|00003270| 0d 0a 09 09 09 09 65 6c | 73 65 0d 0a 09 09 09 09 |......el|se......|
|00003280| 09 43 6f 72 65 48 65 61 | 6c 74 68 57 69 64 67 65 |.CoreHea|lthWidge|
|00003290| 74 73 5b 78 5d 2e 54 69 | 6e 74 73 5b 54 65 61 6d |ts[x].Ti|nts[Team|
|000032a0| 49 6e 64 65 78 5d 20 3d | 20 57 68 69 74 65 43 6f |Index] =| WhiteCo|
|000032b0| 6c 6f 72 3b 0d 0a 0d 0a | 09 09 09 09 43 6f 72 65 |lor;....|....Core|
|000032c0| 48 65 61 6c 74 68 57 69 | 64 67 65 74 73 5b 78 5d |HealthWi|dgets[x]|
|000032d0| 2e 56 61 6c 75 65 20 3d | 20 72 6f 75 6e 64 28 28 |.Value =| round((|
|000032e0| 66 6c 6f 61 74 28 46 69 | 6e 61 6c 43 6f 72 65 5b |float(Fi|nalCore[|
|000032f0| 78 5d 2e 48 65 61 6c 74 | 68 29 20 2f 20 46 69 6e |x].Healt|h) / Fin|
|00003300| 61 6c 43 6f 72 65 5b 78 | 5d 2e 44 61 6d 61 67 65 |alCore[x|].Damage|
|00003310| 43 61 70 61 63 69 74 79 | 29 20 2a 20 31 30 30 29 |Capacity|) * 100)|
|00003320| 3b 0d 0a 09 09 09 09 44 | 72 61 77 4e 75 6d 65 72 |;......D|rawNumer|
|00003330| 69 63 57 69 64 67 65 74 | 28 43 2c 20 43 6f 72 65 |icWidget|(C, Core|
|00003340| 48 65 61 6c 74 68 57 69 | 64 67 65 74 73 5b 78 5d |HealthWi|dgets[x]|
|00003350| 2c 20 44 69 67 69 74 73 | 42 69 67 29 3b 0d 0a 0d |, Digits|Big);...|
|00003360| 0a 09 09 09 09 2f 2f 43 | 2e 44 72 61 77 43 6f 6c |.....//C|.DrawCol|
|00003370| 6f 72 20 3d 20 48 75 64 | 43 6f 6c 6f 72 48 69 67 |or = Hud|ColorHig|
|00003380| 68 4c 69 67 68 74 3b 0d | 0a 09 09 09 09 2f 2f 44 |hLight;.|.....//D|
|00003390| 72 61 77 32 44 4c 6f 63 | 61 74 69 6f 6e 44 6f 74 |raw2DLoc|ationDot|
|000033a0| 28 43 2c 20 46 69 6e 61 | 6c 43 6f 72 65 5b 78 5d |(C, Fina|lCore[x]|
|000033b0| 2e 4c 6f 63 61 74 69 6f | 6e 2c 30 2e 35 20 2b 20 |.Locatio|n,0.5 + |
|000033c0| 74 6d 70 50 6f 73 58 5b | 78 5d 2a 48 55 44 53 63 |tmpPosX[|x]*HUDSc|
|000033d0| 61 6c 65 2c 20 74 6d 70 | 50 6f 73 59 2a 48 55 44 |ale, tmp|PosY*HUD|
|000033e0| 53 63 61 6c 65 2c 20 74 | 6d 70 53 63 61 6c 65 58 |Scale, t|mpScaleX|
|000033f0| 2a 48 55 44 53 63 61 6c | 65 2c 20 74 6d 70 53 63 |*HUDScal|e, tmpSc|
|00003400| 61 6c 65 59 2a 48 55 44 | 53 63 61 6c 65 29 3b 0d |aleY*HUD|Scale);.|
|00003410| 0a 09 09 09 7d 0d 0a 09 | 09 7d 0d 0a 7d 0d 0a 0d |....}...|.}..}...|
|00003420| 0a 73 69 6d 75 6c 61 74 | 65 64 20 66 75 6e 63 74 |.simulat|ed funct|
|00003430| 69 6f 6e 20 53 68 6f 77 | 54 65 61 6d 53 63 6f 72 |ion Show|TeamScor|
|00003440| 65 50 61 73 73 43 28 43 | 61 6e 76 61 73 20 43 29 |ePassC(C|anvas C)|
|00003450| 0d 0a 7b 0d 0a 20 20 20 | 20 6c 6f 63 61 6c 20 66 |..{.. | local f|
|00003460| 6c 6f 61 74 20 52 61 64 | 61 72 57 69 64 74 68 2c |loat Rad|arWidth,|
|00003470| 20 43 65 6e 74 65 72 52 | 61 64 61 72 50 6f 73 58 | CenterR|adarPosX|
|00003480| 2c 20 43 65 6e 74 65 72 | 52 61 64 61 72 50 6f 73 |, Center|RadarPos|
|00003490| 59 3b 0d 0a 0d 0a 20 20 | 20 20 69 66 20 28 4c 65 |Y;.... | if (Le|
|000034a0| 76 65 6c 2e 62 53 68 6f | 77 52 61 64 61 72 4d 61 |vel.bSho|wRadarMa|
|000034b0| 70 20 26 26 20 21 62 4d | 61 70 44 69 73 61 62 6c |p && !bM|apDisabl|
|000034c0| 65 64 29 0d 0a 20 20 20 | 20 7b 0d 0a 20 20 20 20 |ed).. | {.. |
|000034d0| 20 20 20 20 52 61 64 61 | 72 57 69 64 74 68 20 3d | Rada|rWidth =|
|000034e0| 20 30 2e 35 20 2a 20 52 | 61 64 61 72 53 63 61 6c | 0.5 * R|adarScal|
|000034f0| 65 20 2a 20 48 55 44 53 | 63 61 6c 65 20 2a 20 43 |e * HUDS|cale * C|
|00003500| 2e 43 6c 69 70 58 3b 0d | 0a 20 20 20 20 20 20 20 |.ClipX;.|. |
|00003510| 20 43 65 6e 74 65 72 52 | 61 64 61 72 50 6f 73 58 | CenterR|adarPosX|
|00003520| 20 3d 20 28 52 61 64 61 | 72 50 6f 73 58 20 2a 20 | = (Rada|rPosX * |
|00003530| 43 2e 43 6c 69 70 58 29 | 20 2d 20 52 61 64 61 72 |C.ClipX)| - Radar|
|00003540| 57 69 64 74 68 3b 0d 0a | 20 20 20 20 20 20 20 20 |Width;..| |
|00003550| 43 65 6e 74 65 72 52 61 | 64 61 72 50 6f 73 59 20 |CenterRa|darPosY |
|00003560| 3d 20 28 52 61 64 61 72 | 50 6f 73 59 20 2a 20 43 |= (Radar|PosY * C|
|00003570| 2e 43 6c 69 70 59 29 20 | 2b 20 52 61 64 61 72 57 |.ClipY) |+ RadarW|
|00003580| 69 64 74 68 3b 0d 0a 20 | 20 20 20 20 20 20 20 44 |idth;.. | D|
|00003590| 72 61 77 52 61 64 61 72 | 4d 61 70 28 43 2c 20 43 |rawRadar|Map(C, C|
|000035a0| 65 6e 74 65 72 52 61 64 | 61 72 50 6f 73 58 2c 20 |enterRad|arPosX, |
|000035b0| 43 65 6e 74 65 72 52 61 | 64 61 72 50 6f 73 59 2c |CenterRa|darPosY,|
|000035c0| 20 52 61 64 61 72 57 69 | 64 74 68 2c 20 66 61 6c | RadarWi|dth, fal|
|000035d0| 73 65 29 3b 0d 0a 20 20 | 20 20 7d 0d 0a 7d 0d 0a |se);.. | }..}..|
|000035e0| 0d 0a 73 69 6d 75 6c 61 | 74 65 64 20 66 75 6e 63 |..simula|ted func|
|000035f0| 74 69 6f 6e 20 44 72 61 | 77 4e 6f 64 65 4c 61 62 |tion Dra|wNodeLab|
|00003600| 65 6c 28 43 61 6e 76 61 | 73 20 43 2c 20 76 65 63 |el(Canva|s C, vec|
|00003610| 74 6f 72 20 48 55 44 4c | 6f 63 61 74 69 6f 6e 2c |tor HUDL|ocation,|
|00003620| 20 66 6c 6f 61 74 20 49 | 63 6f 6e 53 63 61 6c 69 | float I|conScali|
|00003630| 6e 67 2c 20 66 6c 6f 61 | 74 20 48 55 44 53 63 61 |ng, floa|t HUDSca|
|00003640| 6c 69 6e 67 2c 20 43 6f | 6c 6f 72 20 4c 61 62 65 |ling, Co|lor Labe|
|00003650| 6c 43 6f 6c 6f 72 2c 20 | 69 6e 74 20 4e 75 6d 29 |lColor, |int Num)|
|00003660| 0d 0a 7b 0d 0a 09 6c 6f | 63 61 6c 20 66 6c 6f 61 |..{...lo|cal floa|
|00003670| 74 20 4c 61 62 65 6c 49 | 63 6f 6e 53 69 7a 65 3b |t LabelI|conSize;|
|00003680| 0d 0a 09 6c 6f 63 61 6c | 20 69 6e 74 20 54 65 6e |...local| int Ten|
|00003690| 73 50 6c 61 63 65 3b 0d | 0a 0d 0a 09 69 66 20 28 |sPlace;.|....if (|
|000036a0| 20 43 20 3d 3d 20 4e 6f | 6e 65 20 7c 7c 20 4e 75 | C == No|ne || Nu|
|000036b0| 6d 20 3e 3d 20 31 30 30 | 29 0d 0a 09 09 72 65 74 |m >= 100|)....ret|
|000036c0| 75 72 6e 3b 0d 0a 0d 0a | 09 4c 61 62 65 6c 49 63 |urn;....|.LabelIc|
|000036d0| 6f 6e 53 69 7a 65 20 3d | 20 49 63 6f 6e 53 63 61 |onSize =| IconSca|
|000036e0| 6c 69 6e 67 20 2a 20 31 | 36 20 2a 20 43 2e 43 6c |ling * 1|6 * C.Cl|
|000036f0| 69 70 58 20 2a 20 48 55 | 44 53 63 61 6c 69 6e 67 |ipX * HU|DScaling|
|00003700| 2f 31 36 30 30 3b 0d 0a | 20 20 20 20 43 2e 44 72 |/1600;..| C.Dr|
|00003710| 61 77 43 6f 6c 6f 72 20 | 3d 20 57 68 69 74 65 43 |awColor |= WhiteC|
|00003720| 6f 6c 6f 72 3b 0d 0a 0d | 0a 09 69 66 20 28 4e 75 |olor;...|..if (Nu|
|00003730| 6d 20 3e 20 39 29 0d 0a | 20 20 20 20 7b 0d 0a 20 |m > 9)..| {.. |
|00003740| 20 20 20 20 20 20 20 54 | 65 6e 73 50 6c 61 63 65 | T|ensPlace|
|00003750| 20 3d 20 4e 75 6d 20 2f | 20 31 30 3b 0d 0a 20 20 | = Num /| 10;.. |
|00003760| 20 20 20 20 20 20 4e 75 | 6d 20 3d 20 4e 75 6d 20 | Nu|m = Num |
|00003770| 2d 20 28 54 65 6e 73 50 | 6c 61 63 65 20 2a 20 31 |- (TensP|lace * 1|
|00003780| 30 29 3b 0d 0a 20 20 20 | 20 20 20 20 20 43 2e 53 |0);.. | C.S|
|00003790| 65 74 50 6f 73 28 48 55 | 44 4c 6f 63 61 74 69 6f |etPos(HU|DLocatio|
|000037a0| 6e 2e 58 20 2d 20 28 31 | 2e 35 20 2a 20 4c 61 62 |n.X - (1|.5 * Lab|
|000037b0| 65 6c 49 63 6f 6e 53 69 | 7a 65 20 2a 20 31 2e 35 |elIconSi|ze * 1.5|
|000037c0| 29 2c 20 48 55 44 4c 6f | 63 61 74 69 6f 6e 2e 59 |), HUDLo|cation.Y|
|000037d0| 20 2d 20 4c 61 62 65 6c | 49 63 6f 6e 53 69 7a 65 | - Label|IconSize|
|000037e0| 20 2a 20 31 2e 35 29 3b | 0d 0a 20 20 20 20 20 20 | * 1.5);|.. |
|000037f0| 20 20 43 2e 44 72 61 77 | 54 69 6c 65 28 44 69 67 | C.Draw|Tile(Dig|
|00003800| 69 74 73 42 69 67 2e 44 | 69 67 69 74 54 65 78 74 |itsBig.D|igitText|
|00003810| 75 72 65 2c 20 4c 61 62 | 65 6c 49 63 6f 6e 53 69 |ure, Lab|elIconSi|
|00003820| 7a 65 2c 20 4c 61 62 65 | 6c 49 63 6f 6e 53 69 7a |ze, Labe|lIconSiz|
|00003830| 65 2c 20 44 69 67 69 74 | 73 42 69 67 2e 54 65 78 |e, Digit|sBig.Tex|
|00003840| 74 75 72 65 43 6f 6f 72 | 64 73 5b 54 65 6e 73 50 |tureCoor|ds[TensP|
|00003850| 6c 61 63 65 5d 2e 58 31 | 2c 20 44 69 67 69 74 73 |lace].X1|, Digits|
|00003860| 42 69 67 2e 54 65 78 74 | 75 72 65 43 6f 6f 72 64 |Big.Text|ureCoord|
|00003870| 73 5b 54 65 6e 73 50 6c | 61 63 65 5d 2e 59 31 2c |s[TensPl|ace].Y1,|
|00003880| 20 44 69 67 69 74 73 42 | 69 67 2e 54 65 78 74 75 | DigitsB|ig.Textu|
|00003890| 72 65 43 6f 6f 72 64 73 | 5b 30 5d 2e 58 32 2c 20 |reCoords|[0].X2, |
|000038a0| 44 69 67 69 74 73 42 69 | 67 2e 54 65 78 74 75 72 |DigitsBi|g.Textur|
|000038b0| 65 43 6f 6f 72 64 73 5b | 30 5d 2e 59 32 29 3b 0d |eCoords[|0].Y2);.|
|000038c0| 0a 20 20 20 20 7d 0d 0a | 0d 0a 20 20 20 20 43 2e |. }..|.. C.|
|000038d0| 53 65 74 50 6f 73 28 48 | 55 44 4c 6f 63 61 74 69 |SetPos(H|UDLocati|
|000038e0| 6f 6e 2e 58 20 2d 20 4c | 61 62 65 6c 49 63 6f 6e |on.X - L|abelIcon|
|000038f0| 53 69 7a 65 20 2a 20 31 | 2e 35 2c 20 48 55 44 4c |Size * 1|.5, HUDL|
|00003900| 6f 63 61 74 69 6f 6e 2e | 59 20 2d 20 4c 61 62 65 |ocation.|Y - Labe|
|00003910| 6c 49 63 6f 6e 53 69 7a | 65 20 2a 20 31 2e 35 29 |lIconSiz|e * 1.5)|
|00003920| 3b 0d 0a 20 20 20 20 43 | 2e 44 72 61 77 54 69 6c |;.. C|.DrawTil|
|00003930| 65 28 44 69 67 69 74 73 | 42 69 67 2e 44 69 67 69 |e(Digits|Big.Digi|
|00003940| 74 54 65 78 74 75 72 65 | 2c 20 4c 61 62 65 6c 49 |tTexture|, LabelI|
|00003950| 63 6f 6e 53 69 7a 65 2c | 20 4c 61 62 65 6c 49 63 |conSize,| LabelIc|
|00003960| 6f 6e 53 69 7a 65 2c 20 | 44 69 67 69 74 73 42 69 |onSize, |DigitsBi|
|00003970| 67 2e 54 65 78 74 75 72 | 65 43 6f 6f 72 64 73 5b |g.Textur|eCoords[|
|00003980| 4e 75 6d 5d 2e 58 31 2c | 20 44 69 67 69 74 73 42 |Num].X1,| DigitsB|
|00003990| 69 67 2e 54 65 78 74 75 | 72 65 43 6f 6f 72 64 73 |ig.Textu|reCoords|
|000039a0| 5b 4e 75 6d 5d 2e 59 31 | 2c 20 44 69 67 69 74 73 |[Num].Y1|, Digits|
|000039b0| 42 69 67 2e 54 65 78 74 | 75 72 65 43 6f 6f 72 64 |Big.Text|ureCoord|
|000039c0| 73 5b 30 5d 2e 58 32 2c | 20 44 69 67 69 74 73 42 |s[0].X2,| DigitsB|
|000039d0| 69 67 2e 54 65 78 74 75 | 72 65 43 6f 6f 72 64 73 |ig.Textu|reCoords|
|000039e0| 5b 30 5d 2e 59 32 29 3b | 0d 0a 7d 0d 0a 0d 0a 73 |[0].Y2);|..}....s|
|000039f0| 69 6d 75 6c 61 74 65 64 | 20 66 75 6e 63 74 69 6f |imulated| functio|
|00003a00| 6e 20 44 72 61 77 48 65 | 61 6c 74 68 42 61 72 28 |n DrawHe|althBar(|
|00003a10| 43 61 6e 76 61 73 20 43 | 2c 20 41 63 74 6f 72 20 |Canvas C|, Actor |
|00003a20| 41 2c 20 69 6e 74 20 48 | 65 61 6c 74 68 2c 20 69 |A, int H|ealth, i|
|00003a30| 6e 74 20 4d 61 78 48 65 | 61 6c 74 68 2c 20 66 6c |nt MaxHe|alth, fl|
|00003a40| 6f 61 74 20 48 65 69 67 | 68 74 29 0d 0a 7b 0d 0a |oat Heig|ht)..{..|
|00003a50| 09 6c 6f 63 61 6c 20 76 | 65 63 74 6f 72 09 09 43 |.local v|ector..C|
|00003a60| 61 6d 65 72 61 4c 6f 63 | 61 74 69 6f 6e 2c 20 43 |ameraLoc|ation, C|
|00003a70| 61 6d 44 69 72 2c 20 54 | 61 72 67 65 74 4c 6f 63 |amDir, T|argetLoc|
|00003a80| 61 74 69 6f 6e 2c 20 48 | 42 53 63 72 65 65 6e 50 |ation, H|BScreenP|
|00003a90| 6f 73 3b 0d 0a 09 6c 6f | 63 61 6c 20 72 6f 74 61 |os;...lo|cal rota|
|00003aa0| 74 6f 72 09 09 43 61 6d | 65 72 61 52 6f 74 61 74 |tor..Cam|eraRotat|
|00003ab0| 69 6f 6e 3b 0d 0a 09 6c | 6f 63 61 6c 20 66 6c 6f |ion;...l|ocal flo|
|00003ac0| 61 74 09 09 09 44 69 73 | 74 2c 20 48 65 61 6c 74 |at...Dis|t, Healt|
|00003ad0| 68 50 63 74 3b 0d 0a 09 | 6c 6f 63 61 6c 20 63 6f |hPct;...|local co|
|00003ae0| 6c 6f 72 20 20 20 20 20 | 20 20 20 20 4f 6c 64 44 |lor | OldD|
|00003af0| 72 61 77 43 6f 6c 6f 72 | 3b 0d 0a 0d 0a 09 2f 2f |rawColor|;.....//|
|00003b00| 20 72 6a 70 20 2d 2d 20 | 20 64 6f 6e 27 74 20 64 | rjp -- | don't d|
|00003b10| 72 61 77 20 74 68 65 20 | 68 65 61 6c 74 68 20 62 |raw the |health b|
|00003b20| 61 72 20 69 66 20 6d 65 | 6e 75 73 20 61 72 65 20 |ar if me|nus are |
|00003b30| 6f 70 65 6e 0d 0a 09 69 | 66 20 28 20 50 6c 61 79 |open...i|f ( Play|
|00003b40| 65 72 4f 77 6e 65 72 2e | 50 6c 61 79 65 72 2e 47 |erOwner.|Player.G|
|00003b50| 55 49 43 6f 6e 74 72 6f | 6c 6c 65 72 2e 62 41 63 |UIContro|ller.bAc|
|00003b60| 74 69 76 65 20 29 0d 0a | 09 09 72 65 74 75 72 6e |tive )..|..return|
|00003b70| 3b 0d 0a 0d 0a 09 4f 6c | 64 44 72 61 77 43 6f 6c |;.....Ol|dDrawCol|
|00003b80| 6f 72 20 3d 20 43 2e 44 | 72 61 77 43 6f 6c 6f 72 |or = C.D|rawColor|
|00003b90| 3b 0d 0a 0d 0a 09 43 2e | 47 65 74 43 61 6d 65 72 |;.....C.|GetCamer|
|00003ba0| 61 4c 6f 63 61 74 69 6f | 6e 28 20 43 61 6d 65 72 |aLocatio|n( Camer|
|00003bb0| 61 4c 6f 63 61 74 69 6f | 6e 2c 20 43 61 6d 65 72 |aLocatio|n, Camer|
|00003bc0| 61 52 6f 74 61 74 69 6f | 6e 20 29 3b 0d 0a 09 54 |aRotatio|n );...T|
|00003bd0| 61 72 67 65 74 4c 6f 63 | 61 74 69 6f 6e 20 3d 20 |argetLoc|ation = |
|00003be0| 41 2e 4c 6f 63 61 74 69 | 6f 6e 20 2b 20 76 65 63 |A.Locati|on + vec|
|00003bf0| 74 28 30 2c 30 2c 31 29 | 20 2a 20 48 65 69 67 68 |t(0,0,1)| * Heigh|
|00003c00| 74 3b 0d 0a 09 44 69 73 | 74 20 3d 20 56 53 69 7a |t;...Dis|t = VSiz|
|00003c10| 65 28 54 61 72 67 65 74 | 4c 6f 63 61 74 69 6f 6e |e(Target|Location|
|00003c20| 20 2d 20 43 61 6d 65 72 | 61 4c 6f 63 61 74 69 6f | - Camer|aLocatio|
|00003c30| 6e 29 3b 0d 0a 0d 0a 09 | 2f 2f 20 43 68 65 63 6b |n);.....|// Check|
|00003c40| 20 44 69 73 74 61 6e 63 | 65 20 54 68 72 65 73 68 | Distanc|e Thresh|
|00003c50| 6f 6c 64 0d 0a 09 69 66 | 20 28 44 69 73 74 20 3e |old...if| (Dist >|
|00003c60| 20 48 65 61 6c 74 68 42 | 61 72 56 69 65 77 44 69 | HealthB|arViewDi|
|00003c70| 73 74 29 0d 0a 09 09 72 | 65 74 75 72 6e 3b 0d 0a |st)....r|eturn;..|
|00003c80| 0d 0a 09 43 61 6d 44 69 | 72 09 3d 20 76 65 63 74 |...CamDi|r.= vect|
|00003c90| 6f 72 28 43 61 6d 65 72 | 61 52 6f 74 61 74 69 6f |or(Camer|aRotatio|
|00003ca0| 6e 29 3b 0d 0a 0d 0a 09 | 2f 2f 20 54 61 72 67 65 |n);.....|// Targe|
|00003cb0| 74 20 69 73 20 6c 6f 63 | 61 74 65 64 20 62 65 68 |t is loc|ated beh|
|00003cc0| 69 6e 64 20 63 61 6d 65 | 72 61 0d 0a 09 48 42 53 |ind came|ra...HBS|
|00003cd0| 63 72 65 65 6e 50 6f 73 | 20 3d 20 43 2e 57 6f 72 |creenPos| = C.Wor|
|00003ce0| 6c 64 54 6f 53 63 72 65 | 65 6e 28 54 61 72 67 65 |ldToScre|en(Targe|
|00003cf0| 74 4c 6f 63 61 74 69 6f | 6e 29 3b 0d 0a 09 69 66 |tLocatio|n);...if|
|00003d00| 20 28 28 54 61 72 67 65 | 74 4c 6f 63 61 74 69 6f | ((Targe|tLocatio|
|00003d10| 6e 20 2d 20 43 61 6d 65 | 72 61 4c 6f 63 61 74 69 |n - Came|raLocati|
|00003d20| 6f 6e 29 20 64 6f 74 20 | 43 61 6d 44 69 72 20 3c |on) dot |CamDir <|
|00003d30| 20 30 20 7c 7c 20 48 42 | 53 63 72 65 65 6e 50 6f | 0 || HB|ScreenPo|
|00003d40| 73 2e 58 20 3c 3d 20 30 | 20 7c 7c 20 48 42 53 63 |s.X <= 0| || HBSc|
|00003d50| 72 65 65 6e 50 6f 73 2e | 58 20 3e 3d 20 43 2e 53 |reenPos.|X >= C.S|
|00003d60| 69 7a 65 58 20 7c 7c 20 | 48 42 53 63 72 65 65 6e |izeX || |HBScreen|
|00003d70| 50 6f 73 2e 59 20 3c 3d | 20 30 20 7c 7c 20 48 42 |Pos.Y <=| 0 || HB|
|00003d80| 53 63 72 65 65 6e 50 6f | 73 2e 59 20 3e 3d 20 43 |ScreenPo|s.Y >= C|
|00003d90| 2e 53 69 7a 65 59 29 0d | 0a 09 7b 0d 0a 09 09 54 |.SizeY).|..{....T|
|00003da0| 61 72 67 65 74 4c 6f 63 | 61 74 69 6f 6e 20 3d 20 |argetLoc|ation = |
|00003db0| 41 2e 4c 6f 63 61 74 69 | 6f 6e 20 2b 20 76 65 63 |A.Locati|on + vec|
|00003dc0| 74 28 30 2c 30 2c 31 29 | 20 2a 20 41 2e 43 6f 6c |t(0,0,1)| * A.Col|
|00003dd0| 6c 69 73 69 6f 6e 48 65 | 69 67 68 74 3b 0d 0a 09 |lisionHe|ight;...|
|00003de0| 09 69 66 20 28 28 54 61 | 72 67 65 74 4c 6f 63 61 |.if ((Ta|rgetLoca|
|00003df0| 74 69 6f 6e 20 2d 20 43 | 61 6d 65 72 61 4c 6f 63 |tion - C|ameraLoc|
|00003e00| 61 74 69 6f 6e 29 20 64 | 6f 74 20 43 61 6d 44 69 |ation) d|ot CamDi|
|00003e10| 72 20 3c 20 30 29 0d 0a | 09 09 09 72 65 74 75 72 |r < 0)..|...retur|
|00003e20| 6e 3b 0d 0a 09 09 48 42 | 53 63 72 65 65 6e 50 6f |n;....HB|ScreenPo|
|00003e30| 73 20 3d 20 43 2e 57 6f | 72 6c 64 54 6f 53 63 72 |s = C.Wo|rldToScr|
|00003e40| 65 65 6e 28 54 61 72 67 | 65 74 4c 6f 63 61 74 69 |een(Targ|etLocati|
|00003e50| 6f 6e 29 3b 0d 0a 09 09 | 69 66 20 28 48 42 53 63 |on);....|if (HBSc|
|00003e60| 72 65 65 6e 50 6f 73 2e | 58 20 3c 3d 20 30 20 7c |reenPos.|X <= 0 ||
|00003e70| 7c 20 48 42 53 63 72 65 | 65 6e 50 6f 73 2e 58 20 || HBScre|enPos.X |
|00003e80| 3e 3d 20 43 2e 43 6c 69 | 70 58 20 7c 7c 20 48 42 |>= C.Cli|pX || HB|
|00003e90| 53 63 72 65 65 6e 50 6f | 73 2e 59 20 3c 3d 20 30 |ScreenPo|s.Y <= 0|
|00003ea0| 20 7c 7c 20 48 42 53 63 | 72 65 65 6e 50 6f 73 2e | || HBSc|reenPos.|
|00003eb0| 59 20 3e 3d 20 43 2e 43 | 6c 69 70 59 29 0d 0a 09 |Y >= C.C|lipY)...|
|00003ec0| 09 09 72 65 74 75 72 6e | 3b 0d 0a 09 7d 0d 0a 0d |..return|;...}...|
|00003ed0| 0a 09 69 66 20 28 46 61 | 73 74 54 72 61 63 65 28 |..if (Fa|stTrace(|
|00003ee0| 54 61 72 67 65 74 4c 6f | 63 61 74 69 6f 6e 2c 20 |TargetLo|cation, |
|00003ef0| 43 61 6d 65 72 61 4c 6f | 63 61 74 69 6f 6e 29 29 |CameraLo|cation))|
|00003f00| 0d 0a 09 7b 0d 0a 09 20 | 20 20 20 09 43 2e 44 72 |...{... | .C.Dr|
|00003f10| 61 77 43 6f 6c 6f 72 20 | 3d 20 57 68 69 74 65 43 |awColor |= WhiteC|
|00003f20| 6f 6c 6f 72 3b 0d 0a 0d | 0a 09 20 20 20 20 09 43 |olor;...|.. .C|
|00003f30| 2e 53 65 74 50 6f 73 28 | 48 42 53 63 72 65 65 6e |.SetPos(|HBScreen|
|00003f40| 50 6f 73 2e 58 20 2d 20 | 48 65 61 6c 74 68 42 61 |Pos.X - |HealthBa|
|00003f50| 72 57 69 64 74 68 20 2a | 20 30 2e 35 2c 20 48 42 |rWidth *| 0.5, HB|
|00003f60| 53 63 72 65 65 6e 50 6f | 73 2e 59 29 3b 0d 0a 09 |ScreenPo|s.Y);...|
|00003f70| 20 20 20 20 09 43 2e 44 | 72 61 77 54 69 6c 65 53 | .C.D|rawTileS|
|00003f80| 74 72 65 74 63 68 65 64 | 28 48 65 61 6c 74 68 42 |tretched|(HealthB|
|00003f90| 61 72 42 61 63 6b 4d 61 | 74 2c 20 48 65 61 6c 74 |arBackMa|t, Healt|
|00003fa0| 68 42 61 72 57 69 64 74 | 68 2c 20 48 65 61 6c 74 |hBarWidt|h, Healt|
|00003fb0| 68 42 61 72 48 65 69 67 | 68 74 29 3b 0d 0a 0d 0a |hBarHeig|ht);....|
|00003fc0| 09 20 20 20 20 09 48 65 | 61 6c 74 68 50 63 74 20 |. .He|althPct |
|00003fd0| 3d 20 31 2e 30 66 20 2a | 20 48 65 61 6c 74 68 20 |= 1.0f *| Health |
|00003fe0| 2f 20 4d 61 78 48 65 61 | 6c 74 68 3b 0d 0a 0d 0a |/ MaxHea|lth;....|
|00003ff0| 09 20 20 20 20 09 69 66 | 20 28 48 65 61 6c 74 68 |. .if| (Health|
|00004000| 50 63 74 20 3c 20 30 2e | 33 35 29 0d 0a 09 20 20 |Pct < 0.|35)... |
|00004010| 20 20 09 20 20 20 43 2e | 44 72 61 77 43 6f 6c 6f | . C.|DrawColo|
|00004020| 72 20 3d 20 52 65 64 43 | 6f 6c 6f 72 3b 0d 0a 09 |r = RedC|olor;...|
|00004030| 20 20 20 20 09 65 6c 73 | 65 20 69 66 20 28 48 65 | .els|e if (He|
|00004040| 61 6c 74 68 50 63 74 20 | 3c 20 30 2e 37 30 29 0d |althPct |< 0.70).|
|00004050| 0a 09 20 20 20 20 09 20 | 20 20 43 2e 44 72 61 77 |.. . | C.Draw|
|00004060| 43 6f 6c 6f 72 20 3d 20 | 47 6f 6c 64 43 6f 6c 6f |Color = |GoldColo|
|00004070| 72 3b 0d 0a 09 20 20 20 | 20 09 65 6c 73 65 0d 0a |r;... | .else..|
|00004080| 09 20 20 20 20 09 20 20 | 20 43 2e 44 72 61 77 43 |. . | C.DrawC|
|00004090| 6f 6c 6f 72 20 3d 20 47 | 72 65 65 6e 43 6f 6c 6f |olor = G|reenColo|
|000040a0| 72 3b 0d 0a 0d 0a 09 20 | 20 20 20 09 43 2e 53 65 |r;..... | .C.Se|
|000040b0| 74 50 6f 73 28 48 42 53 | 63 72 65 65 6e 50 6f 73 |tPos(HBS|creenPos|
|000040c0| 2e 58 20 2d 20 48 65 61 | 6c 74 68 42 61 72 57 69 |.X - Hea|lthBarWi|
|000040d0| 64 74 68 20 2a 20 30 2e | 35 2c 20 48 42 53 63 72 |dth * 0.|5, HBScr|
|000040e0| 65 65 6e 50 6f 73 2e 59 | 29 3b 0d 0a 09 20 20 20 |eenPos.Y|);... |
|000040f0| 20 09 43 2e 44 72 61 77 | 54 69 6c 65 53 74 72 65 | .C.Draw|TileStre|
|00004100| 74 63 68 65 64 28 48 65 | 61 6c 74 68 42 61 72 4d |tched(He|althBarM|
|00004110| 61 74 2c 20 48 65 61 6c | 74 68 42 61 72 57 69 64 |at, Heal|thBarWid|
|00004120| 74 68 20 2a 20 48 65 61 | 6c 74 68 50 63 74 2c 20 |th * Hea|lthPct, |
|00004130| 48 65 61 6c 74 68 42 61 | 72 48 65 69 67 68 74 29 |HealthBa|rHeight)|
|00004140| 3b 0d 0a 09 7d 0d 0a 0d | 0a 09 43 2e 44 72 61 77 |;...}...|..C.Draw|
|00004150| 43 6f 6c 6f 72 20 3d 20 | 4f 6c 64 44 72 61 77 43 |Color = |OldDrawC|
|00004160| 6f 6c 6f 72 3b 0d 0a 7d | 0d 0a 0d 0a 73 69 6d 75 |olor;..}|....simu|
|00004170| 6c 61 74 65 64 20 66 75 | 6e 63 74 69 6f 6e 20 54 |lated fu|nction T|
|00004180| 69 6d 65 72 28 29 0d 0a | 7b 0d 0a 09 6c 6f 63 61 |imer()..|{...loca|
|00004190| 6c 20 4f 4e 53 50 6f 77 | 65 72 43 6f 72 65 20 43 |l ONSPow|erCore C|
|000041a0| 3b 0d 0a 0d 0a 09 69 66 | 20 28 50 6c 61 79 65 72 |;.....if| (Player|
|000041b0| 4f 77 6e 65 72 2e 50 61 | 77 6e 20 21 3d 20 4e 6f |Owner.Pa|wn != No|
|000041c0| 6e 65 20 26 26 20 4f 77 | 6e 65 72 50 52 49 20 21 |ne && Ow|nerPRI !|
|000041d0| 3d 20 4e 6f 6e 65 20 26 | 26 20 4f 77 6e 65 72 50 |= None &|& OwnerP|
|000041e0| 52 49 2e 54 65 61 6d 20 | 21 3d 20 4e 6f 6e 65 29 |RI.Team |!= None)|
|000041f0| 0d 0a 09 7b 0d 0a 09 09 | 43 20 3d 20 4f 77 6e 65 |...{....|C = Owne|
|00004200| 72 50 52 49 2e 47 65 74 | 43 75 72 72 65 6e 74 4e |rPRI.Get|CurrentN|
|00004210| 6f 64 65 28 29 3b 0d 0a | 09 09 69 66 20 28 43 20 |ode();..|..if (C |
|00004220| 21 3d 20 4e 6f 6e 65 29 | 0d 0a 09 09 09 50 6c 61 |!= None)|.....Pla|
|00004230| 79 65 72 4f 77 6e 65 72 | 2e 52 65 63 65 69 76 65 |yerOwner|.Receive|
|00004240| 4c 6f 63 61 6c 69 7a 65 | 64 4d 65 73 73 61 67 65 |Localize|dMessage|
|00004250| 28 63 6c 61 73 73 27 4f | 4e 53 4f 6e 73 6c 61 75 |(class'O|NSOnslau|
|00004260| 67 68 74 4d 65 73 73 61 | 67 65 27 2c 20 32 32 29 |ghtMessa|ge', 22)|
|00004270| 3b 0d 0a 09 7d 0d 0a 7d | 0d 0a 0d 0a 73 69 6d 75 |;...}..}|....simu|
|00004280| 6c 61 74 65 64 20 66 75 | 6e 63 74 69 6f 6e 20 54 |lated fu|nction T|
|00004290| 69 63 6b 28 66 6c 6f 61 | 74 20 64 65 6c 74 61 54 |ick(floa|t deltaT|
|000042a0| 69 6d 65 29 0d 0a 7b 0d | 0a 20 20 20 20 6c 6f 63 |ime)..{.|. loc|
|000042b0| 61 6c 20 4f 4e 53 50 6f | 77 65 72 43 6f 72 65 20 |al ONSPo|werCore |
|000042c0| 43 6f 72 65 3b 0d 0a 0d | 0a 09 53 75 70 65 72 2e |Core;...|..Super.|
|000042d0| 54 69 63 6b 28 64 65 6c | 74 61 54 69 6d 65 29 3b |Tick(del|taTime);|
|000042e0| 0d 0a 0d 0a 09 69 66 20 | 28 20 4f 77 6e 65 72 50 |.....if |( OwnerP|
|000042f0| 52 49 20 3d 3d 20 4e 6f | 6e 65 20 26 26 20 50 61 |RI == No|ne && Pa|
|00004300| 77 6e 4f 77 6e 65 72 50 | 52 49 20 21 3d 20 4e 6f |wnOwnerP|RI != No|
|00004310| 6e 65 20 29 0d 0a 09 09 | 4f 77 6e 65 72 50 52 49 |ne )....|OwnerPRI|
|00004320| 20 3d 20 4f 4e 53 50 6c | 61 79 65 72 52 65 70 6c | = ONSPl|ayerRepl|
|00004330| 69 63 61 74 69 6f 6e 49 | 6e 66 6f 28 50 61 77 6e |icationI|nfo(Pawn|
|00004340| 4f 77 6e 65 72 50 52 49 | 29 3b 0d 0a 0d 0a 09 69 |OwnerPRI|);.....i|
|00004350| 66 20 28 46 69 6e 61 6c | 43 6f 72 65 5b 30 5d 2e |f (Final|Core[0].|
|00004360| 44 65 66 65 6e 64 65 72 | 54 65 61 6d 49 6e 64 65 |Defender|TeamInde|
|00004370| 78 20 21 3d 20 30 29 0d | 0a 09 7b 0d 0a 20 20 20 |x != 0).|..{.. |
|00004380| 20 09 66 6f 72 65 61 63 | 68 20 41 6c 6c 41 63 74 | .foreac|h AllAct|
|00004390| 6f 72 73 28 20 63 6c 61 | 73 73 27 4f 4e 53 50 6f |ors( cla|ss'ONSPo|
|000043a0| 77 65 72 43 6f 72 65 27 | 2c 20 43 6f 72 65 20 29 |werCore'|, Core )|
|000043b0| 0d 0a 20 20 20 20 09 09 | 69 66 20 28 20 43 6f 72 |.. ..|if ( Cor|
|000043c0| 65 2e 62 46 69 6e 61 6c | 43 6f 72 65 20 29 0d 0a |e.bFinal|Core )..|
|000043d0| 20 20 20 20 09 09 09 46 | 69 6e 61 6c 43 6f 72 65 | ...F|inalCore|
|000043e0| 5b 43 6f 72 65 2e 44 65 | 66 65 6e 64 65 72 54 65 |[Core.De|fenderTe|
|000043f0| 61 6d 49 6e 64 65 78 5d | 20 3d 20 43 6f 72 65 3b |amIndex]| = Core;|
|00004400| 0d 0a 20 20 20 20 7d 0d | 0a 0d 0a 09 69 66 20 28 |.. }.|....if (|
|00004410| 20 21 62 52 65 63 65 69 | 76 65 64 4c 69 6e 6b 73 | !bRecei|vedLinks|
|00004420| 20 26 26 20 4f 77 6e 65 | 72 50 52 49 20 21 3d 20 | && Owne|rPRI != |
|00004430| 4e 6f 6e 65 20 29 0d 0a | 09 7b 0d 0a 09 09 43 6c |None )..|.{....Cl|
|00004440| 65 61 72 4c 69 6e 6b 73 | 28 29 3b 0d 0a 09 09 52 |earLinks|();....R|
|00004450| 65 71 75 65 73 74 50 6f | 77 65 72 4c 69 6e 6b 73 |equestPo|werLinks|
|00004460| 28 29 3b 0d 0a 09 7d 0d | 0a 0d 0a 09 43 6f 6c 6f |();...}.|....Colo|
|00004470| 72 50 65 72 63 65 6e 74 | 20 3d 20 30 2e 35 66 20 |rPercent| = 0.5f |
|00004480| 2b 20 43 6f 73 28 28 4c | 65 76 65 6c 2e 54 69 6d |+ Cos((L|evel.Tim|
|00004490| 65 53 65 63 6f 6e 64 73 | 20 2a 20 34 2e 30 29 20 |eSeconds| * 4.0) |
|000044a0| 2a 20 33 2e 31 34 31 35 | 39 20 2a 20 30 2e 35 66 |* 3.1415|9 * 0.5f|
|000044b0| 29 20 2a 20 30 2e 35 66 | 3b 0d 0a 7d 0d 0a 0d 0a |) * 0.5f|;..}....|
|000044c0| 73 69 6d 75 6c 61 74 65 | 64 20 66 75 6e 63 74 69 |simulate|d functi|
|000044d0| 6f 6e 20 52 65 71 75 65 | 73 74 50 6f 77 65 72 4c |on Reque|stPowerL|
|000044e0| 69 6e 6b 73 28 29 0d 0a | 7b 0d 0a 09 69 66 20 28 |inks()..|{...if (|
|000044f0| 20 4f 77 6e 65 72 50 52 | 49 20 21 3d 20 4e 6f 6e | OwnerPR|I != Non|
|00004500| 65 20 29 0d 0a 09 7b 0d | 0a 09 09 4f 77 6e 65 72 |e )...{.|...Owner|
|00004510| 50 52 49 2e 4f 6e 52 65 | 63 65 69 76 65 4c 69 6e |PRI.OnRe|ceiveLin|
|00004520| 6b 20 3d 20 52 65 63 65 | 69 76 65 4c 69 6e 6b 3b |k = Rece|iveLink;|
|00004530| 0d 0a 09 09 4f 77 6e 65 | 72 50 52 49 2e 4f 6e 52 |....Owne|rPRI.OnR|
|00004540| 65 6d 6f 76 65 4c 69 6e | 6b 20 3d 20 52 65 6d 6f |emoveLin|k = Remo|
|00004550| 76 65 4c 69 6e 6b 3b 0d | 0a 09 09 4f 77 6e 65 72 |veLink;.|...Owner|
|00004560| 50 52 49 2e 52 65 73 65 | 74 4c 69 6e 6b 73 20 3d |PRI.Rese|tLinks =|
|00004570| 20 52 65 73 65 74 4c 69 | 6e 6b 73 3b 0d 0a 09 09 | ResetLi|nks;....|
|00004580| 4f 77 6e 65 72 50 52 49 | 2e 53 65 72 76 65 72 53 |OwnerPRI|.ServerS|
|00004590| 65 6e 64 50 6f 77 65 72 | 4c 69 6e 6b 73 28 29 3b |endPower|Links();|
|000045a0| 0d 0a 09 09 62 52 65 63 | 65 69 76 65 64 4c 69 6e |....bRec|eivedLin|
|000045b0| 6b 73 20 3d 20 74 72 75 | 65 3b 0d 0a 09 7d 0d 0a |ks = tru|e;...}..|
|000045c0| 7d 0d 0a 0d 0a 65 78 65 | 63 20 66 75 6e 63 74 69 |}....exe|c functi|
|000045d0| 6f 6e 20 54 6f 67 67 6c | 65 52 61 64 61 72 4d 61 |on Toggl|eRadarMa|
|000045e0| 70 28 29 0d 0a 7b 0d 0a | 09 62 4d 61 70 44 69 73 |p()..{..|.bMapDis|
|000045f0| 61 62 6c 65 64 20 3d 20 | 21 62 4d 61 70 44 69 73 |abled = |!bMapDis|
|00004600| 61 62 6c 65 64 3b 0d 0a | 7d 0d 0a 0d 0a 2f 2f 65 |abled;..|}....//e|
|00004610| 78 65 63 20 66 75 6e 63 | 74 69 6f 6e 20 5a 6f 6f |xec func|tion Zoo|
|00004620| 6d 49 6e 52 61 64 61 72 | 4d 61 70 28 29 0d 0a 2f |mInRadar|Map()../|
|00004630| 2f 7b 0d 0a 2f 2f 20 20 | 20 20 52 61 64 61 72 52 |/{..// | RadarR|
|00004640| 61 6e 67 65 20 3d 20 4d | 61 78 28 52 61 64 61 72 |ange = M|ax(Radar|
|00004650| 52 61 6e 67 65 20 2d 20 | 28 52 61 64 61 72 4d 61 |Range - |(RadarMa|
|00004660| 78 52 61 6e 67 65 20 2a | 20 30 2e 31 29 2c 20 33 |xRange *| 0.1), 3|
|00004670| 30 30 30 2e 30 29 3b 0d | 0a 2f 2f 7d 0d 0a 2f 2f |000.0);.|.//}..//|
|00004680| 0d 0a 2f 2f 65 78 65 63 | 20 66 75 6e 63 74 69 6f |..//exec| functio|
|00004690| 6e 20 5a 6f 6f 6d 4f 75 | 74 52 61 64 61 72 4d 61 |n ZoomOu|tRadarMa|
|000046a0| 70 28 29 0d 0a 2f 2f 7b | 0d 0a 2f 2f 20 20 20 20 |p()..//{|..// |
|000046b0| 52 61 64 61 72 52 61 6e | 67 65 20 3d 20 4d 69 6e |RadarRan|ge = Min|
|000046c0| 28 52 61 64 61 72 52 61 | 6e 67 65 20 2b 20 28 52 |(RadarRa|nge + (R|
|000046d0| 61 64 61 72 4d 61 78 52 | 61 6e 67 65 20 2a 20 30 |adarMaxR|ange * 0|
|000046e0| 2e 31 29 2c 20 52 61 64 | 61 72 4d 61 78 52 61 6e |.1), Rad|arMaxRan|
|000046f0| 67 65 29 3b 0d 0a 2f 2f | 7d 0d 0a 0d 0a 65 78 65 |ge);..//|}....exe|
|00004700| 63 20 66 75 6e 63 74 69 | 6f 6e 20 4c 69 6e 6b 44 |c functi|on LinkD|
|00004710| 65 73 69 67 6e 65 72 28 | 29 0d 0a 7b 0d 0a 20 20 |esigner(|)..{.. |
|00004720| 20 20 69 66 20 28 4f 77 | 6e 65 72 50 52 49 20 21 | if (Ow|nerPRI !|
|00004730| 3d 20 4e 6f 6e 65 29 0d | 0a 09 09 4f 77 6e 65 72 |= None).|...Owner|
|00004740| 50 52 49 2e 52 65 71 75 | 65 73 74 4c 69 6e 6b 44 |PRI.Requ|estLinkD|
|00004750| 65 73 69 67 6e 65 72 28 | 29 3b 0d 0a 7d 0d 0a 0d |esigner(|);..}...|
|00004760| 0a 65 78 65 63 20 66 75 | 6e 63 74 69 6f 6e 20 43 |.exec fu|nction C|
|00004770| 6f 70 79 4c 69 6e 6b 53 | 65 74 75 70 28 29 0d 0a |opyLinkS|etup()..|
|00004780| 7b 0d 0a 09 6c 6f 63 61 | 6c 20 4f 4e 53 50 6f 77 |{...loca|l ONSPow|
|00004790| 65 72 4c 69 6e 6b 4f 66 | 66 69 63 69 61 6c 53 65 |erLinkOf|ficialSe|
|000047a0| 74 75 70 20 53 3b 0d 0a | 09 6c 6f 63 61 6c 20 4f |tup S;..|.local O|
|000047b0| 4e 53 4f 6e 73 6c 61 75 | 67 68 74 47 61 6d 65 2e |NSOnslau|ghtGame.|
|000047c0| 50 6f 77 65 72 4c 69 6e | 6b 53 65 74 75 70 20 42 |PowerLin|kSetup B|
|000047d0| 6c 61 6e 6b 53 65 74 75 | 70 3b 0d 0a 09 6c 6f 63 |lankSetu|p;...loc|
|000047e0| 61 6c 20 4f 4e 53 50 6f | 77 65 72 43 6f 72 65 20 |al ONSPo|werCore |
|000047f0| 4f 3b 0d 0a 09 6c 6f 63 | 61 6c 20 69 6e 74 20 78 |O;...loc|al int x|
|00004800| 2c 20 79 3b 0d 0a 0d 0a | 09 53 20 3d 20 73 70 61 |, y;....|.S = spa|
|00004810| 77 6e 28 63 6c 61 73 73 | 27 4f 4e 53 50 6f 77 65 |wn(class|'ONSPowe|
|00004820| 72 4c 69 6e 6b 4f 66 66 | 69 63 69 61 6c 53 65 74 |rLinkOff|icialSet|
|00004830| 75 70 27 29 3b 0d 0a 09 | 66 6f 72 65 61 63 68 20 |up');...|foreach |
|00004840| 44 79 6e 61 6d 69 63 41 | 63 74 6f 72 73 28 63 6c |DynamicA|ctors(cl|
|00004850| 61 73 73 27 4f 4e 53 50 | 6f 77 65 72 43 6f 72 65 |ass'ONSP|owerCore|
|00004860| 27 2c 20 4f 29 0d 0a 09 | 7b 0d 0a 09 09 53 2e 4c |', O)...|{....S.L|
|00004870| 69 6e 6b 53 65 74 75 70 | 73 5b 78 5d 20 3d 20 42 |inkSetup|s[x] = B|
|00004880| 6c 61 6e 6b 53 65 74 75 | 70 3b 0d 0a 09 09 53 2e |lankSetu|p;....S.|
|00004890| 4c 69 6e 6b 53 65 74 75 | 70 73 5b 78 5d 2e 42 61 |LinkSetu|ps[x].Ba|
|000048a0| 73 65 4e 6f 64 65 20 3d | 20 4f 2e 4e 61 6d 65 3b |seNode =| O.Name;|
|000048b0| 0d 0a 09 09 66 6f 72 20 | 28 79 20 3d 20 30 3b 20 |....for |(y = 0; |
|000048c0| 79 20 3c 20 4f 2e 50 6f | 77 65 72 4c 69 6e 6b 73 |y < O.Po|werLinks|
|000048d0| 2e 6c 65 6e 67 74 68 3b | 20 79 2b 2b 29 0d 0a 09 |.length;| y++)...|
|000048e0| 09 09 53 2e 4c 69 6e 6b | 53 65 74 75 70 73 5b 78 |..S.Link|Setups[x|
|000048f0| 5d 2e 4c 69 6e 6b 65 64 | 4e 6f 64 65 73 5b 79 5d |].Linked|Nodes[y]|
|00004900| 20 3d 20 4f 2e 50 6f 77 | 65 72 4c 69 6e 6b 73 5b | = O.Pow|erLinks[|
|00004910| 79 5d 2e 4e 61 6d 65 3b | 0d 0a 09 09 78 2b 2b 3b |y].Name;|....x++;|
|00004920| 0d 0a 09 7d 0d 0a 0d 0a | 09 43 6f 70 79 4f 62 6a |...}....|.CopyObj|
|00004930| 65 63 74 54 6f 43 6c 69 | 70 62 6f 61 72 64 28 53 |ectToCli|pboard(S|
|00004940| 29 3b 0d 0a 09 53 2e 44 | 65 73 74 72 6f 79 28 29 |);...S.D|estroy()|
|00004950| 3b 0d 0a 0d 0a 09 50 6c | 61 79 65 72 4f 77 6e 65 |;.....Pl|ayerOwne|
|00004960| 72 2e 43 6c 69 65 6e 74 | 4d 65 73 73 61 67 65 28 |r.Client|Message(|
|00004970| 22 4c 69 6e 6b 20 73 65 | 74 75 70 20 63 6f 70 69 |"Link se|tup copi|
|00004980| 65 64 20 74 6f 20 63 6c | 69 70 62 6f 61 72 64 22 |ed to cl|ipboard"|
|00004990| 29 3b 0d 0a 7d 0d 0a 0d | 0a 73 69 6d 75 6c 61 74 |);..}...|.simulat|
|000049a0| 65 64 20 66 75 6e 63 74 | 69 6f 6e 20 55 70 64 61 |ed funct|ion Upda|
|000049b0| 74 65 50 72 65 63 61 63 | 68 65 4d 61 74 65 72 69 |tePrecac|heMateri|
|000049c0| 61 6c 73 28 29 0d 0a 7b | 0d 0a 20 20 20 20 4c 65 |als()..{|.. Le|
|000049d0| 76 65 6c 2e 41 64 64 50 | 72 65 63 61 63 68 65 4d |vel.AddP|recacheM|
|000049e0| 61 74 65 72 69 61 6c 28 | 4d 61 74 65 72 69 61 6c |aterial(|Material|
|000049f0| 27 48 75 64 43 6f 6e 74 | 65 6e 74 2e 47 65 6e 65 |'HudCont|ent.Gene|
|00004a00| 72 69 63 2e 4e 6f 45 6e | 74 72 79 27 29 3b 0d 0a |ric.NoEn|try');..|
|00004a10| 20 20 20 20 4c 65 76 65 | 6c 2e 41 64 64 50 72 65 | Leve|l.AddPre|
|00004a20| 63 61 63 68 65 4d 61 74 | 65 72 69 61 6c 28 4d 61 |cacheMat|erial(Ma|
|00004a30| 74 65 72 69 61 6c 27 48 | 75 64 43 6f 6e 74 65 6e |terial'H|udConten|
|00004a40| 74 2e 47 65 6e 65 72 69 | 63 2e 48 55 44 27 29 3b |t.Generi|c.HUD');|
|00004a50| 0d 0a 20 20 20 20 4c 65 | 76 65 6c 2e 41 64 64 50 |.. Le|vel.AddP|
|00004a60| 72 65 63 61 63 68 65 4d | 61 74 65 72 69 61 6c 28 |recacheM|aterial(|
|00004a70| 4d 61 74 65 72 69 61 6c | 27 49 6e 74 65 72 66 61 |Material|'Interfa|
|00004a80| 63 65 43 6f 6e 74 65 6e | 74 2e 42 6f 72 64 65 72 |ceConten|t.Border|
|00004a90| 42 6f 78 44 27 29 3b 0d | 0a 20 20 20 20 4c 65 76 |BoxD');.|. Lev|
|00004aa0| 65 6c 2e 41 64 64 50 72 | 65 63 61 63 68 65 4d 61 |el.AddPr|ecacheMa|
|00004ab0| 74 65 72 69 61 6c 28 4d | 61 74 65 72 69 61 6c 27 |terial(M|aterial'|
|00004ac0| 4f 4e 53 49 6e 74 65 72 | 66 61 63 65 2d 54 58 2e |ONSInter|face-TX.|
|00004ad0| 48 65 61 6c 74 68 42 61 | 72 27 29 3b 0d 0a 20 20 |HealthBa|r');.. |
|00004ae0| 20 20 4c 65 76 65 6c 2e | 41 64 64 50 72 65 63 61 | Level.|AddPreca|
|00004af0| 63 68 65 4d 61 74 65 72 | 69 61 6c 28 4d 61 74 65 |cheMater|ial(Mate|
|00004b00| 72 69 61 6c 27 4f 4e 53 | 49 6e 74 65 72 66 61 63 |rial'ONS|Interfac|
|00004b10| 65 2d 54 58 2e 4d 61 70 | 42 6f 72 64 65 72 54 65 |e-TX.Map|BorderTe|
|00004b20| 78 27 29 3b 0d 0a 0d 0a | 09 53 75 70 65 72 2e 55 |x');....|.Super.U|
|00004b30| 70 64 61 74 65 50 72 65 | 63 61 63 68 65 4d 61 74 |pdatePre|cacheMat|
|00004b40| 65 72 69 61 6c 73 28 29 | 3b 0d 0a 7d 0d 0a 0d 0a |erials()|;..}....|
|00004b50| 73 69 6d 75 6c 61 74 65 | 64 20 73 74 61 74 69 63 |simulate|d static|
|00004b60| 20 66 75 6e 63 74 69 6f | 6e 20 62 6f 6f 6c 20 43 | functio|n bool C|
|00004b70| 6f 72 65 57 6f 72 6c 64 | 54 6f 53 63 72 65 65 6e |oreWorld|ToScreen|
|00004b80| 28 20 4f 4e 53 50 6f 77 | 65 72 43 6f 72 65 20 43 |( ONSPow|erCore C|
|00004b90| 6f 72 65 2c 20 6f 75 74 | 20 76 65 63 74 6f 72 20 |ore, out| vector |
|00004ba0| 53 63 72 65 65 6e 50 6f | 73 2c 20 66 6c 6f 61 74 |ScreenPo|s, float|
|00004bb0| 20 53 63 72 65 65 6e 58 | 2c 20 66 6c 6f 61 74 20 | ScreenX|, float |
|00004bc0| 53 63 72 65 65 6e 59 2c | 20 66 6c 6f 61 74 20 52 |ScreenY,| float R|
|00004bd0| 61 64 61 72 57 69 64 74 | 68 2c 20 66 6c 6f 61 74 |adarWidt|h, float|
|00004be0| 20 52 61 6e 67 65 2c 20 | 76 65 63 74 6f 72 20 43 | Range, |vector C|
|00004bf0| 65 6e 74 65 72 2c 20 6f | 70 74 69 6f 6e 61 6c 20 |enter, o|ptional |
|00004c00| 62 6f 6f 6c 20 62 49 67 | 6e 6f 72 65 52 61 6e 67 |bool bIg|noreRang|
|00004c10| 65 20 29 0d 0a 7b 0d 0a | 09 6c 6f 63 61 6c 20 76 |e )..{..|.local v|
|00004c20| 65 63 74 6f 72 20 53 63 | 72 65 65 6e 4c 6f 63 61 |ector Sc|reenLoca|
|00004c30| 74 69 6f 6e 3b 0d 0a 09 | 6c 6f 63 61 6c 20 66 6c |tion;...|local fl|
|00004c40| 6f 61 74 20 44 69 73 74 | 3b 0d 0a 0d 0a 09 69 66 |oat Dist|;.....if|
|00004c50| 20 28 20 43 6f 72 65 20 | 3d 3d 20 4e 6f 6e 65 20 | ( Core |== None |
|00004c60| 29 0d 0a 09 09 72 65 74 | 75 72 6e 20 66 61 6c 73 |)....ret|urn fals|
|00004c70| 65 3b 0d 0a 0d 0a 20 20 | 20 20 53 63 72 65 65 6e |e;.... | Screen|
|00004c80| 4c 6f 63 61 74 69 6f 6e | 20 3d 20 43 6f 72 65 2e |Location| = Core.|
|00004c90| 4c 6f 63 61 74 69 6f 6e | 20 2d 20 43 65 6e 74 65 |Location| - Cente|
|00004ca0| 72 3b 0d 0a 20 20 20 20 | 53 63 72 65 65 6e 4c 6f |r;.. |ScreenLo|
|00004cb0| 63 61 74 69 6f 6e 2e 5a | 20 3d 20 30 3b 0d 0a 09 |cation.Z| = 0;...|
|00004cc0| 44 69 73 74 20 3d 20 56 | 53 69 7a 65 28 53 63 72 |Dist = V|Size(Scr|
|00004cd0| 65 65 6e 4c 6f 63 61 74 | 69 6f 6e 29 3b 0d 0a 09 |eenLocat|ion);...|
|00004ce0| 69 66 20 28 20 62 49 67 | 6e 6f 72 65 52 61 6e 67 |if ( bIg|noreRang|
|00004cf0| 65 20 7c 7c 20 28 44 69 | 73 74 20 3c 20 28 52 61 |e || (Di|st < (Ra|
|00004d00| 6e 67 65 20 2a 20 30 2e | 39 35 29 29 20 29 0d 0a |nge * 0.|95)) )..|
|00004d10| 09 7b 0d 0a 20 20 20 20 | 20 20 20 20 53 63 72 65 |.{.. | Scre|
|00004d20| 65 6e 50 6f 73 2e 58 20 | 3d 20 53 63 72 65 65 6e |enPos.X |= Screen|
|00004d30| 58 20 2b 20 53 63 72 65 | 65 6e 4c 6f 63 61 74 69 |X + Scre|enLocati|
|00004d40| 6f 6e 2e 58 20 2a 20 28 | 52 61 64 61 72 57 69 64 |on.X * (|RadarWid|
|00004d50| 74 68 2f 52 61 6e 67 65 | 29 3b 0d 0a 20 20 20 20 |th/Range|);.. |
|00004d60| 20 20 20 20 53 63 72 65 | 65 6e 50 6f 73 2e 59 20 | Scre|enPos.Y |
|00004d70| 3d 20 53 63 72 65 65 6e | 59 20 2b 20 53 63 72 65 |= Screen|Y + Scre|
|00004d80| 65 6e 4c 6f 63 61 74 69 | 6f 6e 2e 59 20 2a 20 28 |enLocati|on.Y * (|
|00004d90| 52 61 64 61 72 57 69 64 | 74 68 2f 52 61 6e 67 65 |RadarWid|th/Range|
|00004da0| 29 3b 0d 0a 20 20 20 20 | 20 20 20 20 53 63 72 65 |);.. | Scre|
|00004db0| 65 6e 50 6f 73 2e 5a 20 | 3d 20 30 3b 0d 0a 20 20 |enPos.Z |= 0;.. |
|00004dc0| 20 20 20 20 20 20 72 65 | 74 75 72 6e 20 74 72 75 | re|turn tru|
|00004dd0| 65 3b 0d 0a 20 20 20 20 | 7d 0d 0a 0d 0a 20 20 20 |e;.. |}.... |
|00004de0| 20 72 65 74 75 72 6e 20 | 66 61 6c 73 65 3b 0d 0a | return |false;..|
|00004df0| 7d 0d 0a 0d 0a 73 69 6d | 75 6c 61 74 65 64 20 73 |}....sim|ulated s|
|00004e00| 74 61 74 69 63 20 66 75 | 6e 63 74 69 6f 6e 20 44 |tatic fu|nction D|
|00004e10| 72 61 77 4d 61 70 49 6d | 61 67 65 28 20 43 61 6e |rawMapIm|age( Can|
|00004e20| 76 61 73 20 43 2c 20 4d | 61 74 65 72 69 61 6c 20 |vas C, M|aterial |
|00004e30| 49 6d 61 67 65 2c 20 66 | 6c 6f 61 74 20 4d 61 70 |Image, f|loat Map|
|00004e40| 58 2c 20 66 6c 6f 61 74 | 20 4d 61 70 59 2c 20 66 |X, float| MapY, f|
|00004e50| 6c 6f 61 74 20 50 6c 61 | 79 65 72 58 2c 20 66 6c |loat Pla|yerX, fl|
|00004e60| 6f 61 74 20 50 6c 61 79 | 65 72 59 2c 20 76 65 63 |oat Play|erY, vec|
|00004e70| 74 6f 72 20 44 69 6d 65 | 6e 73 69 6f 6e 73 20 29 |tor Dime|nsions )|
|00004e80| 0d 0a 7b 0d 0a 09 6c 6f | 63 61 6c 20 66 6c 6f 61 |..{...lo|cal floa|
|00004e90| 74 20 4d 61 70 53 63 61 | 6c 65 2c 20 4d 61 70 53 |t MapSca|le, MapS|
|00004ea0| 69 7a 65 3b 0d 0a 09 6c | 6f 63 61 6c 20 62 79 74 |ize;...l|ocal byt|
|00004eb0| 65 20 20 53 61 76 65 64 | 41 6c 70 68 61 3b 0d 0a |e Saved|Alpha;..|
|00004ec0| 0d 0a 09 2f 2a 0d 0a 09 | 44 69 6d 65 6e 73 69 6f |.../*...|Dimensio|
|00004ed0| 6e 73 2e 58 20 3d 20 57 | 69 64 74 68 0d 0a 09 44 |ns.X = W|idth...D|
|00004ee0| 69 6d 65 6e 73 69 6f 6e | 73 2e 59 20 3d 20 52 61 |imension|s.Y = Ra|
|00004ef0| 6e 67 65 0d 0a 09 44 69 | 6d 65 6e 73 69 6f 6e 73 |nge...Di|mensions|
|00004f00| 2e 5a 20 3d 20 41 6c 70 | 68 61 0d 0a 0d 0a 09 2a |.Z = Alp|ha.....*|
|00004f10| 2f 0d 0a 0d 0a 09 69 66 | 20 28 20 49 6d 61 67 65 |/.....if| ( Image|
|00004f20| 20 3d 3d 20 4e 6f 6e 65 | 20 7c 7c 20 43 20 3d 3d | == None| || C ==|
|00004f30| 20 4e 6f 6e 65 20 29 0d | 0a 09 09 72 65 74 75 72 | None ).|...retur|
|00004f40| 6e 3b 0d 0a 0d 0a 09 4d | 61 70 53 69 7a 65 20 3d |n;.....M|apSize =|
|00004f50| 20 49 6d 61 67 65 2e 4d | 61 74 65 72 69 61 6c 55 | Image.M|aterialU|
|00004f60| 53 69 7a 65 28 29 3b 0d | 0a 09 4d 61 70 53 63 61 |Size();.|..MapSca|
|00004f70| 6c 65 20 3d 20 4d 61 70 | 53 69 7a 65 20 2f 20 28 |le = Map|Size / (|
|00004f80| 44 69 6d 65 6e 73 69 6f | 6e 73 2e 59 20 2a 20 32 |Dimensio|ns.Y * 2|
|00004f90| 29 3b 0d 0a 0d 0a 09 53 | 61 76 65 64 41 6c 70 68 |);.....S|avedAlph|
|00004fa0| 61 20 3d 20 43 2e 44 72 | 61 77 43 6f 6c 6f 72 2e |a = C.Dr|awColor.|
|00004fb0| 41 3b 0d 0a 0d 0a 09 43 | 2e 44 72 61 77 43 6f 6c |A;.....C|.DrawCol|
|00004fc0| 6f 72 20 3d 20 64 65 66 | 61 75 6c 74 2e 57 68 69 |or = def|ault.Whi|
|00004fd0| 74 65 43 6f 6c 6f 72 3b | 0d 0a 09 43 2e 44 72 61 |teColor;|...C.Dra|
|00004fe0| 77 43 6f 6c 6f 72 2e 41 | 20 3d 20 44 69 6d 65 6e |wColor.A| = Dimen|
|00004ff0| 73 69 6f 6e 73 2e 5a 3b | 0d 0a 0d 0a 09 43 2e 53 |sions.Z;|.....C.S|
|00005000| 65 74 50 6f 73 28 20 4d | 61 70 58 20 2d 20 44 69 |etPos( M|apX - Di|
|00005010| 6d 65 6e 73 69 6f 6e 73 | 2e 58 2c 20 4d 61 70 59 |mensions|.X, MapY|
|00005020| 20 2d 20 44 69 6d 65 6e | 73 69 6f 6e 73 2e 58 20 | - Dimen|sions.X |
|00005030| 29 3b 0d 0a 09 43 2e 44 | 72 61 77 54 69 6c 65 28 |);...C.D|rawTile(|
|00005040| 20 49 6d 61 67 65 2c 20 | 44 69 6d 65 6e 73 69 6f | Image, |Dimensio|
|00005050| 6e 73 2e 58 20 2a 20 32 | 2e 30 2c 20 44 69 6d 65 |ns.X * 2|.0, Dime|
|00005060| 6e 73 69 6f 6e 73 2e 58 | 20 2a 20 32 2e 30 2c 0d |nsions.X| * 2.0,.|
|00005070| 0a 09 20 20 20 20 20 20 | 20 20 20 20 20 28 50 6c |.. | (Pl|
|00005080| 61 79 65 72 58 20 2d 20 | 44 69 6d 65 6e 73 69 6f |ayerX - |Dimensio|
|00005090| 6e 73 2e 59 29 20 2a 20 | 4d 61 70 53 63 61 6c 65 |ns.Y) * |MapScale|
|000050a0| 20 2b 20 4d 61 70 53 69 | 7a 65 20 2f 20 32 2e 30 | + MapSi|ze / 2.0|
|000050b0| 2c 0d 0a 09 09 09 20 20 | 20 28 50 6c 61 79 65 72 |,..... | (Player|
|000050c0| 59 20 2d 20 44 69 6d 65 | 6e 73 69 6f 6e 73 2e 59 |Y - Dime|nsions.Y|
|000050d0| 29 20 2a 20 4d 61 70 53 | 63 61 6c 65 20 2b 20 4d |) * MapS|cale + M|
|000050e0| 61 70 53 69 7a 65 20 2f | 20 32 2e 30 2c 0d 0a 09 |apSize /| 2.0,...|
|000050f0| 09 09 20 20 20 44 69 6d | 65 6e 73 69 6f 6e 73 2e |.. Dim|ensions.|
|00005100| 59 20 2a 20 32 20 2a 20 | 4d 61 70 53 63 61 6c 65 |Y * 2 * |MapScale|
|00005110| 2c 20 44 69 6d 65 6e 73 | 69 6f 6e 73 2e 59 20 2a |, Dimens|ions.Y *|
|00005120| 20 32 20 2a 20 4d 61 70 | 53 63 61 6c 65 20 29 3b | 2 * Map|Scale );|
|00005130| 0d 0a 0d 0a 09 43 2e 44 | 72 61 77 43 6f 6c 6f 72 |.....C.D|rawColor|
|00005140| 2e 41 20 3d 20 53 61 76 | 65 64 41 6c 70 68 61 3b |.A = Sav|edAlpha;|
|00005150| 0d 0a 7d 0d 0a 0d 0a 73 | 69 6d 75 6c 61 74 65 64 |..}....s|imulated|
|00005160| 20 73 74 61 74 69 63 20 | 66 75 6e 63 74 69 6f 6e | static |function|
|00005170| 20 44 72 61 77 41 74 74 | 61 63 6b 49 63 6f 6e 28 | DrawAtt|ackIcon(|
|00005180| 20 43 61 6e 76 61 73 20 | 43 2c 20 4f 4e 53 50 6f | Canvas |C, ONSPo|
|00005190| 77 65 72 43 6f 72 65 20 | 43 75 72 43 6f 72 65 2c |werCore |CurCore,|
|000051a0| 20 76 65 63 74 6f 72 20 | 48 55 44 4c 6f 63 61 74 | vector |HUDLocat|
|000051b0| 69 6f 6e 2c 20 66 6c 6f | 61 74 20 49 63 6f 6e 53 |ion, flo|at IconS|
|000051c0| 63 61 6c 69 6e 67 2c 20 | 66 6c 6f 61 74 20 48 55 |caling, |float HU|
|000051d0| 44 53 63 61 6c 69 6e 67 | 2c 20 66 6c 6f 61 74 20 |DScaling|, float |
|000051e0| 43 6f 6c 6f 72 50 65 72 | 63 65 6e 74 61 67 65 20 |ColorPer|centage |
|000051f0| 29 0d 0a 7b 0d 0a 09 6c | 6f 63 61 6c 20 66 6c 6f |)..{...l|ocal flo|
|00005200| 61 74 20 41 74 74 61 63 | 6b 49 63 6f 6e 53 69 7a |at Attac|kIconSiz|
|00005210| 65 2c 20 43 6f 72 65 49 | 63 6f 6e 53 69 7a 65 3b |e, CoreI|conSize;|
|00005220| 0d 0a 09 6c 6f 63 61 6c | 20 63 6f 6c 6f 72 20 48 |...local| color H|
|00005230| 6f 6c 64 43 6f 6c 6f 72 | 3b 0d 0a 0d 0a 09 69 66 |oldColor|;.....if|
|00005240| 20 28 20 43 20 3d 3d 20 | 4e 6f 6e 65 20 29 0d 0a | ( C == |None )..|
|00005250| 09 09 72 65 74 75 72 6e | 3b 0d 0a 0d 0a 20 20 20 |..return|;.... |
|00005260| 20 69 66 20 28 43 75 72 | 43 6f 72 65 2e 62 46 69 | if (Cur|Core.bFi|
|00005270| 6e 61 6c 43 6f 72 65 29 | 0d 0a 09 20 20 20 43 6f |nalCore)|... Co|
|00005280| 72 65 49 63 6f 6e 53 69 | 7a 65 20 3d 20 32 2e 30 |reIconSi|ze = 2.0|
|00005290| 20 2a 20 49 63 6f 6e 53 | 63 61 6c 69 6e 67 20 2a | * IconS|caling *|
|000052a0| 20 31 36 20 2a 20 43 2e | 43 6c 69 70 58 20 2a 20 | 16 * C.|ClipX * |
|000052b0| 48 55 44 53 63 61 6c 69 | 6e 67 2f 31 36 30 30 3b |HUDScali|ng/1600;|
|000052c0| 0d 0a 09 65 6c 73 65 0d | 0a 09 20 20 20 43 6f 72 |...else.|.. Cor|
|000052d0| 65 49 63 6f 6e 53 69 7a | 65 20 3d 20 49 63 6f 6e |eIconSiz|e = Icon|
|000052e0| 53 63 61 6c 69 6e 67 20 | 2a 20 31 36 20 2a 20 43 |Scaling |* 16 * C|
|000052f0| 2e 43 6c 69 70 58 20 2a | 20 48 55 44 53 63 61 6c |.ClipX *| HUDScal|
|00005300| 69 6e 67 2f 31 36 30 30 | 3b 0d 0a 0d 0a 20 20 20 |ing/1600|;.... |
|00005310| 20 41 74 74 61 63 6b 49 | 63 6f 6e 53 69 7a 65 20 | AttackI|conSize |
|00005320| 3d 20 43 6f 72 65 49 63 | 6f 6e 53 69 7a 65 20 2a |= CoreIc|onSize *|
|00005330| 20 28 32 2e 35 20 2b 20 | 31 2e 35 20 2a 20 43 6f | (2.5 + |1.5 * Co|
|00005340| 6c 6f 72 50 65 72 63 65 | 6e 74 61 67 65 29 3b 0d |lorPerce|ntage);.|
|00005350| 0a 0d 0a 20 20 20 20 48 | 6f 6c 64 43 6f 6c 6f 72 |... H|oldColor|
|00005360| 20 3d 20 43 2e 44 72 61 | 77 43 6f 6c 6f 72 3b 0d | = C.Dra|wColor;.|
|00005370| 0a 0d 0a 20 20 20 20 69 | 66 20 28 43 75 72 43 6f |... i|f (CurCo|
|00005380| 72 65 2e 62 53 65 76 65 | 72 65 64 20 26 26 20 43 |re.bSeve|red && C|
|00005390| 75 72 43 6f 72 65 2e 43 | 6f 72 65 53 74 61 67 65 |urCore.C|oreStage|
|000053a0| 20 3d 3d 20 30 29 0d 0a | 20 20 20 20 20 20 20 20 | == 0)..| |
|000053b0| 43 2e 44 72 61 77 43 6f | 6c 6f 72 20 3d 20 64 65 |C.DrawCo|lor = de|
|000053c0| 66 61 75 6c 74 2e 53 65 | 76 65 72 65 64 43 6f 6c |fault.Se|veredCol|
|000053d0| 6f 72 41 20 2a 20 43 6f | 6c 6f 72 50 65 72 63 65 |orA * Co|lorPerce|
|000053e0| 6e 74 61 67 65 20 2b 20 | 64 65 66 61 75 6c 74 2e |ntage + |default.|
|000053f0| 53 65 76 65 72 65 64 43 | 6f 6c 6f 72 42 20 2a 20 |SeveredC|olorB * |
|00005400| 28 31 2e 30 20 2d 20 43 | 6f 6c 6f 72 50 65 72 63 |(1.0 - C|olorPerc|
|00005410| 65 6e 74 61 67 65 29 3b | 0d 0a 20 20 20 20 65 6c |entage);|.. el|
|00005420| 73 65 0d 0a 20 20 20 20 | 20 20 20 20 43 2e 44 72 |se.. | C.Dr|
|00005430| 61 77 43 6f 6c 6f 72 20 | 3d 20 64 65 66 61 75 6c |awColor |= defaul|
|00005440| 74 2e 41 74 74 61 63 6b | 43 6f 6c 6f 72 41 20 2a |t.Attack|ColorA *|
|00005450| 20 43 6f 6c 6f 72 50 65 | 72 63 65 6e 74 61 67 65 | ColorPe|rcentage|
|00005460| 20 2b 20 64 65 66 61 75 | 6c 74 2e 41 74 74 61 63 | + defau|lt.Attac|
|00005470| 6b 43 6f 6c 6f 72 42 20 | 2a 20 28 31 2e 30 20 2d |kColorB |* (1.0 -|
|00005480| 20 43 6f 6c 6f 72 50 65 | 72 63 65 6e 74 61 67 65 | ColorPe|rcentage|
|00005490| 29 3b 0d 0a 0d 0a 20 20 | 20 20 43 2e 53 65 74 50 |);.... | C.SetP|
|000054a0| 6f 73 28 48 55 44 4c 6f | 63 61 74 69 6f 6e 2e 58 |os(HUDLo|cation.X|
|000054b0| 20 2d 20 41 74 74 61 63 | 6b 49 63 6f 6e 53 69 7a | - Attac|kIconSiz|
|000054c0| 65 20 2a 20 30 2e 35 2c | 20 48 55 44 4c 6f 63 61 |e * 0.5,| HUDLoca|
|000054d0| 74 69 6f 6e 2e 59 20 2d | 20 41 74 74 61 63 6b 49 |tion.Y -| AttackI|
|000054e0| 63 6f 6e 53 69 7a 65 20 | 2a 20 30 2e 35 29 3b 0d |conSize |* 0.5);.|
|000054f0| 0a 20 20 20 20 43 2e 44 | 72 61 77 54 69 6c 65 28 |. C.D|rawTile(|
|00005500| 4d 61 74 65 72 69 61 6c | 27 4e 65 77 48 55 44 49 |Material|'NewHUDI|
|00005510| 63 6f 6e 73 27 2c 20 41 | 74 74 61 63 6b 49 63 6f |cons', A|ttackIco|
|00005520| 6e 53 69 7a 65 2c 20 41 | 74 74 61 63 6b 49 63 6f |nSize, A|ttackIco|
|00005530| 6e 53 69 7a 65 2c 20 30 | 2c 20 36 34 2c 20 36 34 |nSize, 0|, 64, 64|
|00005540| 2c 20 36 34 29 3b 0d 0a | 20 20 20 20 43 2e 44 72 |, 64);..| C.Dr|
|00005550| 61 77 43 6f 6c 6f 72 20 | 3d 20 48 6f 6c 64 43 6f |awColor |= HoldCo|
|00005560| 6c 6f 72 3b 0d 0a 7d 0d | 0a 0d 0a 73 69 6d 75 6c |lor;..}.|...simul|
|00005570| 61 74 65 64 20 73 74 61 | 74 69 63 20 66 75 6e 63 |ated sta|tic func|
|00005580| 74 69 6f 6e 20 44 72 61 | 77 43 6f 72 65 49 63 6f |tion Dra|wCoreIco|
|00005590| 6e 28 20 43 61 6e 76 61 | 73 20 43 2c 20 76 65 63 |n( Canva|s C, vec|
|000055a0| 74 6f 72 20 48 55 44 4c | 6f 63 61 74 69 6f 6e 2c |tor HUDL|ocation,|
|000055b0| 20 62 6f 6f 6c 20 62 41 | 74 74 61 63 6b 61 62 6c | bool bA|ttackabl|
|000055c0| 65 2c 20 66 6c 6f 61 74 | 20 49 63 6f 6e 53 63 61 |e, float| IconSca|
|000055d0| 6c 69 6e 67 2c 20 66 6c | 6f 61 74 20 48 55 44 53 |ling, fl|oat HUDS|
|000055e0| 63 61 6c 69 6e 67 2c 20 | 66 6c 6f 61 74 20 43 6f |caling, |float Co|
|000055f0| 6c 6f 72 50 65 72 63 65 | 6e 74 61 67 65 20 29 0d |lorPerce|ntage ).|
|00005600| 0a 7b 0d 0a 09 6c 6f 63 | 61 6c 20 66 6c 6f 61 74 |.{...loc|al float|
|00005610| 20 43 6f 72 65 49 63 6f | 6e 53 69 7a 65 3b 0d 0a | CoreIco|nSize;..|
|00005620| 2f 2f 09 6c 6f 63 61 6c | 20 63 6f 6c 6f 72 20 48 |//.local| color H|
|00005630| 6f 6c 64 43 6f 6c 6f 72 | 3b 0d 0a 0d 0a 09 69 66 |oldColor|;.....if|
|00005640| 20 28 20 43 20 3d 3d 20 | 4e 6f 6e 65 20 29 0d 0a | ( C == |None )..|
|00005650| 09 09 72 65 74 75 72 6e | 3b 0d 0a 0d 0a 09 43 6f |..return|;.....Co|
|00005660| 72 65 49 63 6f 6e 53 69 | 7a 65 20 3d 20 49 63 6f |reIconSi|ze = Ico|
|00005670| 6e 53 63 61 6c 69 6e 67 | 20 2a 20 31 36 20 2a 20 |nScaling| * 16 * |
|00005680| 43 2e 43 6c 69 70 58 20 | 2a 20 48 55 44 53 63 61 |C.ClipX |* HUDSca|
|00005690| 6c 69 6e 67 2f 31 36 30 | 30 3b 0d 0a 20 20 20 20 |ling/160|0;.. |
|000056a0| 43 2e 53 65 74 50 6f 73 | 28 48 55 44 4c 6f 63 61 |C.SetPos|(HUDLoca|
|000056b0| 74 69 6f 6e 2e 58 20 2d | 20 43 6f 72 65 49 63 6f |tion.X -| CoreIco|
|000056c0| 6e 53 69 7a 65 20 2a 20 | 33 2e 30 20 2a 20 30 2e |nSize * |3.0 * 0.|
|000056d0| 35 2c 20 48 55 44 4c 6f | 63 61 74 69 6f 6e 2e 59 |5, HUDLo|cation.Y|
|000056e0| 20 2d 20 43 6f 72 65 49 | 63 6f 6e 53 69 7a 65 20 | - CoreI|conSize |
|000056f0| 2a 20 33 2e 30 20 2a 20 | 30 2e 35 29 3b 0d 0a 0d |* 3.0 * |0.5);...|
|00005700| 0a 2f 2f 20 20 20 20 48 | 6f 6c 64 43 6f 6c 6f 72 |.// H|oldColor|
|00005710| 20 3d 20 43 2e 44 72 61 | 77 43 6f 6c 6f 72 3b 0d | = C.Dra|wColor;.|
|00005720| 0a 0d 0a 20 20 20 20 69 | 66 20 28 62 41 74 74 61 |... i|f (bAtta|
|00005730| 63 6b 61 62 6c 65 29 0d | 0a 20 20 20 20 20 20 20 |ckable).|. |
|00005740| 20 43 2e 44 72 61 77 43 | 6f 6c 6f 72 20 3d 20 43 | C.DrawC|olor = C|
|00005750| 2e 44 72 61 77 43 6f 6c | 6f 72 20 2a 20 43 6f 6c |.DrawCol|or * Col|
|00005760| 6f 72 50 65 72 63 65 6e | 74 61 67 65 20 2b 20 28 |orPercen|tage + (|
|00005770| 43 2e 44 72 61 77 43 6f | 6c 6f 72 20 2a 20 30 2e |C.DrawCo|lor * 0.|
|00005780| 35 29 20 2a 20 28 31 2e | 30 20 2d 20 43 6f 6c 6f |5) * (1.|0 - Colo|
|00005790| 72 50 65 72 63 65 6e 74 | 61 67 65 29 3b 0d 0a 0d |rPercent|age);...|
|000057a0| 0a 20 20 20 20 43 2e 44 | 72 61 77 54 69 6c 65 28 |. C.D|rawTile(|
|000057b0| 4d 61 74 65 72 69 61 6c | 27 4e 65 77 48 55 44 49 |Material|'NewHUDI|
|000057c0| 63 6f 6e 73 27 2c 20 43 | 6f 72 65 49 63 6f 6e 53 |cons', C|oreIconS|
|000057d0| 69 7a 65 20 2a 20 33 2e | 30 2c 20 43 6f 72 65 49 |ize * 3.|0, CoreI|
|000057e0| 63 6f 6e 53 69 7a 65 20 | 2a 20 33 2e 30 2c 20 36 |conSize |* 3.0, 6|
|000057f0| 34 2c 20 30 2c 20 36 34 | 2c 20 36 34 29 3b 0d 0a |4, 0, 64|, 64);..|
|00005800| 2f 2f 20 20 20 20 43 2e | 44 72 61 77 43 6f 6c 6f |// C.|DrawColo|
|00005810| 72 20 3d 20 48 6f 6c 64 | 43 6f 6c 6f 72 3b 0d 0a |r = Hold|Color;..|
|00005820| 7d 0d 0a 0d 0a 73 69 6d | 75 6c 61 74 65 64 20 73 |}....sim|ulated s|
|00005830| 74 61 74 69 63 20 66 75 | 6e 63 74 69 6f 6e 20 44 |tatic fu|nction D|
|00005840| 72 61 77 4e 6f 64 65 49 | 63 6f 6e 28 20 43 61 6e |rawNodeI|con( Can|
|00005850| 76 61 73 20 43 2c 20 76 | 65 63 74 6f 72 20 48 55 |vas C, v|ector HU|
|00005860| 44 4c 6f 63 61 74 69 6f | 6e 2c 20 62 6f 6f 6c 20 |DLocatio|n, bool |
|00005870| 62 41 74 74 61 63 6b 61 | 62 6c 65 2c 20 62 79 74 |bAttacka|ble, byt|
|00005880| 65 20 53 74 61 67 65 2c | 20 66 6c 6f 61 74 20 49 |e Stage,| float I|
|00005890| 63 6f 6e 53 63 61 6c 69 | 6e 67 2c 20 66 6c 6f 61 |conScali|ng, floa|
|000058a0| 74 20 48 55 44 53 63 61 | 6c 69 6e 67 2c 20 66 6c |t HUDSca|ling, fl|
|000058b0| 6f 61 74 20 43 6f 6c 6f | 72 50 65 72 63 65 6e 74 |oat Colo|rPercent|
|000058c0| 61 67 65 20 29 0d 0a 7b | 0d 0a 09 6c 6f 63 61 6c |age )..{|...local|
|000058d0| 20 66 6c 6f 61 74 20 43 | 6f 72 65 49 63 6f 6e 53 | float C|oreIconS|
|000058e0| 69 7a 65 3b 0d 0a 0d 0a | 09 69 66 20 28 20 43 20 |ize;....|.if ( C |
|000058f0| 3d 3d 20 4e 6f 6e 65 20 | 29 0d 0a 09 09 72 65 74 |== None |)....ret|
|00005900| 75 72 6e 3b 0d 0a 0d 0a | 09 43 6f 72 65 49 63 6f |urn;....|.CoreIco|
|00005910| 6e 53 69 7a 65 20 3d 20 | 49 63 6f 6e 53 63 61 6c |nSize = |IconScal|
|00005920| 69 6e 67 20 2a 20 31 36 | 20 2a 20 43 2e 43 6c 69 |ing * 16| * C.Cli|
|00005930| 70 58 20 2a 20 48 55 44 | 53 63 61 6c 69 6e 67 2f |pX * HUD|Scaling/|
|00005940| 31 36 30 30 3b 0d 0a 20 | 20 20 20 69 66 20 28 53 |1600;.. | if (S|
|00005950| 74 61 67 65 20 3d 3d 20 | 34 20 7c 7c 20 53 74 61 |tage == |4 || Sta|
|00005960| 67 65 20 3d 3d 20 31 29 | 0d 0a 20 20 20 20 7b 0d |ge == 1)|.. {.|
|00005970| 0a 20 20 20 20 20 20 20 | 20 69 66 20 28 62 41 74 |. | if (bAt|
|00005980| 74 61 63 6b 61 62 6c 65 | 29 0d 0a 20 20 20 20 20 |tackable|).. |
|00005990| 20 20 20 7b 0d 0a 20 20 | 20 20 20 20 20 20 20 20 | {.. | |
|000059a0| 20 20 43 2e 53 65 74 50 | 6f 73 28 48 55 44 4c 6f | C.SetP|os(HUDLo|
|000059b0| 63 61 74 69 6f 6e 2e 58 | 20 2d 20 43 6f 72 65 49 |cation.X| - CoreI|
|000059c0| 63 6f 6e 53 69 7a 65 20 | 2a 20 30 2e 37 35 20 2a |conSize |* 0.75 *|
|000059d0| 20 30 2e 35 2c 20 48 55 | 44 4c 6f 63 61 74 69 6f | 0.5, HU|DLocatio|
|000059e0| 6e 2e 59 20 2d 20 43 6f | 72 65 49 63 6f 6e 53 69 |n.Y - Co|reIconSi|
|000059f0| 7a 65 20 2a 20 30 2e 37 | 35 20 2a 20 30 2e 35 29 |ze * 0.7|5 * 0.5)|
|00005a00| 3b 0d 0a 20 20 20 20 20 | 20 20 20 20 20 20 20 43 |;.. | C|
|00005a10| 2e 44 72 61 77 54 69 6c | 65 28 4d 61 74 65 72 69 |.DrawTil|e(Materi|
|00005a20| 61 6c 27 4e 65 77 48 55 | 44 49 63 6f 6e 73 27 2c |al'NewHU|DIcons',|
|00005a30| 20 43 6f 72 65 49 63 6f | 6e 53 69 7a 65 20 2a 20 | CoreIco|nSize * |
|00005a40| 30 2e 37 35 2c 20 43 6f | 72 65 49 63 6f 6e 53 69 |0.75, Co|reIconSi|
|00005a50| 7a 65 20 2a 20 30 2e 37 | 35 2c 20 30 2c 20 30 2c |ze * 0.7|5, 0, 0,|
|00005a60| 20 33 32 2c 20 33 32 29 | 3b 0d 0a 20 20 20 20 20 | 32, 32)|;.. |
|00005a70| 20 20 20 7d 0d 0a 20 20 | 20 20 20 20 20 20 65 6c | }.. | el|
|00005a80| 73 65 0d 0a 20 20 20 20 | 20 20 20 20 7b 0d 0a 20 |se.. | {.. |
|00005a90| 20 20 20 20 20 20 20 20 | 20 20 20 43 2e 53 65 74 | | C.Set|
|00005aa0| 50 6f 73 28 48 55 44 4c | 6f 63 61 74 69 6f 6e 2e |Pos(HUDL|ocation.|
|00005ab0| 58 20 2d 20 43 6f 72 65 | 49 63 6f 6e 53 69 7a 65 |X - Core|IconSize|
|00005ac0| 20 2a 20 31 2e 37 35 20 | 2a 20 30 2e 35 2c 20 48 | * 1.75 |* 0.5, H|
|00005ad0| 55 44 4c 6f 63 61 74 69 | 6f 6e 2e 59 20 2d 20 43 |UDLocati|on.Y - C|
|00005ae0| 6f 72 65 49 63 6f 6e 53 | 69 7a 65 20 2a 20 31 2e |oreIconS|ize * 1.|
|00005af0| 37 35 20 2a 20 30 2e 35 | 29 3b 0d 0a 20 20 20 20 |75 * 0.5|);.. |
|00005b00| 20 20 20 20 20 20 20 20 | 43 2e 44 72 61 77 54 69 | |C.DrawTi|
|00005b10| 6c 65 28 4d 61 74 65 72 | 69 61 6c 27 4e 65 77 48 |le(Mater|ial'NewH|
|00005b20| 55 44 49 63 6f 6e 73 27 | 2c 20 43 6f 72 65 49 63 |UDIcons'|, CoreIc|
|00005b30| 6f 6e 53 69 7a 65 20 2a | 20 31 2e 37 35 2c 20 43 |onSize *| 1.75, C|
|00005b40| 6f 72 65 49 63 6f 6e 53 | 69 7a 65 20 2a 20 31 2e |oreIconS|ize * 1.|
|00005b50| 37 35 2c 20 30 2c 20 33 | 32 2c 20 33 32 2c 20 33 |75, 0, 3|2, 32, 3|
|00005b60| 32 29 3b 0d 0a 20 20 20 | 20 20 20 20 20 7d 0d 0a |2);.. | }..|
|00005b70| 20 20 20 20 7d 0d 0a 20 | 20 20 20 65 6c 73 65 0d | }.. | else.|
|00005b80| 0a 09 7b 0d 0a 09 09 69 | 66 20 28 20 53 74 61 67 |..{....i|f ( Stag|
|00005b90| 65 20 21 3d 20 30 20 29 | 0d 0a 09 09 09 43 2e 44 |e != 0 )|.....C.D|
|00005ba0| 72 61 77 43 6f 6c 6f 72 | 20 3d 20 43 2e 44 72 61 |rawColor| = C.Dra|
|00005bb0| 77 43 6f 6c 6f 72 20 2a | 20 43 6f 6c 6f 72 50 65 |wColor *| ColorPe|
|00005bc0| 72 63 65 6e 74 61 67 65 | 20 2b 20 64 65 66 61 75 |rcentage| + defau|
|00005bd0| 6c 74 2e 4c 69 6e 6b 43 | 6f 6c 6f 72 5b 32 5d 20 |lt.LinkC|olor[2] |
|00005be0| 2a 20 28 31 2e 30 20 2d | 20 43 6f 6c 6f 72 50 65 |* (1.0 -| ColorPe|
|00005bf0| 72 63 65 6e 74 61 67 65 | 29 3b 0d 0a 0d 0a 09 09 |rcentage|);......|
|00005c00| 69 66 20 28 62 41 74 74 | 61 63 6b 61 62 6c 65 29 |if (bAtt|ackable)|
|00005c10| 0d 0a 09 20 20 20 20 7b | 0d 0a 09 20 20 20 20 20 |... {|... |
|00005c20| 20 20 20 43 2e 53 65 74 | 50 6f 73 28 48 55 44 4c | C.Set|Pos(HUDL|
|00005c30| 6f 63 61 74 69 6f 6e 2e | 58 20 2d 20 43 6f 72 65 |ocation.|X - Core|
|00005c40| 49 63 6f 6e 53 69 7a 65 | 20 2a 20 32 2e 30 20 2a |IconSize| * 2.0 *|
|00005c50| 20 30 2e 35 2c 20 48 55 | 44 4c 6f 63 61 74 69 6f | 0.5, HU|DLocatio|
|00005c60| 6e 2e 59 20 2d 20 43 6f | 72 65 49 63 6f 6e 53 69 |n.Y - Co|reIconSi|
|00005c70| 7a 65 20 2a 20 32 2e 30 | 20 2a 20 30 2e 35 29 3b |ze * 2.0| * 0.5);|
|00005c80| 0d 0a 09 20 20 20 20 20 | 20 20 20 43 2e 44 72 61 |... | C.Dra|
|00005c90| 77 54 69 6c 65 28 4d 61 | 74 65 72 69 61 6c 27 4e |wTile(Ma|terial'N|
|00005ca0| 65 77 48 55 44 49 63 6f | 6e 73 27 2c 20 43 6f 72 |ewHUDIco|ns', Cor|
|00005cb0| 65 49 63 6f 6e 53 69 7a | 65 20 2a 20 32 2e 30 2c |eIconSiz|e * 2.0,|
|00005cc0| 20 43 6f 72 65 49 63 6f | 6e 53 69 7a 65 20 2a 20 | CoreIco|nSize * |
|00005cd0| 32 2e 30 2c 20 33 32 2c | 20 30 2c 20 33 32 2c 20 |2.0, 32,| 0, 32, |
|00005ce0| 33 32 29 3b 0d 0a 09 20 | 20 20 20 7d 0d 0a 09 20 |32);... | }... |
|00005cf0| 20 20 20 65 6c 73 65 0d | 0a 09 20 20 20 20 7b 0d | else.|.. {.|
|00005d00| 0a 09 20 20 20 20 20 20 | 20 20 43 2e 53 65 74 50 |.. | C.SetP|
|00005d10| 6f 73 28 48 55 44 4c 6f | 63 61 74 69 6f 6e 2e 58 |os(HUDLo|cation.X|
|00005d20| 20 2d 20 43 6f 72 65 49 | 63 6f 6e 53 69 7a 65 20 | - CoreI|conSize |
|00005d30| 2a 20 31 2e 37 35 20 2a | 20 30 2e 35 2c 20 48 55 |* 1.75 *| 0.5, HU|
|00005d40| 44 4c 6f 63 61 74 69 6f | 6e 2e 59 20 2d 20 43 6f |DLocatio|n.Y - Co|
|00005d50| 72 65 49 63 6f 6e 53 69 | 7a 65 20 2a 20 31 2e 37 |reIconSi|ze * 1.7|
|00005d60| 35 20 2a 20 30 2e 35 29 | 3b 0d 0a 09 20 20 20 20 |5 * 0.5)|;... |
|00005d70| 20 20 20 20 43 2e 44 72 | 61 77 54 69 6c 65 28 4d | C.Dr|awTile(M|
|00005d80| 61 74 65 72 69 61 6c 27 | 4e 65 77 48 55 44 49 63 |aterial'|NewHUDIc|
|00005d90| 6f 6e 73 27 2c 20 43 6f | 72 65 49 63 6f 6e 53 69 |ons', Co|reIconSi|
|00005da0| 7a 65 20 2a 20 31 2e 37 | 35 2c 20 43 6f 72 65 49 |ze * 1.7|5, CoreI|
|00005db0| 63 6f 6e 53 69 7a 65 20 | 2a 20 31 2e 37 35 2c 20 |conSize |* 1.75, |
|00005dc0| 30 2c 20 33 32 2c 20 33 | 32 2c 20 33 32 29 3b 0d |0, 32, 3|2, 32);.|
|00005dd0| 0a 09 20 20 20 20 7d 0d | 0a 09 7d 0d 0a 7d 0d 0a |.. }.|..}..}..|
|00005de0| 0d 0a 73 69 6d 75 6c 61 | 74 65 64 20 73 74 61 74 |..simula|ted stat|
|00005df0| 69 63 20 66 75 6e 63 74 | 69 6f 6e 20 44 72 61 77 |ic funct|ion Draw|
|00005e00| 53 70 61 77 6e 49 63 6f | 6e 28 20 43 61 6e 76 61 |SpawnIco|n( Canva|
|00005e10| 73 20 43 2c 20 76 65 63 | 74 6f 72 20 48 55 44 4c |s C, vec|tor HUDL|
|00005e20| 6f 63 61 74 69 6f 6e 2c | 20 62 6f 6f 6c 20 62 46 |ocation,| bool bF|
|00005e30| 69 6e 61 6c 43 6f 72 65 | 2c 20 66 6c 6f 61 74 20 |inalCore|, float |
|00005e40| 49 63 6f 6e 53 63 61 6c | 69 6e 67 2c 20 66 6c 6f |IconScal|ing, flo|
|00005e50| 61 74 20 48 55 44 53 63 | 61 6c 69 6e 67 20 29 0d |at HUDSc|aling ).|
|00005e60| 0a 7b 0d 0a 09 6c 6f 63 | 61 6c 20 66 6c 6f 61 74 |.{...loc|al float|
|00005e70| 20 43 6f 72 65 49 63 6f | 6e 53 69 7a 65 3b 0d 0a | CoreIco|nSize;..|
|00005e80| 0d 0a 09 69 66 20 28 20 | 43 20 3d 3d 20 4e 6f 6e |...if ( |C == Non|
|00005e90| 65 20 29 0d 0a 09 09 72 | 65 74 75 72 6e 3b 0d 0a |e )....r|eturn;..|
|00005ea0| 0d 0a 09 43 6f 72 65 49 | 63 6f 6e 53 69 7a 65 20 |...CoreI|conSize |
|00005eb0| 3d 20 49 63 6f 6e 53 63 | 61 6c 69 6e 67 20 2a 20 |= IconSc|aling * |
|00005ec0| 31 36 20 2a 20 43 2e 43 | 6c 69 70 58 20 2a 20 48 |16 * C.C|lipX * H|
|00005ed0| 55 44 53 63 61 6c 69 6e | 67 2f 31 36 30 30 3b 0d |UDScalin|g/1600;.|
|00005ee0| 0a 20 20 20 20 43 2e 44 | 72 61 77 43 6f 6c 6f 72 |. C.D|rawColor|
|00005ef0| 2e 42 20 3d 20 30 3b 0d | 0a 20 20 20 20 43 2e 44 |.B = 0;.|. C.D|
|00005f00| 72 61 77 43 6f 6c 6f 72 | 2e 47 20 3d 20 32 30 30 |rawColor|.G = 200|
|00005f10| 3b 0d 0a 20 20 20 20 43 | 2e 44 72 61 77 43 6f 6c |;.. C|.DrawCol|
|00005f20| 6f 72 2e 52 20 3d 20 30 | 3b 0d 0a 20 20 20 20 43 |or.R = 0|;.. C|
|00005f30| 2e 44 72 61 77 43 6f 6c | 6f 72 2e 41 20 3d 20 32 |.DrawCol|or.A = 2|
|00005f40| 35 35 3b 0d 0a 0d 0a 20 | 20 20 20 69 66 20 28 62 |55;.... | if (b|
|00005f50| 46 69 6e 61 6c 43 6f 72 | 65 29 0d 0a 20 20 20 20 |FinalCor|e).. |
|00005f60| 7b 0d 0a 20 20 20 20 20 | 20 20 20 43 2e 53 65 74 |{.. | C.Set|
|00005f70| 50 6f 73 28 48 55 44 4c | 6f 63 61 74 69 6f 6e 2e |Pos(HUDL|ocation.|
|00005f80| 58 20 2d 20 43 6f 72 65 | 49 63 6f 6e 53 69 7a 65 |X - Core|IconSize|
|00005f90| 20 2a 20 35 2e 35 20 2a | 20 30 2e 35 2c 20 48 55 | * 5.5 *| 0.5, HU|
|00005fa0| 44 4c 6f 63 61 74 69 6f | 6e 2e 59 20 2d 20 43 6f |DLocatio|n.Y - Co|
|00005fb0| 72 65 49 63 6f 6e 53 69 | 7a 65 20 2a 20 35 2e 35 |reIconSi|ze * 5.5|
|00005fc0| 20 2a 20 30 2e 35 29 3b | 0d 0a 20 20 20 20 20 20 | * 0.5);|.. |
|00005fd0| 20 20 43 2e 44 72 61 77 | 54 69 6c 65 28 4d 61 74 | C.Draw|Tile(Mat|
|00005fe0| 65 72 69 61 6c 27 4e 65 | 77 48 55 44 49 63 6f 6e |erial'Ne|wHUDIcon|
|00005ff0| 73 27 2c 20 43 6f 72 65 | 49 63 6f 6e 53 69 7a 65 |s', Core|IconSize|
|00006000| 20 2a 20 35 2e 35 2c 20 | 43 6f 72 65 49 63 6f 6e | * 5.5, |CoreIcon|
|00006010| 53 69 7a 65 20 2a 20 35 | 2e 35 2c 20 36 34 2c 20 |Size * 5|.5, 64, |
|00006020| 36 34 2c 20 36 34 2c 20 | 36 34 29 3b 0d 0a 20 20 |64, 64, |64);.. |
|00006030| 20 20 7d 0d 0a 20 20 20 | 20 65 6c 73 65 0d 0a 20 | }.. | else.. |
|00006040| 20 20 20 7b 0d 0a 20 20 | 20 20 20 20 20 20 43 2e | {.. | C.|
|00006050| 53 65 74 50 6f 73 28 48 | 55 44 4c 6f 63 61 74 69 |SetPos(H|UDLocati|
|00006060| 6f 6e 2e 58 20 2d 20 43 | 6f 72 65 49 63 6f 6e 53 |on.X - C|oreIconS|
|00006070| 69 7a 65 20 2a 20 34 2e | 35 20 2a 20 30 2e 35 2c |ize * 4.|5 * 0.5,|
|00006080| 20 48 55 44 4c 6f 63 61 | 74 69 6f 6e 2e 59 20 2d | HUDLoca|tion.Y -|
|00006090| 20 43 6f 72 65 49 63 6f | 6e 53 69 7a 65 20 2a 20 | CoreIco|nSize * |
|000060a0| 34 2e 35 20 2a 20 30 2e | 35 29 3b 0d 0a 20 20 20 |4.5 * 0.|5);.. |
|000060b0| 20 20 20 20 20 43 2e 44 | 72 61 77 54 69 6c 65 28 | C.D|rawTile(|
|000060c0| 4d 61 74 65 72 69 61 6c | 27 4e 65 77 48 55 44 49 |Material|'NewHUDI|
|000060d0| 63 6f 6e 73 27 2c 20 43 | 6f 72 65 49 63 6f 6e 53 |cons', C|oreIconS|
|000060e0| 69 7a 65 20 2a 20 34 2e | 35 2c 20 43 6f 72 65 49 |ize * 4.|5, CoreI|
|000060f0| 63 6f 6e 53 69 7a 65 20 | 2a 20 34 2e 35 2c 20 36 |conSize |* 4.5, 6|
|00006100| 34 2c 20 36 34 2c 20 36 | 34 2c 20 36 34 29 3b 0d |4, 64, 6|4, 64);.|
|00006110| 0a 20 20 20 20 7d 0d 0a | 7d 0d 0a 0d 0a 73 69 6d |. }..|}....sim|
|00006120| 75 6c 61 74 65 64 20 73 | 74 61 74 69 63 20 66 75 |ulated s|tatic fu|
|00006130| 6e 63 74 69 6f 6e 20 44 | 72 61 77 53 65 6c 65 63 |nction D|rawSelec|
|00006140| 74 69 6f 6e 49 63 6f 6e | 28 20 43 61 6e 76 61 73 |tionIcon|( Canvas|
|00006150| 20 43 2c 20 76 65 63 74 | 6f 72 20 48 55 44 4c 6f | C, vect|or HUDLo|
|00006160| 63 61 74 69 6f 6e 2c 20 | 63 6f 6c 6f 72 20 49 63 |cation, |color Ic|
|00006170| 6f 6e 43 6f 6c 6f 72 2c | 20 66 6c 6f 61 74 20 49 |onColor,| float I|
|00006180| 63 6f 6e 53 63 61 6c 69 | 6e 67 2c 20 66 6c 6f 61 |conScali|ng, floa|
|00006190| 74 20 48 55 44 53 63 61 | 6c 69 6e 67 20 29 0d 0a |t HUDSca|ling )..|
|000061a0| 7b 0d 0a 09 6c 6f 63 61 | 6c 20 66 6c 6f 61 74 20 |{...loca|l float |
|000061b0| 43 6f 72 65 49 63 6f 6e | 53 69 7a 65 3b 0d 0a 0d |CoreIcon|Size;...|
|000061c0| 0a 09 69 66 20 28 20 43 | 20 3d 3d 20 4e 6f 6e 65 |..if ( C| == None|
|000061d0| 20 29 0d 0a 09 09 72 65 | 74 75 72 6e 3b 0d 0a 0d | )....re|turn;...|
|000061e0| 0a 09 43 6f 72 65 49 63 | 6f 6e 53 69 7a 65 20 3d |..CoreIc|onSize =|
|000061f0| 20 49 63 6f 6e 53 63 61 | 6c 69 6e 67 20 2a 20 31 | IconSca|ling * 1|
|00006200| 36 20 2a 20 43 2e 43 6c | 69 70 58 20 2a 20 48 55 |6 * C.Cl|ipX * HU|
|00006210| 44 53 63 61 6c 69 6e 67 | 2f 31 36 30 30 3b 0d 0a |DScaling|/1600;..|
|00006220| 0d 0a 09 43 2e 44 72 61 | 77 43 6f 6c 6f 72 20 3d |...C.Dra|wColor =|
|00006230| 20 49 63 6f 6e 43 6f 6c | 6f 72 3b 0d 0a 09 43 2e | IconCol|or;...C.|
|00006240| 53 65 74 50 6f 73 28 20 | 48 55 44 4c 6f 63 61 74 |SetPos( |HUDLocat|
|00006250| 69 6f 6e 2e 58 20 2d 20 | 43 6f 72 65 49 63 6f 6e |ion.X - |CoreIcon|
|00006260| 53 69 7a 65 20 2a 20 31 | 2e 35 2c 20 48 55 44 4c |Size * 1|.5, HUDL|
|00006270| 6f 63 61 74 69 6f 6e 2e | 59 20 2d 20 43 6f 72 65 |ocation.|Y - Core|
|00006280| 49 63 6f 6e 53 69 7a 65 | 20 2a 20 31 2e 35 29 3b |IconSize| * 1.5);|
|00006290| 0d 0a 09 43 2e 44 72 61 | 77 54 69 6c 65 28 20 4d |...C.Dra|wTile( M|
|000062a0| 61 74 65 72 69 61 6c 27 | 4e 65 77 48 55 44 49 63 |aterial'|NewHUDIc|
|000062b0| 6f 6e 73 27 2c 20 43 6f | 72 65 49 63 6f 6e 53 69 |ons', Co|reIconSi|
|000062c0| 7a 65 20 2a 20 33 2c 20 | 43 6f 72 65 49 63 6f 6e |ze * 3, |CoreIcon|
|000062d0| 53 69 7a 65 20 2a 20 33 | 2c 20 33 32 2c 20 33 32 |Size * 3|, 32, 32|
|000062e0| 2c 20 33 32 2c 20 33 32 | 20 29 3b 0d 0a 7d 0d 0a |, 32, 32| );..}..|
|000062f0| 0d 0a 00 | |... | |
+--------+-------------------------+-------------------------+--------+--------+