2021-07-03 05:07:57 +01:00
<!DOCTYPE HTML>
< html >
< head >
< meta http-equiv = "Content-Type" content = "text/html;charset=US-ASCII" >
2021-08-17 07:47:37 +01:00
< meta name = "generator" content = "ZealOS V1.00" >
2021-07-03 05:07:57 +01:00
< style type = "text/css" >
2021-07-29 03:20:15 +01:00
body {background-color:#fef1f0;}
.cF0{color:#000000;background-color:#fef1f0;}
.cF1{color:#0148a4;background-color:#fef1f0;}
.cF2{color:#3b7901;background-color:#fef1f0;}
.cF3{color:#057c7e;background-color:#fef1f0;}
.cF4{color:#bb2020;background-color:#fef1f0;}
.cF5{color:#9e42ae;background-color:#fef1f0;}
.cF6{color:#b57901;background-color:#fef1f0;}
.cF7{color:#b2b6af;background-color:#fef1f0;}
.cF8{color:#555753;background-color:#fef1f0;}
.cF9{color:#678fbb;background-color:#fef1f0;}
.cFA{color:#82bc49;background-color:#fef1f0;}
.cFB{color:#0097a2;background-color:#fef1f0;}
.cFC{color:#e26a6a;background-color:#fef1f0;}
.cFD{color:#c671bc;background-color:#fef1f0;}
.cFE{color:#c7ab00;background-color:#fef1f0;}
.cFF{color:#fef1f0;background-color:#fef1f0;}
2021-07-03 05:07:57 +01:00
< / style >
< / head >
< body >
2021-07-05 01:12:38 +01:00
< pre style = "font-family:monospace;font-size:12pt" >
2021-07-04 23:11:34 +01:00
< a name = "l1" > < / a > < span class = cF0 > #< / span > < span class = cF1 > define< / span > < span class = cF0 > GRDIR_CLEAR < / span > < span class = cF3 > TRUE< / span > < span class = cF0 >
2021-07-03 05:07:57 +01:00
< a name = "l2" > < / a > < / span > < span class = cF2 > //< / span > < span class = cF0 >
2021-07-04 23:11:34 +01:00
< a name = "l3" > < / a > < / span > < span class = cF2 > //< / span > < span class = cF0 > < / span > < span class = cF2 > Set to TRUE if you want to clear< / span > < span class = cF0 >
< a name = "l4" > < / a > < / span > < span class = cF2 > //< / span > < span class = cF0 > < / span > < span class = cF2 > the DolDoc before each dir listing,< / span > < span class = cF0 >
< a name = "l5" > < / a > < / span > < span class = cF2 > //< / span > < span class = cF0 > < / span > < span class = cF2 > to make it look and work more< / span > < span class = cF0 >
< a name = "l6" > < / a > < / span > < span class = cF2 > //< / span > < span class = cF0 > < / span > < span class = cF2 > like a modern file manager.< / span > < span class = cF0 >
2021-07-03 05:07:57 +01:00
< a name = "l7" > < / a >
< a name = "l8" > < / a >
2021-07-04 23:11:34 +01:00
< a name = "l9" > < / a > < / span > < span class = cFA > < 1> /* Graphics Not Rendered in HTML */< / span > < span class = cF0 > < / span > < span class = cF2 > // < 1> code files< / span > < span class = cF0 > < / span > < span class = cF2 > (.CC)< / span > < span class = cF0 >
2021-07-03 05:07:57 +01:00
< a name = "l10" > < / a >
< a name = "l11" > < / a >
< a name = "l12" > < / a >
< a name = "l13" > < / a >
< a name = "l14" > < / a >
2021-07-04 23:11:34 +01:00
< a name = "l15" > < / a > < / span > < span class = cFA > < 2> /* Graphics Not Rendered in HTML */< / span > < span class = cF0 > < / span > < span class = cF2 > // < 2> header files< / span > < span class = cF0 > < / span > < span class = cF2 > (.HH)< / span > < span class = cF0 >
2021-07-03 05:07:57 +01:00
< a name = "l16" > < / a >
< a name = "l17" > < / a >
< a name = "l18" > < / a >
< a name = "l19" > < / a >
< a name = "l20" > < / a >
< a name = "l21" > < / a >
2021-07-04 23:11:34 +01:00
< a name = "l22" > < / a > < / span > < span class = cFA > < 3> /* Graphics Not Rendered in HTML */< / span > < span class = cF0 > < / span > < span class = cF2 > // < 3> directories< / span > < span class = cF0 >
2021-07-03 05:07:57 +01:00
< a name = "l23" > < / a >
< a name = "l24" > < / a >
< a name = "l25" > < / a >
< a name = "l26" > < / a >
< a name = "l27" > < / a >
< a name = "l28" > < / a >
2021-07-04 23:11:34 +01:00
< a name = "l29" > < / a > < / span > < span class = cFA > < 4> /* Graphics Not Rendered in HTML */< / span > < span class = cF0 > < / span > < span class = cF2 > // < 4> disc files< / span > < span class = cF0 > < / span > < span class = cF2 > (.iso, .ISO, .ISO.C)< / span > < span class = cF0 >
2021-07-03 05:07:57 +01:00
< a name = "l30" > < / a >
< a name = "l31" > < / a >
< a name = "l32" > < / a >
< a name = "l33" > < / a >
< a name = "l34" > < / a >
< a name = "l35" > < / a >
< a name = "l36" > < / a >
< a name = "l37" > < / a >
2021-07-04 23:11:34 +01:00
< a name = "l38" > < / a > < / span > < span class = cFA > < 5> /* Graphics Not Rendered in HTML */< / span > < span class = cF0 > < / span > < span class = cF2 > // < 5> DolDoc files< / span > < span class = cF0 > < / span > < span class = cF2 > (.DD)< / span > < span class = cF0 >
2021-07-03 05:07:57 +01:00
< a name = "l39" > < / a >
< a name = "l40" > < / a >
< a name = "l41" > < / a >
< a name = "l42" > < / a >
< a name = "l43" > < / a >
< a name = "l44" > < / a >
< a name = "l45" > < / a >
2021-07-04 23:11:34 +01:00
< a name = "l46" > < / a > < / span > < span class = cFA > < 6> /* Graphics Not Rendered in HTML */< / span > < span class = cF0 > < / span > < span class = cF2 > // < 6> binary files< / span > < span class = cF0 > < / span > < span class = cF2 > (.BIN, .BIN.C)< / span > < span class = cF0 >
2021-07-03 05:07:57 +01:00
< a name = "l47" > < / a >
< a name = "l48" > < / a >
< a name = "l49" > < / a >
< a name = "l50" > < / a >
< a name = "l51" > < / a >
< a name = "l52" > < / a >
< a name = "l53" > < / a >
< a name = "l54" > < / a >
2021-07-04 23:11:34 +01:00
< a name = "l55" > < / a > < / span > < span class = cFA > < 7> /* Graphics Not Rendered in HTML */< / span > < span class = cF0 > < / span > < span class = cF2 > // < 7> InFiles< / span > < span class = cF0 > < / span > < span class = cF2 > (.IN)< / span > < span class = cF0 >
2021-07-03 05:07:57 +01:00
< a name = "l56" > < / a >
< a name = "l57" > < / a >
< a name = "l58" > < / a >
< a name = "l59" > < / a >
< a name = "l60" > < / a >
< a name = "l61" > < / a >
2021-07-04 23:11:34 +01:00
< a name = "l62" > < / a > < / span > < span class = cFA > < 8> /* Graphics Not Rendered in HTML */< / span > < span class = cF0 > < / span > < span class = cF2 > // < 8> text files< / span > < span class = cF0 > < / span > < span class = cF2 > (.TXT)< / span > < span class = cF0 >
2021-07-03 05:07:57 +01:00
< a name = "l63" > < / a >
< a name = "l64" > < / a >
< a name = "l65" > < / a >
< a name = "l66" > < / a >
< a name = "l67" > < / a >
< a name = "l68" > < / a >
< a name = "l69" > < / a >
2021-07-04 23:11:34 +01:00
< a name = "l70" > < / a > < / span > < span class = cFA > < 9> /* Graphics Not Rendered in HTML */< / span > < span class = cF0 > < / span > < span class = cF2 > // < 9> unknown filetype< / span > < span class = cF0 >
2021-07-03 05:07:57 +01:00
< a name = "l71" > < / a >
< a name = "l72" > < / a >
< a name = "l73" > < / a >
< a name = "l74" > < / a >
< a name = "l75" > < / a >
< a name = "l76" > < / a >
< a name = "l77" > < / a >
< a name = "l78" > < / a >
< a name = "l79" > < / a >
2021-09-17 08:32:51 +01:00
< a name = "l80" > < / a > < / span > < span class = cF9 > CDocEntry< / span > < span class = cF0 > *GrDirSprite(< / span > < span class = cF9 > CDoc< / span > < span class = cF0 > *doc=< / span > < span class = cF3 > NULL< / span > < span class = cF0 > , < / span > < span class = cF1 > U8< / span > < span class = cF0 > *elems, < / span > < span class = cF1 > U8< / span > < span class = cF0 > *filename=< / span > < span class = cF3 > NULL< / span > < span class = cF0 > , < / span > < span class = cF9 > I64< / span > < span class = cF0 > align=-< / span > < span class = cFE > 1< / span > < span class = cF0 > )
2021-07-04 23:11:34 +01:00
< a name = "l81" > < / a > { < / span > < span class = cF2 > // Draw a GrDir sprite into DolDoc: align arg is 0,1,2 for left,center,right.< / span > < span class = cF0 >
< a name = "l82" > < / a > < / span > < span class = cF2 > // make into either Link and PopUp, or Left-Macro,< / span > < span class = cF0 >
< a name = "l83" > < / a > < / span > < span class = cF2 > // so it can be left/right clicked just like the text links.< / span > < span class = cF0 >
2021-07-26 20:29:49 +01:00
< a name = "l84" > < / a > < / span > < span class = cF2 > // See < / span > < a href = "https://zeal-operating-system.github.io/ZealOS/System/Gr/GrSpritePlot.CC.html#l501" > < span class = cF4 > DocSprite< / span > < / a > < span class = cF2 > .< / span > < span class = cF0 >
2021-07-03 05:07:57 +01:00
< a name = "l85" > < / a >
2021-07-04 23:11:34 +01:00
< a name = "l86" > < / a > < / span > < span class = cF9 > I64< / span > < span class = cF0 > size;
< a name = "l87" > < / a > < / span > < span class = cF1 > U8< / span > < span class = cF0 > *st;
< a name = "l88" > < / a > < / span > < span class = cF1 > Bool< / span > < span class = cF0 > unlock;
< a name = "l89" > < / a > < / span > < span class = cF9 > CDocEntry< / span > < span class = cF0 > *doc_e;
< a name = "l90" > < / a > < / span > < span class = cF9 > CDocBin< / span > < span class = cF0 > *tmpb;
2021-07-03 05:07:57 +01:00
< a name = "l91" > < / a >
2021-09-17 08:32:51 +01:00
< a name = "l92" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (!doc & & !< / span > < span class = cF7 > (< / span > < span class = cF0 > doc = < / span > < span class = cF5 > DocPut< / span > < span class = cF7 > )< / span > < span class = cF0 > || !elems)
2021-07-04 23:11:34 +01:00
< a name = "l93" > < / a > < / span > < span class = cF1 > return< / span > < span class = cF0 > < / span > < span class = cF3 > NULL< / span > < span class = cF0 > ;
< a name = "l94" > < / a > unlock = < / span > < span class = cF5 > DocLock< / span > < span class = cF0 > (doc);
< a name = "l95" > < / a > size = < / span > < span class = cF5 > SpriteSize< / span > < span class = cF0 > (elems);
< a name = "l96" > < / a > tmpb = < / span > < span class = cF5 > CAlloc< / span > < span class = cF0 > (< / span > < span class = cF1 > sizeof< / span > < span class = cF7 > (< / span > < span class = cF9 > CDocBin< / span > < span class = cF7 > )< / span > < span class = cF0 > , doc-> mem_task);
< a name = "l97" > < / a > tmpb-> size = size;
< a name = "l98" > < / a > tmpb-> data = < / span > < span class = cF5 > MAlloc< / span > < span class = cF0 > (size, doc-> mem_task);
< a name = "l99" > < / a > < / span > < span class = cF5 > MemCopy< / span > < span class = cF0 > (tmpb-> data, elems, size);
< a name = "l100" > < / a > tmpb-> num = doc-> cur_bin_num;
< a name = "l101" > < / a > tmpb-> use_count = < / span > < span class = cFE > 1< / span > < span class = cF0 > ;
< a name = "l102" > < / a > < / span > < span class = cF5 > QueueInsert< / span > < span class = cF0 > (tmpb, doc-> bin_head.last);
2021-07-03 05:07:57 +01:00
< a name = "l103" > < / a >
< a name = "l104" > < / a >
2021-07-04 23:11:34 +01:00
< a name = "l105" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (align == < / span > < span class = cFE > 0< / span > < span class = cF0 > )
< a name = "l106" > < / a > < / span > < span class = cF6 > " \n$CM+LX-RE,LE=6$" < / span > < span class = cF0 > ;
< a name = "l107" > < / a > < / span > < span class = cF1 > else< / span > < span class = cF0 > < / span > < span class = cF1 > if< / span > < span class = cF0 > (align == < / span > < span class = cFE > 1< / span > < span class = cF0 > )
< a name = "l108" > < / a > < / span > < span class = cF6 > " $CM+CX-RE,LE=2$" < / span > < span class = cF0 > ;
< a name = "l109" > < / a > < / span > < span class = cF1 > else< / span > < span class = cF0 > < / span > < span class = cF1 > if< / span > < span class = cF0 > (align == < / span > < span class = cFE > 2< / span > < span class = cF0 > )
< a name = "l110" > < / a > < / span > < span class = cF6 > " $CM+RX-RE,LE=-1$" < / span > < span class = cF0 > ;
2021-07-03 05:07:57 +01:00
< a name = "l111" > < / a >
< a name = "l112" > < / a >
2021-07-04 23:11:34 +01:00
< a name = "l113" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (!< / span > < span class = cF5 > IsDir< / span > < span class = cF7 > (< / span > < span class = cF0 > filename< / span > < span class = cF7 > )< / span > < span class = cF0 > )
< a name = "l114" > < / a > st = < / span > < span class = cF5 > MStrPrint< / span > < span class = cF0 > (< / span > < span class = cF6 > " $SP+L+PU,\" \" ,A=\" %s\" ,BI=%d$" < / span > < span class = cF0 > , filename, doc-> cur_bin_num++);
< a name = "l115" > < / a > < / span > < span class = cF1 > else< / span > < span class = cF0 >
< a name = "l116" > < / a > st = < / span > < span class = cF5 > MStrPrint< / span > < span class = cF0 > (< / span > < span class = cF6 > " $SP+X,\" \" ,LM=\" Cd(\\\" %s\\\" );GrDir;\n\" ,BI=%d$" < / span > < span class = cF0 > , filename, doc-> cur_bin_num++);
2021-07-03 05:07:57 +01:00
< a name = "l117" > < / a >
2021-07-04 23:11:34 +01:00
< a name = "l118" > < / a > doc_e = < / span > < span class = cF5 > DocPrint< / span > < span class = cF0 > (doc, < / span > < span class = cF6 > " %s" < / span > < span class = cF0 > , st);
< a name = "l119" > < / a > < / span > < span class = cF5 > Free< / span > < span class = cF0 > (st);
< a name = "l120" > < / a > doc_e-> bin_data = tmpb;
< a name = "l121" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (doc_e & & doc_e-> de_flags & < / span > < span class = cF3 > DOCEF_TAG< / span > < span class = cF0 > & & doc_e-> tag & & *doc_e-> tag)
< a name = "l122" > < / a > tmpb-> tag = < / span > < span class = cF5 > StrNew< / span > < span class = cF0 > (doc_e-> tag, doc-> mem_task);
< a name = "l123" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (unlock)
< a name = "l124" > < / a > < / span > < span class = cF5 > DocUnlock< / span > < span class = cF0 > (doc);
2021-07-03 05:07:57 +01:00
< a name = "l125" > < / a >
2021-07-04 23:11:34 +01:00
< a name = "l126" > < / a > < / span > < span class = cF1 > return< / span > < span class = cF0 > doc_e;
2021-07-03 05:07:57 +01:00
< a name = "l127" > < / a > }
< a name = "l128" > < / a >
< a name = "l129" > < / a > < / span > < span class = cF9 > I64< / span > < span class = cF0 > GrDir(< / span > < span class = cF1 > U8< / span > < span class = cF0 > *files_find_mask=< / span > < span class = cF3 > NULL< / span > < span class = cF0 > )
< a name = "l130" > < / a > {
2021-07-04 23:11:34 +01:00
< a name = "l131" > < / a > < / span > < span class = cF9 > CDirEntry< / span > < span class = cF0 > *tmpde1 = < / span > < span class = cF3 > NULL< / span > < span class = cF0 > , *tmpde2;
< a name = "l132" > < / a > < / span > < span class = cF9 > I64< / span > < span class = cF0 > res = < / span > < span class = cFE > 0< / span > < span class = cF0 > ;
< a name = "l133" > < / a > < / span > < span class = cF1 > U8< / span > < span class = cF0 > *tag, *st,
< a name = "l134" > < / a > *tmpb = < / span > < span class = cF3 > NULL< / span > < span class = cF0 > ,
< a name = "l135" > < / a > *tmpb0 = < / span > < span class = cF3 > NULL< / span > < span class = cF0 > , *tmpb1 = < / span > < span class = cF3 > NULL< / span > < span class = cF0 > , *tmpb2 = < / span > < span class = cF3 > NULL< / span > < span class = cF0 > , < / span > < span class = cF2 > // sprite pointers< / span > < span class = cF0 >
< a name = "l136" > < / a > *tmpf0 = < / span > < span class = cF3 > NULL< / span > < span class = cF0 > , *tmpf1 = < / span > < span class = cF3 > NULL< / span > < span class = cF0 > , *tmpf2 = < / span > < span class = cF3 > NULL< / span > < span class = cF0 > ; < / span > < span class = cF2 > // filenames (for sprite links)< / span > < span class = cF0 >
2021-07-03 05:07:57 +01:00
< a name = "l137" > < / a >
2021-07-04 23:11:34 +01:00
< a name = "l138" > < / a > tmpde1 = < / span > < span class = cF5 > FilesFind< / span > < span class = cF0 > (files_find_mask);
< a name = "l139" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (tmpde1)
< a name = "l140" > < / a > < / span > < span class = cF7 > {< / span > < span class = cF0 >
2021-07-03 05:07:57 +01:00
< a name = "l141" > < / a >
2021-07-04 23:11:34 +01:00
< a name = "l142" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (GRDIR_CLEAR)
< a name = "l143" > < / a > < / span > < span class = cF6 > " $CL$" < / span > < span class = cF0 > ;
2021-07-03 05:07:57 +01:00
< a name = "l144" > < / a >
2021-07-04 23:11:34 +01:00
< a name = "l145" > < / a > st = < / span > < span class = cF5 > MAllocIdent< / span > < span class = cF0 > (tmpde1-> full_name);
< a name = "l146" > < / a > < / span > < span class = cF5 > StrLastRemove< / span > < span class = cF0 > (st, < / span > < span class = cF6 > " /" < / span > < span class = cF0 > );
< a name = "l147" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (!st[< / span > < span class = cFE > 2< / span > < span class = cF0 > ])
< a name = "l148" > < / a > < / span > < span class = cF5 > StrCopy< / span > < span class = cF0 > (st + < / span > < span class = cFE > 2< / span > < span class = cF0 > , < / span > < span class = cF6 > " /" < / span > < span class = cF0 > );
2021-07-03 05:07:57 +01:00
< a name = "l149" > < / a >
2021-09-16 02:07:38 +01:00
< a name = "l150" > < / a > < / span > < span class = cF6 > " %s> $GREEN$GrDir(\" %s\" );$FG$\n" < / span > < span class = cF0 > , st, st;
2021-07-03 05:07:57 +01:00
< a name = "l151" > < / a >
2021-09-16 02:07:38 +01:00
< a name = "l152" > < / a > < / span > < span class = cF6 > " \n$MA,\" Drive C\" ,LM=\" Drive('C');GrDir;\n\" $ $MA,\" Drive D\" ,LM=\" Drive('D');GrDir;\n\" $ $MA,\" Disk Change T\" ,LM=\" DiskChange('T');GrDir;\n\" $\n" < / span > < span class = cF0 > ;
< a name = "l153" > < / a >
< a name = "l154" > < / a > < / span > < span class = cF6 > " \n$MA,T=\" Directory\" ,LM=\" PopUpCd;GrDir;\n\" $ of %s\n\n" < / span > < span class = cF0 > , st;
2021-07-03 05:07:57 +01:00
< a name = "l155" > < / a >
2021-09-16 02:07:38 +01:00
< a name = "l156" > < / a > < / span > < span class = cF1 > while< / span > < span class = cF0 > (tmpde1)
< a name = "l157" > < / a > {
< a name = "l158" > < / a > tmpde2 = tmpde1-> next;
< a name = "l159" > < / a >
< a name = "l160" > < / a > < / span > < span class = cF1 > switch< / span > < span class = cF0 > (res % < / span > < span class = cFE > 3< / span > < span class = cF0 > )
< a name = "l161" > < / a > < / span > < span class = cF7 > {< / span > < span class = cF0 >
< a name = "l162" > < / a > < / span > < span class = cF1 > case< / span > < span class = cF0 > < / span > < span class = cFE > 0< / span > < span class = cF0 > :
< a name = "l163" > < / a > tag = < / span > < span class = cF6 > " LX" < / span > < span class = cF0 > ;
< a name = "l164" > < / a > < / span > < span class = cF1 > break< / span > < span class = cF0 > ;
< a name = "l165" > < / a > < / span > < span class = cF1 > case< / span > < span class = cF0 > < / span > < span class = cFE > 1< / span > < span class = cF0 > :
< a name = "l166" > < / a > tag = < / span > < span class = cF6 > " CX" < / span > < span class = cF0 > ;
< a name = "l167" > < / a > < / span > < span class = cF1 > break< / span > < span class = cF0 > ;
< a name = "l168" > < / a > < / span > < span class = cF1 > case< / span > < span class = cF0 > < / span > < span class = cFE > 2< / span > < span class = cF0 > :
< a name = "l169" > < / a > tag = < / span > < span class = cF6 > " RX" < / span > < span class = cF0 > ;
< a name = "l170" > < / a > < / span > < span class = cF1 > break< / span > < span class = cF0 > ;
< a name = "l171" > < / a > < / span > < span class = cF7 > }< / span > < span class = cF0 >
< a name = "l172" > < / a >
< a name = "l173" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (res % < / span > < span class = cFE > 3< / span > < span class = cF0 > == < / span > < span class = cFE > 0< / span > < span class = cF0 > & & res != < / span > < span class = cFE > 0< / span > < span class = cF0 > )
< a name = "l174" > < / a > < / span > < span class = cF7 > {< / span > < span class = cF0 >
< a name = "l175" > < / a > GrDirSprite(, tmpb0, tmpf0, < / span > < span class = cFE > 0< / span > < span class = cF0 > );
< a name = "l176" > < / a > GrDirSprite(, tmpb1, tmpf1, < / span > < span class = cFE > 1< / span > < span class = cF0 > );
< a name = "l177" > < / a > GrDirSprite(, tmpb2, tmpf2, < / span > < span class = cFE > 2< / span > < span class = cF0 > );
< a name = "l178" > < / a >
< a name = "l179" > < / a > < / span > < span class = cF6 > " \n\n\n\n\n\n\n" < / span > < span class = cF0 > ;
< a name = "l180" > < / a > tmpb = < / span > < span class = cF3 > NULL< / span > < span class = cF0 > ;
< a name = "l181" > < / a > tmpb0 = < / span > < span class = cF3 > NULL< / span > < span class = cF0 > ;
< a name = "l182" > < / a > tmpb1 = < / span > < span class = cF3 > NULL< / span > < span class = cF0 > ;
< a name = "l183" > < / a > tmpb2 = < / span > < span class = cF3 > NULL< / span > < span class = cF0 > ;
< a name = "l184" > < / a >
< a name = "l185" > < / a > < / span > < span class = cF5 > Free< / span > < span class = cF0 > (tmpf0);
< a name = "l186" > < / a > < / span > < span class = cF5 > Free< / span > < span class = cF0 > (tmpf1);
< a name = "l187" > < / a > < / span > < span class = cF5 > Free< / span > < span class = cF0 > (tmpf2);
< a name = "l188" > < / a > tmpf0 = < / span > < span class = cF3 > NULL< / span > < span class = cF0 > ;
< a name = "l189" > < / a > tmpf1 = < / span > < span class = cF3 > NULL< / span > < span class = cF0 > ;
< a name = "l190" > < / a > tmpf2 = < / span > < span class = cF3 > NULL< / span > < span class = cF0 > ;
< a name = "l191" > < / a > < / span > < span class = cF7 > }< / span > < span class = cF0 >
< a name = "l192" > < / a >
< a name = "l193" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (res % < / span > < span class = cFE > 3< / span > < span class = cF0 > == < / span > < span class = cFE > 2< / span > < span class = cF0 > )
< a name = "l194" > < / a > < / span > < span class = cF6 > " $CM-LE-RE$" < / span > < span class = cF0 > ;
< a name = "l195" > < / a >
< a name = "l196" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (tmpde1-> attr & < / span > < span class = cF3 > RS_ATTR_DIR< / span > < span class = cF0 > )
< a name = "l197" > < / a > < / span > < span class = cF7 > {< / span > < span class = cF0 >
< a name = "l198" > < / a >
< a name = "l199" > < / a > < / span > < span class = cF6 > " $MA+%s,T=\" %s\" ,LM=\" Cd(\\\" %s\\\" );GrDir;\n\" $" < / span > < span class = cF0 > , tag, tmpde1-> name, tmpde1-> full_name;
< a name = "l200" > < / a > < / span > < span class = cF1 > switch< / span > < span class = cF0 > (res % < / span > < span class = cFE > 3< / span > < span class = cF0 > )
< a name = "l201" > < / a > {
< a name = "l202" > < / a > < / span > < span class = cF1 > case< / span > < span class = cF0 > < / span > < span class = cFE > 0< / span > < span class = cF0 > :
< a name = "l203" > < / a > tmpb0 = < / span > < span class = cFA > < 3> < / span > < span class = cF0 > ;
< a name = "l204" > < / a > tmpf0 = < / span > < span class = cF5 > StrNew< / span > < span class = cF0 > (tmpde1-> full_name);
2021-07-04 23:11:34 +01:00
< a name = "l205" > < / a > < / span > < span class = cF1 > break< / span > < span class = cF0 > ;
2021-09-16 02:07:38 +01:00
< a name = "l206" > < / a > < / span > < span class = cF1 > case< / span > < span class = cF0 > < / span > < span class = cFE > 1< / span > < span class = cF0 > :
< a name = "l207" > < / a > tmpb1 = < / span > < span class = cFA > < 3> < / span > < span class = cF0 > ;
< a name = "l208" > < / a > tmpf1 = < / span > < span class = cF5 > StrNew< / span > < span class = cF0 > (tmpde1-> full_name);
2021-07-04 23:11:34 +01:00
< a name = "l209" > < / a > < / span > < span class = cF1 > break< / span > < span class = cF0 > ;
2021-09-16 02:07:38 +01:00
< a name = "l210" > < / a > < / span > < span class = cF1 > case< / span > < span class = cF0 > < / span > < span class = cFE > 2< / span > < span class = cF0 > :
< a name = "l211" > < / a > tmpb2 = < / span > < span class = cFA > < 3> < / span > < span class = cF0 > ;
< a name = "l212" > < / a > tmpf2 = < / span > < span class = cF5 > StrNew< / span > < span class = cF0 > (tmpde1-> full_name);
< a name = "l213" > < / a > < / span > < span class = cF1 > break< / span > < span class = cF0 > ;
< a name = "l214" > < / a > }
< a name = "l215" > < / a >
< a name = "l216" > < / a > < / span > < span class = cF7 > }< / span > < span class = cF0 >
< a name = "l217" > < / a > < / span > < span class = cF1 > else< / span > < span class = cF0 >
< a name = "l218" > < / a > < / span > < span class = cF7 > {< / span > < span class = cF0 >
< a name = "l219" > < / a > < / span > < span class = cF6 > " $LK+%s+PU,\" %s\" ,A=\" FI:%s\" $" < / span > < span class = cF0 > , tag, tmpde1-> name, tmpde1-> full_name;
< a name = "l220" > < / a > < / span > < span class = cF1 > if< / span > < span class = cF0 > (!< / span > < span class = cF5 > StrCompare< / span > < span class = cF7 > (< / span > < span class = cF5 > FileExtDot< / span > < span class = cF0 > (tmpde1-> name), < / span > < span class = cF6 > " .CC" < / span > < span class = cF7 > )< / span > < span class = cF0 > )
< a name = "l221" > < / a > tmpb = < / span > < span class = cFA > < 1> < / span > < span class = cF0 > ;
< a name = "l222" > < / a > < / span > < span class = cF1 > else< / span > < span class = cF0 > < / span > < span class = cF1 > if< / span > < span class = cF0 > (!< / span > < span class = cF5 > StrCompare< / span > < span class = cF7 > (< / span > < span class = cF5 > FileExtDot< / span > < span class = cF0 > (tmpde1-> name), < / span > < span class = cF6 > " .DD" < / span > < span class = cF7 > )< / span > < span class = cF0 > )
< a name = "l223" > < / a > tmpb = < / span > < span class = cFA > < 5> < / span > < span class = cF0 > ;
< a name = "l224" > < / a > < / span > < span class = cF1 > else< / span > < span class = cF0 > < / span > < span class = cF1 > if< / span > < span class = cF0 > (!< / span > < span class = cF5 > StrCompare< / span > < span class = cF7 > (< / span > < span class = cF5 > FileExtDot< / span > < span class = cF0 > (tmpde1-> name), < / span > < span class = cF6 > " .ISO.C" < / span > < span class = cF7 > )< / span > < span class = cF0 > ||
< a name = "l225" > < / a > !< / span > < span class = cF5 > StrCompare< / span > < span class = cF7 > (< / span > < span class = cF5 > FileExtDot< / span > < span class = cF0 > (tmpde1-> name), < / span > < span class = cF6 > " .ISO" < / span > < span class = cF7 > )< / span > < span class = cF0 > ||
< a name = "l226" > < / a > !< / span > < span class = cF5 > StrCompare< / span > < span class = cF7 > (< / span > < span class = cF5 > FileExtDot< / span > < span class = cF0 > (tmpde1-> name), < / span > < span class = cF6 > " .iso" < / span > < span class = cF7 > )< / span > < span class = cF0 > )
< a name = "l227" > < / a > tmpb = < / span > < span class = cFA > < 4> < / span > < span class = cF0 > ;
< a name = "l228" > < / a > < / span > < span class = cF1 > else< / span > < span class = cF0 > < / span > < span class = cF1 > if< / span > < span class = cF0 > (!< / span > < span class = cF5 > StrCompare< / span > < span class = cF7 > (< / span > < span class = cF5 > FileExtDot< / span > < span class = cF0 > (tmpde1-> name), < / span > < span class = cF6 > " .HH" < / span > < span class = cF7 > )< / span > < span class = cF0 > )
< a name = "l229" > < / a > tmpb = < / span > < span class = cFA > < 2> < / span > < span class = cF0 > ;
< a name = "l230" > < / a > < / span > < span class = cF1 > else< / span > < span class = cF0 > < / span > < span class = cF1 > if< / span > < span class = cF0 > (!< / span > < span class = cF5 > StrCompare< / span > < span class = cF7 > (< / span > < span class = cF5 > FileExtDot< / span > < span class = cF0 > (tmpde1-> name), < / span > < span class = cF6 > " .BIN.C" < / span > < span class = cF7 > )< / span > < span class = cF0 > ||
< a name = "l231" > < / a > !< / span > < span class = cF5 > StrCompare< / span > < span class = cF7 > (< / span > < span class = cF5 > FileExtDot< / span > < span class = cF0 > (tmpde1-> name), < / span > < span class = cF6 > " .BIN" < / span > < span class = cF7 > )< / span > < span class = cF0 > )
< a name = "l232" > < / a > tmpb = < / span > < span class = cFA > < 6> < / span > < span class = cF0 > ;
< a name = "l233" > < / a > < / span > < span class = cF1 > else< / span > < span class = cF0 > < / span > < span class = cF1 > if< / span > < span class = cF0 > (!< / span > < span class = cF5 > StrCompare< / span > < span class = cF7 > (< / span > < span class = cF5 > FileExtDot< / span > < span class = cF0 > (tmpde1-> name), < / span > < span class = cF6 > " .IN" < / span > < span class = cF7 > )< / span > < span class = cF0 > )
< a name = "l234" > < / a > tmpb = < / span > < span class = cFA > < 7> < / span > < span class = cF0 > ;
< a name = "l235" > < / a > < / span > < span class = cF1 > else< / span > < span class = cF0 > < / span > < span class = cF1 > if< / span > < span class = cF0 > (!< / span > < span class = cF5 > StrCompare< / span > < span class = cF7 > (< / span > < span class = cF5 > FileExtDot< / span > < span class = cF0 > (tmpde1-> name), < / span > < span class = cF6 > " .TXT" < / span > < span class = cF7 > )< / span > < span class = cF0 > )
< a name = "l236" > < / a > tmpb = < / span > < span class = cFA > < 8> < / span > < span class = cF0 > ;
< a name = "l237" > < / a > < / span > < span class = cF1 > else< / span > < span class = cF0 >
< a name = "l238" > < / a > < / span > < span class = cF2 > // sprite for unknown filetype< / span > < span class = cF0 >
< a name = "l239" > < / a > tmpb = < / span > < span class = cFA > < 9> < / span > < span class = cF0 > ;
< a name = "l240" > < / a >
< a name = "l241" > < / a > < / span > < span class = cF1 > switch< / span > < span class = cF0 > (res % < / span > < span class = cFE > 3< / span > < span class = cF0 > )
< a name = "l242" > < / a > {
< a name = "l243" > < / a > < / span > < span class = cF1 > case< / span > < span class = cF0 > < / span > < span class = cFE > 0< / span > < span class = cF0 > :
< a name = "l244" > < / a > tmpb0 = tmpb;
< a name = "l245" > < / a > tmpf0 = < / span > < span class = cF5 > StrNew< / span > < span class = cF0 > (tmpde1-> full_name);
2021-07-04 23:11:34 +01:00
< a name = "l246" > < / a > < / span > < span class = cF1 > break< / span > < span class = cF0 > ;
2021-09-16 02:07:38 +01:00
< a name = "l247" > < / a > < / span > < span class = cF1 > case< / span > < span class = cF0 > < / span > < span class = cFE > 1< / span > < span class = cF0 > :
< a name = "l248" > < / a > tmpb1 = tmpb;
< a name = "l249" > < / a > tmpf1 = < / span > < span class = cF5 > StrNew< / span > < span class = cF0 > (tmpde1-> full_name);
2021-07-04 23:11:34 +01:00
< a name = "l250" > < / a > < / span > < span class = cF1 > break< / span > < span class = cF0 > ;
2021-09-16 02:07:38 +01:00
< a name = "l251" > < / a > < / span > < span class = cF1 > case< / span > < span class = cF0 > < / span > < span class = cFE > 2< / span > < span class = cF0 > :
< a name = "l252" > < / a > tmpb2 = tmpb;
< a name = "l253" > < / a > tmpf2 = < / span > < span class = cF5 > StrNew< / span > < span class = cF0 > (tmpde1-> full_name);
< a name = "l254" > < / a > < / span > < span class = cF1 > break< / span > < span class = cF0 > ;
< a name = "l255" > < / a > }
< a name = "l256" > < / a > < / span > < span class = cF7 > }< / span > < span class = cF0 >
< a name = "l257" > < / a >
< a name = "l258" > < / a > res++;
< a name = "l259" > < / a > < / span > < span class = cF5 > DirEntryDel< / span > < span class = cF0 > (tmpde1);
< a name = "l260" > < / a > tmpde1 = tmpde2;
< a name = "l261" > < / a > }
< a name = "l262" > < / a >
< a name = "l263" > < / a > < / span > < span class = cF5 > Free< / span > < span class = cF0 > (st);
< a name = "l264" > < / a > < / span > < span class = cF7 > }< / span > < span class = cF0 >
< a name = "l265" > < / a > < / span > < span class = cF1 > else< / span > < span class = cF0 >
< a name = "l266" > < / a > < / span > < span class = cF6 > " \nNo matching entries!!\n" < / span > < span class = cF0 > ;
< a name = "l267" > < / a >
< a name = "l268" > < / a > GrDirSprite(, tmpb0, tmpf0, < / span > < span class = cFE > 0< / span > < span class = cF0 > );
< a name = "l269" > < / a > GrDirSprite(, tmpb1, tmpf1, < / span > < span class = cFE > 1< / span > < span class = cF0 > );
< a name = "l270" > < / a > GrDirSprite(, tmpb2, tmpf2, < / span > < span class = cFE > 2< / span > < span class = cF0 > );
< a name = "l271" > < / a > < / span > < span class = cF6 > " \n\n\n\n\n\n\n" < / span > < span class = cF0 > ;
2021-07-03 05:07:57 +01:00
< a name = "l272" > < / a >
2021-09-16 02:07:38 +01:00
< a name = "l273" > < / a >
< a name = "l274" > < / a > < / span > < span class = cF1 > return< / span > < span class = cF0 > res;
< a name = "l275" > < / a > }
< a name = "l276" > < / a >
< a name = "l277" > < / a > < / span > < span class = cF5 > Cd< / span > < span class = cF0 > ;
< a name = "l278" > < / a > GrDir;< / span > < / pre > < / body >
2021-07-03 05:07:57 +01:00
< / html >