#ifndef SHADOW_H_INCLUDED #define SHADOW_H_INCLUDED #include #include "config.h" typedef struct layer_t layer_t; typedef struct lscene_t lscene_t; /* A layer. What else? */ struct layer_t { BITMAP* img; /* Image associated with layer */ int z; /* Depth */ }; /* All the layers */ struct lscene_t { layer_t** l; /* Pointers to the layers */ int c; /* How many? */ }; /* lscene.c */ extern lscene_t* create_lscene(void); extern BITMAP* add_layer(lscene_t* s, int z); extern void remove_layer(lscene_t* s, layer_t* l); /* shadow.c */ extern void render_lscene(BITMAP* b, lscene_t* s); /* window.c */ extern void draw_window_frame(BITMAP* bmp, int x, int y, int w, int h); extern void draw_window_frame_2(BITMAP* bmp, int x, int y, int w, int h); extern void draw_lotsa_text(BITMAP* bmp, int x, int y, int w, int h, int c, int s); #endif