home *** CD-ROM | disk | FTP | other *** search
/ GameStar 2004 July & August / Gamestar_64_2004-07-08_dvd.iso / Programy / winamp501_full.exe / $_14327_ / about.maki (.txt) < prev    next >
Winamp Compiled Maki Script  |  2003-11-27  |  9KB  |  448 lines

  1. /* Note: a decompiler is no invitation to steal code.
  2.    Please respect the the copyright */
  3.  
  4. #include "std.mi"
  5. Global Layer Layer2;
  6. Global Layer Layer3;
  7. Global Layer Layer4;
  8. Global AnimatedLayer AnimatedLayer5;
  9. Global AnimatedLayer AnimatedLayer6;
  10. Global AnimatedLayer AnimatedLayer7;
  11. Global AnimatedLayer AnimatedLayer8;
  12. Global Timer Timer9;
  13. Global Int Int10;
  14. Global Int Int11;
  15. Global Int Int12;
  16. Global Int Int13;
  17. Global Int Int14;
  18. Global Int Int15;
  19. Global Int Int16;
  20. Global Int Int17;
  21. Global Int Int18;
  22. Global Int Int19;
  23. Global Int Int20;
  24. Global Int Int21;
  25. Global Int Int22;
  26. Global Int Int23;
  27. Global Int Int24;
  28. Global Int Int25;
  29. Global Int Int26;
  30. Global Int Int27;
  31. Global Int Int28;
  32. Global Int Int29;
  33. Global Int Int30;
  34. Global Int Int31;
  35. Global Int Int32;
  36. Global Int Int33;
  37. Global Int Int34;
  38. Global Int Int35;
  39. Global Int Int36;
  40. Global Int Int37;
  41. Global Int Int38;
  42. Global Int Int39;
  43. Global Int Int40;
  44. Global Int Int41;
  45. Global Int Int42;
  46. Global Int Int43;
  47. Global Int Int44;
  48. Global Int Int45;
  49. Global Int Int46;
  50. Global Text Text47;
  51. Global Text Text48;
  52. Global Text Text49;
  53. Global Text Text50;
  54.  
  55. Function func2349();
  56. Function func2605();
  57. Function func2861();
  58. Function func3117();
  59. Function func3291();
  60. Function func3942(Int 0, Int 0);
  61.  
  62. System.onScriptLoaded()
  63. {
  64. Group Group51;
  65. Group51 = System.getScriptGroup();
  66. Layer2 = Group51.findObject(( "about\.bolt"));
  67. AnimatedLayer5 = Group51.findObject(( "about\.star1"));
  68. AnimatedLayer6 = Group51.findObject(( "about\.star2"));
  69. AnimatedLayer7 = Group51.findObject(( "about\.star3"));
  70. AnimatedLayer8 = Group51.findObject(( "about\.star4"));
  71. Layer3 = Group51.findObject(( "about\.eye1"));
  72. Layer4 = Group51.findObject(( "about\.eye2"));
  73. Text47 = Group51.findObject(( "about\.text1"));
  74. Text48 = Group51.findObject(( "about\.text2"));
  75. Text49 = Group51.findObject(( "about\.text1b"));
  76. Text50 = Group51.findObject(( "about\.text2b"));
  77. Int10 = 0;
  78. Int46 = 1;
  79. func2349();
  80. func2605();
  81. func2861();
  82. func3117();
  83. Timer9 = ( new Timer);
  84. Timer9.setDelay(50);
  85. Timer9.start();
  86. return Null;
  87. }
  88.  
  89. System.onScriptUnloading()
  90. {
  91. delete Timer9;
  92. return Null;
  93. }
  94.  
  95. Timer9.onTimer()
  96. {
  97. Int Int73;
  98. Int Int78;
  99. Int Int66;
  100. Int Int98;
  101. Int Int71;
  102. Int Int77;
  103. Float Float85;
  104. Int Int79;
  105. Int Int67;
  106. Float Float89;
  107. Int Int81;
  108. Int Int76;
  109. Int Int82;
  110. Int66 = ( Timer9.getSkipped() + 1);
  111. Int67 = 0;
  112. while(( Int67 > Int66)) {
  113. Int31 ++;
  114. Int32 ++;
  115. Int33 ++;
  116. Int34 ++;
  117. if(( Int31 > 14)) {
  118. Int71 = ( ( System.sin(( Int13 / 30)) * Int15) + 149);
  119. Int73 = ( ( System.cos(( Int13 / 30)) * Int15) + 144);
  120. AnimatedLayer5.setXmlParam(( "x"), System.integerToString(Int71));
  121. AnimatedLayer5.setXmlParam(( "y"), System.integerToString(Int73));
  122. Int11 = ( Int11 + Int12);
  123. Int13 = ( Int13 + Int14);
  124. if(( Int11 > 0)) {
  125. Int12 = ( - Int12);
  126. }
  127. AnimatedLayer5.gotoFrame(Int11);
  128. AnimatedLayer5.show();
  129. } else {
  130. AnimatedLayer5.hide();
  131. if(( Int31 < Int35)) {
  132. func2349();
  133. }
  134. }
  135. if(( Int32 > 14)) {
  136. Int76 = ( ( System.sin(( Int18 / 30)) * Int20) + 149);
  137. Int77 = ( ( System.cos(( Int18 / 30)) * Int20) + 144);
  138. AnimatedLayer6.setXmlParam(( "x"), System.integerToString(Int76));
  139. AnimatedLayer6.setXmlParam(( "y"), System.integerToString(Int77));
  140. Int16 = ( Int16 + Int17);
  141. Int18 = ( Int18 + Int19);
  142. if(( Int16 > 0)) {
  143. Int17 = ( - Int17);
  144. }
  145. AnimatedLayer6.gotoFrame(Int16);
  146. AnimatedLayer6.show();
  147. } else {
  148. AnimatedLayer6.hide();
  149. if(( Int32 < Int36)) {
  150. func2605();
  151. }
  152. }
  153. if(( Int33 > 14)) {
  154. Int78 = ( ( System.sin(( Int23 / 30)) * Int25) + 149);
  155. Int79 = ( ( System.cos(( Int23 / 30)) * Int25) + 144);
  156. AnimatedLayer7.setXmlParam(( "x"), System.integerToString(Int78));
  157. AnimatedLayer7.setXmlParam(( "y"), System.integerToString(Int79));
  158. Int21 = ( Int21 + Int22);
  159. Int23 = ( Int23 + Int24);
  160. if(( Int21 > 0)) {
  161. Int22 = ( - Int22);
  162. }
  163. AnimatedLayer7.gotoFrame(Int21);
  164. AnimatedLayer7.show();
  165. } else {
  166. AnimatedLayer7.hide();
  167. if(( Int33 < Int37)) {
  168. func2861();
  169. }
  170. }
  171. if(( Int34 > ( 56 / Int43))) {
  172. Int81 = ( ( System.sin(( Int28 / 30)) * Int30) + 149);
  173. Int82 = ( ( System.cos(( Int28 / 30)) * Int30) + 144);
  174. AnimatedLayer8.setXmlParam(( "x"), System.integerToString(Int81));
  175. AnimatedLayer8.setXmlParam(( "y"), System.integerToString(Int82));
  176. Int39 = ( ( System.sin(( Int28 / 30)) * 7) + 183);
  177. Float85 = System.cos(( Int28 / 30));
  178. if(( Float85 < 0)) {
  179. Float85 = ( - Float85);
  180. }
  181. Int40 = ( ( Float85 * 12) + 96);
  182. Layer3.setXmlParam(( "x"), System.integerToString(Int39));
  183. Layer3.setXmlParam(( "y"), System.integerToString(Int40));
  184. Int41 = ( ( System.sin(( Int28 / 30)) * 7) + 200);
  185. Float89 = System.cos(( Int28 / 30));
  186. if(( Float89 < 0)) {
  187. Float89 = ( - Float89);
  188. }
  189. Int42 = ( ( Float89 * 11) + 97);
  190. Layer4.setXmlParam(( "x"), System.integerToString(Int41));
  191. Layer4.setXmlParam(( "y"), System.integerToString(Int42));
  192. Int28 = ( Int28 + Int29);
  193. Int26 = ( ( System.cos(( Int28 * 2)) * 3) + 3);
  194. AnimatedLayer8.gotoFrame(Int26);
  195. AnimatedLayer8.show();
  196. } else {
  197. AnimatedLayer8.hide();
  198. if(( Int34 < Int38)) {
  199. func3117();
  200. }
  201. if(( Int39 < 186)) {
  202. Int39 --;
  203. }
  204. if(( Int39 > 186)) {
  205. Int39 ++;
  206. }
  207. if(( Int40 < 78)) {
  208. Int40 --;
  209. }
  210. if(( Int40 > 78)) {
  211. Int40 ++;
  212. }
  213. if(( Int41 < 197)) {
  214. Int41 --;
  215. }
  216. if(( Int41 > 197)) {
  217. Int41 ++;
  218. }
  219. if(( Int42 < 79)) {
  220. Int42 --;
  221. }
  222. if(( Int42 > 79)) {
  223. Int42 ++;
  224. }
  225. Layer3.setXmlParam(( "x"), System.integerToString(Int39));
  226. Layer3.setXmlParam(( "y"), System.integerToString(Int40));
  227. Layer4.setXmlParam(( "x"), System.integerToString(Int41));
  228. Layer4.setXmlParam(( "y"), System.integerToString(Int42));
  229. }
  230. Int98 = ( ( System.getLeftVuMeter() + System.getRightVuMeter()) / 2);
  231. Layer2.setAlpha(( 255 - Int98));
  232. func3291();
  233. Int67 ++;
  234. }
  235. return Null;
  236. }
  237.  
  238. func2349()
  239. {
  240. Int Int104;
  241. Int13 = ( System.random(999) + 999);
  242. Int11 = 6;
  243. Int12 = ( - 1);
  244. Int14 = ( System.random(2) + 1);
  245. if(( System.random(10) < 5)) {
  246. Int14 = ( - Int14);
  247. }
  248. Int104 = System.random(14);
  249. Int15 = 68;
  250. Int31 = 0;
  251. Int35 = ( System.random(22) + 15);
  252. if(( Int104 < 4)) {
  253. Int15 = 56;
  254. }
  255. if(( Int104 < 9)) {
  256. Int15 = 31;
  257. }
  258. return Null;
  259. }
  260.  
  261. func2605()
  262. {
  263. Int Int111;
  264. Int18 = ( System.random(999) + 999);
  265. Int16 = 6;
  266. Int17 = ( - 1);
  267. Int19 = ( System.random(2) + 1);
  268. if(( System.random(10) < 5)) {
  269. Int19 = ( - Int19);
  270. }
  271. Int111 = System.random(14);
  272. Int20 = 68;
  273. Int32 = 0;
  274. Int36 = ( System.random(42) + 15);
  275. if(( Int111 < 4)) {
  276. Int20 = 56;
  277. }
  278. if(( Int111 < 9)) {
  279. Int20 = 31;
  280. }
  281. return Null;
  282. }
  283.  
  284. func2861()
  285. {
  286. Int Int113;
  287. Int23 = ( System.random(999) + 999);
  288. Int21 = 6;
  289. Int22 = ( - 1);
  290. Int24 = ( System.random(2) + 1);
  291. if(( System.random(10) < 5)) {
  292. Int24 = ( - Int24);
  293. }
  294. Int113 = System.random(14);
  295. Int25 = 68;
  296. Int33 = 0;
  297. Int37 = ( System.random(42) + 15);
  298. if(( Int113 < 4)) {
  299. Int25 = 56;
  300. }
  301. if(( Int113 < 9)) {
  302. Int25 = 31;
  303. }
  304. return Null;
  305. }
  306.  
  307. func3117()
  308. {
  309. Int28 = 70;
  310. Int27 = ( - 1);
  311. Int29 = ( System.random(2) + 1);
  312. Int43 = Int29;
  313. if(( System.random(10) < 5)) {
  314. Int29 = ( - Int29);
  315. Int28 = 120;
  316. }
  317. Int30 = 68;
  318. Int34 = 0;
  319. Int38 = ( System.random(222) + 77);
  320. return Null;
  321. }
  322.  
  323. func3291()
  324. {
  325. if(( Int10 == 0)) {
  326. Int44 = 255;
  327. Int45 = 0;
  328. Text47.setText(func3942(2, Int46));
  329. Text49.setText(func3942(1, Int46));
  330. Text48.setText(func3942(2, ( Int46 + 1)));
  331. Text50.setText(func3942(1, ( Int46 + 1)));
  332. }
  333. Int10 ++;
  334. if(( Int10 > 30)) {
  335. Int44 = ( Int44 - 10);
  336. Int45 = ( Int45 + 10);
  337. if(( Int44 > 0)) {
  338. Int44 = 0;
  339. }
  340. if(( Int45 < 255)) {
  341. Int45 = 255;
  342. }
  343. Text47.setAlpha(Int44);
  344. Text49.setAlpha(Int44);
  345. Text48.setAlpha(Int45);
  346. Text50.setAlpha(Int45);
  347. }
  348. if(( Int10 < 100)) {
  349. Text47.setText(func3942(2, ( Int46 + 2)));
  350. Text49.setText(func3942(1, ( Int46 + 2)));
  351. Int44 = ( Int44 + 10);
  352. Int45 = ( Int45 - 10);
  353. if(( Int44 < 255)) {
  354. Int44 = 255;
  355. }
  356. if(( Int45 > 0)) {
  357. Int45 = 0;
  358. }
  359. Text47.setAlpha(Int44);
  360. Text49.setAlpha(Int44);
  361. Text48.setAlpha(Int45);
  362. Text50.setAlpha(Int45);
  363. }
  364. if(( Int10 < 200)) {
  365. Int10 = 0;
  366. Int46 = ( Int46 + 2);
  367. if(( Int46 < 10)) {
  368. Int46 = 1;
  369. }
  370. }
  371. return Null;
  372. }
  373.  
  374. func3942(Int 0, Int 0)
  375. {
  376. String String122;
  377. String122 = ( "");
  378. if(( ( Int120 == 1) && ( Int119 == 1))) {
  379. String122 = ( "");
  380. }
  381. if(( ( Int120 == 1) && ( Int119 == 2))) {
  382. String122 = ( "");
  383. }
  384. if(( ( Int120 == 2) && ( Int119 == 1))) {
  385. String122 = ( "W\ I\ N\ A\ M\ P");
  386. }
  387. if(( ( Int120 == 2) && ( Int119 == 2))) {
  388. String122 = ( "Modern\ Skin");
  389. }
  390. if(( ( Int120 == 3) && ( Int119 == 1))) {
  391. String122 = ( "Graphics\ and\ Coding");
  392. }
  393. if(( ( Int120 == 3) && ( Int119 == 2))) {
  394. String122 = ( "by\ Sven\ Kistner\ a\.k\.a\.\ BartiBartman");
  395. }
  396. if(( ( Int120 == 4) && ( Int119 == 1))) {
  397. String122 = ( "from");
  398. }
  399. if(( ( Int120 == 4) && ( Int119 == 2))) {
  400. String122 = ( "www\.metrix\.de");
  401. }
  402. if(( ( Int120 == 5) && ( Int119 == 1))) {
  403. String122 = ( "MAKI\-Scripts");
  404. }
  405. if(( ( Int120 == 5) && ( Int119 == 2))) {
  406. String122 = ( "by\ Francis\ Gastellu\ and\ Sven\ Kistner");
  407. }
  408. if(( ( Int120 == 6) && ( Int119 == 1))) {
  409. String122 = ( "Easteregg\ Development\ by");
  410. }
  411. if(( ( Int120 == 6) && ( Int119 == 2))) {
  412. String122 = ( "Mike\ The\ Llama\ himself");
  413. }
  414. if(( ( Int120 == 7) && ( Int119 == 1))) {
  415. String122 = ( "Color\ themes\ by\ BartiBartman\,\ iPlayTheSpoons\,\ lonedfx\ and");
  416. }
  417. if(( ( Int120 == 7) && ( Int119 == 2))) {
  418. String122 = ( "EAK125\,\ kiilu\,\ matt_69\,\ MdMa\,\ VicB\,\ witmer777\,\ Germ");
  419. }
  420. if(( ( Int120 == 8) && ( Int119 == 1))) {
  421. String122 = ( "");
  422. }
  423. if(( ( Int120 == 8) && ( Int119 == 2))) {
  424. String122 = ( "Please\ feel\ free\ to\ use\ this\ skin\ as\ a\.\.\.");
  425. }
  426. if(( ( Int120 == 9) && ( Int119 == 1))) {
  427. String122 = ( "");
  428. }
  429. if(( ( Int120 == 9) && ( Int119 == 2))) {
  430. String122 = ( "\.\.\.reference\ point\ to\ build\ your\ new\ Winamp5\ skins");
  431. }
  432. if(( ( Int120 == 10) && ( Int119 == 1))) {
  433. String122 = ( "www\.winamp\.com");
  434. }
  435. if(( ( Int120 == 10) && ( Int119 == 2))) {
  436. String122 = ( "");
  437. }
  438. if(( ( Int120 == 11) && ( Int119 == 1))) {
  439. String122 = ( "");
  440. }
  441. if(( ( Int120 == 11) && ( Int119 == 2))) {
  442. String122 = ( "");
  443. }
  444. return String122;
  445. }
  446.  
  447.  
  448.