home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 28 / amigaformatcd28.iso / -seriously_amiga- / graphics / 3dto3d / a5.cc < prev    next >
C/C++ Source or Header  |  1998-05-09  |  13KB  |  202 lines

  1. /* COBF by BB -- obfuscated at Sat Mar 21 22:20:59 1998
  2. */
  3. #include<stdio.h>
  4. #include"cobf.h"
  5. b l344(b);b l326(b);b*l175(l115 l62);b*l366(b*l205,l115 l62);b*l353(
  6. l115 l337,l115 l62);e*l73(e*l330);b l43(b*l205);
  7. l26 s j;l26 j d[3];l26 j l[4][4];b l221(d l36,j l365,j l363,j l362);b
  8. l150(d z,d x);a l294(d z,d x);b l274(d z,d x,d l78);b l280(d z,d x,d
  9. l78);b l276(d z,d x,j l240);j l252(d l36);b l283(d l36);j l287(d z,d x
  10. );b l301(d z,d x,d l78);b l361(d z,d x,d l78);b l368(d z,d x,d l78);c
  11. a l315(d k[3],j l364);j l306(d z,d x);j l358(d z,d x);b l336(d l36,a
  12. l158);b l194(l48*l181,d l36,e l410);b l378(d z,d x,a l72,j l87);b l388
  13. (d z,d x,d l72,j l87);b l259(d l322[3],d l346);b l372(d z,d x,l l45);
  14. b l392(d l87,d l76);s l391(d l176,d l76,c a l72);b l373(l l45);b l402
  15. (l l80,l l86,a l72,j l87);b l390(l l80,l l86,d l72,j l87);b l349(l l80
  16. ,l l86,l l220);b l375(l l80,l l86,l l220);j l384(l l80,l l86);b l381(
  17. l l45,d l137,d l122,d l124,d l216);b l285(l l71);b l386(l l71,d l146);
  18. b l374(l l71,d l146);b l369(l l71,d l146);b l389(l l45,d l137,d l122,
  19. d l124,d l216);b l314(l l210,l l219);b l316(l l210,l l357,l l219);b
  20. l387(l l80,l l86);c a l376(d l122);b l324(d l333,l l71,d l290);b l396
  21. (j l67,j l187,j l133,j*l202,j*l226,j*l200);b l383(j l202,j l329,j l200
  22. ,j*l67,j*l187,j*l133);l26 l94 l237{a l74;l94 l237*l31;}l50;c a l303(c
  23. a l352,c a l62,e*l265,c a l89);l50* *l348(c a l89);b l347(l50* *l102,
  24. c a l89);a l343(l50* *l102,a l74,c a l129);l26 a l40[3];l26 a l52[2];
  25. l26 l94 l247{a l74;l94 l247*l31;}l98;l53 l119{d*l177;l98* *l244;l98* *
  26. l257;a l69;c a l118;l50* *l107;c a l138;a l163(l50* *l102,c a l129,d k
  27. );c a l162(d k,c a l89);l37:l119(c t l114=16);~l119(b);a l113(d k);a
  28. l91(l48*i,a l74,a l320);a l91(l48*i);l98*l359(a h);l98*l435(a h);a
  29. l434(d k);a l217(a l77,a h);a l211(a l77,a h);a l109(d k,a g);b l180(
  30. a h){h=h;}a l182(b){m!(l177==q||l107==q);}a l42(b){m l69;}c t l171(b);
  31. b l153(a h,c a l158);b l137(a h,j l62);};l53 l123{l40*l168;l40*l271;a
  32. l69;c a l118;l50* *l107;c a l138;b l215(l40 k);c a l231(l40 l88,l40
  33. l157);l37:l123(c t l114=16);~l123(b);a l163(l50* *l102,c a l129,l40 k
  34. );c a l162(l40 k,c a l89);a l113(a l77,a l117,a l142);a l91(l48*i,a
  35. l74);a l91(l48*i);a l109(l40 k,a g);a l332(l40 l88,a g);a l394(c a g);
  36. b l180(a h){h=h;}a l211(a l77,a l117,a l142,a h);a l182(b){m!(l168==q
  37. );}a l42(b){m l69;}c t l171(b);};l53 l121{l52*l185;l52*l251;c a*l116;
  38. a l69;c a l118;l50* *l107;c a l138;b l215(l52 k);c a l231(l52 l88,l52
  39. l157);l37:l121(c t l114=16);~l121(b);a l163(l50* *l102,c a l129,l52 k
  40. );c a l162(l52 k,c a l89);a l113(a l77,a l117);a l217(a l77,a h);a l91
  41. (l48*i,a l74);a l91(l48*i);a l109(l52 l88,a g);a l340(l52 l88,a g);a
  42. l433(a g);b l180(a h){h=h;}a l182(b){m!(l185==q);}a l42(b){m l69;}c t
  43. l171(b);a l321(a h){m(l116[h]&(0x00000001));}b l419(a h){l116[h]|=(
  44. 0x00000001);}b l449(a h){l116[h]&=~(0x00000001);}};l53 l99{l48*i;c a
  45. l354;l37:l99(e*u=q);~l99();b l82(e*l207,...);};l26 l139{l173,l241,
  46. l242}l144;l53 l85{l253:e*l159;l144 l249;l37:l85(e*u="\x54\x45\x53\x54"
  47. ,l144 k=l173);l148~l85();l85(l149 l85&);l144 l246(b){m l249;}e*l136(b
  48. ){m l159;}b l450(e* );};l53 l35:l37 l85{l260:c a l451(d k[3]);b l124(
  49. l40 k);b l409(c a l371,c a l431,c a l423);b l418(d l67[3],d k);c a
  50. l417;b l382(d l67);l37:l119*l104;l123*l79;l121*l178;d l225;d l224;l
  51. l45;l35(c t v=16,e*u="\x54\x45\x53\x54");~l35();b l441(l l45);l35*
  52. l334(s l100);b l243(d l67[3],c a h);b l258(d l67[3]);b l427(d l67[4]);
  53. b l439(d l356[4],c a l77,c a l117,c a l142,c a l430);l35*l245(b);b
  54. l203(b);b l153(c a l158);b l62(s l62);b l292(l99*l46);};b l339(b*l49);
  55. l26 b( *l196)(b* );l26 l94 l264{b*l108;l94 l264*l31;}l28;l53 l70{l260
  56. :l28*l27;l28*l54;a v;l196 l68;b l262(l28*l154,a h){l28*l44;l28*l64;a
  57. l30;f(h==0){l44=l27;l27=l154;l27->l31=l44;}l29{l41(l44=l27,l30=0;l30<
  58. (h-1);l44=l44->l31,l30++){;}l64=l44->l31;l44->l31=l154;l154->l31=l64;
  59. }}b l152(a h){a l30;l28*l44;l28*l83;l28*l64;f(h==0){l83=l27;l27=l27->
  60. l31;f(l68)l68(l83->l108);l75 l83;}l29{l41(l44=l27,l30=0;l30<(h-1);l44
  61. =l44->l31,l30++){;}l83=l44->l31;l64=l83->l31;l44->l31=l64;f(l68)l68(
  62. l83->l108);l75 l83;}}l28*l155(l28*l64,l28*w){l64->l31=w;m w;}l28*l96(
  63. b*k){l28*w;w=l128 l28;f(w==q)m q;w->l31=0;w->l108=k;m w;}b l261(l28*
  64. l263){l28*w;l28*l64;w=l263;l201(w!=0){f(l68)l68(w->l108);l64=w->l31;
  65. l75 w;w=l64;}}l37:l70(l196 l181){v=0;l27=0;l54=0;l68=l181;}l70(b){v=0
  66. ;l27=0;l54=0;l68=0;}~l70(b){l261(l27);v=0;l27=0;l54=0;l68=0;}b l113(b
  67.  *k){v++;f(l27==0){l27=l54=l96(k);}l29{l54=l155(l54,l96(k));}}b l463(
  68. b*k,a h){f(l27==0){v++;l27=l54=l96(k);}l29{f(h==(-1)){v++;l54=l155(
  69. l54,l96(k));}l29{f(h>=v){v++;l54=l155(l54,l96(k));}l29{f(h>=0||h<v){v
  70. ++;l262(l96(k),h);}}}}}b*l165(a g){l28*w;f(g<v&&v){a l30;w=l27;l41(
  71. l30=0;l30<g;l30++){f(w)w=w->l31;}f(w)m w->l108;l29 m q;}l29 m q;}b
  72. l470(a h){f(l27==0){}l29{f(h==(-1)){l152(v-1);v--;}l29{f(h>=v){l152(v
  73. -1);v--;}l29{f(h>=0||h<v){l152(h);v--;}}}}}a l42(b){m v;}};l26 b( *
  74. l190)(l48*i,e*l207,...);l26 b( *l189)(c t l399,c t l76);l53 l92{l37:
  75. l190 l101;l189 l120;l92(l190 l255=0,l189 l256=0){l101=l255;l120=l256;
  76. };};l26 l139{l444=0,l459,l458,l460}l233;l26 l139{l456=0,l440}l238;l26
  77. l139{l452=0,l235}l239;l53 l65{l253:e*l160;l37:l239 l212;l233 l126;
  78. l238 l188;s l174;e*l199;l65(e*l454="\x44\x65\x66\x61\x75\x6c\x74",e*
  79. l47="\x44\x65\x66\x61\x75\x6c\x74");l148~l65();b l232(c r l56,c r l55
  80. ,c r l57,s l58,e*l47);b l234(c r*l56,c r*l55,c r*l57,s*l58,e* *l47);
  81. l148 c a l111(b);l148 c a l110(b);};
  82. #ifdef _MSC_VER
  83. #endif
  84. l26 l139{l801=0,l923}l646;l53 l367:l37 l65{l37:e*l32;e*y;e*l132;e*l63
  85. ;l367(e*u="");b l131(e*u);b l161(e*u);b l166(c r l56,c r l55,c r l57,
  86. s l58,e*l47,c r l612);b l167(c r*l56,c r*l55,c r*l57,s*l58,e* *l47,c r
  87.  *l612);c a l111(b);c a l110(b);~l367();l646 l572;};a l746(l70*l97,
  88. l367*l33,l92*l39);
  89. #define l106 ""
  90. #ifdef __BCPLUSPLUS__
  91. #undef l106
  92. #define l106 "BCC31"
  93. #endif
  94. #ifdef _MSC_VER
  95. #define l106 "VC++40"
  96. #endif
  97. #ifdef _WCC
  98. #define l106 "WCC10"
  99. #endif
  100. l38 l48*i;l38 l99*l46;l367::l367(e*l164):l65("\x64\x78\x66\x5f\x6f"
  101. "\x75\x74","\x64\x78\x66\x6f\x75\x74\x2e\x6c\x6f\x67"){l164=l164;l32=
  102. q;y=q;l63=l73("\x64\x78\x66");l132="\x44\x58\x46\x20\x41\x53\x43\x49"
  103. "\x49\x20\x46\x69\x6c\x65\x20\x20\x20\x20\x20\x28\x2a\x2e\x64\x78\x66"
  104. "\x29\x7c\x2a\x2e\x64\x78\x66\x7c\x41\x6c\x6c\x20\x46\x69\x6c\x65\x73"
  105. "\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x28\x2a\x2e\x2a\x29\x7c\x2a"
  106. "\x2e\x2a\x7c\x7c";l572=l801;l367::l111();}b l367::l131(e*u){f(y)l43(
  107. y);y=l73(u);}b l367::l161(e*u){f(l32)l43(l32);l32=l73(u);}b l367::
  108. l166(c r l56,c r l55,c r l57,s l58,e*l47,c r l612){l65::l232(l56,l55,
  109. l57,l58,l47);l572=(l646)l612;}b l367::l167(c r*l56,c r*l55,c r*l57,s*
  110. l58,e* *l47,c r*l612){l65::l234(l56,l55,l57,l58,l47); *l612=(c r)l572
  111. ;}l367::~l367(){l367::l110();f(y!=q)l43(y);f(l32!=q)l43(l32);f(l63!=q
  112. )l43(l63);l132=0;l63=0;}c a l367::l111(b){
  113. #ifdef _MSC_VER
  114. l228 l61(l160);e*l60="\x53\x70\x65\x63\x69\x66\x69\x63\x20\x53\x65"
  115. "\x74\x74\x69\x6e\x67\x73";e l81[l141];c t l49;f(l61.l193(l60,"\x70"
  116. "\x61\x74\x68",l32,l81,l141)){f(l32)l43(l32);l32=l73(l81);}f(l61.l193
  117. (l60,"\x66\x69\x6c\x65\x5f\x6e\x61\x6d\x65",y,l81,l141)){f(y)l43(y);y
  118. =l73(l81);}f(l61.l627(l60,"\x65\x78\x70\x6f\x72\x74\x5f\x74\x79\x70"
  119. "\x65",l572,&l49)){l572=(l646)l49;}
  120. #endif
  121. m 1;}c a l367::l110(b){
  122. #ifdef _MSC_VER
  123. l228 l61(l160);e*l60="\x53\x70\x65\x63\x69\x66\x69\x63\x20\x53\x65"
  124. "\x74\x74\x69\x6e\x67\x73";l61.l192(l60,"\x70\x61\x74\x68",l32);l61.
  125. l192(l60,"\x66\x69\x6c\x65\x5f\x6e\x61\x6d\x65",y);l61.l614(l60,"\x65"
  126. "\x78\x70\x6f\x72\x74\x5f\x74\x79\x70\x65",l572);
  127. #endif
  128. m 1;}l38 c a l542;l38 a l1010(e*u){i=l443(u,"\x77");f(i==q)m 0;l542=0
  129. ;m 1;}l38 a l941(l70*l97,l367*n,l92*l39){l97=l97;n=n;l39=l39;o(i,""
  130. "\x25\x73\n","\x30");o(i,"\x25\x73\n","\x53\x45\x43\x54\x49\x4f\x4e");
  131. o(i,"\x25\x73\n","\x32");o(i,"\x25\x73\n","\x48\x45\x41\x44\x45\x52");
  132. o(i,"\x25\x73\n","\x30");o(i,"\x25\x73\n","\x45\x4e\x44\x53\x45\x43");
  133. o(i,"\x25\x73\n","\x30");o(i,"\x25\x73\n","\x53\x45\x43\x54\x49\x4f"
  134. "\x4e");o(i,"\x25\x73\n","\x32");o(i,"\x25\x73\n","\x45\x4e\x54\x49"
  135. "\x54\x49\x45\x53");m 1;}l38 a l946(l35*p,l367*n,l92*l39){c a g;d l36
  136. ;l40 l134;f(i==q)m 0;n=n;l39->l101(l95,"\x57\x6f\x72\x6b\x69\x6e\x67"
  137. "\x20\x6f\x6e\x3a\x20\x25\x73\n",p->l136());l46->l82("\x57\x6f\x72"
  138. "\x6b\x69\x6e\x67\x20\x6f\x6e\x3a\x20\x25\x73\n",p->l136());o(i,"\x25"
  139. "\x73\n","\x30");o(i,"\x25\x73\n","\x50\x4f\x4c\x59\x4c\x49\x4e\x45");
  140. o(i,"\x25\x73\n","\x38");o(i,"\x25\x73\n",p->l136());o(i,"\x25\x73"
  141. "\n","\x36\x36");o(i,"\x25\x64\n",1);o(i,"\x25\x73\n","\x37\x30");o(i
  142. ,"\x25\x64\n",64);o(i,"\x25\x73\n","\x37\x31");o(i,"\x25\x64\n",p->
  143. l104->l42());o(i,"\x25\x73\n","\x37\x32");o(i,"\x25\x64\n",p->l79->
  144. l42());o(i,"\x25\x73\n","\x36\x32");o(i,"\x25\x64\n",(l542+1)%255);
  145. l41(g=0;g<(c a)p->l104->l42();g++){l39->l120((c t)((t)g),(c t)((t)p->
  146. l104->l42()));o(i,"\x25\x73\n","\x30");o(i,"\x25\x73\n","\x56\x45\x52"
  147. "\x54\x45\x58");o(i,"\x25\x73\n","\x38");o(i,"\x25\x73\n",p->l136());
  148. p->l104->l109(l36,(a)g);o(i,"\x25\x73\n","\x31\x30");o(i,"\x25\x66"
  149. "\n",l36[0]);o(i,"\x25\x73\n","\x32\x30");o(i,"\x25\x66\n",l36[1]);o(
  150. i,"\x25\x73\n","\x33\x30");o(i,"\x25\x66\n",l36[2]);o(i,"\x25\x73\n",""
  151. "\x37\x30");o(i,"\x25\x64\n",192);}l41(g=0;g<(c a)p->l79->l42();g++){
  152. l39->l120((c t)((t)g),(c t)((t)p->l79->l42()));o(i,"\x25\x73\n","\x30"
  153. );o(i,"\x25\x73\n","\x56\x45\x52\x54\x45\x58");o(i,"\x25\x73\n","\x38"
  154. );o(i,"\x25\x73\n",p->l136());o(i,"\x25\x73\n","\x31\x30");o(i,"\x25"
  155. "\x64\n",0);o(i,"\x25\x73\n","\x32\x30");o(i,"\x25\x64\n",0);o(i,""
  156. "\x25\x73\n","\x33\x30");o(i,"\x25\x64\n",0);p->l79->l109(l134,(a)g);
  157. o(i,"\x25\x73\n","\x37\x30");o(i,"\x25\x64\n",128);o(i,"\x25\x73\n",""
  158. "\x37\x31");o(i,"\x25\x64\n",l134[0]+1);o(i,"\x25\x73\n","\x37\x32");
  159. o(i,"\x25\x64\n",l134[1]+1);o(i,"\x25\x73\n","\x37\x33");o(i,"\x25"
  160. "\x64\n",l134[2]+1);}o(i,"\x25\x73\n","\x30");o(i,"\x25\x73\n","\x53"
  161. "\x45\x51\x45\x4e\x44");o(i,"\x25\x73\n","\x38");o(i,"\x25\x73\n",p->
  162. l136());l542++;m 1;}l38 a l959(l35*p,l367*n,l92*l39){c a g;d l36;l40
  163. l134;f(i==q)m 0;n=n;l39->l101(l95,"\x57\x6f\x72\x6b\x69\x6e\x67\x20"
  164. "\x6f\x6e\x3a\x20\x25\x73\n",p->l136());l46->l82("\x57\x6f\x72\x6b"
  165. "\x69\x6e\x67\x20\x6f\x6e\x3a\x20\x25\x73\n",p->l136());l41(g=0;g<(c a
  166. )p->l79->l42();g++){l39->l120((c t)((t)g),(c t)((t)p->l79->l42()));o(
  167. i,"\x25\x73\n","\x30");o(i,"\x25\x73\n","\x33\x44\x46\x41\x43\x45");o
  168. (i,"\x25\x73\n","\x38");o(i,"\x25\x73\n",p->l136());o(i,"\x25\x73\n",""
  169. "\x36\x32");o(i,"\x25\x64\n",(l542+1)%255);p->l79->l109(l134,(a)g);p
  170. ->l104->l109(l36,l134[0]);o(i,"\x25\x73\n","\x31\x30");o(i,"\x25\x66"
  171. "\n",l36[0]);o(i,"\x25\x73\n","\x32\x30");o(i,"\x25\x66\n",l36[1]);o(
  172. i,"\x25\x73\n","\x33\x30");o(i,"\x25\x66\n",l36[2]);p->l104->l109(l36
  173. ,l134[1]);o(i,"\x25\x73\n","\x31\x31");o(i,"\x25\x66\n",l36[0]);o(i,""
  174. "\x25\x73\n","\x32\x31");o(i,"\x25\x66\n",l36[1]);o(i,"\x25\x73\n",""
  175. "\x33\x31");o(i,"\x25\x66\n",l36[2]);p->l104->l109(l36,l134[2]);o(i,""
  176. "\x25\x73\n","\x31\x32");o(i,"\x25\x66\n",l36[0]);o(i,"\x25\x73\n",""
  177. "\x32\x32");o(i,"\x25\x66\n",l36[1]);o(i,"\x25\x73\n","\x33\x32");o(i
  178. ,"\x25\x66\n",l36[2]);o(i,"\x25\x73\n","\x31\x33");o(i,"\x25\x66\n",
  179. l36[0]);o(i,"\x25\x73\n","\x32\x33");o(i,"\x25\x66\n",l36[1]);o(i,""
  180. "\x25\x73\n","\x33\x33");o(i,"\x25\x66\n",l36[2]);}l542++;m 1;}l38 a
  181. l1002(b){o(i,"\x25\x73\n","\x30");o(i,"\x25\x73\n","\x45\x4e\x44\x53"
  182. "\x45\x43");o(i,"\x25\x73\n","\x30");o(i,"\x25\x73\n","\x45\x4f\x46");
  183. f(i)l442(i);m 1;}a l746(l70*l97,l367*n,l92*l39){c a g;e*l130;f(n->
  184. l212==l235)l130=n->l199;l29 l130=q;l46=l128 l99(l130);l46->l82("\x25"
  185. "\x73\x20\x25\x73\x20\x25\x73\x20\x25\x73\n","\x44\x58\x46\x20\x45"
  186. "\x78\x70\x6f\x72\x74\x20\x50\x6c\x75\x67\x69\x6e\x20\x30\x2e\x32\x20"
  187. "\x42\x65\x74\x61","\x4d\x61\x72\x20\x32\x31\x20\x31\x39\x39\x38",""
  188. "\x32\x32\x3a\x32\x30\x3a\x35\x36",l106);f(!l1010(n->y)){l75 l46;m 0;
  189. }l39->l101(l95,"\x57\x72\x69\x74\x69\x6e\x67\x20\x25\x73\x20\x73\x74"
  190. "\x61\x72\x74\x65\x64\x20\x2e\x2e\x2e\n",n->y);l46->l82("\x57\x72\x69"
  191. "\x74\x69\x6e\x67\x20\x25\x73\x20\x73\x74\x61\x72\x74\x65\x64\x20\x2e"
  192. "\x2e\x2e\n",n->y);l941(l97,n,l39);l41(g=0;g<(c a)l97->l42();g++){
  193. l191(((l85* )l97->l165((a)g))->l246()){l59 l173:{l35*l184=(l35* )l97
  194. ->l165((a)g);l35*p=l184->l245();p->l62(n->l174);f(n->l126)p->l153((a)n
  195. ->l126);f(n->l188)p->l203();l191(n->l572){l59 l801:{l959(p,n,l39);}
  196. l34;l59 l923:{l946(p,n,l39);}l34;l270:{}l34;}l75(p);}l34;l59 l241:{}
  197. l34;l59 l242:{}l34;}}l39->l101(l95,"\x57\x72\x69\x74\x69\x6e\x67\x20"
  198. "\x25\x73\x20\x66\x69\x6e\x69\x73\x68\x65\x64\x20\x20\x20\x20\x20\x20"
  199. "\x20\n",n->y);l46->l82("\x57\x72\x69\x74\x69\x6e\x67\x20\x25\x73\x20"
  200. "\x66\x69\x6e\x69\x73\x68\x65\x64\x20\x20\x20\x20\x20\x20\x20\n",n->y
  201. );l1002();l75 l46;m 1;}
  202.