7 typedef struct layer_str
{
8 /* coordinates of the image */
12 /* size of the image */
16 /* coordinates of a part of the surface */
20 /* size of a part of the surface */
24 /* in which layer to lay it */
27 /* image of the surface */
31 extern bool_t
layer_is_inicialized();
32 extern void layer_init();
34 extern void addLayer(image_t
*img
, int x
, int y
, int px
, int py
, int w
, int h
, int player
);
36 extern void layer_draw_all();
37 extern void layer_draw_center(int x
, int y
);
38 extern void layer_draw_slpit(int local_x
, int local_y
, int x
, int y
, int w
, int h
);
39 extern void layer_flush();
40 extern void layer_quit();
42 #endif /* MY_LAYER_H */