Re: [Fractdev] Xfractint color cycling
Hi Guys, I have had colour cycling working in MANPWIN which is true colour without the use of palette changes. It requires a fast PC and just swaps a lot of memory around. /*********************************************************************** **** Rotate palette ************************************************************************ ***/ void rotate_palette(HWND hwnd, int dir, int delay) { long i, k; int j, m; long local_width; DWORD RotateLength; DWORD colour, n, pointer; RotateLength = (TrueColourFlag) ? maxit + maxit + maxit - 6 : 768 - 6; if (dir == 1) { memcpy(temp_palette + 3, PalettePtr + 3, RotateLength); // >> 3 bytes memcpy(temp_palette, PalettePtr + RotateLength + 3, 3); // rotate 3 bytes memcpy(PalettePtr + 3, temp_palette, RotateLength + 3); // back to palette } else { memcpy(temp_palette, PalettePtr + 6, RotateLength); // >> 3 bytes memcpy(temp_palette + RotateLength, PalettePtr + 3, 3); // rotate 3 bytes memcpy(PalettePtr + 3, temp_palette, RotateLength + 3); // << 3 bytes } } Comments??? Regards, Paul de. ---------------------------------------------------------- Paul de Leeuw Computers Central Coast Australia Email: pdeleeuw@deleeuw.com.au www: http://www.deleeuw.com.au ABN 72 360 822 562 ---------------------------------------------------------- ----- Original Message ----- From: Jonathan Osuch <osuchj@avalon.net> Date: Sunday, May 12, 2002 1:36 am Subject: [Fractdev] Xfractint color cycling
Tim,
Did you know that it is possible to make Xfractint color cycle? Well, with some code changes. I'll add it to my list.
I've once again been reminded why I don't like upgrading operating systems. I purchased the Mandrake 8.2 Powerpack Edition. It won't install on my desktop machine. Tried to reinstall 8.0, which also failed. There are no obvious error messages that mean anything to me. A file can't be found and icons don't show up on the screen. Seems like there isn't enough RAM. 96 MB doesn't quite measure up (8.2 recommends 128 MB). I'll try using the text mode install next.
Luckily, the desktop machine isn't being used for anything. But, it doesn't give me a warm fuzzy about upgrading the laptop. BTW, I usually do an install instead of an upgrade because the system tends to be less flakey. Also, the file system can be changed to Ext3FS with 8.2.
Jonathan
_______________________________________________ Fractdev mailing list Fractdev@mailman.xmission.com http://mailman.xmission.com/cgi-bin/mailman/listinfo/fractdev
On Sunday 12 May 2002 03:33 pm, PHD wrote:
I have had colour cycling working in MANPWIN which is true colour without the use of palette changes. It requires a fast PC and just swaps a lot of memory around.
That actually looks like a palette change to me. But, I don't speak Windows. Jonathan
participants (2)
-
Jonathan Osuch -
pdeleeuw