map shortnames/identifiers

This commit is contained in:
Llywelwyn 2023-08-30 04:51:32 +01:00
parent 849a554055
commit 9fb791039f
12 changed files with 80 additions and 26 deletions

View file

@ -743,7 +743,7 @@ fn main() -> rltk::BError {
// Insert calls
gs.ecs.insert(rltk::RandomNumberGenerator::new());
gs.ecs.insert(map::MasterDungeonMap::new()); // Master map list
gs.ecs.insert(Map::new(true, 1, 64, 64, 0, "New Map")); // Map
gs.ecs.insert(Map::new(true, 1, 64, 64, 0, "New Map", "N", 0)); // Map
gs.ecs.insert(Point::new(0, 0)); // Player pos
gs.ecs.insert(gui::Ancestry::Dwarf); // ancestry
let player_entity = spawner::player(&mut gs.ecs, 0, 0);