25 lines
332 B
C
25 lines
332 B
C
#include <game.h>
|
|
#include <gfx.h>
|
|
|
|
static int init(void)
|
|
{
|
|
struct gfx_sprite s, s2;
|
|
|
|
if (gfx_sprite_from_file("cdrom:\\block.TIM;1", &s))
|
|
return -1;
|
|
|
|
gfx_sprite_sort(&s);
|
|
s2 = s;
|
|
gfx_sprite_sort(&s2);
|
|
gfx_draw();
|
|
return 0;
|
|
}
|
|
|
|
int game(void)
|
|
{
|
|
if (init())
|
|
return -1;
|
|
|
|
return 0;
|
|
}
|