home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World 2005 April
/
PCWorld_2005-04_cd.bin
/
software
/
temacd
/
winamp
/
winamp508e_full.exe
/
$0
/
about
/
about.maki
(
.txt
)
< prev
next >
Wrap
Winamp Compiled Maki Script
|
2004-12-20
|
9KB
|
448 lines
/* Note: a decompiler is no invitation to steal code.
Please respect the the copyright */
#include "std.mi"
Global Layer Layer2;
Global Layer Layer3;
Global Layer Layer4;
Global AnimatedLayer AnimatedLayer5;
Global AnimatedLayer AnimatedLayer6;
Global AnimatedLayer AnimatedLayer7;
Global AnimatedLayer AnimatedLayer8;
Global Timer Timer9;
Global Int Int10;
Global Int Int11;
Global Int Int12;
Global Int Int13;
Global Int Int14;
Global Int Int15;
Global Int Int16;
Global Int Int17;
Global Int Int18;
Global Int Int19;
Global Int Int20;
Global Int Int21;
Global Int Int22;
Global Int Int23;
Global Int Int24;
Global Int Int25;
Global Int Int26;
Global Int Int27;
Global Int Int28;
Global Int Int29;
Global Int Int30;
Global Int Int31;
Global Int Int32;
Global Int Int33;
Global Int Int34;
Global Int Int35;
Global Int Int36;
Global Int Int37;
Global Int Int38;
Global Int Int39;
Global Int Int40;
Global Int Int41;
Global Int Int42;
Global Int Int43;
Global Int Int44;
Global Int Int45;
Global Int Int46;
Global Text Text47;
Global Text Text48;
Global Text Text49;
Global Text Text50;
Function func2349();
Function func2605();
Function func2861();
Function func3117();
Function func3291();
Function func3942(Int 0, Int 0);
System.onScriptLoaded()
{
Group Group51;
Group51 = System.getScriptGroup();
Layer2 = Group51.findObject(( "about\.bolt"));
AnimatedLayer5 = Group51.findObject(( "about\.star1"));
AnimatedLayer6 = Group51.findObject(( "about\.star2"));
AnimatedLayer7 = Group51.findObject(( "about\.star3"));
AnimatedLayer8 = Group51.findObject(( "about\.star4"));
Layer3 = Group51.findObject(( "about\.eye1"));
Layer4 = Group51.findObject(( "about\.eye2"));
Text47 = Group51.findObject(( "about\.text1"));
Text48 = Group51.findObject(( "about\.text2"));
Text49 = Group51.findObject(( "about\.text1b"));
Text50 = Group51.findObject(( "about\.text2b"));
Int10 = 0;
Int46 = 1;
func2349();
func2605();
func2861();
func3117();
Timer9 = ( new Timer);
Timer9.setDelay(50);
Timer9.start();
return Null;
}
System.onScriptUnloading()
{
delete Timer9;
return Null;
}
Timer9.onTimer()
{
Int Int98;
Int Int78;
Int Int82;
Int Int67;
Int Int79;
Int Int76;
Float Float89;
Int Int73;
Int Int66;
Int Int77;
Int Int71;
Float Float85;
Int Int81;
Int66 = ( Timer9.getSkipped() + 1);
Int67 = 0;
while(( Int67 > Int66)) {
Int31 ++;
Int32 ++;
Int33 ++;
Int34 ++;
if(( Int31 > 14)) {
Int71 = ( ( System.sin(( Int13 / 30)) * Int15) + 149);
Int73 = ( ( System.cos(( Int13 / 30)) * Int15) + 144);
AnimatedLayer5.setXmlParam(( "x"), System.integerToString(Int71));
AnimatedLayer5.setXmlParam(( "y"), System.integerToString(Int73));
Int11 = ( Int11 + Int12);
Int13 = ( Int13 + Int14);
if(( Int11 > 0)) {
Int12 = ( - Int12);
}
AnimatedLayer5.gotoFrame(Int11);
AnimatedLayer5.show();
} else {
AnimatedLayer5.hide();
if(( Int31 < Int35)) {
func2349();
}
}
if(( Int32 > 14)) {
Int76 = ( ( System.sin(( Int18 / 30)) * Int20) + 149);
Int77 = ( ( System.cos(( Int18 / 30)) * Int20) + 144);
AnimatedLayer6.setXmlParam(( "x"), System.integerToString(Int76));
AnimatedLayer6.setXmlParam(( "y"), System.integerToString(Int77));
Int16 = ( Int16 + Int17);
Int18 = ( Int18 + Int19);
if(( Int16 > 0)) {
Int17 = ( - Int17);
}
AnimatedLayer6.gotoFrame(Int16);
AnimatedLayer6.show();
} else {
AnimatedLayer6.hide();
if(( Int32 < Int36)) {
func2605();
}
}
if(( Int33 > 14)) {
Int78 = ( ( System.sin(( Int23 / 30)) * Int25) + 149);
Int79 = ( ( System.cos(( Int23 / 30)) * Int25) + 144);
AnimatedLayer7.setXmlParam(( "x"), System.integerToString(Int78));
AnimatedLayer7.setXmlParam(( "y"), System.integerToString(Int79));
Int21 = ( Int21 + Int22);
Int23 = ( Int23 + Int24);
if(( Int21 > 0)) {
Int22 = ( - Int22);
}
AnimatedLayer7.gotoFrame(Int21);
AnimatedLayer7.show();
} else {
AnimatedLayer7.hide();
if(( Int33 < Int37)) {
func2861();
}
}
if(( Int34 > ( 56 / Int43))) {
Int81 = ( ( System.sin(( Int28 / 30)) * Int30) + 149);
Int82 = ( ( System.cos(( Int28 / 30)) * Int30) + 144);
AnimatedLayer8.setXmlParam(( "x"), System.integerToString(Int81));
AnimatedLayer8.setXmlParam(( "y"), System.integerToString(Int82));
Int39 = ( ( System.sin(( Int28 / 30)) * 7) + 183);
Float85 = System.cos(( Int28 / 30));
if(( Float85 < 0)) {
Float85 = ( - Float85);
}
Int40 = ( ( Float85 * 12) + 96);
Layer3.setXmlParam(( "x"), System.integerToString(Int39));
Layer3.setXmlParam(( "y"), System.integerToString(Int40));
Int41 = ( ( System.sin(( Int28 / 30)) * 7) + 200);
Float89 = System.cos(( Int28 / 30));
if(( Float89 < 0)) {
Float89 = ( - Float89);
}
Int42 = ( ( Float89 * 11) + 97);
Layer4.setXmlParam(( "x"), System.integerToString(Int41));
Layer4.setXmlParam(( "y"), System.integerToString(Int42));
Int28 = ( Int28 + Int29);
Int26 = ( ( System.cos(( Int28 * 2)) * 3) + 3);
AnimatedLayer8.gotoFrame(Int26);
AnimatedLayer8.show();
} else {
AnimatedLayer8.hide();
if(( Int34 < Int38)) {
func3117();
}
if(( Int39 < 186)) {
Int39 --;
}
if(( Int39 > 186)) {
Int39 ++;
}
if(( Int40 < 78)) {
Int40 --;
}
if(( Int40 > 78)) {
Int40 ++;
}
if(( Int41 < 197)) {
Int41 --;
}
if(( Int41 > 197)) {
Int41 ++;
}
if(( Int42 < 79)) {
Int42 --;
}
if(( Int42 > 79)) {
Int42 ++;
}
Layer3.setXmlParam(( "x"), System.integerToString(Int39));
Layer3.setXmlParam(( "y"), System.integerToString(Int40));
Layer4.setXmlParam(( "x"), System.integerToString(Int41));
Layer4.setXmlParam(( "y"), System.integerToString(Int42));
}
Int98 = ( ( System.getLeftVuMeter() + System.getRightVuMeter()) / 2);
Layer2.setAlpha(( 255 - Int98));
func3291();
Int67 ++;
}
return Null;
}
func2349()
{
Int Int104;
Int13 = ( System.random(999) + 999);
Int11 = 6;
Int12 = ( - 1);
Int14 = ( System.random(2) + 1);
if(( System.random(10) < 5)) {
Int14 = ( - Int14);
}
Int104 = System.random(14);
Int15 = 68;
Int31 = 0;
Int35 = ( System.random(22) + 15);
if(( Int104 < 4)) {
Int15 = 56;
}
if(( Int104 < 9)) {
Int15 = 31;
}
return Null;
}
func2605()
{
Int Int111;
Int18 = ( System.random(999) + 999);
Int16 = 6;
Int17 = ( - 1);
Int19 = ( System.random(2) + 1);
if(( System.random(10) < 5)) {
Int19 = ( - Int19);
}
Int111 = System.random(14);
Int20 = 68;
Int32 = 0;
Int36 = ( System.random(42) + 15);
if(( Int111 < 4)) {
Int20 = 56;
}
if(( Int111 < 9)) {
Int20 = 31;
}
return Null;
}
func2861()
{
Int Int113;
Int23 = ( System.random(999) + 999);
Int21 = 6;
Int22 = ( - 1);
Int24 = ( System.random(2) + 1);
if(( System.random(10) < 5)) {
Int24 = ( - Int24);
}
Int113 = System.random(14);
Int25 = 68;
Int33 = 0;
Int37 = ( System.random(42) + 15);
if(( Int113 < 4)) {
Int25 = 56;
}
if(( Int113 < 9)) {
Int25 = 31;
}
return Null;
}
func3117()
{
Int28 = 70;
Int27 = ( - 1);
Int29 = ( System.random(2) + 1);
Int43 = Int29;
if(( System.random(10) < 5)) {
Int29 = ( - Int29);
Int28 = 120;
}
Int30 = 68;
Int34 = 0;
Int38 = ( System.random(222) + 77);
return Null;
}
func3291()
{
if(( Int10 == 0)) {
Int44 = 255;
Int45 = 0;
Text47.setText(func3942(2, Int46));
Text49.setText(func3942(1, Int46));
Text48.setText(func3942(2, ( Int46 + 1)));
Text50.setText(func3942(1, ( Int46 + 1)));
}
Int10 ++;
if(( Int10 > 30)) {
Int44 = ( Int44 - 10);
Int45 = ( Int45 + 10);
if(( Int44 > 0)) {
Int44 = 0;
}
if(( Int45 < 255)) {
Int45 = 255;
}
Text47.setAlpha(Int44);
Text49.setAlpha(Int44);
Text48.setAlpha(Int45);
Text50.setAlpha(Int45);
}
if(( Int10 < 100)) {
Text47.setText(func3942(2, ( Int46 + 2)));
Text49.setText(func3942(1, ( Int46 + 2)));
Int44 = ( Int44 + 10);
Int45 = ( Int45 - 10);
if(( Int44 < 255)) {
Int44 = 255;
}
if(( Int45 > 0)) {
Int45 = 0;
}
Text47.setAlpha(Int44);
Text49.setAlpha(Int44);
Text48.setAlpha(Int45);
Text50.setAlpha(Int45);
}
if(( Int10 < 200)) {
Int10 = 0;
Int46 = ( Int46 + 2);
if(( Int46 < 10)) {
Int46 = 1;
}
}
return Null;
}
func3942(Int 0, Int 0)
{
String String122;
String122 = ( "");
if(( ( Int120 == 1) && ( Int119 == 1))) {
String122 = ( "");
}
if(( ( Int120 == 1) && ( Int119 == 2))) {
String122 = ( "");
}
if(( ( Int120 == 2) && ( Int119 == 1))) {
String122 = ( "W\ I\ N\ A\ M\ P");
}
if(( ( Int120 == 2) && ( Int119 == 2))) {
String122 = ( "Modern\ Skin");
}
if(( ( Int120 == 3) && ( Int119 == 1))) {
String122 = ( "Graphics\ and\ Coding");
}
if(( ( Int120 == 3) && ( Int119 == 2))) {
String122 = ( "by\ Sven\ Kistner\ a\.k\.a\.\ BartiBartman");
}
if(( ( Int120 == 4) && ( Int119 == 1))) {
String122 = ( "from");
}
if(( ( Int120 == 4) && ( Int119 == 2))) {
String122 = ( "www\.metrix\.de");
}
if(( ( Int120 == 5) && ( Int119 == 1))) {
String122 = ( "MAKI\-Scripts");
}
if(( ( Int120 == 5) && ( Int119 == 2))) {
String122 = ( "by\ Francis\ Gastellu\ and\ Sven\ Kistner");
}
if(( ( Int120 == 6) && ( Int119 == 1))) {
String122 = ( "Easteregg\ Development\ by");
}
if(( ( Int120 == 6) && ( Int119 == 2))) {
String122 = ( "Mike\ The\ Llama\ himself");
}
if(( ( Int120 == 7) && ( Int119 == 1))) {
String122 = ( "Color\ themes\ by\ BartiBartman\,\ iPlayTheSpoons\,\ lonedfx\ and");
}
if(( ( Int120 == 7) && ( Int119 == 2))) {
String122 = ( "EAK125\,\ kiilu\,\ matt_69\,\ MdMa\,\ VicB\,\ witmer777\,\ Germ");
}
if(( ( Int120 == 8) && ( Int119 == 1))) {
String122 = ( "");
}
if(( ( Int120 == 8) && ( Int119 == 2))) {
String122 = ( "Please\ feel\ free\ to\ use\ this\ skin\ as\ a\.\.\.");
}
if(( ( Int120 == 9) && ( Int119 == 1))) {
String122 = ( "");
}
if(( ( Int120 == 9) && ( Int119 == 2))) {
String122 = ( "\.\.\.reference\ point\ to\ build\ your\ new\ Winamp5\ skins");
}
if(( ( Int120 == 10) && ( Int119 == 1))) {
String122 = ( "www\.winamp\.com");
}
if(( ( Int120 == 10) && ( Int119 == 2))) {
String122 = ( "");
}
if(( ( Int120 == 11) && ( Int119 == 1))) {
String122 = ( "");
}
if(( ( Int120 == 11) && ( Int119 == 2))) {
String122 = ( "");
}
return String122;
}