mirror of
https://github.com/alterware/master-server.git
synced 2025-08-31 05:17:27 +00:00
maint: small update
This commit is contained in:
2
deps/premake/curl.lua
vendored
2
deps/premake/curl.lua
vendored
@@ -6,7 +6,7 @@ function curl.import()
|
|||||||
links { "curl" }
|
links { "curl" }
|
||||||
|
|
||||||
filter "toolset:msc*"
|
filter "toolset:msc*"
|
||||||
links { "Crypt32.lib" }
|
links { "Crypt32.lib" }
|
||||||
filter {}
|
filter {}
|
||||||
|
|
||||||
curl.includes()
|
curl.includes()
|
||||||
|
@@ -6,6 +6,7 @@ enum class game_type
|
|||||||
{
|
{
|
||||||
unknown = 0,
|
unknown = 0,
|
||||||
iw4,
|
iw4,
|
||||||
|
iw5,
|
||||||
iw6,
|
iw6,
|
||||||
s1,
|
s1,
|
||||||
t7,
|
t7,
|
||||||
@@ -17,6 +18,7 @@ inline const std::string& resolve_game_type_name(const game_type game)
|
|||||||
{
|
{
|
||||||
{game_type::unknown, "Unknown"},
|
{game_type::unknown, "Unknown"},
|
||||||
{game_type::iw4, "IW4"},
|
{game_type::iw4, "IW4"},
|
||||||
|
{game_type::iw5, "IW5"},
|
||||||
{game_type::iw6, "IW6"},
|
{game_type::iw6, "IW6"},
|
||||||
{game_type::s1, "S1"},
|
{game_type::s1, "S1"},
|
||||||
{game_type::t7, "T7"},
|
{game_type::t7, "T7"},
|
||||||
@@ -32,6 +34,11 @@ inline game_type resolve_game_type(const std::string& game_name)
|
|||||||
return game_type::iw4;
|
return game_type::iw4;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (game_name == "IW5")
|
||||||
|
{
|
||||||
|
return game_type::iw5;
|
||||||
|
}
|
||||||
|
|
||||||
if (game_name == "IW6")
|
if (game_name == "IW6")
|
||||||
{
|
{
|
||||||
return game_type::iw6;
|
return game_type::iw6;
|
||||||
|
Reference in New Issue
Block a user