home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-385-Vol-1of3.iso
/
w
/
winsr173.zip
/
WINSRC.DOC
< prev
next >
Wrap
Text File
|
1992-05-17
|
3KB
|
70 lines
Note:
Because of the mad rush with which we distributed this "public-beta"
version of Winfract, only the Microsoft C MAKEfiles are up-to-date.
If you're using Quick-C or a Borland compiler, you'll have to update
their MAK/PRJ files, I'm afraid. Also, the list of files at the end
of this file are horribly out of date. Sorry about that.
Let's start with the caveats:
You need either Microsoft C 7.0 or MSC 6.0 and the Windows 3.0/3.1
Software Developers Toolkit, Borland's new C++ product for Windows
(which Mark Peterson uses), or Microsoft's QuickC-for-Windows to
rebuild WINFRACT from this ZIP file. You build Winfract with
Microsoft's product using the "makewin.bat" command (if you're not
using MSC7, you will have to edit the WINFRACT.MAK file slightly to
un-comment out one or more #DEFINEs in that file). You build
Winfract with Borland's product using the PRJ file supplied by Mark.
You build Winfract with Microsoft's QuickC-for-Windows using
the "qcwinfra.mak" file as your project file.
---------
How this program works:
First of all, we got lucky. Fractint-for-DOS has, for some time, been
structured such that the working modules periodically call a routine
called 'keypressed()'. That routine both lets the calling program know if
there is a keypress or mouse movement waiting that is of interest to the
calling routine, and it handles the help (F1) and status (TAB) routines in a
manner invisible to the calling routine.
In the Windows environment, 'keypressed()' performs a 'peekmessage()'
function, checking for and processing any user activity, and returns
a value indicating that either nothing of interest has happened, or that
the calling program should terminate and return to the main routine which
will actually decide what to do.
Aside from the routines that are taken directly from Fractint-for-DOS,
the following routines are Windows-specific:
winsrc.doc - you're reading it right now
makefrac.bat - run this routine to make a new version of WINFRACT
winfract.prj - PRJ file which you use if you are using Borland's "C"
winfract.mak - the WINFRACT "make" file
winfract.def - the WINFRACT "def" file
winfract.rc - the WINFRACT "resource compiler" file
winfract.ico - the WINFRACT "icon"
winfract.rtf - the source for the HELP text
winfract.hpj - the project for the HELP text
winfract.h - generic WINFRACT include file
select.h - used by the zoom-box routines (stolen from the Windows SDK)
winfract.lnk - the list of files required by the LINK step
winlib.lst - used to build a LIB of FFD routines
winfract.c - the main WINFRACT routine
dialog.c - the first of two dialog modules
dialog2.c - the second of two dialog modules
windos.c - Windows routines that fake DOS routines
(routines such as 'keypressed()' are in here)
mainfrac.c - the main "Fractint" driver routine (called by winfract.c)
select.c - Zoom-box routines (stolen from the Windows SDK)
wgeneral.asm - WINFRACT assembler code
wgeneral.obj - compiled version of same (so you won't need an assembler)
mathtool.c - Mark Peterson's Math-Tools and other code
mathtool.h - include file for the above
mathtool.rtf - Help file for the above
mathtool.ico - Icon file for the above
profile.c - SSTOOLS.INI profiler
profile.h - include file for the above