diff options
| author | Connor Thomson <blumatrikz@gmail.com> | 2026-09-08 18:27:39 -0700 |
|---|---|---|
| committer | Connor Thomson <blumatrikz@gmail.com> | 2026-09-08 18:27:39 -0700 |
| commit | f1ddc12b68b4e4c8087962de25260470e6df2bea (patch) | |
| tree | 7d0440a6402a9b0ef75ded23fa64b68534255bba /src/client/layer.h | |
| parent | 6025860a61386bf767b29c3ec5fd0d31285f1056 (diff) | |
Add tuxanci2 files
Diffstat (limited to 'src/client/layer.h')
| -rw-r--r-- | src/client/layer.h | 42 |
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 */ |