polserver/pol-core/plib/uoexpansion.cpp
turley 189cad3479 Formating everything
Authors are not forced to use the clang-format setting, but should
atleast be inspired by the style.
The only thing which is now not allowed are tabs for ident/alignment!
2016-02-19 19:26:35 +01:00

20 lines
No EOL
578 B
C++

#include "uoexpansion.h"
namespace Pol
{
namespace Plib
{
char* ExpansionNames[numExpansions] = {"T2A", "LBR", "AOS", "SE", "ML", "KR", "SA", "HSA"};
B9Feature ExpansionFlags[numExpansions] = {B9Feature::T2A, B9Feature::LBR, B9Feature::AOS,
B9Feature::SE, B9Feature::ML, B9Feature::KRFaces,
B9Feature::SA, B9Feature::HSA};
const char* getExpansionName( ExpansionVersion x )
{
if ( x > ExpansionVersion::LastVersion )
return "";
return ExpansionNames[static_cast<u8>( x )];
}
}
}