home · contact · privacy
Removed false descriptions and added TODOs to draw_wins library documentation.
[plomrogue] / src / draw_wins.h
1 /* draw_wins.h
2  *
3  * Routnes for drawing the game's windows' contents.
4  */
5
6 #ifndef DRAW_WINS_H
7 #define DRAW_WINS_H
8
9
10
11 #include <stdint.h> /* for uint16_t */
12 struct Win;
13
14
15 /* Write "text" into window "win" as far as possible. Start on row "start_y".
16  *
17  * TODO: Why is this external?
18  */
19 extern void draw_with_linebreaks(struct Win * win, char * text,
20                                  uint16_t start_y);
21
22
23
24 /* Write "text" not starting from the top but from the bottom of "win".
25  *
26  * TODO: Why is this external?
27  */
28 extern void draw_text_from_bottom(struct Win * win, char * text);
29
30
31
32 /* Write game log text into "win" from bottom to top. */
33 extern void draw_log_win(struct Win * win);
34
35
36
37 /* Draw game map and actors/objects on it into "win". Respect scroll offset. */
38 extern void draw_map_win(struct Win * win);
39
40
41
42 /* Draw into "win" the game / player status infos. */
43 extern void draw_info_win(struct Win * win);
44
45
46
47 /* Draw keybindings selection/manipulation menu. */
48 extern void draw_keys_win(struct Win * win);
49
50
51
52 #endif