#include "demo.h"
#include "screen.h"
-#include "tinyfps.h"
static int init(void);
static void destroy(void);
static void start(long trans_time);
-static void stop(long trans_time);
static void draw(void);
static struct screen scr = {
init,
destroy,
start,
- stop,
+ 0,
draw
};
{
int i;
- initFpsFonts();
-
psin1 = (unsigned char*)malloc(sizeof(unsigned char) * PSIN_SIZE);
psin2 = (unsigned char*)malloc(sizeof(unsigned char) * PSIN_SIZE);
psin3 = (unsigned char*)malloc(sizeof(unsigned char) * PSIN_SIZE);
plasmaPal[i] = (r<<11) | (g<<5) | b;
}
- //return 0xCAFE;
return 0;
}
startingTime = time_msec;
}
-static void stop(long trans_time)
-{
-}
-
static void draw(void)
{
int x, y;
}
}
- drawFps((unsigned short*)vmem_back);
-
swap_buffers(0);
}