world.item = 0;
init_map_object_defs(&world, "config/defs");
set_cleanup_flag(CLEANUP_MAP_OBJECT_DEFS);
+ world.map_object_count = 1;
/* For interactive mode, try to load world state from savefile. */
char * err_r = "Trouble loading game (in main()) / "
sorted_wintoggle_and_activate(&world);
err_winmem = "Trouble with draw_all_wins() in main().";
+ /* Focus map on player. */
+ struct Win * win_map = get_win_by_id(&world, 'm');
+ map_center_player(&map, &player, win_map->frame.size);
+
/* Replay mode. */
int key;
struct WinConf * wc;