home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-385-Vol-1of3.iso
/
w
/
wgt3_ex.zip
/
256CONVR.PRJ
(
.txt
)
< prev
next >
Wrap
Borland C/C++ Project
|
1992-09-14
|
6KB
|
96 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
WGT3.LIB
WGT\EXAMPLES\MENU\WGT3.LIB
FILESEL.LIB
\EXAMPLES\MENU\FILESEL.LIB
WGTMENU.LIB
\EXAMPLES\MENU\WGTMENU.LIB
256CON.C
WGT\EXAMPLES\MENU\256CON.C
FILESEL.H
WGT.H
FILESEL.C
..\..\..\INCLUDE\FILESEL.H
..\..\..\INCLUDE\WGTMENU.H
..\..\..\INCLUDE\WGT.H
..\..\..\INCLUDE\STDIO.H
..\..\..\INCLUDE\CONIO.H
..\..\..\INCLUDE\DOS.H
256CON.C
FILESEL.H
WGT.H
FILESEL.C
..\..\..\INCLUDE\FILESEL.H
..\..\..\INCLUDE\WGTMENU.H
..\..\..\INCLUDE\WGT.H
..\..\..\INCLUDE\STDIO.H
..\..\..\INCLUDE\CONIO.H
..\..\..\INCLUDE\DOS.H
256CON.C
int 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++)
{