home · contact · privacy
Fixed bug that led to endless loop in nearest_enemy_dir().
[plomrogue] / src / draw_wins.h
index 8801f13fe8978d4fd977edfce14d872b6d102606..958d8a956afadd61d3507db05f972da810365d0b 100644 (file)
@@ -6,46 +6,24 @@
 #ifndef DRAW_WINS_H
 #define DRAW_WINS_H
 
-
-
 #include <stdint.h> /* for uint16_t */
 struct Win;
 
 
-/* Write "text" into window "win" as far as possible. Start on row "start_y".
- *
- * TODO: Why is this external?
- */
-extern void draw_with_linebreaks(struct Win * win, char * text,
-                                 uint16_t start_y);
-
-
-
-/* Write "text" not starting from the top but from the bottom of "win".
- *
- * TODO: Why is this external?
- */
-extern void draw_text_from_bottom(struct Win * win, char * text);
-
-
-
-/* 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);
-
 
+/* Default routines to draw the various windows' contents. */
+extern void draw_win_log(struct Win * win);
+extern void draw_win_map(struct Win * win);
+extern void draw_win_info(struct Win * win);
+extern void draw_win_inventory(struct Win * win);
+extern void draw_win_available_keybindings(struct Win * win);
+extern void draw_win_keybindings_global(struct Win * win);
+extern void draw_win_keybindings_winconf_geometry(struct Win * win);
+extern void draw_win_keybindings_winconf_keybindings(struct Win * win);
 
-/* Draw keybindings selection/manipulation menu. */
-extern void draw_keys_win(struct Win * win);
+/* Routines to draw windows' configuration views. */
+extern void draw_winconf_keybindings(struct Win * win);
+extern void draw_winconf_geometry(struct Win * win);