From: Christian Heller Date: Wed, 28 Aug 2013 03:43:10 +0000 (+0200) Subject: Corrected includes in main.c X-Git-Tag: tce~1013 X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/task?a=commitdiff_plain;h=24a8edd8a9f5393cf67c1d9a86923f388e43e104;p=plomrogue Corrected includes in main.c --- diff --git a/src/main.c b/src/main.c index dff5d20..247ec50 100644 --- a/src/main.c +++ b/src/main.c @@ -5,8 +5,8 @@ #include /* for FILE typedef, F_OK, rename() */ #include /* for initscr(), noecho(), curs_set(), keypad(), raw() */ #include /* for time() */ -#include /* for unlink(), getopt(), optarg */ -#include /* for uint8_t */ +#include /* for getopt(), optarg */ +#include /* for uint16_t, uint32_t */ #include /* for errno */ #include "windows.h" /* for structs WinMeta, Win, init_win(), init_win_meta(), * draw_all_wins() @@ -14,23 +14,22 @@ #include "draw_wins.h" /* for draw_keys_win(), draw_map_win(), draw_info_win(), * draw_log_win() */ -#include "keybindings.h" /* for initkeybindings(), get_action_key() */ +#include "keybindings.h" /* for init_keybindings(), get_action_key() */ #include "readwrite.h" /* for [read/write]_uint[8/16/32][_bigendian]() */ #include "map_objects.h" /* for structs Monster, Item, Player, * init_map_object_defs(), read_map_objects(), * build_map_objects() */ -#include "map_object_actions.h" /* for player_wait(), move_player() */ #include "map.h" /* for struct Map, init_map() */ #include "misc.h" /* for update_log(), toggle_window(), find_passable_pos(), * save_game() */ -#include "yx_uint16.h" /* for dir enum */ #include "rrand.h" /* for rrand(), rrand_seed() */ #include "rexit.h" /* for exit_game() */ #include "control.h" /* for meta_control() */ + int main(int argc, char *argv[]) { struct World world;