1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-01-24 03:47:18 +02:00
This commit is contained in:
AlexVinS 2016-10-16 03:52:11 +03:00
parent 523e33a5e5
commit abb875b400
7 changed files with 4 additions and 11 deletions

View File

@ -10,7 +10,6 @@ struct Rect;
class CAnimImage;
class CLabel;
class CAnimation;
class CDefHandler;
namespace config
{
@ -268,7 +267,7 @@ public:
void wheelScrolled(bool down, bool in) override;
void clickLeft(tribool down, bool previousState) override;
void mouseMoved (const SDL_MouseMotionEvent & sEvent) override;
void showAll(SDL_Surface * to) override;
void showAll(SDL_Surface * to) override;
/// @param position coordinates of slider
/// @param length length of slider ribbon, including left/right buttons

View File

@ -8,7 +8,6 @@ struct Rect;
class CAnimImage;
class CLabel;
class CAnimation;
class CDefHandler;
/*
* Images.h, part of VCMI engine
@ -24,7 +23,7 @@ class CDefHandler;
class CPicture : public CIntObject
{
void setSurface(SDL_Surface *to);
public:
public:
SDL_Surface * bg;
Rect * srcRect; //if nullptr then whole surface will be used
bool freeSurf; //whether surface will be freed upon CPicture destruction

View File

@ -8,7 +8,6 @@ class CAnimImage;
class CSlider;
class CLabel;
class CAnimation;
class CDefHandler;
/*
* ObjectLists.h, part of VCMI engine

View File

@ -7,7 +7,6 @@
#include "GUIClasses.h"
#include "../CBitmapHandler.h"
#include "../CDefHandler.h"
#include "../CGameInfo.h"
#include "../CMessage.h"
#include "../CMusicHandler.h"

View File

@ -8,7 +8,6 @@
#include "GUIClasses.h"
#include "../CBitmapHandler.h"
#include "../CDefHandler.h"
#include "../CGameInfo.h"
#include "../CMessage.h"
#include "../CMT.h"

View File

@ -17,7 +17,6 @@
class CButton;
struct SDL_Surface;
class CGHeroInstance;
class CDefHandler;
class CArtifact;
class CHeroWindow;
class LClickableAreaHero;
@ -75,7 +74,7 @@ class CHeroWindow: public CWindowObject, public CWindowWithGarrison, public CWin
CHeroWithMaybePickedArtifact heroWArt;
CButton * quitButton, * dismissButton, * questlogButton, * commanderButton; //general
CToggleButton *tacticsButton; //garrison / formation handling;
CToggleGroup *formations;

View File

@ -4,7 +4,6 @@
#include "CAdvmapInterface.h"
#include "../CBitmapHandler.h"
#include "../CDefHandler.h"
#include "../CGameInfo.h"
#include "../CPlayerInterface.h"
#include "../Graphics.h"
@ -121,7 +120,7 @@ CQuestLog::CQuestLog (const std::vector<QuestInfo> & Quests) :
currentQuest(nullptr),
componentsBox(nullptr),
hideComplete(false),
quests(Quests),
quests(Quests),
slider(nullptr)
{
OBJ_CONSTRUCTION_CAPTURING_ALL;