In article <MDBBJLBFBICIIEIHFBMEOECPDFAA.hallane@earthlink.net>, "Hal Lane" <hallane@earthlink.net> writes:
What currently determines how much of the CPU is given to the calculation of a fractal? <---<<
It runs as fast as it can. Screen updates are limited to 10 fps; Windows will give a process a little "bonus" in scheduling if its window is currently the selected foreground window. Otherwise, you're getting just the normal Windows timeslicing. Nothing fancy.
When I took a quick look at the formula parser some time ago, I was pretty intimidated. The parser looked like an ad hoc design approach, rather than an automatically generated parser, like lex and yacc.
Yes, its pretty inscrutable. My long term approach is actually to replace the parser entirely, but I wouldn't mind fixing the bug that causes some formulas to render incorrectly in the near term.
I guess if the formula parser code is still the original code, that something like the changed #includes and/or data typing and it passing must be the source of the problem.
Its probably some hidden assumption that an int is 16 bits somewhere. I've had to correct a number of those where they did pointer arithmetic and added 2 instead of sizeof(int), and so-on.
I note that you changed the keys that encode different screen resolutions from the original encodings.
The whole business of specifying video resolution by hotkeys is dumb, IMO. It will be replaced with something that lets you specify the resolution directly with a fallback to mapping "default" key assignments to their default resolutions. Its particularly dumb, since the user can change everything so that the key assignments don't mean the same resolutions anymore.
Do you have a web page where you collect the issues/bugs that people report or that you are working on -- beyond the items listed in the BUGS.txt file included in your distribution?
I have a list of bugs that have been reported, some of which are not in that text file since they were reported after the release of that beta version. Feel free to report any bugs to this list.
I don't want to report any items that have already been reported, or reported and fixed like: <---<<
<\> or <h> or <ctrl-h> just redraws the current image Fixed in beta 6
I can always give it a quick test and tell you whether or not I've fixed it already. I've fixed the major ones except for this formula rendering problem. -- "The Direct3D Graphics Pipeline" -- DirectX 9 draft available for download <http://www.xmission.com/~legalize/book/download/index.html> Legalize Adulthood! <http://blogs.xmission.com/legalize/>