enemy: add alert memory; vision variance based on type

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: I2f5c7cac72c8772e5871b99026d106b46a6a6964
This commit is contained in:
raf 2026-04-09 12:31:52 +03:00
commit 71343311eb
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF
3 changed files with 90 additions and 3 deletions

View file

@ -12,6 +12,8 @@ void map_init(Map *map) {
map->tiles[y][x] = TILE_WALL;
}
}
memset(map->visible, 0, sizeof(map->visible));
memset(map->remembered, 0, sizeof(map->remembered));
map->room_count = 0;
}