mirror of
https://github.com/polserver/polserver
synced 2026-08-13 08:23:08 -04:00
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!
20 lines
No EOL
578 B
C++
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 )];
|
|
}
|
|
}
|
|
} |