1 #define MAX_SPRITES 256
2 #define MAX_ANIMATIONS 256
9 typedef struct sprite sprite
;
18 //void (*update)(sprite*, void* ud);
24 int loop_mode
;/*0 stopped, 1 once, 2 repeat, 3 pingpong, 4 evaporate*/
38 int load_sprite(char* filename
, int id
);
39 int load_font(char* filename
);
40 sprite
* enable_sprite(int sprnum
);
41 void disable_sprite(sprite
* spr
);
42 sprite
* copy_sprite(sprite
* spr
);
43 void point_camera(int x
, int y
);
45 void draw_small_text(char* str
, int x
, int y
);
46 void printf_small(int x
, int y
, char* format
, ...);
49 void set_message(char* str
);
50 void advance_message();
52 void complete_message();
54 void reposition_message(int x
, int y
);
55 void resize_message(int w
, int h
);
57 void animate_sprites();
60 void enable_stage(int yn
);