This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| using System; | |
| using System.Collections.Generic; | |
| using System.Globalization; | |
| using System.IO; | |
| namespace AxRun | |
| { | |
| public class AxConfigEntry | |
| { | |
| public string Name; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| public bool TryGetValue<T>(string k, out T value) | |
| { | |
| object v; | |
| var d = Data.TryGetValue(k, out v); | |
| if (d) | |
| { | |
| if (v is object[]) | |
| { | |
| throw new Exception("TryGetValue does not support arrays, use TryGetArray instead."); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Applications | |
| # Get all the startup items! | |
| path = ["%appdata%\Microsoft\Windows\Start Menu", "%SystemDrive%\ProgramData\Microsoft\Windows\Start Menu"] | |
| ext = ["lnk", "exe"] | |
| filter = ["uninstall", "welcome", "help", "start here", "readme", "read me", "release notes"] | |
| recurse = true |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var bmp:Bitmap; | |
| var bmpdata:BitmapData; | |
| var srect = new Rectangle(0, 0, stage.stageWidth, stage.stageHeight); | |
| var blurF:BlurFilter = new BlurFilter(3, 3, BitmapFilterQuality.LOW); | |
| var colorT:ColorTransform = new ColorTransform(1.0, 1.0, 1.0, 0.9); | |
| bmpdata = new BitmapData(0, 0, srect.width, srect.height); | |
| bmp = new Bitmap(bmpdata); | |
| addEventListener(Event.ENTER_FRAME, onFrame); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| for(int y = portion.y; y < portion.height+portion.y; y++) | |
| { | |
| for(int x = portion.x; x < portion.width+portion.x; x++) | |
| { | |
| int pixelPos = (x*image.width) + y; | |
| image.pixelData[pixelPos] = Color.Black; | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Patch Notes: | |
| Version 0.5.245 | |
| ————- | |
| Jan 11 | |
| More UI Memory Optimizations | |
| - Added another Dampeer Alt | |
| - Added Russian Blacksmith |
NewerOlder