Ok since people want to get started on some C coding I had a bash at getting TinyPTC to compile under DevCPP, after a few false starts I finaly got the demo file to compile. Had to change a few typedef's that were MS specific to standard C and remove the mmx optimizations, so it might not be as fast as under FB, not sure if that uses the mmx stuff

I have set the files to use DirectDraw for the interface so you will need to have the DX devpak installed in DevCPP, you can get it from
http://devpaks.orgThe only code file you really need to mess with is test.c since the rest are part of TinyPTC, you can of course change some of the defines in Tinyptc.h but I dont know if they will all work

The test.c file is as it was and I show it here just as the basic example, I included the compiled exe in the zip.
//
// TinyPTC by Gaffer
// www.gaffer.org/tinyptc
//
#include "tinyptc.h"
#define WIDTH 320
#define HEIGHT 200
#define SIZE WIDTH*HEIGHT
static int noise;
static int carry;
static int index;
static int seed = 0x12345;
static int pixel[SIZE];
int main()
{
if (!ptc_open("test",WIDTH,HEIGHT)) return 1;
while (1)
{
for (index=0; index<SIZE; index++)
{
noise = seed;
noise >>= 3;
noise ^= seed;
carry = noise & 1;
noise >>= 1;
seed >>= 1;
seed |= (carry << 30);
noise &= 0xFF;
pixel[index] = (noise<<16) | (noise<<8) | noise;
}
ptc_update(pixel);
}
}At present I have the setup to run in windowed mode, to change this you need to open tinyptc.h and comment out the line
#define __PTC_WINDOWED__Hope this helps some people start on messing with C and doing a few pixel effects, it should be reasonably easy to convert some of the FB routines.
Anyway here's a zip with the directory and project, have fun and any questions I will attempt to anwser.
Cheers
Jon