forked from alterware/s1-mod
maint: April update
This commit is contained in:
@ -12,7 +12,7 @@ namespace demonware
|
||||
{
|
||||
auto result = new bdDMLRawData;
|
||||
result->country_code = "US";
|
||||
result->country_code = "'Murica";
|
||||
result->country = "United States of America";
|
||||
result->region = "New York";
|
||||
result->city = "New York";
|
||||
result->latitude = 0;
|
||||
|
@ -76,14 +76,14 @@ namespace dvars
|
||||
switch (type)
|
||||
{
|
||||
case game::dvar_type::boolean:
|
||||
return "Domain is 0 or 1"s;
|
||||
return "Domain is 0 or 1";
|
||||
|
||||
case game::dvar_type::value:
|
||||
if (domain.value.min == -FLT_MAX)
|
||||
{
|
||||
if (domain.value.max == FLT_MAX)
|
||||
{
|
||||
return "Domain is any number"s;
|
||||
return "Domain is any number";
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -114,7 +114,7 @@ namespace dvars
|
||||
{
|
||||
if (domain.integer.max == INT_MAX)
|
||||
{
|
||||
return "Domain is any integer"s;
|
||||
return "Domain is any integer";
|
||||
}
|
||||
else
|
||||
{
|
||||
@ -131,10 +131,10 @@ namespace dvars
|
||||
}
|
||||
|
||||
case game::dvar_type::color:
|
||||
return "Domain is any 4-component color, in RGBA format"s;
|
||||
return "Domain is any 4-component color, in RGBA format";
|
||||
|
||||
case game::dvar_type::enumeration:
|
||||
str = "Domain is one of the following:"s;
|
||||
str = "Domain is one of the following:";
|
||||
|
||||
for (auto string_index = 0; string_index < domain.enumeration.stringCount; ++string_index)
|
||||
{
|
||||
@ -144,7 +144,7 @@ namespace dvars
|
||||
return str;
|
||||
|
||||
case game::dvar_type::string:
|
||||
return "Domain is any text"s;
|
||||
return "Domain is any text";
|
||||
|
||||
default:
|
||||
return utils::string::va("unhandled dvar type '%i'", type);
|
||||
|
Reference in New Issue
Block a user