1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-30 08:57:00 +02:00
vcmi/client/CQuestLog.h
Ivan Savenko 50e8bc1704 - build system update
- compile fix for quests (vector can't be used to store const data)
- fixed several "unitialized" warnings
2012-07-06 20:19:54 +00:00

66 lines
1.5 KiB
C++

#include "UIFramework/CIntObject.h"
#include "AdventureMapClasses.h"
#include "GUIClasses.h"
#include "../lib/CGameState.h"
/*
* CCreatureWindow.h, part of VCMI engine
*
* Authors: listed in file AUTHORS in main folder
*
* License: GNU General Public License v2.0 or later
* Full text of license available in license.txt file, in main folder
*
*/
class CCreature;
class CStackInstance;
class CAdventureMapButton;
class CGHeroInstance;
class CComponent;
class LRClickableAreaWText;
class CAdventureMapButton;
class CPicture;
class CCreaturePic;
class LRClickableAreaWTextComp;
class CSlider;
class CLabel;
struct QuestInfo;
class CQuestMinimap : public CMinimap
{
void clickLeft(tribool down, bool previousState){};
void mouseMoved (const SDL_MouseMotionEvent & sEvent){};
public:
CQuestMinimap (const Rect & position) : CMinimap (position){};
//should be called to invalidate whole map - different player or level
void update(){};
void setLevel(int level){};
void addQuestMarks (QuestInfo q){};
void showAll(SDL_Surface * to){};
};
class CQuestLog : public CWindowObject
{
const std::vector<QuestInfo> quests;
CTextBox * description;
CQuestMinimap * minimap;
CSlider * slider; //scrolls quests
CAdventureMapButton *ok;
public:
CQuestLog (const std::vector<QuestInfo> & Quests);
~CQuestLog(){};
void init ();
void selectQuest (int which){};
void updateMinimap (int which){};
void printDescription (int which){};
void sliderMoved(int newpos){};
};