mirror of
https://github.com/vcmi/vcmi.git
synced 2025-12-01 23:12:49 +02:00
- moved ParseBonus to JsonNode.cpp (linkage errors)
- fixes to CMakeLists - vcmi can be compiled and started with cmake - gcc\clang warnings fixes
This commit is contained in:
@@ -141,8 +141,10 @@ void CQuestMinimap::showAll(SDL_Surface * to)
|
||||
|
||||
CQuestLog::CQuestLog (const std::vector<QuestInfo> & Quests) :
|
||||
CWindowObject(PLAYER_COLORED, "QuestLog.pcx"),
|
||||
quests (Quests), slider (NULL),
|
||||
questIndex(0), currentQuest(NULL)
|
||||
questIndex(0),
|
||||
currentQuest(NULL),
|
||||
quests (Quests),
|
||||
slider(NULL)
|
||||
{
|
||||
OBJ_CONSTRUCTION_CAPTURING_ALL;
|
||||
init();
|
||||
@@ -229,4 +231,4 @@ void CQuestLog::sliderMoved (int newpos)
|
||||
{
|
||||
recreateQuestList (newpos); //move components
|
||||
redraw();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user