Compare commits
3 Commits
f061f473ce
...
584305f0d8
| Author | SHA1 | Date | |
|---|---|---|---|
| 584305f0d8 | |||
| 35a1334be4 | |||
| b0c73467e2 |
4
game.cpp
4
game.cpp
@@ -2,13 +2,13 @@
|
|||||||
|
|
||||||
void init()
|
void init()
|
||||||
{
|
{
|
||||||
jInit("pixels", 320, 240, 2);
|
jInit("tutorial_paleta", 320, 240, 2);
|
||||||
jSetPal(0, 0x00000000);
|
jSetPal(0, 0x00000000);
|
||||||
jSetPal(1, 0xffff0000);
|
jSetPal(1, 0xffff0000);
|
||||||
jSetPal(2, 0xffffffff);
|
jSetPal(2, 0xffffffff);
|
||||||
jCls(0);
|
jCls(0);
|
||||||
jSurface peiv = jLoadSurface("williams.gif");
|
jSurface peiv = jLoadSurface("williams.gif");
|
||||||
jLoadPal("williams.gif");
|
jLoadPal("pal02.gif");
|
||||||
jSetSource(peiv);
|
jSetSource(peiv);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
BIN
williams.gif
BIN
williams.gif
Binary file not shown.
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
Reference in New Issue
Block a user