width++;
resize_active_window (win_meta, height, width); } }
-struct Map init_map (uint32_t seed) {
+struct Map init_map () {
// Initialize map with some experimental start values.
struct Map map;
map.width = 64;
world.turn = 0;
world.log = calloc(1, sizeof(char));
update_log (&world, "Start!");
- struct Map map = init_map(seed);
+ struct Map map = init_map();
world.map = ↦
struct Player player;
player.y = 8;
void save_seed(uint32_t);
void toggle_window (struct WinMeta *, struct Win *);
void growshrink_active_window (struct WinMeta *, char);
-struct Map init_map (uint32_t);
+struct Map init_map ();
void map_scroll (struct Map *, char);
void next_turn (struct World *);
void update_log (struct World *, char *);