Skip to content

Commit 4edeae2

Browse files
committed
Add support for the new map, Redwoods
1 parent 3a03a8c commit 4edeae2

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/map.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ pub enum Map {
2424
OldVeranda,
2525
Panopticon,
2626
Pub,
27+
Redwoods,
2728
Teien,
2829
Terrace,
2930
Veranda,
@@ -61,6 +62,7 @@ impl fmt::Display for Map {
6162
Map::OldVeranda => "Old Veranda",
6263
Map::Panopticon => "Panopticon",
6364
Map::Pub => "Pub",
65+
Map::Redwoods => "Redwoods",
6466
Map::Teien => "Teien",
6567
Map::Terrace => "Terrace",
6668
Map::Veranda => "Veranda",
@@ -92,6 +94,7 @@ impl From<u32> for Map {
9294
0xa8be_a091 => Map::OldVeranda,
9395
0x3695_f583 => Map::Panopticon,
9496
0x3b85_fff3 => Map::Pub,
97+
0x35ac_5135 => Map::Redwoods,
9598
0x79df_a0cf => Map::Teien,
9699
0x9032_ce22 => Map::Terrace,
97100
0x6f81_a558 => Map::Veranda,
@@ -126,6 +129,7 @@ impl<'a> TryFrom<&'a str> for Map {
126129
"oldveranda" => Map::OldVeranda,
127130
"panopticon" | "panop" => Map::Panopticon,
128131
"pub" => Map::Pub,
132+
"redwoods" => Map::Redwoods,
129133
"teien" => Map::Teien,
130134
"terrace" => Map::Terrace,
131135
"veranda" => Map::Veranda,

0 commit comments

Comments
 (0)