summaryrefslogtreecommitdiff
path: root/src/client/layer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/layer.h')
-rw-r--r--src/client/layer.h42
1 files changed, 0 insertions, 42 deletions
diff --git a/src/client/layer.h b/src/client/layer.h
deleted file mode 100644
index 3642a0a..0000000
--- a/src/client/layer.h
+++ /dev/null
@@ -1,42 +0,0 @@
-#ifndef MY_LAYER_H
-#define MY_LAYER_H
-
-#include "main.h"
-#include "image.h"
-
-typedef struct layer_str {
- /* coordinates of the image */
- int x;
- int y;
-
- /* size of the image */
- int w;
- int h;
-
- /* coordinates of a part of the surface */
- int px;
- int py;
-
- /* size of a part of the surface */
- int pw;
- int ph;
-
- /* in which layer to lay it */
- int layer;
-
- /* image of the surface */
- image_t *image;
-} layer_t;
-
-extern bool_t layer_is_inicialized();
-extern void layer_init();
-
-extern void addLayer(image_t *img, int x, int y, int px, int py, int w, int h, int player);
-
-extern void layer_draw_all();
-extern void layer_draw_center(int x, int y);
-extern void layer_draw_slpit(int local_x, int local_y, int x, int y, int w, int h);
-extern void layer_flush();
-extern void layer_quit();
-
-#endif /* MY_LAYER_H */