After some prototyping I have what I think I want for the map. Just a simple piece of paper you take out that has the ASCII map on it.

This commit is contained in:
Zed A. Shaw 2025-03-21 02:51:02 -04:00
parent acbf384e2a
commit 6c9016eb0f
21 changed files with 1184 additions and 92 deletions

View file

@ -379,6 +379,7 @@ void Raycaster::update_level(GameLevel level) {
$sprites.clear();
$level = level;
// BUG: this is way too complex, please make it easier, the issue is that I need to convert the maps to visible tiles and that involves wstring convert, but this is many steps done probably over and over
auto& tiles = $level.map->tiles();
$map = textures::convert_char_to_texture(tiles.$tile_ids);