home *** CD-ROM | disk | FTP | other *** search
/ Chip 2000 June / Chip_06_2000.iso / games / WheelofTime / WoTDemo.exe / System / Legend.u / GoalAbstracterInterf_DefensiveDetector_ScriptText.TextBuffer < prev    next >
Unknown  |  1999-11-02  |  7.2 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.

ConfidenceProgramDetectionMatch TypeSupport
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 5d 72 2f 2f 3d 3d 3d 3d |........|]r//====|
|00000010| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000020| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000030| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000040| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000050| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 0d 0a 2f 2f 20 44 65 |========|=..// De|
|00000060| 66 65 6e 73 69 76 65 44 | 65 74 65 63 74 6f 72 2e |fensiveD|etector.|
|00000070| 75 63 0d 0a 2f 2f 20 24 | 41 75 74 68 6f 72 3a 20 |uc..// $|Author: |
|00000080| 4d 66 6f 78 20 24 0d 0a | 2f 2f 20 24 44 61 74 65 |Mfox $..|// $Date|
|00000090| 3a 20 31 30 2f 32 36 2f | 39 39 20 35 3a 33 38 70 |: 10/26/|99 5:38p|
|000000a0| 20 24 0d 0a 2f 2f 20 24 | 52 65 76 69 73 69 6f 6e | $..// $|Revision|
|000000b0| 3a 20 31 20 24 0d 0a 2f | 2f 3d 3d 3d 3d 3d 3d 3d |: 1 $../|/=======|
|000000c0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000d0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000e0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|000000f0| 3d 3d 3d 3d 3d 3d 3d 3d | 3d 3d 3d 3d 3d 3d 3d 3d |========|========|
|00000100| 3d 3d 3d 3d 3d 3d 0d 0a | 0d 0a 63 6c 61 73 73 20 |======..|..class |
|00000110| 44 65 66 65 6e 73 69 76 | 65 44 65 74 65 63 74 6f |Defensiv|eDetecto|
|00000120| 72 20 65 78 70 61 6e 64 | 73 20 44 75 72 61 74 69 |r expand|s Durati|
|00000130| 6f 6e 4e 6f 74 69 66 69 | 65 72 20 6e 61 74 69 76 |onNotifi|er nativ|
|00000140| 65 3b 0d 0a 0d 0a 76 61 | 72 28 29 20 66 6c 6f 61 |e;....va|r() floa|
|00000150| 74 09 43 6f 6c 6c 65 63 | 74 69 6f 6e 52 61 64 69 |t.Collec|tionRadi|
|00000160| 75 73 3b 0d 0a 76 61 72 | 28 29 20 63 6c 61 73 73 |us;..var|() class|
|00000170| 3c 41 63 74 6f 72 3e 20 | 43 6f 6c 6c 65 63 74 43 |<Actor> |CollectC|
|00000180| 6c 61 73 73 3b 0d 0a 0d | 0a 76 61 72 20 28 29 20 |lass;...|.var () |
|00000190| 62 6f 6f 6c 20 62 52 65 | 73 74 72 69 63 74 43 6f |bool bRe|strictCo|
|000001a0| 6c 6c 65 63 74 69 6f 6e | 54 6f 46 4f 56 3b 0d 0a |llection|ToFOV;..|
|000001b0| 76 61 72 20 62 6f 6f 6c | 20 62 52 65 6a 65 63 74 |var bool| bReject|
|000001c0| 52 65 73 70 6f 6e 64 65 | 64 3b 0d 0a 76 61 72 20 |Responde|d;..var |
|000001d0| 28 29 20 63 6c 61 73 73 | 3c 41 63 74 6f 72 3e 20 |() class|<Actor> |
|000001e0| 45 78 70 6c 69 63 69 74 | 43 6c 61 73 73 52 65 6a |Explicit|ClassRej|
|000001f0| 65 63 74 69 6f 6e 73 5b | 20 34 20 5d 3b 0d 0a 76 |ections[| 4 ];..v|
|00000200| 61 72 20 28 29 20 62 6f | 6f 6c 20 62 41 63 74 69 |ar () bo|ol bActi|
|00000210| 76 65 44 65 74 65 63 74 | 69 6f 6e 3b 20 2f 2f 49 |veDetect|ion; //I|
|00000220| 66 20 73 65 74 20 74 6f | 20 74 72 75 65 20 74 68 |f set to| true th|
|00000230| 65 20 64 65 66 65 6e 73 | 69 76 65 20 64 65 74 65 |e defens|ive dete|
|00000240| 63 74 6f 72 20 77 69 6c | 6c 20 70 6f 6c 6c 20 66 |ctor wil|l poll f|
|00000250| 6f 72 20 6f 66 66 65 6e | 64 69 6e 67 20 61 63 74 |or offen|ding act|
|00000260| 6f 72 73 20 74 68 61 74 | 20 61 72 65 20 77 69 74 |ors that| are wit|
|00000270| 68 69 6e 20 74 68 65 20 | 63 6f 6c 6c 65 63 74 69 |hin the |collecti|
|00000280| 6f 6e 20 72 61 64 69 75 | 73 0d 0a 76 61 72 20 28 |on radiu|s..var (|
|00000290| 29 20 62 6f 6f 6c 20 62 | 50 61 73 73 69 76 65 44 |) bool b|PassiveD|
|000002a0| 65 74 65 63 74 69 6f 6e | 3b 20 2f 2f 49 66 20 73 |etection|; //If s|
|000002b0| 65 74 20 74 6f 20 74 72 | 75 65 20 74 68 65 20 64 |et to tr|ue the d|
|000002c0| 65 66 65 6e 73 69 76 65 | 20 64 65 74 65 63 74 6f |efensive| detecto|
|000002d0| 72 20 77 69 6c 6c 20 6e | 6f 74 69 66 79 20 74 68 |r will n|otify th|
|000002e0| 65 20 6f 75 74 65 72 20 | 6f 66 20 61 63 74 6f 72 |e outer |of actor|
|000002f0| 73 20 74 68 61 74 20 63 | 6f 6d 70 72 6f 6d 69 73 |s that c|ompromis|
|00000300| 65 20 74 68 65 20 64 65 | 66 65 6e 73 69 76 65 20 |e the de|fensive |
|00000310| 70 65 72 69 6d 65 74 65 | 72 0d 0a 76 61 72 20 28 |perimete|r..var (|
|00000320| 29 20 66 6c 6f 61 74 20 | 44 65 66 65 6e 73 69 76 |) float |Defensiv|
|00000330| 65 50 65 72 69 6d 65 74 | 65 72 52 61 64 69 75 73 |ePerimet|erRadius|
|00000340| 46 61 63 74 6f 72 3b 0d | 0a 76 61 72 20 28 29 20 |Factor;.|.var () |
|00000350| 66 6c 6f 61 74 20 44 65 | 66 65 6e 73 69 76 65 50 |float De|fensiveP|
|00000360| 65 72 69 6d 65 74 65 72 | 48 65 69 67 68 74 46 61 |erimeter|HeightFa|
|00000370| 63 74 6f 72 3b 0d 0a 0d | 0a 65 6e 75 6d 20 45 4f |ctor;...|.enum EO|
|00000380| 66 66 65 6e 64 65 72 52 | 65 6a 65 63 74 69 6f 6e |ffenderR|ejection|
|00000390| 49 6e 66 6f 0d 0a 7b 0d | 0a 09 4f 52 49 5f 4e 6f |Info..{.|..ORI_No|
|000003a0| 74 52 65 6a 65 63 74 65 | 64 2c 0d 0a 09 4f 52 49 |tRejecte|d,...ORI|
|000003b0| 5f 52 65 73 70 6f 6e 64 | 65 64 52 65 6a 65 63 74 |_Respond|edReject|
|000003c0| 65 64 2c 0d 0a 09 4f 52 | 49 5f 45 78 70 6c 69 63 |ed,...OR|I_Explic|
|000003d0| 69 74 43 6c 61 73 73 52 | 65 6a 65 63 74 65 64 2c |itClassR|ejected,|
|000003e0| 0d 0a 09 4f 52 49 5f 46 | 6f 76 52 65 6a 65 63 74 |...ORI_F|ovReject|
|000003f0| 65 64 2c 0d 0a 09 4f 52 | 49 5f 4e 6f 74 4d 6f 76 |ed,...OR|I_NotMov|
|00000400| 69 6e 67 54 6f 77 61 72 | 64 52 65 6a 65 63 74 65 |ingTowar|dRejecte|
|00000410| 64 2c 0d 0a 09 4f 52 49 | 5f 52 65 73 70 6f 6e 73 |d,...ORI|_Respons|
|00000420| 65 54 69 6d 65 52 65 6a | 65 63 74 65 64 2c 0d 0a |eTimeRej|ected,..|
|00000430| 09 4f 52 49 5f 4f 74 68 | 65 72 52 65 6a 65 63 74 |.ORI_Oth|erReject|
|00000440| 69 6f 6e 0d 0a 7d 3b 0d | 0a 0d 0a 73 74 72 75 63 |ion..};.|...struc|
|00000450| 74 20 54 44 65 66 65 6e | 73 69 76 65 52 65 73 70 |t TDefen|siveResp|
|00000460| 6f 6e 73 65 0d 0a 7b 0d | 0a 09 76 61 72 28 29 20 |onse..{.|..var() |
|00000470| 66 6c 6f 61 74 20 44 52 | 5f 4d 69 6e 52 65 73 70 |float DR|_MinResp|
|00000480| 6f 6e 73 65 54 69 6d 65 | 3b 0d 0a 09 76 61 72 28 |onseTime|;...var(|
|00000490| 29 20 66 6c 6f 61 74 09 | 44 52 5f 4d 61 78 52 65 |) float.|DR_MaxRe|
|000004a0| 73 70 6f 6e 73 65 54 69 | 6d 65 3b 0d 0a 09 76 61 |sponseTi|me;...va|
|000004b0| 72 28 29 20 4e 61 6d 65 | 20 44 52 5f 52 65 73 70 |r() Name| DR_Resp|
|000004c0| 6f 6e 73 65 50 72 65 48 | 69 6e 74 3b 0d 0a 09 76 |onsePreH|int;...v|
|000004d0| 61 72 28 29 20 4e 61 6d | 65 20 44 52 5f 52 65 73 |ar() Nam|e DR_Res|
|000004e0| 70 6f 6e 73 65 50 6f 73 | 74 48 69 6e 74 3b 0d 0a |ponsePos|tHint;..|
|000004f0| 7d 3b 0d 0a 0d 0a 76 61 | 72 20 28 29 20 70 72 69 |};....va|r () pri|
|00000500| 76 61 74 65 20 54 44 65 | 66 65 6e 73 69 76 65 52 |vate TDe|fensiveR|
|00000510| 65 73 70 6f 6e 73 65 20 | 44 65 66 65 6e 73 69 76 |esponse |Defensiv|
|00000520| 65 52 65 73 70 6f 6e 73 | 65 73 5b 20 34 20 5d 3b |eRespons|es[ 4 ];|
|00000530| 0d 0a 0d 0a 76 61 72 20 | 70 72 69 76 61 74 65 20 |....var |private |
|00000540| 49 74 65 6d 53 6f 72 74 | 65 72 20 4f 66 66 65 6e |ItemSort|er Offen|
|00000550| 64 69 6e 67 53 6f 72 74 | 65 72 3b 0d 0a 76 61 72 |dingSort|er;..var|
|00000560| 20 70 72 69 76 61 74 65 | 20 41 63 74 6f 72 20 43 | private| Actor C|
|00000570| 6c 6f 73 65 73 74 4f 66 | 66 65 6e 64 65 72 3b 0d |losestOf|fender;.|
|00000580| 0a 76 61 72 20 70 72 69 | 76 61 74 65 20 45 4f 66 |.var pri|vate EOf|
|00000590| 66 65 6e 64 65 72 52 65 | 6a 65 63 74 69 6f 6e 49 |fenderRe|jectionI|
|000005a0| 6e 66 6f 20 43 6c 6f 73 | 65 73 74 4f 66 66 65 6e |nfo Clos|estOffen|
|000005b0| 64 65 72 52 65 6a 65 63 | 74 69 6f 6e 49 6e 66 6f |derRejec|tionInfo|
|000005c0| 3b 0d 0a 0d 0a 76 61 72 | 20 70 72 69 76 61 74 65 |;....var| private|
|000005d0| 20 41 63 74 6f 72 20 4c | 61 73 74 52 65 73 70 6f | Actor L|astRespo|
|000005e0| 6e 64 65 64 54 6f 3b 0d | 0a 2f 2f 78 78 78 72 6c |ndedTo;.|.//xxxrl|
|000005f0| 6f 66 75 74 75 72 65 20 | 76 61 72 20 70 72 69 76 |ofuture |var priv|
|00000600| 61 74 65 20 41 63 74 6f | 72 20 45 61 72 6c 69 65 |ate Acto|r Earlie|
|00000610| 73 74 41 72 72 69 76 69 | 6e 67 4f 66 66 65 6e 64 |stArrivi|ngOffend|
|00000620| 65 72 3b 0d 0a 2f 2f 78 | 78 78 72 6c 6f 66 75 74 |er;..//x|xxrlofut|
|00000630| 75 72 65 20 66 75 6e 63 | 74 69 6f 6e 20 41 63 74 |ure func|tion Act|
|00000640| 6f 72 20 47 65 74 45 61 | 72 6c 69 65 73 74 41 72 |or GetEa|rliestAr|
|00000650| 72 69 76 69 6e 67 4f 66 | 66 65 6e 64 65 72 28 29 |rivingOf|fender()|
|00000660| 20 7b 20 72 65 74 75 72 | 6e 20 45 61 72 6c 69 65 | { retur|n Earlie|
|00000670| 73 74 41 72 72 69 76 69 | 6e 67 4f 66 66 65 6e 64 |stArrivi|ngOffend|
|00000680| 65 72 20 7d 0d 0a 0d 0a | 76 61 72 20 28 29 20 63 |er }....|var () c|
|00000690| 6f 6e 73 74 20 65 64 69 | 74 63 6f 6e 73 74 20 4e |onst edi|tconst N|
|000006a0| 61 6d 65 20 4f 66 66 65 | 6e 64 69 6e 67 4e 6f 74 |ame Offe|ndingNot|
|000006b0| 69 66 69 63 61 74 69 6f | 6e 3b 0d 0a 76 61 72 20 |ificatio|n;..var |
|000006c0| 28 29 20 63 6f 6e 73 74 | 20 65 64 69 74 63 6f 6e |() const| editcon|
|000006d0| 73 74 20 4e 61 6d 65 20 | 4e 6f 4f 66 66 65 6e 64 |st Name |NoOffend|
|000006e0| 69 6e 67 4e 6f 74 69 66 | 69 63 61 74 69 6f 6e 3b |ingNotif|ication;|
|000006f0| 0d 0a 0d 0a 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |........|function|
|00000700| 20 53 75 62 6a 65 63 74 | 44 65 73 74 72 6f 79 65 | Subject|Destroye|
|00000710| 64 28 20 4f 62 6a 65 63 | 74 20 53 75 62 6a 65 63 |d( Objec|t Subjec|
|00000720| 74 20 29 0d 0a 7b 0d 0a | 09 69 66 28 20 43 6c 6f |t )..{..|.if( Clo|
|00000730| 73 65 73 74 4f 66 66 65 | 6e 64 65 72 20 3d 3d 20 |sestOffe|nder == |
|00000740| 53 75 62 6a 65 63 74 20 | 29 0d 0a 09 7b 0d 0a 09 |Subject |)...{...|
|00000750| 09 43 6c 6f 73 65 73 74 | 4f 66 66 65 6e 64 65 72 |.Closest|Offender|
|00000760| 20 3d 20 4e 6f 6e 65 3b | 0d 0a 09 7d 0d 0a 09 69 | = None;|...}...i|
|00000770| 66 28 20 4c 61 73 74 52 | 65 73 70 6f 6e 64 65 64 |f( LastR|esponded|
|00000780| 54 6f 20 3d 3d 20 53 75 | 62 6a 65 63 74 20 29 0d |To == Su|bject ).|
|00000790| 0a 09 7b 0d 0a 09 09 4c | 61 73 74 52 65 73 70 6f |..{....L|astRespo|
|000007a0| 6e 64 65 64 54 6f 20 3d | 20 4e 6f 6e 65 3b 0d 0a |ndedTo =| None;..|
|000007b0| 09 7d 0d 0a 09 53 75 70 | 65 72 2e 53 75 62 6a 65 |.}...Sup|er.Subje|
|000007c0| 63 74 44 65 73 74 72 6f | 79 65 64 28 20 53 75 62 |ctDestro|yed( Sub|
|000007d0| 6a 65 63 74 20 29 3b 0d | 0a 7d 0d 0a 0d 0a 0d 0a |ject );.|.}......|
|000007e0| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 44 65 73 74 72 |..functi|on Destr|
|000007f0| 75 63 74 65 64 28 29 0d | 0a 7b 0d 0a 09 69 66 28 |ucted().|.{...if(|
|00000800| 20 4f 66 66 65 6e 64 69 | 6e 67 53 6f 72 74 65 72 | Offendi|ngSorter|
|00000810| 20 21 3d 20 4e 6f 6e 65 | 20 29 0d 0a 09 7b 0d 0a | != None| )...{..|
|00000820| 09 09 4f 66 66 65 6e 64 | 69 6e 67 53 6f 72 74 65 |..Offend|ingSorte|
|00000830| 72 2e 44 65 6c 65 74 65 | 28 29 3b 0d 0a 09 09 4f |r.Delete|();....O|
|00000840| 66 66 65 6e 64 69 6e 67 | 53 6f 72 74 65 72 20 3d |ffending|Sorter =|
|00000850| 20 4e 6f 6e 65 3b 0d 0a | 09 7d 0d 0a 09 69 66 28 | None;..|.}...if(|
|00000860| 20 43 6c 6f 73 65 73 74 | 4f 66 66 65 6e 64 65 72 | Closest|Offender|
|00000870| 20 21 3d 20 4e 6f 6e 65 | 20 29 0d 0a 09 7b 0d 0a | != None| )...{..|
|00000880| 09 09 43 6c 6f 73 65 73 | 74 4f 66 66 65 6e 64 65 |..Closes|tOffende|
|00000890| 72 2e 44 65 74 61 63 68 | 44 65 73 74 72 6f 79 4f |r.Detach|DestroyO|
|000008a0| 62 73 65 72 76 65 72 28 | 20 53 65 6c 66 20 29 3b |bserver(| Self );|
|000008b0| 0d 0a 09 09 43 6c 6f 73 | 65 73 74 4f 66 66 65 6e |....Clos|estOffen|
|000008c0| 64 65 72 20 3d 20 4e 6f | 6e 65 3b 0d 0a 09 7d 0d |der = No|ne;...}.|
|000008d0| 0a 09 69 66 28 20 4c 61 | 73 74 52 65 73 70 6f 6e |..if( La|stRespon|
|000008e0| 64 65 64 54 6f 20 21 3d | 20 4e 6f 6e 65 20 29 0d |dedTo !=| None ).|
|000008f0| 0a 09 7b 0d 0a 09 09 4c | 61 73 74 52 65 73 70 6f |..{....L|astRespo|
|00000900| 6e 64 65 64 54 6f 2e 44 | 65 74 61 63 68 44 65 73 |ndedTo.D|etachDes|
|00000910| 74 72 6f 79 4f 62 73 65 | 72 76 65 72 28 20 53 65 |troyObse|rver( Se|
|00000920| 6c 66 20 29 3b 0d 0a 09 | 09 4c 61 73 74 52 65 73 |lf );...|.LastRes|
|00000930| 70 6f 6e 64 65 64 54 6f | 20 3d 20 4e 6f 6e 65 3b |pondedTo| = None;|
|00000940| 0d 0a 09 7d 0d 0a 09 53 | 75 70 65 72 2e 44 65 73 |...}...S|uper.Des|
|00000950| 74 72 75 63 74 65 64 28 | 29 3b 0d 0a 7d 0d 0a 0d |tructed(|);..}...|
|00000960| 0a 0d 0a 0d 0a 66 75 6e | 63 74 69 6f 6e 20 41 63 |.....fun|ction Ac|
|00000970| 74 6f 72 20 47 65 74 4f | 66 66 65 6e 64 65 72 28 |tor GetO|ffender(|
|00000980| 29 0d 0a 7b 0d 0a 09 72 | 65 74 75 72 6e 20 43 6c |)..{...r|eturn Cl|
|00000990| 6f 73 65 73 74 4f 66 66 | 65 6e 64 65 72 3b 0d 0a |osestOff|ender;..|
|000009a0| 7d 0d 0a 0d 0a 0d 0a 0d | 0a 66 75 6e 63 74 69 6f |}.......|.functio|
|000009b0| 6e 20 45 4f 66 66 65 6e | 64 65 72 52 65 6a 65 63 |n EOffen|derRejec|
|000009c0| 74 69 6f 6e 49 6e 66 6f | 20 47 65 74 4f 66 66 65 |tionInfo| GetOffe|
|000009d0| 6e 64 65 72 52 65 6a 65 | 63 74 69 6f 6e 49 6e 66 |nderReje|ctionInf|
|000009e0| 6f 28 29 0d 0a 7b 0d 0a | 09 72 65 74 75 72 6e 20 |o()..{..|.return |
|000009f0| 43 6c 6f 73 65 73 74 4f | 66 66 65 6e 64 65 72 52 |ClosestO|ffenderR|
|00000a00| 65 6a 65 63 74 69 6f 6e | 49 6e 66 6f 3b 0d 0a 7d |ejection|Info;..}|
|00000a10| 0d 0a 0d 0a 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |........|function|
|00000a20| 20 47 65 74 52 65 73 70 | 6f 6e 73 65 48 69 6e 74 | GetResp|onseHint|
|00000a30| 73 28 20 41 63 74 6f 72 | 20 52 65 73 70 6f 6e 64 |s( Actor| Respond|
|00000a40| 69 6e 67 54 6f 2c 20 6f | 75 74 20 4e 61 6d 65 20 |ingTo, o|ut Name |
|00000a50| 52 65 73 70 6f 6e 73 65 | 50 72 65 48 69 6e 74 2c |Response|PreHint,|
|00000a60| 20 6f 75 74 20 4e 61 6d | 65 20 52 65 73 70 6f 6e | out Nam|e Respon|
|00000a70| 73 65 50 6f 73 74 48 69 | 6e 74 20 29 0d 0a 7b 0d |sePostHi|nt )..{.|
|00000a80| 0a 09 52 65 73 70 6f 6e | 73 65 50 72 65 48 69 6e |..Respon|sePreHin|
|00000a90| 74 20 3d 20 44 65 66 65 | 6e 73 69 76 65 52 65 73 |t = Defe|nsiveRes|
|00000aa0| 70 6f 6e 73 65 73 5b 20 | 30 20 5d 2e 44 52 5f 52 |ponses[ |0 ].DR_R|
|00000ab0| 65 73 70 6f 6e 73 65 50 | 72 65 48 69 6e 74 3b 0d |esponseP|reHint;.|
|00000ac0| 0a 09 52 65 73 70 6f 6e | 73 65 50 6f 73 74 48 69 |..Respon|sePostHi|
|00000ad0| 6e 74 20 3d 20 44 65 66 | 65 6e 73 69 76 65 52 65 |nt = Def|ensiveRe|
|00000ae0| 73 70 6f 6e 73 65 73 5b | 20 30 20 5d 2e 44 52 5f |sponses[| 0 ].DR_|
|00000af0| 52 65 73 70 6f 6e 73 65 | 50 6f 73 74 48 69 6e 74 |Response|PostHint|
|00000b00| 3b 0d 0a 7d 0d 0a 0d 0a | 0d 0a 0d 0a 73 74 61 74 |;..}....|....stat|
|00000b10| 69 63 20 66 75 6e 63 74 | 69 6f 6e 20 4e 6f 74 69 |ic funct|ion Noti|
|00000b20| 66 69 65 72 20 43 72 65 | 61 74 65 4e 6f 74 69 66 |fier Cre|ateNotif|
|00000b30| 69 65 72 28 20 41 63 74 | 6f 72 20 4e 6f 74 69 66 |ier( Act|or Notif|
|00000b40| 69 65 72 4f 75 74 65 72 | 2c 20 6f 70 74 69 6f 6e |ierOuter|, option|
|00000b50| 61 6c 20 4e 61 6d 65 20 | 4e 6f 74 69 66 69 65 72 |al Name |Notifier|
|00000b60| 43 61 6c 6c 62 61 63 6b | 46 75 6e 63 74 69 6f 6e |Callback|Function|
|00000b70| 4e 61 6d 65 29 0d 0a 7b | 0d 0a 09 6c 6f 63 61 6c |Name)..{|...local|
|00000b80| 20 4e 6f 74 69 66 69 65 | 72 20 43 72 65 61 74 65 | Notifie|r Create|
|00000b90| 64 4e 6f 74 69 66 69 65 | 72 3b 0d 0a 09 43 72 65 |dNotifie|r;...Cre|
|00000ba0| 61 74 65 64 4e 6f 74 69 | 66 69 65 72 20 3d 20 53 |atedNoti|fier = S|
|00000bb0| 75 70 65 72 2e 43 72 65 | 61 74 65 4e 6f 74 69 66 |uper.Cre|ateNotif|
|00000bc0| 69 65 72 28 20 4e 6f 74 | 69 66 69 65 72 4f 75 74 |ier( Not|ifierOut|
|00000bd0| 65 72 2c 20 4e 6f 74 69 | 66 69 65 72 43 61 6c 6c |er, Noti|fierCall|
|00000be0| 62 61 63 6b 46 75 6e 63 | 74 69 6f 6e 4e 61 6d 65 |backFunc|tionName|
|00000bf0| 20 29 3b 0d 0a 09 44 65 | 66 65 6e 73 69 76 65 44 | );...De|fensiveD|
|00000c00| 65 74 65 63 74 6f 72 28 | 20 43 72 65 61 74 65 64 |etector(| Created|
|00000c10| 4e 6f 74 69 66 69 65 72 | 20 29 2e 54 68 69 73 4e |Notifier| ).ThisN|
|00000c20| 6f 74 69 66 69 65 72 50 | 72 6f 78 79 2e 53 65 74 |otifierP|roxy.Set|
|00000c30| 43 6f 6c 6c 69 73 69 6f | 6e 53 69 7a 65 28 20 4e |Collisio|nSize( N|
|00000c40| 6f 74 69 66 69 65 72 4f | 75 74 65 72 2e 43 6f 6c |otifierO|uter.Col|
|00000c50| 6c 69 73 69 6f 6e 52 61 | 64 69 75 73 20 2a 0d 0a |lisionRa|dius *..|
|00000c60| 09 09 09 09 44 65 66 65 | 6e 73 69 76 65 44 65 74 |....Defe|nsiveDet|
|00000c70| 65 63 74 6f 72 28 20 43 | 72 65 61 74 65 64 4e 6f |ector( C|reatedNo|
|00000c80| 74 69 66 69 65 72 20 29 | 2e 44 65 66 65 6e 73 69 |tifier )|.Defensi|
|00000c90| 76 65 50 65 72 69 6d 65 | 74 65 72 52 61 64 69 75 |vePerime|terRadiu|
|00000ca0| 73 46 61 63 74 6f 72 2c | 20 4e 6f 74 69 66 69 65 |sFactor,| Notifie|
|00000cb0| 72 4f 75 74 65 72 2e 43 | 6f 6c 6c 69 73 69 6f 6e |rOuter.C|ollision|
|00000cc0| 48 65 69 67 68 74 20 2a | 0d 0a 09 09 09 09 44 65 |Height *|......De|
|00000cd0| 66 65 6e 73 69 76 65 44 | 65 74 65 63 74 6f 72 28 |fensiveD|etector(|
|00000ce0| 20 43 72 65 61 74 65 64 | 4e 6f 74 69 66 69 65 72 | Created|Notifier|
|00000cf0| 20 29 2e 44 65 66 65 6e | 73 69 76 65 50 65 72 69 | ).Defen|sivePeri|
|00000d00| 6d 65 74 65 72 48 65 69 | 67 68 74 46 61 63 74 6f |meterHei|ghtFacto|
|00000d10| 72 20 29 3b 0d 0a 09 72 | 65 74 75 72 6e 20 43 72 |r );...r|eturn Cr|
|00000d20| 65 61 74 65 64 4e 6f 74 | 69 66 69 65 72 3b 0d 0a |eatedNot|ifier;..|
|00000d30| 7d 0d 0a 0d 0a 0d 0a 0d | 0a 0d 0a 65 76 65 6e 74 |}.......|...event|
|00000d40| 20 45 6e 61 62 6c 65 4e | 6f 74 69 66 69 65 72 28 | EnableN|otifier(|
|00000d50| 29 0d 0a 7b 0d 0a 09 45 | 6e 61 62 6c 65 44 65 66 |)..{...E|nableDef|
|00000d60| 65 6e 73 69 76 65 50 65 | 72 69 6d 69 74 65 72 28 |ensivePe|rimiter(|
|00000d70| 29 3b 0d 0a 09 53 75 70 | 65 72 2e 45 6e 61 62 6c |);...Sup|er.Enabl|
|00000d80| 65 4e 6f 74 69 66 69 65 | 72 28 29 3b 0d 0a 7d 0d |eNotifie|r();..}.|
|00000d90| 0a 0d 0a 0d 0a 0d 0a 65 | 76 65 6e 74 20 44 69 73 |.......e|vent Dis|
|00000da0| 61 62 6c 65 4e 6f 74 69 | 66 69 65 72 28 29 0d 0a |ableNoti|fier()..|
|00000db0| 7b 0d 0a 09 44 69 73 61 | 62 6c 65 44 65 66 65 6e |{...Disa|bleDefen|
|00000dc0| 73 69 76 65 50 65 72 69 | 6d 69 74 65 72 28 29 3b |sivePeri|miter();|
|00000dd0| 0d 0a 09 53 75 70 65 72 | 2e 44 69 73 61 62 6c 65 |...Super|.Disable|
|00000de0| 4e 6f 74 69 66 69 65 72 | 28 29 3b 0d 0a 7d 0d 0a |Notifier|();..}..|
|00000df0| 0d 0a 0d 0a 0d 0a 66 75 | 6e 63 74 69 6f 6e 20 45 |......fu|nction E|
|00000e00| 6e 61 62 6c 65 44 65 66 | 65 6e 73 69 76 65 50 65 |nableDef|ensivePe|
|00000e10| 72 69 6d 69 74 65 72 28 | 29 0d 0a 7b 0d 0a 09 69 |rimiter(|)..{...i|
|00000e20| 66 28 20 62 50 61 73 73 | 69 76 65 44 65 74 65 63 |f( bPass|iveDetec|
|00000e30| 74 69 6f 6e 20 29 0d 0a | 09 7b 0d 0a 09 09 41 73 |tion )..|.{....As|
|00000e40| 73 65 72 74 28 20 54 68 | 69 73 4e 6f 74 69 66 69 |sert( Th|isNotifi|
|00000e50| 65 72 50 72 6f 78 79 20 | 21 3d 20 4e 6f 6e 65 20 |erProxy |!= None |
|00000e60| 29 3b 0d 0a 09 09 41 73 | 73 65 72 74 28 20 43 6c |);....As|sert( Cl|
|00000e70| 61 73 73 49 73 43 68 69 | 6c 64 4f 66 28 20 4e 6f |assIsChi|ldOf( No|
|00000e80| 74 69 66 69 65 72 50 72 | 6f 78 79 43 6c 61 73 73 |tifierPr|oxyClass|
|00000e90| 2c 20 63 6c 61 73 73 27 | 44 65 66 65 6e 73 69 76 |, class'|Defensiv|
|00000ea0| 65 50 65 72 69 6d 65 74 | 65 72 27 20 29 20 29 3b |ePerimet|er' ) );|
|00000eb0| 0d 0a 09 09 54 68 69 73 | 4e 6f 74 69 66 69 65 72 |....This|Notifier|
|00000ec0| 50 72 6f 78 79 2e 53 65 | 74 43 6f 6c 6c 69 73 69 |Proxy.Se|tCollisi|
|00000ed0| 6f 6e 28 20 54 68 69 73 | 4e 6f 74 69 66 69 65 72 |on( This|Notifier|
|00000ee0| 50 72 6f 78 79 2e 64 65 | 66 61 75 6c 74 2e 62 43 |Proxy.de|fault.bC|
|00000ef0| 6f 6c 6c 69 64 65 41 63 | 74 6f 72 73 2c 20 54 68 |ollideAc|tors, Th|
|00000f00| 69 73 4e 6f 74 69 66 69 | 65 72 50 72 6f 78 79 2e |isNotifi|erProxy.|
|00000f10| 64 65 66 61 75 6c 74 2e | 62 42 6c 6f 63 6b 41 63 |default.|bBlockAc|
|00000f20| 74 6f 72 73 2c 20 54 68 | 69 73 4e 6f 74 69 66 69 |tors, Th|isNotifi|
|00000f30| 65 72 50 72 6f 78 79 2e | 62 42 6c 6f 63 6b 50 6c |erProxy.|bBlockPl|
|00000f40| 61 79 65 72 73 20 29 3b | 0d 0a 09 7d 0d 0a 7d 0d |ayers );|...}..}.|
|00000f50| 0a 0d 0a 0d 0a 0d 0a 66 | 75 6e 63 74 69 6f 6e 20 |.......f|unction |
|00000f60| 44 69 73 61 62 6c 65 44 | 65 66 65 6e 73 69 76 65 |DisableD|efensive|
|00000f70| 50 65 72 69 6d 69 74 65 | 72 28 29 0d 0a 7b 0d 0a |Perimite|r()..{..|
|00000f80| 09 69 66 28 20 62 50 61 | 73 73 69 76 65 44 65 74 |.if( bPa|ssiveDet|
|00000f90| 65 63 74 69 6f 6e 20 29 | 0d 0a 09 7b 0d 0a 09 09 |ection )|...{....|
|00000fa0| 41 73 73 65 72 74 28 20 | 54 68 69 73 4e 6f 74 69 |Assert( |ThisNoti|
|00000fb0| 66 69 65 72 50 72 6f 78 | 79 20 21 3d 20 4e 6f 6e |fierProx|y != Non|
|00000fc0| 65 20 29 3b 0d 0a 09 09 | 41 73 73 65 72 74 28 20 |e );....|Assert( |
|00000fd0| 43 6c 61 73 73 49 73 43 | 68 69 6c 64 4f 66 28 20 |ClassIsC|hildOf( |
|00000fe0| 4e 6f 74 69 66 69 65 72 | 50 72 6f 78 79 43 6c 61 |Notifier|ProxyCla|
|00000ff0| 73 73 2c 20 63 6c 61 73 | 73 27 44 65 66 65 6e 73 |ss, clas|s'Defens|
|00001000| 69 76 65 50 65 72 69 6d | 65 74 65 72 27 20 29 20 |ivePerim|eter' ) |
|00001010| 29 3b 0d 0a 09 09 54 68 | 69 73 4e 6f 74 69 66 69 |);....Th|isNotifi|
|00001020| 65 72 50 72 6f 78 79 2e | 53 65 74 43 6f 6c 6c 69 |erProxy.|SetColli|
|00001030| 73 69 6f 6e 28 20 66 61 | 6c 73 65 2c 20 66 61 6c |sion( fa|lse, fal|
|00001040| 73 65 2c 20 66 61 6c 73 | 65 20 29 3b 0d 0a 09 7d |se, fals|e );...}|
|00001050| 0d 0a 7d 0d 0a 0d 0a 0d | 0a 0d 0a 66 75 6e 63 74 |..}.....|...funct|
|00001060| 69 6f 6e 20 43 6f 6e 73 | 74 72 75 63 74 65 64 28 |ion Cons|tructed(|
|00001070| 29 0d 0a 7b 0d 0a 09 53 | 75 70 65 72 2e 43 6f 6e |)..{...S|uper.Con|
|00001080| 73 74 72 75 63 74 65 64 | 28 29 3b 0d 0a 09 4f 66 |structed|();...Of|
|00001090| 66 65 6e 64 69 6e 67 53 | 6f 72 74 65 72 20 3d 20 |fendingS|orter = |
|000010a0| 6e 65 77 28 20 53 65 6c | 66 20 29 63 6c 61 73 73 |new( Sel|f )class|
|000010b0| 27 49 74 65 6d 53 6f 72 | 74 65 72 27 3b 0d 0a 7d |'ItemSor|ter';..}|
|000010c0| 0d 0a 0d 0a 0d 0a 0d 0a | 66 75 6e 63 74 69 6f 6e |........|function|
|000010d0| 20 52 65 73 70 6f 6e 64 | 65 64 54 6f 41 63 74 6f | Respond|edToActo|
|000010e0| 72 28 20 41 63 74 6f 72 | 20 52 65 73 70 6f 6e 64 |r( Actor| Respond|
|000010f0| 65 64 54 6f 2c 20 6f 70 | 74 69 6f 6e 61 6c 20 62 |edTo, op|tional b|
|00001100| 6f 6f 6c 20 62 52 65 63 | 6f 6c 6c 65 63 74 20 29 |ool bRec|ollect )|
|00001110| 0d 0a 7b 0d 0a 09 69 66 | 28 20 4c 61 73 74 52 65 |..{...if|( LastRe|
|00001120| 73 70 6f 6e 64 65 64 54 | 6f 20 21 3d 20 4e 6f 6e |spondedT|o != Non|
|00001130| 65 20 29 0d 0a 09 7b 0d | 0a 09 09 4c 61 73 74 52 |e )...{.|...LastR|
|00001140| 65 73 70 6f 6e 64 65 64 | 54 6f 2e 44 65 74 61 63 |esponded|To.Detac|
|00001150| 68 44 65 73 74 72 6f 79 | 4f 62 73 65 72 76 65 72 |hDestroy|Observer|
|00001160| 28 20 53 65 6c 66 20 29 | 3b 0d 0a 09 09 4c 61 73 |( Self )|;....Las|
|00001170| 74 52 65 73 70 6f 6e 64 | 65 64 54 6f 20 3d 20 4e |tRespond|edTo = N|
|00001180| 6f 6e 65 3b 0d 0a 09 7d | 0d 0a 09 69 66 28 20 28 |one;...}|...if( (|
|00001190| 20 52 65 73 70 6f 6e 64 | 65 64 54 6f 20 21 3d 20 | Respond|edTo != |
|000011a0| 4e 6f 6e 65 20 29 20 26 | 26 20 52 65 73 70 6f 6e |None ) &|& Respon|
|000011b0| 64 65 64 54 6f 2e 41 74 | 74 61 63 68 44 65 73 74 |dedTo.At|tachDest|
|000011c0| 72 6f 79 4f 62 73 65 72 | 76 65 72 28 20 53 65 6c |royObser|ver( Sel|
|000011d0| 66 20 29 20 29 0d 0a 09 | 7b 0d 0a 09 09 4c 61 73 |f ) )...|{....Las|
|000011e0| 74 52 65 73 70 6f 6e 64 | 65 64 54 6f 20 3d 20 52 |tRespond|edTo = R|
|000011f0| 65 73 70 6f 6e 64 65 64 | 54 6f 3b 0d 0a 09 7d 0d |esponded|To;...}.|
|00001200| 0a 09 62 52 65 6a 65 63 | 74 52 65 73 70 6f 6e 64 |..bRejec|tRespond|
|00001210| 65 64 20 3d 20 21 62 52 | 65 63 6f 6c 6c 65 63 74 |ed = !bR|ecollect|
|00001220| 3b 0d 0a 7d 0d 0a 0d 0a | 0d 0a 0d 0a 66 75 6e 63 |;..}....|....func|
|00001230| 74 69 6f 6e 20 4f 6e 50 | 65 72 69 6d 65 74 65 72 |tion OnP|erimeter|
|00001240| 43 6f 6d 70 72 6f 6d 69 | 73 65 64 28 20 41 63 74 |Compromi|sed( Act|
|00001250| 6f 72 20 4f 66 66 65 6e | 64 65 72 20 29 0d 0a 7b |or Offen|der )..{|
|00001260| 0d 0a 09 69 66 28 20 62 | 45 6e 61 62 6c 65 64 20 |...if( b|Enabled |
|00001270| 26 26 20 62 50 61 73 73 | 69 76 65 44 65 74 65 63 |&& bPass|iveDetec|
|00001280| 74 69 6f 6e 20 26 26 20 | 28 20 4f 66 66 65 6e 64 |tion && |( Offend|
|00001290| 65 72 20 21 3d 20 4e 6f | 6e 65 20 29 20 26 26 20 |er != No|ne ) && |
|000012a0| 4f 66 66 65 6e 64 65 72 | 2e 49 73 41 28 20 43 6f |Offender|.IsA( Co|
|000012b0| 6c 6c 65 63 74 43 6c 61 | 73 73 2e 4e 61 6d 65 20 |llectCla|ss.Name |
|000012c0| 29 20 29 0d 0a 09 7b 0d | 0a 09 09 69 66 28 20 4f |) )...{.|...if( O|
|000012d0| 66 66 65 6e 64 65 72 2e | 41 74 74 61 63 68 44 65 |ffender.|AttachDe|
|000012e0| 73 74 72 6f 79 4f 62 73 | 65 72 76 65 72 28 20 53 |stroyObs|erver( S|
|000012f0| 65 6c 66 20 29 20 29 0d | 0a 09 09 7b 0d 0a 09 09 |elf ) ).|...{....|
|00001300| 09 69 66 28 20 43 6c 6f | 73 65 73 74 4f 66 66 65 |.if( Clo|sestOffe|
|00001310| 6e 64 65 72 20 21 3d 20 | 4e 6f 6e 65 20 29 0d 0a |nder != |None )..|
|00001320| 09 09 09 7b 0d 0a 09 09 | 09 09 43 6c 6f 73 65 73 |...{....|..Closes|
|00001330| 74 4f 66 66 65 6e 64 65 | 72 2e 44 65 74 61 63 68 |tOffende|r.Detach|
|00001340| 44 65 73 74 72 6f 79 4f | 62 73 65 72 76 65 72 28 |DestroyO|bserver(|
|00001350| 20 53 65 6c 66 20 29 3b | 0d 0a 09 09 09 09 43 6c | Self );|......Cl|
|00001360| 6f 73 65 73 74 4f 66 66 | 65 6e 64 65 72 20 3d 20 |osestOff|ender = |
|00001370| 4e 6f 6e 65 3b 0d 0a 09 | 09 09 7d 0d 0a 09 09 09 |None;...|..}.....|
|00001380| 43 6c 6f 73 65 73 74 4f | 66 66 65 6e 64 65 72 20 |ClosestO|ffender |
|00001390| 3d 20 4f 66 66 65 6e 64 | 65 72 3b 0d 0a 09 09 09 |= Offend|er;.....|
|000013a0| 43 6c 6f 73 65 73 74 4f | 66 66 65 6e 64 65 72 52 |ClosestO|ffenderR|
|000013b0| 65 6a 65 63 74 69 6f 6e | 49 6e 66 6f 20 3d 20 52 |ejection|Info = R|
|000013c0| 65 6a 65 63 74 4f 66 66 | 65 6e 64 65 72 28 20 41 |ejectOff|ender( A|
|000013d0| 63 74 6f 72 28 20 4f 75 | 74 65 72 20 29 2c 20 4f |ctor( Ou|ter ), O|
|000013e0| 66 66 65 6e 64 65 72 20 | 29 3b 0d 0a 09 09 09 4e |ffender |);.....N|
|000013f0| 6f 74 69 66 69 63 61 74 | 69 6f 6e 20 3d 20 4f 66 |otificat|ion = Of|
|00001400| 66 65 6e 64 69 6e 67 4e | 6f 74 69 66 69 63 61 74 |fendingN|otificat|
|00001410| 69 6f 6e 3b 0d 0a 09 09 | 09 4e 6f 74 69 66 79 28 |ion;....|.Notify(|
|00001420| 20 4f 75 74 65 72 20 29 | 3b 0d 0a 09 09 7d 0d 0a | Outer )|;....}..|
|00001430| 09 7d 0d 0a 7d 0d 0a 0d | 0a 0d 0a 0d 0a 66 75 6e |.}..}...|.....fun|
|00001440| 63 74 69 6f 6e 20 62 6f | 6f 6c 20 49 73 4f 66 66 |ction bo|ol IsOff|
|00001450| 65 6e 64 65 72 52 65 6a | 65 63 74 65 64 28 20 41 |enderRej|ected( A|
|00001460| 63 74 6f 72 20 49 6e 71 | 75 69 72 65 72 2c 20 41 |ctor Inq|uirer, A|
|00001470| 63 74 6f 72 20 4f 66 66 | 65 6e 64 69 6e 67 41 63 |ctor Off|endingAc|
|00001480| 74 6f 72 20 29 0d 0a 7b | 0d 0a 09 72 65 74 75 72 |tor )..{|...retur|
|00001490| 6e 20 28 20 52 65 6a 65 | 63 74 4f 66 66 65 6e 64 |n ( Reje|ctOffend|
|000014a0| 65 72 28 20 49 6e 71 75 | 69 72 65 72 2c 20 4f 66 |er( Inqu|irer, Of|
|000014b0| 66 65 6e 64 69 6e 67 41 | 63 74 6f 72 20 29 20 21 |fendingA|ctor ) !|
|000014c0| 3d 20 4f 52 49 5f 4e 6f | 74 52 65 6a 65 63 74 65 |= ORI_No|tRejecte|
|000014d0| 64 20 29 3b 0d 0a 7d 0d | 0a 0d 0a 0d 0a 0d 0a 6e |d );..}.|.......n|
|000014e0| 61 74 69 76 65 20 66 75 | 6e 63 74 69 6f 6e 20 62 |ative fu|nction b|
|000014f0| 6f 6f 6c 20 43 68 65 63 | 6b 46 6f 72 4f 66 66 65 |ool Chec|kForOffe|
|00001500| 6e 64 69 6e 67 28 20 41 | 63 74 6f 72 20 49 6e 71 |nding( A|ctor Inq|
|00001510| 75 69 72 65 72 2c 20 6f | 75 74 20 41 63 74 6f 72 |uirer, o|ut Actor|
|00001520| 20 4f 66 66 65 6e 64 65 | 72 2c 20 6f 75 74 20 45 | Offende|r, out E|
|00001530| 4f 66 66 65 6e 64 65 72 | 52 65 6a 65 63 74 69 6f |Offender|Rejectio|
|00001540| 6e 49 6e 66 6f 20 4f 66 | 66 65 6e 64 65 72 52 65 |nInfo Of|fenderRe|
|00001550| 6a 65 63 74 69 6f 6e 49 | 6e 66 6f 20 29 3b 0d 0a |jectionI|nfo );..|
|00001560| 0d 0a 6e 61 74 69 76 65 | 20 65 76 65 6e 74 20 45 |..native| event E|
|00001570| 4f 66 66 65 6e 64 65 72 | 52 65 6a 65 63 74 69 6f |Offender|Rejectio|
|00001580| 6e 49 6e 66 6f 20 52 65 | 6a 65 63 74 4f 66 66 65 |nInfo Re|jectOffe|
|00001590| 6e 64 65 72 28 20 41 63 | 74 6f 72 20 49 6e 71 75 |nder( Ac|tor Inqu|
|000015a0| 69 72 65 72 2c 20 41 63 | 74 6f 72 20 4f 66 66 65 |irer, Ac|tor Offe|
|000015b0| 6e 64 69 6e 67 41 63 74 | 6f 72 20 29 3b 0d 0a 0d |ndingAct|or );...|
|000015c0| 0a 6e 61 74 69 76 65 20 | 66 75 6e 63 74 69 6f 6e |.native |function|
|000015d0| 20 62 6f 6f 6c 20 47 65 | 74 41 72 72 69 76 61 6c | bool Ge|tArrival|
|000015e0| 54 69 6d 65 28 20 41 63 | 74 6f 72 20 4f 66 66 65 |Time( Ac|tor Offe|
|000015f0| 6e 64 69 6e 67 41 63 74 | 6f 72 2c 20 41 63 74 6f |ndingAct|or, Acto|
|00001600| 72 20 49 6e 71 75 69 72 | 65 72 2c 20 6f 75 74 20 |r Inquir|er, out |
|00001610| 66 6c 6f 61 74 20 45 73 | 74 69 6d 61 74 65 64 54 |float Es|timatedT|
|00001620| 69 6d 65 54 6f 43 6f 6c | 6c 69 73 69 6f 6e 20 29 |imeToCol|lision )|
|00001630| 3b 0d 0a 0d 0a 2f 2a 0d | 0a 65 6e 75 6d 20 45 49 |;..../*.|.enum EI|
|00001640| 6e 63 6f 6d 69 6e 67 54 | 79 70 65 0d 0a 7b 0d 0a |ncomingT|ype..{..|
|00001650| 09 49 54 5f 4e 6f 6e 65 | 2c 0d 0a 09 49 54 5f 53 |.IT_None|,...IT_S|
|00001660| 65 65 6b 65 72 2c 0d 0a | 09 49 54 5f 4e 6f 6e 53 |eeker,..|.IT_NonS|
|00001670| 65 65 6b 65 72 2c 0d 0a | 7d 3b 0d 0a 0d 0a 76 61 |eeker,..|};....va|
|00001680| 72 28 29 20 62 6f 6f 6c | 20 62 44 65 74 65 63 74 |r() bool| bDetect|
|00001690| 53 65 65 6b 65 72 73 3b | 09 09 2f 2f 74 72 75 65 |Seekers;|..//true|
|000016a0| 20 69 66 20 63 6c 61 73 | 73 20 73 68 6f 75 6c 64 | if clas|s should|
|000016b0| 20 68 61 6e 64 6c 65 20 | 73 65 65 6b 65 72 73 0d | handle |seekers.|
|000016c0| 0a 76 61 72 28 29 20 62 | 6f 6f 6c 20 62 44 65 74 |.var() b|ool bDet|
|000016d0| 65 63 74 4e 6f 6e 53 65 | 65 6b 65 72 73 3b 09 2f |ectNonSe|ekers;./|
|000016e0| 2f 74 72 75 65 20 69 66 | 20 63 6c 61 73 73 20 73 |/true if| class s|
|000016f0| 68 6f 75 6c 64 20 68 61 | 6e 64 6c 65 20 6e 6f 6e |hould ha|ndle non|
|00001700| 2d 73 65 65 6b 65 72 73 | 0d 0a 0d 0a 66 75 6e 63 |-seekers|....func|
|00001710| 74 69 6f 6e 20 45 49 6e | 63 6f 6d 69 6e 67 54 79 |tion EIn|comingTy|
|00001720| 70 65 20 47 65 74 49 6e | 63 6f 6d 69 6e 67 54 79 |pe GetIn|comingTy|
|00001730| 70 65 28 20 50 72 6f 6a | 65 63 74 69 6c 65 20 43 |pe( Proj|ectile C|
|00001740| 75 72 72 65 6e 74 49 6e | 63 6f 6d 69 6e 67 50 72 |urrentIn|comingPr|
|00001750| 6f 6a 65 63 74 69 6c 65 | 20 29 0d 0a 7b 0d 0a 09 |ojectile| )..{...|
|00001760| 6c 6f 63 61 6c 20 53 65 | 65 6b 69 6e 67 50 72 6f |local Se|ekingPro|
|00001770| 6a 65 63 74 69 6c 65 20 | 49 6e 63 6f 6d 69 6e 67 |jectile |Incoming|
|00001780| 53 65 65 6b 69 6e 67 50 | 72 6f 6a 65 63 74 69 6c |SeekingP|rojectil|
|00001790| 65 3b 0d 0a 09 6c 6f 63 | 61 6c 20 45 49 6e 63 6f |e;...loc|al EInco|
|000017a0| 6d 69 6e 67 54 79 70 65 | 20 43 75 72 72 65 6e 74 |mingType| Current|
|000017b0| 49 6e 63 6f 6d 69 6e 67 | 54 79 70 65 3b 0d 0a 09 |Incoming|Type;...|
|000017c0| 6c 6f 63 61 6c 20 41 63 | 74 6f 72 20 48 69 74 41 |local Ac|tor HitA|
|000017d0| 63 74 6f 72 3b 0d 0a 09 | 6c 6f 63 61 6c 20 76 65 |ctor;...|local ve|
|000017e0| 63 74 6f 72 20 48 69 74 | 4c 6f 63 61 74 69 6f 6e |ctor Hit|Location|
|000017f0| 2c 20 48 69 74 4e 6f 72 | 6d 61 6c 2c 20 54 72 61 |, HitNor|mal, Tra|
|00001800| 63 65 45 78 74 65 6e 74 | 73 3b 0d 0a 09 0d 0a 09 |ceExtent|s;......|
|00001810| 49 6e 63 6f 6d 69 6e 67 | 53 65 65 6b 69 6e 67 50 |Incoming|SeekingP|
|00001820| 72 6f 6a 65 63 74 69 6c | 65 20 3d 20 53 65 65 6b |rojectil|e = Seek|
|00001830| 69 6e 67 50 72 6f 6a 65 | 63 74 69 6c 65 28 20 43 |ingProje|ctile( C|
|00001840| 75 72 72 65 6e 74 49 6e | 63 6f 6d 69 6e 67 50 72 |urrentIn|comingPr|
|00001850| 6f 6a 65 63 74 69 6c 65 | 20 29 3b 0d 0a 09 69 66 |ojectile| );...if|
|00001860| 28 20 49 6e 63 6f 6d 69 | 6e 67 53 65 65 6b 69 6e |( Incomi|ngSeekin|
|00001870| 67 50 72 6f 6a 65 63 74 | 69 6c 65 20 21 3d 20 4e |gProject|ile != N|
|00001880| 6f 6e 65 20 29 0d 0a 09 | 7b 0d 0a 09 09 63 6c 61 |one )...|{....cla|
|00001890| 73 73 27 44 65 62 75 67 | 27 2e 73 74 61 74 69 63 |ss'Debug|'.static|
|000018a0| 2e 44 65 62 75 67 4c 6f | 67 28 20 53 65 6c 66 2c |.DebugLo|g( Self,|
|000018b0| 20 22 43 68 65 63 6b 46 | 6f 72 4f 66 66 65 6e 64 | "CheckF|orOffend|
|000018c0| 69 6e 67 50 72 6f 6a 65 | 63 74 69 6c 65 20 43 68 |ingProje|ctile Ch|
|000018d0| 65 63 6b 69 6e 67 20 73 | 65 65 6b 65 72 22 20 29 |ecking s|eeker" )|
|000018e0| 3b 0d 0a 09 09 69 66 28 | 20 62 44 65 74 65 63 74 |;....if(| bDetect|
|000018f0| 53 65 65 6b 65 72 73 20 | 26 26 20 49 6e 63 6f 6d |Seekers |&& Incom|
|00001900| 69 6e 67 53 65 65 6b 69 | 6e 67 50 72 6f 6a 65 63 |ingSeeki|ngProjec|
|00001910| 74 69 6c 65 2e 44 65 73 | 74 69 6e 61 74 69 6f 6e |tile.Des|tination|
|00001920| 20 3d 3d 20 4f 77 6e 65 | 72 20 29 0d 0a 09 09 7b | == Owne|r )....{|
|00001930| 0d 0a 09 09 09 2f 2f 73 | 65 65 6b 65 72 20 61 66 |.....//s|eeker af|
|00001940| 74 65 72 20 6f 77 6e 65 | 72 0d 0a 09 09 09 63 6c |ter owne|r.....cl|
|00001950| 61 73 73 27 44 65 62 75 | 67 27 2e 73 74 61 74 69 |ass'Debu|g'.stati|
|00001960| 63 2e 44 65 62 75 67 4c | 6f 67 28 20 53 65 6c 66 |c.DebugL|og( Self|
|00001970| 2c 20 22 43 68 65 63 6b | 46 6f 72 4f 66 66 65 6e |, "Check|ForOffen|
|00001980| 64 69 6e 67 50 72 6f 6a | 65 63 74 69 6c 65 20 43 |dingProj|ectile C|
|00001990| 68 65 63 6b 69 6e 67 20 | 73 65 65 6b 65 72 20 73 |hecking |seeker s|
|000019a0| 65 65 6b 69 6e 67 20 6d | 65 22 20 29 3b 0d 0a 09 |eeking m|e" );...|
|000019b0| 09 09 43 75 72 72 65 6e | 74 49 6e 63 6f 6d 69 6e |..Curren|tIncomin|
|000019c0| 67 54 79 70 65 20 3d 20 | 49 54 5f 53 65 65 6b 65 |gType = |IT_Seeke|
|000019d0| 72 3b 0d 0a 09 09 7d 0d | 0a 09 7d 0d 0a 09 65 6c |r;....}.|..}...el|
|000019e0| 73 65 20 69 66 28 20 62 | 44 65 74 65 63 74 4e 6f |se if( b|DetectNo|
|000019f0| 6e 53 65 65 6b 65 72 73 | 20 29 0d 0a 09 7b 0d 0a |nSeekers| )...{..|
|00001a00| 09 09 63 6c 61 73 73 27 | 44 65 62 75 67 27 2e 73 |..class'|Debug'.s|
|00001a10| 74 61 74 69 63 2e 44 65 | 62 75 67 4c 6f 67 28 20 |tatic.De|bugLog( |
|00001a20| 53 65 6c 66 2c 20 22 43 | 68 65 63 6b 46 6f 72 4f |Self, "C|heckForO|
|00001a30| 66 66 65 6e 64 69 6e 67 | 50 72 6f 6a 65 63 74 69 |ffending|Projecti|
|00001a40| 6c 65 20 43 68 65 63 6b | 69 6e 67 20 73 65 65 6b |le Check|ing seek|
|00001a50| 65 72 20 43 68 65 63 6b | 69 6e 67 20 4e 6f 6e 2d |er Check|ing Non-|
|00001a60| 73 65 65 6b 65 72 22 20 | 29 3b 0d 0a 09 09 54 72 |seeker" |);....Tr|
|00001a70| 61 63 65 45 78 74 65 6e | 74 73 2e 78 20 3d 20 43 |aceExten|ts.x = C|
|00001a80| 75 72 72 65 6e 74 49 6e | 63 6f 6d 69 6e 67 50 72 |urrentIn|comingPr|
|00001a90| 6f 6a 65 63 74 69 6c 65 | 2e 43 6f 6c 6c 69 73 69 |ojectile|.Collisi|
|00001aa0| 6f 6e 52 61 64 69 75 73 | 3b 0d 0a 09 09 54 72 61 |onRadius|;....Tra|
|00001ab0| 63 65 45 78 74 65 6e 74 | 73 2e 79 20 3d 20 43 75 |ceExtent|s.y = Cu|
|00001ac0| 72 72 65 6e 74 49 6e 63 | 6f 6d 69 6e 67 50 72 6f |rrentInc|omingPro|
|00001ad0| 6a 65 63 74 69 6c 65 2e | 43 6f 6c 6c 69 73 69 6f |jectile.|Collisio|
|00001ae0| 6e 52 61 64 69 75 73 3b | 0d 0a 09 09 54 72 61 63 |nRadius;|....Trac|
|00001af0| 65 45 78 74 65 6e 74 73 | 2e 7a 20 3d 20 43 75 72 |eExtents|.z = Cur|
|00001b00| 72 65 6e 74 49 6e 63 6f | 6d 69 6e 67 50 72 6f 6a |rentInco|mingProj|
|00001b10| 65 63 74 69 6c 65 2e 43 | 6f 6c 6c 69 73 69 6f 6e |ectile.C|ollision|
|00001b20| 48 65 69 67 68 74 3b 0d | 0a 09 09 48 69 74 41 63 |Height;.|...HitAc|
|00001b30| 74 6f 72 20 3d 20 43 75 | 72 72 65 6e 74 49 6e 63 |tor = Cu|rrentInc|
|00001b40| 6f 6d 69 6e 67 50 72 6f | 6a 65 63 74 69 6c 65 2e |omingPro|jectile.|
|00001b50| 54 72 61 63 65 28 20 48 | 69 74 4c 6f 63 61 74 69 |Trace( H|itLocati|
|00001b60| 6f 6e 2c 20 48 69 74 4e | 6f 72 6d 61 6c 2c 20 0d |on, HitN|ormal, .|
|00001b70| 0a 09 09 09 09 43 75 72 | 72 65 6e 74 49 6e 63 6f |.....Cur|rentInco|
|00001b80| 6d 69 6e 67 50 72 6f 6a | 65 63 74 69 6c 65 2e 4c |mingProj|ectile.L|
|00001b90| 6f 63 61 74 69 6f 6e 20 | 2b 20 49 6e 63 6f 6d 69 |ocation |+ Incomi|
|00001ba0| 6e 67 53 65 61 72 63 68 | 52 61 64 69 75 73 20 2a |ngSearch|Radius *|
|00001bb0| 0d 0a 09 09 09 09 4e 6f | 72 6d 61 6c 28 20 76 65 |......No|rmal( ve|
|00001bc0| 63 74 6f 72 28 20 43 75 | 72 72 65 6e 74 49 6e 63 |ctor( Cu|rrentInc|
|00001bd0| 6f 6d 69 6e 67 50 72 6f | 6a 65 63 74 69 6c 65 2e |omingPro|jectile.|
|00001be0| 52 6f 74 61 74 69 6f 6e | 20 29 20 29 2c 0d 0a 09 |Rotation| ) ),...|
|00001bf0| 09 09 09 43 75 72 72 65 | 6e 74 49 6e 63 6f 6d 69 |...Curre|ntIncomi|
|00001c00| 6e 67 50 72 6f 6a 65 63 | 74 69 6c 65 2e 4c 6f 63 |ngProjec|tile.Loc|
|00001c10| 61 74 69 6f 6e 2c 20 74 | 72 75 65 2c 20 54 72 61 |ation, t|rue, Tra|
|00001c20| 63 65 45 78 74 65 6e 74 | 73 20 29 3b 0d 0a 09 09 |ceExtent|s );....|
|00001c30| 69 66 28 20 48 69 74 41 | 63 74 6f 72 20 3d 3d 20 |if( HitA|ctor == |
|00001c40| 4f 77 6e 65 72 20 29 0d | 0a 09 09 7b 0d 0a 09 09 |Owner ).|...{....|
|00001c50| 09 43 75 72 72 65 6e 74 | 49 6e 63 6f 6d 69 6e 67 |.Current|Incoming|
|00001c60| 54 79 70 65 20 3d 20 49 | 54 5f 4e 6f 6e 53 65 65 |Type = I|T_NonSee|
|00001c70| 6b 65 72 3b 0d 0a 09 09 | 7d 0d 0a 09 7d 0d 0a 09 |ker;....|}...}...|
|00001c80| 72 65 74 75 72 6e 20 43 | 75 72 72 65 6e 74 49 6e |return C|urrentIn|
|00001c90| 63 6f 6d 69 6e 67 54 79 | 70 65 3b 0d 0a 7d 0d 0a |comingTy|pe;..}..|
|00001ca0| 2a 2f 0d 0a 0d 0a 00 | |*/..... | |
+--------+-------------------------+-------------------------+--------+--------+