maint: add support for h1
This commit is contained in:
parent
fcb420c576
commit
ad937f7202
@ -9,6 +9,7 @@ enum class game_type
|
||||
iw5,
|
||||
iw6,
|
||||
iw7,
|
||||
h1,
|
||||
s1,
|
||||
t7,
|
||||
};
|
||||
@ -22,6 +23,7 @@ inline const std::string& resolve_game_type_name(const game_type game)
|
||||
{game_type::iw5, "IW5"},
|
||||
{game_type::iw6, "IW6"},
|
||||
{game_type::iw7, "IW7"},
|
||||
{game_type::h1, "H1"},
|
||||
{game_type::s1, "S1"},
|
||||
{game_type::t7, "T7"},
|
||||
};
|
||||
@ -51,6 +53,11 @@ inline game_type resolve_game_type(const std::string& game_name)
|
||||
return game_type::iw7;
|
||||
}
|
||||
|
||||
if (game_name == "H1")
|
||||
{
|
||||
return game_type::h1;
|
||||
}
|
||||
|
||||
if (game_name == "S1")
|
||||
{
|
||||
return game_type::s1;
|
||||
|
Loading…
Reference in New Issue
Block a user