X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=src%2Fdraw_wins.h;h=6a939ebbcba21bf5154c4cf7d82415e53f05b176;hb=6f9c0f49233065ed1ce0bae8862902e3cead639e;hp=dea248a4a9c66bc1f2eb3004990d3d50d6fc919d;hpb=47d7b87570ce3c79d3e0a6b8e765c74d065b6ba5;p=plomrogue diff --git a/src/draw_wins.h b/src/draw_wins.h index dea248a..6a939eb 100644 --- a/src/draw_wins.h +++ b/src/draw_wins.h @@ -1,15 +1,33 @@ +/* draw_wins.h + * + * Routnes for drawing the game's windows' contents. + */ + #ifndef DRAW_WINS_H #define DRAW_WINS_H -#include + +#include /* for uint16_t */ struct Win; -void draw_with_linebreaks (struct Win *, char *, uint16_t); -void draw_text_from_bottom (struct Win *, char *); -void draw_log_win (struct Win *); -void draw_map_win (struct Win *); -void draw_info_win (struct Win *); -void draw_keys_win (struct Win *); + + +/* Write game log text into "win" from bottom to top. */ +extern void draw_log_win(struct Win * win); + +/* Draw game map and actors/objects on it into "win". Respect scroll offset. */ +extern void draw_map_win(struct Win * win); + +/* Draw into "win" the game / player status infos. */ +extern void draw_info_win(struct Win * win); + +/* Draw keybindings selection/manipulation menu. */ +extern void draw_keys_win(struct Win * win); + +/* Draw window configuration info. */ +extern void draw_winconf(struct Win * win); + + #endif