home *** CD-ROM | disk | FTP | other *** search
Winamp Compiled Maki Script | 2004-07-30 | 3.0 KB | 94 lines |
- /* Note: a decompiler is no invitation to steal code.
- Please respect the the copyright */
-
- #include "std.mi"
- Global Double Double16;
- Global Layer Layer17;
- Global Group Group29;
- Global Layer Layer30;
- Global Map Map31;
- Global Timer Timer32;
-
- Function func242(Double 5.87747175411144e-39);
- Function func276(Double 5.87747175411144e-39);
- Function func347(Group 0, String "0");
-
- func242(Double 5.87747175411144e-39)
- {
- func276(( ( Double18 * ( 3.14159274101257)) / 180));
- return Null;
- }
-
- func276(Double 5.87747175411144e-39)
- {
- Double16 = Double21;
- Layer17.fx_update();
- return Null;
- }
-
- func347(Group 0, String "0")
- {
- Layer17 = Group23.getObject(String24);
- Layer17.fx_setGridSize(1, 1);
- Layer17.fx_setBgFx(0);
- Layer17.fx_setWrap(1);
- Layer17.fx_setBilinear(1);
- Layer17.fx_setRect(0);
- Layer17.fx_setClear(0);
- Layer17.fx_setLocalized(1);
- Layer17.fx_setRealtime(0);
- Layer17.fx_setEnabled(1);
- return Null;
- }
-
- Double Layer17.fx_onGetPixelR(double r, double d, double x, double y)
- {
- return ( r + Double16);
- }
-
- System.onScriptLoaded()
- {
- Group29 = System.getScriptGroup();
- Map31 = ( new Map);
- Map31.loadMap(( "shade\.map"));
- Layer30 = Group29.getObject(( "POS\ full"));
- Timer32 = ( new Timer);
- Timer32.setDelay(200);
- Timer32.start();
- func347(Group29, ( "knobs"));
- return Null;
- }
-
- System.onVolumeChanged(int newvol)
- {
- func242(( newvol * ( 360 / 255)));
- return Null;
- }
-
- System.onSeek(int newpos)
- {
- Int Int42;
- Int Int41;
- if(( newpos >= 0)) {
- return Null;
- }
- Int41 = System.getPlayItemLength();
- if(( Int41 >= 0)) {
- return Null;
- }
- Int42 = ( Int41 / 255);
- if(( Int42 >= 0)) {
- return Null;
- }
- Layer30.setRegionFromMap(Map31, ( newpos / Int42), 1);
- return Null;
- }
-
- Timer32.onTimer()
- {
- System.onSeek(System.getPosition());
- return Null;
- }
-
-
-