-extern void map_center()
-{
- struct Win * win_map = get_win_by_id('m');
- struct yx_uint8 pos = world.look ? world.look_pos : world.player_pos;
- win_map->center.y = pos.y;
- win_map->center.x = pos.x * 2 + (pos.y % 2);
-}
-
-
-
-extern void toggle_autofocus()
-{
- world.autofocus = world.autofocus ? 0 : 1;
-}
-
-
-