Changeset View
Changeset View
Standalone View
Standalone View
ps/trunk/source/graphics/TextureConverter.cpp
Show First 20 Lines • Show All 221 Lines • ▼ Show 20 Lines | if (child.GetNodeName() == el_file) | ||||
p.settings.kaiserAlpha = CStr(attr.Value).ToFloat(); | p.settings.kaiserAlpha = CStr(attr.Value).ToFloat(); | ||||
} | } | ||||
else if (attr.Name == at_kaiserstretch) | else if (attr.Name == at_kaiserstretch) | ||||
{ | { | ||||
p.settings.kaiserStretch = CStr(attr.Value).ToFloat(); | p.settings.kaiserStretch = CStr(attr.Value).ToFloat(); | ||||
} | } | ||||
else | else | ||||
{ | { | ||||
LOGERROR("Invalid attribute name <file %s='...'>", XeroFile.GetAttributeString(attr.Name).c_str()); | LOGERROR("Invalid attribute name <file %s='...'>", XeroFile.GetAttributeString(attr.Name)); | ||||
} | } | ||||
} | } | ||||
settings->patterns.push_back(p); | settings->patterns.push_back(p); | ||||
} | } | ||||
} | } | ||||
return settings.release(); | return settings.release(); | ||||
▲ Show 20 Lines • Show All 361 Lines • Show Last 20 Lines |
Wildfire Games · Phabricator