#include "jUnit.h" void init() { jInit("demo6_palette", 320, 240, 2); jSetPal(0, 0x00000000); jCls(0); jSurface peiv = jLoadSurface("resources/williams.gif"); jLoadPal("resources/pal01.gif"); jSetSource(peiv); } void update() { jCls(0); jBlit(100, 60, 0, 0, 29, 64); }