mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
- reorganized hero classes
- artifact iconIndex should work - new file with hardcoded string constants: lib/StringConstants.h Note: some minor bugs, will fix soon: - slow to open hero window - hero adventure map images serialization is broken\incorrect
This commit is contained in:
@@ -511,9 +511,9 @@ void CGPreGame::update()
|
||||
GH.drawFPSCounter();
|
||||
|
||||
// draw the mouse cursor and update the screen
|
||||
CCS->curh->draw1();
|
||||
CCS->curh->drawWithScreenRestore();
|
||||
CSDL_Ext::update(screen);
|
||||
CCS->curh->draw2();
|
||||
CCS->curh->drawRestored();
|
||||
}
|
||||
|
||||
void CGPreGame::openCampaignScreen(std::string name)
|
||||
@@ -808,7 +808,7 @@ void CSelectionScreen::changeSelection(const CMapInfo * to)
|
||||
}
|
||||
else
|
||||
{
|
||||
sInfo.mapGenOptions = nullptr;
|
||||
sInfo.mapGenOptions.reset();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2812,7 +2812,7 @@ OptionsTab::CPregameTooltipBox::CPregameTooltipBox(CPlayerSettingsHelper & helpe
|
||||
{
|
||||
OBJ_CONSTRUCTION_CAPTURING_ALL;
|
||||
|
||||
int value;
|
||||
int value = PlayerSettings::NONE;
|
||||
|
||||
switch(CPlayerSettingsHelper::type)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user