X-Git-Url: https://plomlompom.com/repos/?a=blobdiff_plain;f=src%2Fdraw_wins.h;h=4b8574b50ad408ffc093324f02b20ea31e256b44;hb=823357b90906df451402358eda7b995143922496;hp=2013efd4f4893b718ee510d4ea5ab145314da5c0;hpb=b944d403e356e444b47b0f5768406c0527151be0;p=plomrogue diff --git a/src/draw_wins.h b/src/draw_wins.h index 2013efd..4b8574b 100644 --- a/src/draw_wins.h +++ b/src/draw_wins.h @@ -1,15 +1,30 @@ +/* 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; -extern void draw_with_linebreaks (struct Win *, char *, uint16_t); -extern void draw_text_from_bottom (struct Win *, char *); -extern void draw_log_win (struct Win *); -extern void draw_map_win (struct Win *); -extern void draw_info_win (struct Win *); -extern 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); + + #endif