From 7b26f28c6d6028b5aad2ba93a5c8911f6118e6e9 Mon Sep 17 00:00:00 2001
From: Christian Heller <c.heller@plomlompom.de>
Date: Wed, 28 Aug 2013 03:27:26 +0200
Subject: [PATCH] Some cleaning up and comments added to outsourcing misc
 library stuff into control library.

---
 src/control.h | 5 +++--
 src/misc.c    | 8 ++------
 2 files changed, 5 insertions(+), 8 deletions(-)

diff --git a/src/control.h b/src/control.h
index 599f04b..bd5dd0c 100644
--- a/src/control.h
+++ b/src/control.h
@@ -1,4 +1,6 @@
 /* control.h
+ *
+ * Routines for handling user's key press input.
  */
 
 #ifndef CONTROL_H
@@ -6,8 +8,7 @@
 
 
 
-#include <stdint.h>    /* for uint8_t */
-#include "yx_uint16.h" /* for yx_uint16 coordinates */
+#include <stdint.h> /* for uint8_t */
 struct World;
 
 
diff --git a/src/misc.c b/src/misc.c
index 1fbcc3e..b826436 100644
--- a/src/misc.c
+++ b/src/misc.c
@@ -7,16 +7,12 @@
 #include <string.h> /* for strlen(), strcmp(), memcpy() */
 #include <stdint.h> /* for uint8_t */
 #include "windows.h" /* for suspend_win(), append_win(), reset_pad_offset(),
-                      * resize_active_win(), cycle_active_win(),
-                      * shift_active_win(), struct Win, struct WinMeta
+                      * resize_active_win(), struct Win, struct WinMeta
                       */
-#include "keybindings.h" /* for get_action_key(), save_keybindings(),
-                          * keyswin_move_selection(), keyswin_mod_key()
-                          */
 #include "readwrite.h" /* for [read/write]_uint[8/16/32][_bigendian]() */
 #include "map_objects.h" /* for struct Monster, write_map_objects(), */
 #include "map_object_actions.h" /* for is_passable(), move_monster() */
-#include "map.h" /* for map_scroll(),map_center_player(), Map struct,dir enum */
+#include "map.h" /* for Map struct */
 #include "main.h" /* for World struct */
 #include "yx_uint16.h" /* for yx_uint16 */
 #include "rrand.h" /* for rrand(), rrand_seed() */
-- 
2.30.2