mirror of
https://github.com/vcmi/vcmi.git
synced 2025-12-01 23:12:49 +02:00
Compile fix for Kingdom Overview
Fixed common crash with gained exp, fixed necromancy.
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#include "../lib/CCreatureHandler.h" //creatures name for objects list
|
||||
#include "../lib/CGeneralTextHandler.h"
|
||||
#include "../lib/CObjectHandler.h" //Hero/Town objects
|
||||
#include "../lib/CHeroHandler.h" // only for calculating required xp? worth it?
|
||||
#include "AdventureMapButton.h"
|
||||
#include "CAnimation.h" //CAnimImage
|
||||
#include "CAdvmapInterface.h" //CResDataBar
|
||||
@@ -435,29 +436,29 @@ InfoBoxCustom::InfoBoxCustom(std::string ValueText, std::string NameText, std::s
|
||||
{
|
||||
}
|
||||
|
||||
std::string InfoBoxCustom::getHoverText()
|
||||
std::string InfoBoxCustom::getHoverText()
|
||||
{
|
||||
return hoverText;
|
||||
}
|
||||
|
||||
size_t InfoBoxCustom::getImageIndex()
|
||||
return hoverText;
|
||||
}
|
||||
|
||||
size_t InfoBoxCustom::getImageIndex()
|
||||
{
|
||||
return imageIndex;
|
||||
}
|
||||
|
||||
std::string InfoBoxCustom::getImageName(InfoBox::InfoSize size)
|
||||
return imageIndex;
|
||||
}
|
||||
|
||||
std::string InfoBoxCustom::getImageName(InfoBox::InfoSize size)
|
||||
{
|
||||
return imageName;
|
||||
}
|
||||
|
||||
std::string InfoBoxCustom::getNameText()
|
||||
return imageName;
|
||||
}
|
||||
|
||||
std::string InfoBoxCustom::getNameText()
|
||||
{
|
||||
return nameText;
|
||||
}
|
||||
|
||||
std::string InfoBoxCustom::getValueText()
|
||||
return nameText;
|
||||
}
|
||||
|
||||
std::string InfoBoxCustom::getValueText()
|
||||
{
|
||||
return valueText;
|
||||
return valueText;
|
||||
}
|
||||
|
||||
bool InfoBoxCustom::prepareMessage(std::string &text, SComponent **comp)
|
||||
|
||||
Reference in New Issue
Block a user