home *** CD-ROM | disk | FTP | other *** search
Borland C/C++ Project | 1993-01-28 | 5.5 KB | 91 lines |
- Turbo C Project File
- C:\TC\BIN
- C:\TC\INCLUDE
- C:\TC\LIB
- d:\sb\voxkit\hello.voc d:\mod\hello.sam
- ~GREP
- -n+ $MEM(64) $NOSWAP $PROMPT $CAP MSG(GREP2MSG)void *.c
- ~Turbo Assembler
- C:\TASM\TASM.EXE
- /ZI /O $TASM /M2
- Turbo ~Debugger
- $EXENAME
- Turbo ~Profiler
- tprof
- $EXENAME
- WGT35.LIB
- GT\EXAMPLES\WGT35.LIB
- WGTMENU.LIB
- \EXAMPLES\MENU\WGTMENU.LIB
- MENUS.C
- WWGT\EXAMPLES\MENU\MENUS.C
- ..\..\..\INCLUDE\WGTMENU.H
- ..\..\..\INCLUDE\WGT.H
- MENUS.C
- FILESEL.H
- WGT.H
- ..\..\..\INCLUDE\DOS.H
- ..\..\..\INCLUDE\CONIO.H
- ..\..\..\INCLUDE\STDIO.H
- FILESEL.C
- ..\..\..\INCLUDE\WGTMENU.H
- ..\..\..\INCLUDE\WGT.H
- MENUS.C
- FILESEL.H
- WGT.H
- ..\..\..\INCLUDE\DOS.H
- ..\..\..\INCLUDE\CONIO.H
- ..\..\..\INCLUDE\STDIO.H
- FILESEL.C
- same,incr,ctr,ctr2;
- int bb,i;
- long int same2,incr2;
- int rte;
- orig=ptr;
- ptr2=ptr;
- width=wgetblockwidth(ptr2);
- height=wgetblockheight(ptr2);
- if (sx>ex) { i=sx; sx=ex; ex=i; }
- incr=(float)(ex-sx+1)/width*2000;
- // incr2=(float)(y2-y+1)/height*2000;
- if (ex>bx) lx=bx; else lx=ex;
- if (sx<tx) fx=tx; else fx=sx;
- ctr=0;
- same=0;
- xx=sx;
- ctr2=0;
- same2=0;
- base=0;
- bb=0;
- ptr2=orig+(base*width+4);
- while (xx<=lx) {
- if (xx>=tx)
- {
- hres[xx]=bb;
- bb=0;
- }
- xx++;
- ctr+=2000;
- same+=incr;
- if (incr<2000)
- while (same<ctr) {
- same+=incr;
- ptr2++;
- bb++;
- } else
- while ((same-ctr>999) & (xx<=lx)) {
- if ((xx>=tx) & (yy>=ty) )
- {
- hres[xx]=bb;
- bb=0;
- }
- xx++;
- ctr+=2000;
- ptr2++;
- bb++;
- }
- xx=sx;
- base=0;
- ptr2=ptr;
- for (xx=sx; xx<=ex; xx++)
-