home *** CD-ROM | disk | FTP | other *** search
Unknown | 2004-01-13 | 5.2 KB |
open in:
MacOS 8.1
|
Win98
|
DOS
view JSON data
|
view as text
This file was not able to be converted.
This format is not currently supported by dexvert.
Confidence | Program | Detection | Match Type | Support
|
---|
100%
| file
| data
| default
|
|
hex view+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 00 00 00 00 00 00 00 | 65 53 63 6c 61 73 73 20 |........|eSclass |
|00000010| 55 44 65 62 75 67 56 69 | 64 65 6f 43 6c 69 65 6e |UDebugVi|deoClien|
|00000020| 74 20 65 78 74 65 6e 64 | 73 20 55 57 69 6e 64 6f |t extend|s UWindo|
|00000030| 77 44 69 61 6c 6f 67 43 | 6c 69 65 6e 74 57 69 6e |wDialogC|lientWin|
|00000040| 64 6f 77 3b 0d 0a 0d 0a | 2f 2f 20 52 65 73 6f 6c |dow;....|// Resol|
|00000050| 75 74 69 6f 6e 0d 0a 76 | 61 72 20 55 57 69 6e 64 |ution..v|ar UWind|
|00000060| 6f 77 43 6f 6d 62 6f 43 | 6f 6e 74 72 6f 6c 20 52 |owComboC|ontrol R|
|00000070| 65 73 6f 6c 75 74 69 6f | 6e 43 6f 6d 62 6f 3b 0d |esolutio|nCombo;.|
|00000080| 0a 76 61 72 20 6c 6f 63 | 61 6c 69 7a 65 64 20 73 |.var loc|alized s|
|00000090| 74 72 69 6e 67 20 52 65 | 73 6f 6c 75 74 69 6f 6e |tring Re|solution|
|000000a0| 54 65 78 74 3b 0d 0a 76 | 61 72 20 6c 6f 63 61 6c |Text;..v|ar local|
|000000b0| 69 7a 65 64 20 73 74 72 | 69 6e 67 20 52 65 73 6f |ized str|ing Reso|
|000000c0| 6c 75 74 69 6f 6e 48 65 | 6c 70 3b 0d 0a 0d 0a 2f |lutionHe|lp;..../|
|000000d0| 2f 20 42 72 69 67 68 74 | 6e 65 73 73 0d 0a 76 61 |/ Bright|ness..va|
|000000e0| 72 20 55 57 69 6e 64 6f | 77 48 53 6c 69 64 65 72 |r UWindo|wHSlider|
|000000f0| 43 6f 6e 74 72 6f 6c 20 | 42 72 69 67 68 74 6e 65 |Control |Brightne|
|00000100| 73 73 53 6c 69 64 65 72 | 3b 0d 0a 76 61 72 20 6c |ssSlider|;..var l|
|00000110| 6f 63 61 6c 69 7a 65 64 | 20 73 74 72 69 6e 67 20 |ocalized| string |
|00000120| 42 72 69 67 68 74 6e 65 | 73 73 54 65 78 74 3b 0d |Brightne|ssText;.|
|00000130| 0a 76 61 72 20 6c 6f 63 | 61 6c 69 7a 65 64 20 73 |.var loc|alized s|
|00000140| 74 72 69 6e 67 20 42 72 | 69 67 68 74 6e 65 73 73 |tring Br|ightness|
|00000150| 48 65 6c 70 3b 0d 0a 0d | 0a 2f 2f 20 43 6f 6e 66 |Help;...|.// Conf|
|00000160| 69 72 6d 20 6d 65 73 73 | 61 67 65 20 62 6f 78 0d |irm mess|age box.|
|00000170| 0a 0d 0a 76 61 72 20 55 | 57 69 6e 64 6f 77 4d 65 |...var U|WindowMe|
|00000180| 73 73 61 67 65 42 6f 78 | 20 43 6f 6e 66 69 72 6d |ssageBox| Confirm|
|00000190| 53 65 74 74 69 6e 67 73 | 2c 20 43 6f 6e 66 69 72 |Settings|, Confir|
|000001a0| 6d 44 72 69 76 65 72 2c | 20 43 6f 6e 66 69 72 6d |mDriver,| Confirm|
|000001b0| 57 6f 72 6c 64 54 65 78 | 74 75 72 65 44 65 74 61 |WorldTex|tureDeta|
|000001c0| 69 6c 2c 20 43 6f 6e 66 | 69 72 6d 53 6b 69 6e 54 |il, Conf|irmSkinT|
|000001d0| 65 78 74 75 72 65 44 65 | 74 61 69 6c 3b 0d 0a 76 |extureDe|tail;..v|
|000001e0| 61 72 20 6c 6f 63 61 6c | 69 7a 65 64 20 73 74 72 |ar local|ized str|
|000001f0| 69 6e 67 20 43 6f 6e 66 | 69 72 6d 53 65 74 74 69 |ing Conf|irmSetti|
|00000200| 6e 67 73 54 69 74 6c 65 | 3b 0d 0a 76 61 72 20 6c |ngsTitle|;..var l|
|00000210| 6f 63 61 6c 69 7a 65 64 | 20 73 74 72 69 6e 67 20 |ocalized| string |
|00000220| 43 6f 6e 66 69 72 6d 53 | 65 74 74 69 6e 67 73 54 |ConfirmS|ettingsT|
|00000230| 65 78 74 3b 0d 0a 76 61 | 72 20 6c 6f 63 61 6c 69 |ext;..va|r locali|
|00000240| 7a 65 64 20 73 74 72 69 | 6e 67 20 43 6f 6e 66 69 |zed stri|ng Confi|
|00000250| 72 6d 53 65 74 74 69 6e | 67 73 43 61 6e 63 65 6c |rmSettin|gsCancel|
|00000260| 54 69 74 6c 65 3b 0d 0a | 76 61 72 20 6c 6f 63 61 |Title;..|var loca|
|00000270| 6c 69 7a 65 64 20 73 74 | 72 69 6e 67 20 43 6f 6e |lized st|ring Con|
|00000280| 66 69 72 6d 53 65 74 74 | 69 6e 67 73 43 61 6e 63 |firmSett|ingsCanc|
|00000290| 65 6c 54 65 78 74 3b 0d | 0a 76 61 72 20 6c 6f 63 |elText;.|.var loc|
|000002a0| 61 6c 69 7a 65 64 20 73 | 74 72 69 6e 67 20 43 6f |alized s|tring Co|
|000002b0| 6e 66 69 72 6d 54 65 78 | 74 75 72 65 44 65 74 61 |nfirmTex|tureDeta|
|000002c0| 69 6c 54 69 74 6c 65 3b | 0d 0a 76 61 72 20 6c 6f |ilTitle;|..var lo|
|000002d0| 63 61 6c 69 7a 65 64 20 | 73 74 72 69 6e 67 20 43 |calized |string C|
|000002e0| 6f 6e 66 69 72 6d 54 65 | 78 74 75 72 65 44 65 74 |onfirmTe|xtureDet|
|000002f0| 61 69 6c 54 65 78 74 3b | 0d 0a 76 61 72 20 6c 6f |ailText;|..var lo|
|00000300| 63 61 6c 69 7a 65 64 20 | 73 74 72 69 6e 67 20 43 |calized |string C|
|00000310| 6f 6e 66 69 72 6d 44 72 | 69 76 65 72 54 69 74 6c |onfirmDr|iverTitl|
|00000320| 65 3b 0d 0a 76 61 72 20 | 6c 6f 63 61 6c 69 7a 65 |e;..var |localize|
|00000330| 64 20 73 74 72 69 6e 67 | 20 43 6f 6e 66 69 72 6d |d string| Confirm|
|00000340| 44 72 69 76 65 72 54 65 | 78 74 3b 0d 0a 0d 0a 0d |DriverTe|xt;.....|
|00000350| 0a 76 61 72 20 73 74 72 | 69 6e 67 20 4f 6c 64 53 |.var str|ing OldS|
|00000360| 65 74 74 69 6e 67 73 3b | 0d 0a 76 61 72 20 62 6f |ettings;|..var bo|
|00000370| 6f 6c 20 62 49 6e 69 74 | 69 61 6c 69 7a 65 64 3b |ol bInit|ialized;|
|00000380| 0d 0a 76 61 72 20 66 6c | 6f 61 74 20 43 6f 6e 74 |..var fl|oat Cont|
|00000390| 72 6f 6c 4f 66 66 73 65 | 74 3b 0d 0a 0d 0a 66 75 |rolOffse|t;....fu|
|000003a0| 6e 63 74 69 6f 6e 20 43 | 72 65 61 74 65 64 28 29 |nction C|reated()|
|000003b0| 0d 0a 7b 0d 0a 09 6c 6f | 63 61 6c 20 69 6e 74 20 |..{...lo|cal int |
|000003c0| 43 6f 6e 74 72 6f 6c 57 | 69 64 74 68 2c 20 43 6f |ControlW|idth, Co|
|000003d0| 6e 74 72 6f 6c 4c 65 66 | 74 2c 20 43 6f 6e 74 72 |ntrolLef|t, Contr|
|000003e0| 6f 6c 52 69 67 68 74 3b | 0d 0a 09 6c 6f 63 61 6c |olRight;|...local|
|000003f0| 20 69 6e 74 20 43 65 6e | 74 65 72 57 69 64 74 68 | int Cen|terWidth|
|00000400| 2c 20 43 65 6e 74 65 72 | 50 6f 73 3b 0d 0a 0d 0a |, Center|Pos;....|
|00000410| 09 53 75 70 65 72 2e 43 | 72 65 61 74 65 64 28 29 |.Super.C|reated()|
|00000420| 3b 0d 0a 0d 0a 09 43 6f | 6e 74 72 6f 6c 57 69 64 |;.....Co|ntrolWid|
|00000430| 74 68 20 3d 20 57 69 6e | 57 69 64 74 68 2f 32 2e |th = Win|Width/2.|
|00000440| 35 3b 0d 0a 09 43 6f 6e | 74 72 6f 6c 4c 65 66 74 |5;...Con|trolLeft|
|00000450| 20 3d 20 28 57 69 6e 57 | 69 64 74 68 2f 32 20 2d | = (WinW|idth/2 -|
|00000460| 20 43 6f 6e 74 72 6f 6c | 57 69 64 74 68 29 2f 32 | Control|Width)/2|
|00000470| 3b 0d 0a 09 43 6f 6e 74 | 72 6f 6c 52 69 67 68 74 |;...Cont|rolRight|
|00000480| 20 3d 20 57 69 6e 57 69 | 64 74 68 2f 32 20 2b 20 | = WinWi|dth/2 + |
|00000490| 43 6f 6e 74 72 6f 6c 4c | 65 66 74 3b 0d 0a 0d 0a |ControlL|eft;....|
|000004a0| 09 43 65 6e 74 65 72 57 | 69 64 74 68 20 3d 20 28 |.CenterW|idth = (|
|000004b0| 57 69 6e 57 69 64 74 68 | 2f 34 29 2a 33 3b 0d 0a |WinWidth|/4)*3;..|
|000004c0| 09 43 65 6e 74 65 72 50 | 6f 73 20 3d 20 28 57 69 |.CenterP|os = (Wi|
|000004d0| 6e 57 69 64 74 68 20 2d | 20 43 65 6e 74 65 72 57 |nWidth -| CenterW|
|000004e0| 69 64 74 68 29 2f 32 3b | 0d 0a 09 0d 0a 0d 0a 09 |idth)/2;|........|
|000004f0| 2f 2f 20 52 65 73 6f 6c | 75 74 69 6f 6e 0d 0a 09 |// Resol|ution...|
|00000500| 52 65 73 6f 6c 75 74 69 | 6f 6e 43 6f 6d 62 6f 20 |Resoluti|onCombo |
|00000510| 3d 20 55 57 69 6e 64 6f | 77 43 6f 6d 62 6f 43 6f |= UWindo|wComboCo|
|00000520| 6e 74 72 6f 6c 28 43 72 | 65 61 74 65 43 6f 6e 74 |ntrol(Cr|eateCont|
|00000530| 72 6f 6c 28 63 6c 61 73 | 73 27 55 57 69 6e 64 6f |rol(clas|s'UWindo|
|00000540| 77 43 6f 6d 62 6f 43 6f | 6e 74 72 6f 6c 27 2c 20 |wComboCo|ntrol', |
|00000550| 43 65 6e 74 65 72 50 6f | 73 2c 20 43 6f 6e 74 72 |CenterPo|s, Contr|
|00000560| 6f 6c 4f 66 66 73 65 74 | 2c 20 43 65 6e 74 65 72 |olOffset|, Center|
|00000570| 57 69 64 74 68 2c 20 31 | 29 29 3b 0d 0a 09 52 65 |Width, 1|));...Re|
|00000580| 73 6f 6c 75 74 69 6f 6e | 43 6f 6d 62 6f 2e 53 65 |solution|Combo.Se|
|00000590| 74 54 65 78 74 28 52 65 | 73 6f 6c 75 74 69 6f 6e |tText(Re|solution|
|000005a0| 54 65 78 74 29 3b 0d 0a | 09 52 65 73 6f 6c 75 74 |Text);..|.Resolut|
|000005b0| 69 6f 6e 43 6f 6d 62 6f | 2e 53 65 74 48 65 6c 70 |ionCombo|.SetHelp|
|000005c0| 54 65 78 74 28 52 65 73 | 6f 6c 75 74 69 6f 6e 48 |Text(Res|olutionH|
|000005d0| 65 6c 70 29 3b 0d 0a 09 | 52 65 73 6f 6c 75 74 69 |elp);...|Resoluti|
|000005e0| 6f 6e 43 6f 6d 62 6f 2e | 53 65 74 46 6f 6e 74 28 |onCombo.|SetFont(|
|000005f0| 46 5f 4e 6f 72 6d 61 6c | 29 3b 0d 0a 09 52 65 73 |F_Normal|);...Res|
|00000600| 6f 6c 75 74 69 6f 6e 43 | 6f 6d 62 6f 2e 53 65 74 |olutionC|ombo.Set|
|00000610| 45 64 69 74 61 62 6c 65 | 28 46 61 6c 73 65 29 3b |Editable|(False);|
|00000620| 0d 0a 09 43 6f 6e 74 72 | 6f 6c 4f 66 66 73 65 74 |...Contr|olOffset|
|00000630| 20 2b 3d 20 32 35 3b 0d | 0a 0d 0a 09 2f 2f 20 42 | += 25;.|....// B|
|00000640| 72 69 67 68 74 6e 65 73 | 73 0d 0a 09 42 72 69 67 |rightnes|s...Brig|
|00000650| 68 74 6e 65 73 73 53 6c | 69 64 65 72 20 3d 20 55 |htnessSl|ider = U|
|00000660| 57 69 6e 64 6f 77 48 53 | 6c 69 64 65 72 43 6f 6e |WindowHS|liderCon|
|00000670| 74 72 6f 6c 28 43 72 65 | 61 74 65 43 6f 6e 74 72 |trol(Cre|ateContr|
|00000680| 6f 6c 28 63 6c 61 73 73 | 27 55 57 69 6e 64 6f 77 |ol(class|'UWindow|
|00000690| 48 53 6c 69 64 65 72 43 | 6f 6e 74 72 6f 6c 27 2c |HSliderC|ontrol',|
|000006a0| 20 43 65 6e 74 65 72 50 | 6f 73 2c 20 43 6f 6e 74 | CenterP|os, Cont|
|000006b0| 72 6f 6c 4f 66 66 73 65 | 74 2c 20 43 65 6e 74 65 |rolOffse|t, Cente|
|000006c0| 72 57 69 64 74 68 2c 20 | 31 29 29 3b 0d 0a 09 42 |rWidth, |1));...B|
|000006d0| 72 69 67 68 74 6e 65 73 | 73 53 6c 69 64 65 72 2e |rightnes|sSlider.|
|000006e0| 62 4e 6f 53 6c 69 64 69 | 6e 67 4e 6f 74 69 66 79 |bNoSlidi|ngNotify|
|000006f0| 20 3d 20 54 72 75 65 3b | 0d 0a 09 42 72 69 67 68 | = True;|...Brigh|
|00000700| 74 6e 65 73 73 53 6c 69 | 64 65 72 2e 53 65 74 52 |tnessSli|der.SetR|
|00000710| 61 6e 67 65 28 32 2c 20 | 31 30 2c 20 31 29 3b 0d |ange(2, |10, 1);.|
|00000720| 0a 09 42 72 69 67 68 74 | 6e 65 73 73 53 6c 69 64 |..Bright|nessSlid|
|00000730| 65 72 2e 53 65 74 54 65 | 78 74 28 42 72 69 67 68 |er.SetTe|xt(Brigh|
|00000740| 74 6e 65 73 73 54 65 78 | 74 29 3b 0d 0a 09 42 72 |tnessTex|t);...Br|
|00000750| 69 67 68 74 6e 65 73 73 | 53 6c 69 64 65 72 2e 53 |ightness|Slider.S|
|00000760| 65 74 48 65 6c 70 54 65 | 78 74 28 42 72 69 67 68 |etHelpTe|xt(Brigh|
|00000770| 74 6e 65 73 73 48 65 6c | 70 29 3b 0d 0a 09 42 72 |tnessHel|p);...Br|
|00000780| 69 67 68 74 6e 65 73 73 | 53 6c 69 64 65 72 2e 53 |ightness|Slider.S|
|00000790| 65 74 46 6f 6e 74 28 46 | 5f 4e 6f 72 6d 61 6c 29 |etFont(F|_Normal)|
|000007a0| 3b 0d 0a 0d 0a 09 4c 6f | 61 64 41 76 61 69 6c 61 |;.....Lo|adAvaila|
|000007b0| 62 6c 65 53 65 74 74 69 | 6e 67 73 28 29 3b 0d 0a |bleSetti|ngs();..|
|000007c0| 7d 0d 0a 0d 0a 66 75 6e | 63 74 69 6f 6e 20 41 66 |}....fun|ction Af|
|000007d0| 74 65 72 43 72 65 61 74 | 65 28 29 0d 0a 7b 0d 0a |terCreat|e()..{..|
|000007e0| 09 53 75 70 65 72 2e 41 | 66 74 65 72 43 72 65 61 |.Super.A|fterCrea|
|000007f0| 74 65 28 29 3b 0d 0a 0d | 0a 09 44 65 73 69 72 65 |te();...|..Desire|
|00000800| 64 57 69 64 74 68 20 3d | 20 32 32 30 3b 0d 0a 09 |dWidth =| 220;...|
|00000810| 44 65 73 69 72 65 64 48 | 65 69 67 68 74 20 3d 20 |DesiredH|eight = |
|00000820| 43 6f 6e 74 72 6f 6c 4f | 66 66 73 65 74 3b 0d 0a |ControlO|ffset;..|
|00000830| 7d 0d 0a 0d 0a 66 75 6e | 63 74 69 6f 6e 20 4c 6f |}....fun|ction Lo|
|00000840| 61 64 41 76 61 69 6c 61 | 62 6c 65 53 65 74 74 69 |adAvaila|bleSetti|
|00000850| 6e 67 73 28 29 0d 0a 7b | 0d 0a 09 6c 6f 63 61 6c |ngs()..{|...local|
|00000860| 20 66 6c 6f 61 74 20 42 | 72 69 67 68 74 6e 65 73 | float B|rightnes|
|00000870| 73 3b 0d 0a 0d 0a 09 62 | 49 6e 69 74 69 61 6c 69 |s;.....b|Initiali|
|00000880| 7a 65 64 20 3d 20 46 61 | 6c 73 65 3b 0d 0a 0d 0a |zed = Fa|lse;....|
|00000890| 09 2f 2f 20 4c 6f 61 64 | 20 61 76 61 69 6c 61 62 |.// Load| availab|
|000008a0| 6c 65 20 76 69 64 65 6f | 20 64 72 69 76 65 72 73 |le video| drivers|
|000008b0| 20 61 6e 64 20 63 75 72 | 72 65 6e 74 20 76 69 64 | and cur|rent vid|
|000008c0| 65 6f 20 64 72 69 76 65 | 72 20 68 65 72 65 2e 0d |eo drive|r here..|
|000008d0| 0a 0d 0a 09 52 65 73 6f | 6c 75 74 69 6f 6e 43 6f |....Reso|lutionCo|
|000008e0| 6d 62 6f 2e 43 6c 65 61 | 72 28 29 3b 0d 0a 09 0d |mbo.Clea|r();....|
|000008f0| 0a 2f 2a 20 2d 20 47 65 | 74 52 65 73 20 69 73 6e |./* - Ge|tRes isn|
|00000900| 27 74 20 77 6f 72 6b 69 | 6e 67 09 0d 0a 09 50 61 |'t worki|ng....Pa|
|00000910| 72 73 65 53 74 72 69 6e | 67 20 3d 20 47 65 74 50 |rseStrin|g = GetP|
|00000920| 6c 61 79 65 72 4f 77 6e | 65 72 28 29 2e 43 6f 6e |layerOwn|er().Con|
|00000930| 73 6f 6c 65 43 6f 6d 6d | 61 6e 64 28 22 47 65 74 |soleComm|and("Get|
|00000940| 52 65 73 22 29 3b 0d 0a | 09 50 20 3d 20 49 6e 53 |Res");..|.P = InS|
|00000950| 74 72 28 50 61 72 73 65 | 53 74 72 69 6e 67 2c 20 |tr(Parse|String, |
|00000960| 22 20 22 29 3b 0d 0a 09 | 77 68 69 6c 65 20 28 50 |" ");...|while (P|
|00000970| 20 21 3d 20 2d 31 29 20 | 0d 0a 09 7b 0d 0a 09 09 | != -1) |...{....|
|00000980| 52 65 73 6f 6c 75 74 69 | 6f 6e 43 6f 6d 62 6f 2e |Resoluti|onCombo.|
|00000990| 41 64 64 49 74 65 6d 28 | 4c 65 66 74 28 50 61 72 |AddItem(|Left(Par|
|000009a0| 73 65 53 74 72 69 6e 67 | 2c 20 50 29 29 3b 0d 0a |seString|, P));..|
|000009b0| 09 09 50 61 72 73 65 53 | 74 72 69 6e 67 20 3d 20 |..ParseS|tring = |
|000009c0| 4d 69 64 28 50 61 72 73 | 65 53 74 72 69 6e 67 2c |Mid(Pars|eString,|
|000009d0| 20 50 2b 31 29 3b 0d 0a | 09 09 50 20 3d 20 49 6e | P+1);..|..P = In|
|000009e0| 53 74 72 28 50 61 72 73 | 65 53 74 72 69 6e 67 2c |Str(Pars|eString,|
|000009f0| 20 22 20 22 29 3b 0d 0a | 09 7d 0d 0a 09 52 65 73 | " ");..|.}...Res|
|00000a00| 6f 6c 75 74 69 6f 6e 43 | 6f 6d 62 6f 2e 41 64 64 |olutionC|ombo.Add|
|00000a10| 49 74 65 6d 28 50 61 72 | 73 65 53 74 72 69 6e 67 |Item(Par|seString|
|00000a20| 29 3b 0d 0a 09 52 65 73 | 6f 6c 75 74 69 6f 6e 43 |);...Res|olutionC|
|00000a30| 6f 6d 62 6f 2e 53 65 74 | 56 61 6c 75 65 28 47 65 |ombo.Set|Value(Ge|
|00000a40| 74 50 6c 61 79 65 72 4f | 77 6e 65 72 28 29 2e 43 |tPlayerO|wner().C|
|00000a50| 6f 6e 73 6f 6c 65 43 6f | 6d 6d 61 6e 64 28 22 47 |onsoleCo|mmand("G|
|00000a60| 65 74 43 75 72 72 65 6e | 74 52 65 73 22 29 29 3b |etCurren|tRes"));|
|00000a70| 0d 0a 2a 2f 0d 0a 0d 0a | 09 52 65 73 6f 6c 75 74 |..*/....|.Resolut|
|00000a80| 69 6f 6e 43 6f 6d 62 6f | 2e 41 64 64 49 74 65 6d |ionCombo|.AddItem|
|00000a90| 28 22 36 34 30 78 34 38 | 30 22 29 3b 0d 0a 09 52 |("640x48|0");...R|
|00000aa0| 65 73 6f 6c 75 74 69 6f | 6e 43 6f 6d 62 6f 2e 41 |esolutio|nCombo.A|
|00000ab0| 64 64 49 74 65 6d 28 22 | 38 30 30 78 36 30 30 22 |ddItem("|800x600"|
|00000ac0| 29 3b 0d 0a 09 52 65 73 | 6f 6c 75 74 69 6f 6e 43 |);...Res|olutionC|
|00000ad0| 6f 6d 62 6f 2e 41 64 64 | 49 74 65 6d 28 22 31 30 |ombo.Add|Item("10|
|00000ae0| 32 34 78 37 36 38 22 29 | 3b 0d 0a 09 52 65 73 6f |24x768")|;...Reso|
|00000af0| 6c 75 74 69 6f 6e 43 6f | 6d 62 6f 2e 41 64 64 49 |lutionCo|mbo.AddI|
|00000b00| 74 65 6d 28 22 31 32 38 | 30 78 31 30 32 34 22 29 |tem("128|0x1024")|
|00000b10| 3b 0d 0a 09 52 65 73 6f | 6c 75 74 69 6f 6e 43 6f |;...Reso|lutionCo|
|00000b20| 6d 62 6f 2e 41 64 64 49 | 74 65 6d 28 22 31 36 30 |mbo.AddI|tem("160|
|00000b30| 30 78 31 32 30 30 22 29 | 3b 0d 0a 09 52 65 73 6f |0x1200")|;...Reso|
|00000b40| 6c 75 74 69 6f 6e 43 6f | 6d 62 6f 2e 53 65 74 56 |lutionCo|mbo.SetV|
|00000b50| 61 6c 75 65 28 47 65 74 | 50 6c 61 79 65 72 4f 77 |alue(Get|PlayerOw|
|00000b60| 6e 65 72 28 29 2e 43 6f | 6e 73 6f 6c 65 43 6f 6d |ner().Co|nsoleCom|
|00000b70| 6d 61 6e 64 28 22 47 65 | 74 43 75 72 72 65 6e 74 |mand("Ge|tCurrent|
|00000b80| 52 65 73 22 29 29 3b 0d | 0a 0d 0a 0d 0a 09 42 72 |Res"));.|......Br|
|00000b90| 69 67 68 74 6e 65 73 73 | 20 3d 20 69 6e 74 28 66 |ightness| = int(f|
|00000ba0| 6c 6f 61 74 28 47 65 74 | 50 6c 61 79 65 72 4f 77 |loat(Get|PlayerOw|
|00000bb0| 6e 65 72 28 29 2e 43 6f | 6e 73 6f 6c 65 43 6f 6d |ner().Co|nsoleCom|
|00000bc0| 6d 61 6e 64 28 22 67 65 | 74 20 69 6e 69 3a 45 6e |mand("ge|t ini:En|
|00000bd0| 67 69 6e 65 2e 45 6e 67 | 69 6e 65 2e 56 69 65 77 |gine.Eng|ine.View|
|00000be0| 70 6f 72 74 4d 61 6e 61 | 67 65 72 20 42 72 69 67 |portMana|ger Brig|
|00000bf0| 68 74 6e 65 73 73 22 29 | 29 20 2a 20 31 30 29 3b |htness")|) * 10);|
|00000c00| 0d 0a 09 42 72 69 67 68 | 74 6e 65 73 73 53 6c 69 |...Brigh|tnessSli|
|00000c10| 64 65 72 2e 53 65 74 56 | 61 6c 75 65 28 42 72 69 |der.SetV|alue(Bri|
|00000c20| 67 68 74 6e 65 73 73 29 | 3b 0d 0a 0d 0a 09 62 49 |ghtness)|;.....bI|
|00000c30| 6e 69 74 69 61 6c 69 7a | 65 64 20 3d 20 54 72 75 |nitializ|ed = Tru|
|00000c40| 65 3b 0d 0a 7d 0d 0a 0d | 0a 66 75 6e 63 74 69 6f |e;..}...|.functio|
|00000c50| 6e 20 52 65 73 6f 6c 75 | 74 69 6f 6e 43 68 61 6e |n Resolu|tionChan|
|00000c60| 67 65 64 28 66 6c 6f 61 | 74 20 57 2c 20 66 6c 6f |ged(floa|t W, flo|
|00000c70| 61 74 20 48 29 0d 0a 7b | 0d 0a 09 53 75 70 65 72 |at H)..{|...Super|
|00000c80| 2e 52 65 73 6f 6c 75 74 | 69 6f 6e 43 68 61 6e 67 |.Resolut|ionChang|
|00000c90| 65 64 28 48 2c 20 48 29 | 3b 0d 0a 09 69 66 28 47 |ed(H, H)|;...if(G|
|00000ca0| 65 74 50 6c 61 79 65 72 | 4f 77 6e 65 72 28 29 2e |etPlayer|Owner().|
|00000cb0| 43 6f 6e 73 6f 6c 65 43 | 6f 6d 6d 61 6e 64 28 22 |ConsoleC|ommand("|
|00000cc0| 47 65 74 43 75 72 72 65 | 6e 74 52 65 73 22 29 20 |GetCurre|ntRes") |
|00000cd0| 21 3d 20 52 65 73 6f 6c | 75 74 69 6f 6e 43 6f 6d |!= Resol|utionCom|
|00000ce0| 62 6f 2e 47 65 74 56 61 | 6c 75 65 28 29 29 0d 0a |bo.GetVa|lue())..|
|00000cf0| 09 09 4c 6f 61 64 41 76 | 61 69 6c 61 62 6c 65 53 |..LoadAv|ailableS|
|00000d00| 65 74 74 69 6e 67 73 28 | 29 3b 0d 0a 7d 0d 0a 0d |ettings(|);..}...|
|00000d10| 0a 66 75 6e 63 74 69 6f | 6e 20 42 65 66 6f 72 65 |.functio|n Before|
|00000d20| 50 61 69 6e 74 28 43 61 | 6e 76 61 73 20 43 2c 20 |Paint(Ca|nvas C, |
|00000d30| 66 6c 6f 61 74 20 58 2c | 20 66 6c 6f 61 74 20 59 |float X,| float Y|
|00000d40| 29 0d 0a 7b 0d 0a 09 6c | 6f 63 61 6c 20 69 6e 74 |)..{...l|ocal int|
|00000d50| 20 43 6f 6e 74 72 6f 6c | 57 69 64 74 68 2c 20 43 | Control|Width, C|
|00000d60| 6f 6e 74 72 6f 6c 4c 65 | 66 74 2c 20 43 6f 6e 74 |ontrolLe|ft, Cont|
|00000d70| 72 6f 6c 52 69 67 68 74 | 3b 0d 0a 09 6c 6f 63 61 |rolRight|;...loca|
|00000d80| 6c 20 69 6e 74 20 43 65 | 6e 74 65 72 57 69 64 74 |l int Ce|nterWidt|
|00000d90| 68 2c 20 43 65 6e 74 65 | 72 50 6f 73 3b 0d 0a 0d |h, Cente|rPos;...|
|00000da0| 0a 09 53 75 70 65 72 2e | 42 65 66 6f 72 65 50 61 |..Super.|BeforePa|
|00000db0| 69 6e 74 28 43 2c 20 58 | 2c 20 59 29 3b 0d 0a 0d |int(C, X|, Y);...|
|00000dc0| 0a 09 43 6f 6e 74 72 6f | 6c 57 69 64 74 68 20 3d |..Contro|lWidth =|
|00000dd0| 20 57 69 6e 57 69 64 74 | 68 2f 32 2e 35 3b 0d 0a | WinWidt|h/2.5;..|
|00000de0| 09 43 6f 6e 74 72 6f 6c | 4c 65 66 74 20 3d 20 28 |.Control|Left = (|
|00000df0| 57 69 6e 57 69 64 74 68 | 2f 32 20 2d 20 43 6f 6e |WinWidth|/2 - Con|
|00000e00| 74 72 6f 6c 57 69 64 74 | 68 29 2f 32 3b 0d 0a 09 |trolWidt|h)/2;...|
|00000e10| 43 6f 6e 74 72 6f 6c 52 | 69 67 68 74 20 3d 20 57 |ControlR|ight = W|
|00000e20| 69 6e 57 69 64 74 68 2f | 32 20 2b 20 43 6f 6e 74 |inWidth/|2 + Cont|
|00000e30| 72 6f 6c 4c 65 66 74 3b | 0d 0a 0d 0a 09 43 65 6e |rolLeft;|.....Cen|
|00000e40| 74 65 72 57 69 64 74 68 | 20 3d 20 28 57 69 6e 57 |terWidth| = (WinW|
|00000e50| 69 64 74 68 2f 34 29 2a | 33 3b 0d 0a 09 43 65 6e |idth/4)*|3;...Cen|
|00000e60| 74 65 72 50 6f 73 20 3d | 20 28 57 69 6e 57 69 64 |terPos =| (WinWid|
|00000e70| 74 68 20 2d 20 43 65 6e | 74 65 72 57 69 64 74 68 |th - Cen|terWidth|
|00000e80| 29 2f 32 3b 0d 0a 0d 0a | 09 52 65 73 6f 6c 75 74 |)/2;....|.Resolut|
|00000e90| 69 6f 6e 43 6f 6d 62 6f | 2e 53 65 74 53 69 7a 65 |ionCombo|.SetSize|
|00000ea0| 28 43 65 6e 74 65 72 57 | 69 64 74 68 2c 20 31 29 |(CenterW|idth, 1)|
|00000eb0| 3b 0d 0a 09 52 65 73 6f | 6c 75 74 69 6f 6e 43 6f |;...Reso|lutionCo|
|00000ec0| 6d 62 6f 2e 57 69 6e 4c | 65 66 74 20 3d 20 43 65 |mbo.WinL|eft = Ce|
|00000ed0| 6e 74 65 72 50 6f 73 3b | 0d 0a 09 52 65 73 6f 6c |nterPos;|...Resol|
|00000ee0| 75 74 69 6f 6e 43 6f 6d | 62 6f 2e 45 64 69 74 42 |utionCom|bo.EditB|
|00000ef0| 6f 78 57 69 64 74 68 20 | 3d 20 31 30 30 3b 0d 0a |oxWidth |= 100;..|
|00000f00| 0d 0a 09 42 72 69 67 68 | 74 6e 65 73 73 53 6c 69 |...Brigh|tnessSli|
|00000f10| 64 65 72 2e 53 65 74 53 | 69 7a 65 28 43 65 6e 74 |der.SetS|ize(Cent|
|00000f20| 65 72 57 69 64 74 68 2c | 20 31 29 3b 0d 0a 09 42 |erWidth,| 1);...B|
|00000f30| 72 69 67 68 74 6e 65 73 | 73 53 6c 69 64 65 72 2e |rightnes|sSlider.|
|00000f40| 53 6c 69 64 65 72 57 69 | 64 74 68 20 3d 20 31 30 |SliderWi|dth = 10|
|00000f50| 30 3b 0d 0a 09 42 72 69 | 67 68 74 6e 65 73 73 53 |0;...Bri|ghtnessS|
|00000f60| 6c 69 64 65 72 2e 57 69 | 6e 4c 65 66 74 20 3d 20 |lider.Wi|nLeft = |
|00000f70| 43 65 6e 74 65 72 50 6f | 73 3b 0d 0a 7d 0d 0a 0d |CenterPo|s;..}...|
|00000f80| 0a 66 75 6e 63 74 69 6f | 6e 20 4e 6f 74 69 66 79 |.functio|n Notify|
|00000f90| 28 55 57 69 6e 64 6f 77 | 44 69 61 6c 6f 67 43 6f |(UWindow|DialogCo|
|00000fa0| 6e 74 72 6f 6c 20 43 2c | 20 62 79 74 65 20 45 29 |ntrol C,| byte E)|
|00000fb0| 0d 0a 7b 0d 0a 09 53 75 | 70 65 72 2e 4e 6f 74 69 |..{...Su|per.Noti|
|00000fc0| 66 79 28 43 2c 20 45 29 | 3b 0d 0a 0d 0a 09 73 77 |fy(C, E)|;.....sw|
|00000fd0| 69 74 63 68 28 45 29 0d | 0a 09 7b 0d 0a 09 63 61 |itch(E).|..{...ca|
|00000fe0| 73 65 20 44 45 5f 43 68 | 61 6e 67 65 3a 0d 0a 09 |se DE_Ch|ange:...|
|00000ff0| 09 73 77 69 74 63 68 28 | 43 29 0d 0a 09 09 7b 0d |.switch(|C)....{.|
|00001000| 0a 09 09 63 61 73 65 20 | 52 65 73 6f 6c 75 74 69 |...case |Resoluti|
|00001010| 6f 6e 43 6f 6d 62 6f 3a | 0d 0a 09 09 09 53 65 74 |onCombo:|.....Set|
|00001020| 74 69 6e 67 73 43 68 61 | 6e 67 65 64 28 29 3b 0d |tingsCha|nged();.|
|00001030| 0a 09 09 09 62 72 65 61 | 6b 3b 0d 0a 09 09 63 61 |....brea|k;....ca|
|00001040| 73 65 20 42 72 69 67 68 | 74 6e 65 73 73 53 6c 69 |se Brigh|tnessSli|
|00001050| 64 65 72 3a 0d 0a 09 09 | 09 42 72 69 67 68 74 6e |der:....|.Brightn|
|00001060| 65 73 73 43 68 61 6e 67 | 65 64 28 29 3b 0d 0a 09 |essChang|ed();...|
|00001070| 09 09 62 72 65 61 6b 3b | 0d 0a 09 09 7d 0d 0a 09 |..break;|....}...|
|00001080| 09 62 72 65 61 6b 3b 0d | 0a 09 7d 0d 0a 7d 0d 0a |.break;.|..}..}..|
|00001090| 0d 0a 66 75 6e 63 74 69 | 6f 6e 20 53 65 74 74 69 |..functi|on Setti|
|000010a0| 6e 67 73 43 68 61 6e 67 | 65 64 28 29 0d 0a 7b 0d |ngsChang|ed()..{.|
|000010b0| 0a 09 6c 6f 63 61 6c 20 | 73 74 72 69 6e 67 20 4e |..local |string N|
|000010c0| 65 77 53 65 74 74 69 6e | 67 73 3b 0d 0a 0d 0a 09 |ewSettin|gs;.....|
|000010d0| 69 66 28 62 49 6e 69 74 | 69 61 6c 69 7a 65 64 29 |if(bInit|ialized)|
|000010e0| 0d 0a 09 7b 0d 0a 09 09 | 4f 6c 64 53 65 74 74 69 |...{....|OldSetti|
|000010f0| 6e 67 73 20 3d 20 47 65 | 74 50 6c 61 79 65 72 4f |ngs = Ge|tPlayerO|
|00001100| 77 6e 65 72 28 29 2e 43 | 6f 6e 73 6f 6c 65 43 6f |wner().C|onsoleCo|
|00001110| 6d 6d 61 6e 64 28 22 47 | 65 74 43 75 72 72 65 6e |mmand("G|etCurren|
|00001120| 74 52 65 73 22 29 3b 0d | 0a 0d 0a 09 09 4e 65 77 |tRes");.|.....New|
|00001130| 53 65 74 74 69 6e 67 73 | 20 3d 20 52 65 73 6f 6c |Settings| = Resol|
|00001140| 75 74 69 6f 6e 43 6f 6d | 62 6f 2e 47 65 74 56 61 |utionCom|bo.GetVa|
|00001150| 6c 75 65 28 29 3b 0d 0a | 0d 0a 09 09 69 66 28 4e |lue();..|....if(N|
|00001160| 65 77 53 65 74 74 69 6e | 67 73 20 21 3d 20 4f 6c |ewSettin|gs != Ol|
|00001170| 64 53 65 74 74 69 6e 67 | 73 29 0d 0a 09 09 7b 0d |dSetting|s)....{.|
|00001180| 0a 09 09 09 47 65 74 50 | 6c 61 79 65 72 4f 77 6e |....GetP|layerOwn|
|00001190| 65 72 28 29 2e 43 6f 6e | 73 6f 6c 65 43 6f 6d 6d |er().Con|soleComm|
|000011a0| 61 6e 64 28 22 53 65 74 | 52 65 73 20 22 24 4e 65 |and("Set|Res "$Ne|
|000011b0| 77 53 65 74 74 69 6e 67 | 73 29 3b 0d 0a 09 09 09 |wSetting|s);.....|
|000011c0| 4c 6f 61 64 41 76 61 69 | 6c 61 62 6c 65 53 65 74 |LoadAvai|lableSet|
|000011d0| 74 69 6e 67 73 28 29 3b | 0d 0a 09 09 09 43 6f 6e |tings();|.....Con|
|000011e0| 66 69 72 6d 53 65 74 74 | 69 6e 67 73 20 3d 20 4d |firmSett|ings = M|
|000011f0| 65 73 73 61 67 65 42 6f | 78 28 43 6f 6e 66 69 72 |essageBo|x(Confir|
|00001200| 6d 53 65 74 74 69 6e 67 | 73 54 69 74 6c 65 2c 20 |mSetting|sTitle, |
|00001210| 43 6f 6e 66 69 72 6d 53 | 65 74 74 69 6e 67 73 54 |ConfirmS|ettingsT|
|00001220| 65 78 74 2c 20 4d 42 5f | 59 65 73 4e 6f 2c 20 4d |ext, MB_|YesNo, M|
|00001230| 52 5f 4e 6f 2c 20 4d 52 | 5f 4e 6f 6e 65 2c 20 31 |R_No, MR|_None, 1|
|00001240| 30 29 3b 0d 0a 09 09 7d | 0d 0a 09 7d 0d 0a 7d 0d |0);....}|...}..}.|
|00001250| 0a 0d 0a 66 75 6e 63 74 | 69 6f 6e 20 4d 65 73 73 |...funct|ion Mess|
|00001260| 61 67 65 42 6f 78 44 6f | 6e 65 28 55 57 69 6e 64 |ageBoxDo|ne(UWind|
|00001270| 6f 77 4d 65 73 73 61 67 | 65 42 6f 78 20 57 2c 20 |owMessag|eBox W, |
|00001280| 4d 65 73 73 61 67 65 42 | 6f 78 52 65 73 75 6c 74 |MessageB|oxResult|
|00001290| 20 52 65 73 75 6c 74 29 | 0d 0a 7b 0d 0a 09 69 66 | Result)|..{...if|
|000012a0| 28 57 20 3d 3d 20 43 6f | 6e 66 69 72 6d 53 65 74 |(W == Co|nfirmSet|
|000012b0| 74 69 6e 67 73 29 0d 0a | 09 7b 0d 0a 09 09 43 6f |tings)..|.{....Co|
|000012c0| 6e 66 69 72 6d 53 65 74 | 74 69 6e 67 73 20 3d 20 |nfirmSet|tings = |
|000012d0| 4e 6f 6e 65 3b 0d 0a 09 | 09 69 66 28 52 65 73 75 |None;...|.if(Resu|
|000012e0| 6c 74 20 21 3d 20 4d 52 | 5f 59 65 73 29 0d 0a 09 |lt != MR|_Yes)...|
|000012f0| 09 7b 0d 0a 09 09 09 47 | 65 74 50 6c 61 79 65 72 |.{.....G|etPlayer|
|00001300| 4f 77 6e 65 72 28 29 2e | 43 6f 6e 73 6f 6c 65 43 |Owner().|ConsoleC|
|00001310| 6f 6d 6d 61 6e 64 28 22 | 53 65 74 52 65 73 20 22 |ommand("|SetRes "|
|00001320| 24 4f 6c 64 53 65 74 74 | 69 6e 67 73 29 3b 0d 0a |$OldSett|ings);..|
|00001330| 09 09 09 4c 6f 61 64 41 | 76 61 69 6c 61 62 6c 65 |...LoadA|vailable|
|00001340| 53 65 74 74 69 6e 67 73 | 28 29 3b 09 09 09 0d 0a |Settings|();.....|
|00001350| 09 09 09 4d 65 73 73 61 | 67 65 42 6f 78 28 43 6f |...Messa|geBox(Co|
|00001360| 6e 66 69 72 6d 53 65 74 | 74 69 6e 67 73 43 61 6e |nfirmSet|tingsCan|
|00001370| 63 65 6c 54 69 74 6c 65 | 2c 20 43 6f 6e 66 69 72 |celTitle|, Confir|
|00001380| 6d 53 65 74 74 69 6e 67 | 73 43 61 6e 63 65 6c 54 |mSetting|sCancelT|
|00001390| 65 78 74 2c 20 4d 42 5f | 4f 4b 2c 20 4d 52 5f 4f |ext, MB_|OK, MR_O|
|000013a0| 4b 2c 20 4d 52 5f 4f 4b | 29 3b 0d 0a 09 09 7d 0d |K, MR_OK|);....}.|
|000013b0| 0a 09 7d 0d 0a 7d 0d 0a | 0d 0a 66 75 6e 63 74 69 |..}..}..|..functi|
|000013c0| 6f 6e 20 42 72 69 67 68 | 74 6e 65 73 73 43 68 61 |on Brigh|tnessCha|
|000013d0| 6e 67 65 64 28 29 0d 0a | 7b 0d 0a 09 69 66 28 62 |nged()..|{...if(b|
|000013e0| 49 6e 69 74 69 61 6c 69 | 7a 65 64 29 0d 0a 09 7b |Initiali|zed)...{|
|000013f0| 0d 0a 09 09 47 65 74 50 | 6c 61 79 65 72 4f 77 6e |....GetP|layerOwn|
|00001400| 65 72 28 29 2e 43 6f 6e | 73 6f 6c 65 43 6f 6d 6d |er().Con|soleComm|
|00001410| 61 6e 64 28 22 73 65 74 | 20 69 6e 69 3a 45 6e 67 |and("set| ini:Eng|
|00001420| 69 6e 65 2e 45 6e 67 69 | 6e 65 2e 56 69 65 77 70 |ine.Engi|ne.Viewp|
|00001430| 6f 72 74 4d 61 6e 61 67 | 65 72 20 42 72 69 67 68 |ortManag|er Brigh|
|00001440| 74 6e 65 73 73 20 22 24 | 28 42 72 69 67 68 74 6e |tness "$|(Brightn|
|00001450| 65 73 73 53 6c 69 64 65 | 72 2e 56 61 6c 75 65 20 |essSlide|r.Value |
|00001460| 2f 20 31 30 29 29 3b 0d | 0a 09 09 47 65 74 50 6c |/ 10));.|...GetPl|
|00001470| 61 79 65 72 4f 77 6e 65 | 72 28 29 2e 43 6f 6e 73 |ayerOwne|r().Cons|
|00001480| 6f 6c 65 43 6f 6d 6d 61 | 6e 64 28 22 42 72 69 67 |oleComma|nd("Brig|
|00001490| 68 74 6e 65 73 73 20 22 | 24 28 42 72 69 67 68 74 |htness "|$(Bright|
|000014a0| 6e 65 73 73 53 6c 69 64 | 65 72 2e 56 61 6c 75 65 |nessSlid|er.Value|
|000014b0| 20 2f 20 31 30 29 29 3b | 0d 0a 09 09 47 65 74 50 | / 10));|....GetP|
|000014c0| 6c 61 79 65 72 4f 77 6e | 65 72 28 29 2e 43 6f 6e |layerOwn|er().Con|
|000014d0| 73 6f 6c 65 43 6f 6d 6d | 61 6e 64 28 22 46 4c 55 |soleComm|and("FLU|
|000014e0| 53 48 22 29 3b 0d 0a 09 | 7d 0d 0a 7d 0d 0a 00 |SH");...|}..}... |
+--------+-------------------------+-------------------------+--------+--------+