mirror of
https://github.com/vcmi/vcmi.git
synced 2025-08-13 19:54:17 +02:00
Compile fixes.
This commit is contained in:
@@ -3227,7 +3227,7 @@ CBattleInterface::SiegeHelper::~SiegeHelper()
|
|||||||
std::string CBattleInterface::SiegeHelper::getSiegeName(ui16 what, ui16 additInfo) const
|
std::string CBattleInterface::SiegeHelper::getSiegeName(ui16 what, ui16 additInfo) const
|
||||||
{
|
{
|
||||||
char buf[100];
|
char buf[100];
|
||||||
itoa(additInfo, buf, 10);
|
SDL_itoa(additInfo, buf, 10);
|
||||||
std::string addit(buf);
|
std::string addit(buf);
|
||||||
switch(what)
|
switch(what)
|
||||||
{
|
{
|
||||||
|
@@ -108,7 +108,7 @@ public:
|
|||||||
};
|
};
|
||||||
std::vector<SBallisticsLevelInfo> ballistics; //info about ballistics ability per level; [0] - none; [1] - basic; [2] - adv; [3] - expert
|
std::vector<SBallisticsLevelInfo> ballistics; //info about ballistics ability per level; [0] - none; [1] - basic; [2] - adv; [3] - expert
|
||||||
|
|
||||||
std::vector<std::pair<int, int>> wallPositions[F_NUMBER]; //positions of different pieces of wall <x, y>
|
std::vector<std::pair<int, int> > wallPositions[F_NUMBER]; //positions of different pieces of wall <x, y>
|
||||||
void loadWallPositions();
|
void loadWallPositions();
|
||||||
|
|
||||||
std::map<int, CObstacleInfo> obstacles; //info about obstacles that may be placed on battlefield
|
std::map<int, CObstacleInfo> obstacles; //info about obstacles that may be placed on battlefield
|
||||||
|
Reference in New Issue
Block a user