home · contact · privacy
Added TODO to windows library.
[plomrogue] / src / draw_wins.h
index d3a8b9dcc2f8d568e5b091acb4c7eb0685464d3b..4b8574b50ad408ffc093324f02b20ea31e256b44 100644 (file)
@@ -1,11 +1,30 @@
+/* draw_wins.h
+ *
+ * Routnes for drawing the game's windows' contents.
+ */
+
 #ifndef DRAW_WINS_H
 #define DRAW_WINS_H
 
-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 *);
+
+
+#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);
+
+
 
 #endif