2020-12-31 15:35:46 +03:00

21 lines
990 B
C++

#pragma once
namespace iw5mp_constants
{
constexpr unsigned char MAX_LENGTH_NICKNAME = 16;
/* last byte must be nulled */
constexpr unsigned char MAX_LENGTH_TITLE = 24;
/* last byte must be nulled */
constexpr unsigned char MAX_LENGTH_CLANTAG = 8;
/* last byte must be nulled */
constexpr unsigned char maxvalidlevel = 80;
constexpr unsigned char maxvalidprestige = 20;
constexpr uint32_t XP_TO_LEVEL[] =
{
0,800,1900,3100,4900,7100,9600,12400,15600,19200,23100,27500,32400,37800,43700,50100,57000,64400,72300,80700,89600,98000,
108900,119300,130200,141600,153500,165900,178800,192200,206200,220800,236000,251800,268200,285200,302800,321000,
339800,359200,379000,399800,421000,442800,465200,488200,511800,536000,560800,586200,612350,639250,666900,695300,
724450,754350,785000,816400,848550,881450,915100,949500,984650,1020550,1057200,1094600,1132750,1171650,1211300,
1251700,1292850,1334500,1377150,1420300,1464450,1509100,1554750,1600900,1648050,1695700,1746200
};
};