home · contact · privacy
Corrected off-by-one error in windows.c:refit_pad() that lead to failure of subpad...
[plomrogue] / src / draw_wins.h
index 64f332ccfc7283ef4c1bc4e7302020ee23f42b49..6a939ebbcba21bf5154c4cf7d82415e53f05b176 100644 (file)
@@ -1,6 +1,33 @@
-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 *);
+/* draw_wins.h
+ *
+ * Routnes for drawing the game's windows' contents.
+ */
+
+#ifndef DRAW_WINS_H
+#define DRAW_WINS_H
+
+
+
+#include <stdint.h> /* for uint16_t */
+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