--- a/src/main.rs +++ b/src/main.rs @@ -64,7 +64,7 @@ .unwrap_or_else(rand::random); world.add_unique(Options { - tileset: 2, + tileset: 1, font: 0, map_zoom: 1, text_zoom: 1, @@ -97,14 +97,6 @@ tile_start: (0, 0).into(), tile_gap: (0, 0).into(), font_map: TilesetInfo::::map_code_page_437(), - symbol_map: HashMap::new(), - }, - TilesetInfo:: { - image_path: PathBuf::from("assets/terminal-8x8.png"), - tile_size: (8, 8).into(), - tile_start: (0, 0).into(), - tile_gap: (0, 0).into(), - font_map: TilesetInfo::::map_code_page_437(), symbol_map: HashMap::new(), }, gamesym::urizen_tileset_info(), --- a/src/modes/options_menu.rs +++ b/src/modes/options_menu.rs @@ -17,8 +17,8 @@ const TILESET_LABEL: &str = " Tileset:"; const FONT_LABEL: &str = " Font:"; -const NUM_FONTS: u32 = 2; -const TILESET_NAMES: [&str; 3] = ["GohuFont", "Terminal", "Urizen"]; +const NUM_FONTS: u32 = 1; +const TILESET_NAMES: [&str; 2] = ["GohuFont", "Urizen"]; const UNKNOWN_TILESET_NAME: &str = "???"; const MAP_ZOOM_LABEL: &str = " Map zoom:"; const TEXT_ZOOM_LABEL: &str = "Text zoom:"; --- a/index.html +++ b/index.html @@ -4,7 +4,6 @@ -