mirror of
https://github.com/vcmi/vcmi.git
synced 2025-01-24 03:47:18 +02:00
cleanup
This commit is contained in:
parent
523e33a5e5
commit
abb875b400
@ -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
|
||||
|
@ -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
|
||||
|
@ -8,7 +8,6 @@ class CAnimImage;
|
||||
class CSlider;
|
||||
class CLabel;
|
||||
class CAnimation;
|
||||
class CDefHandler;
|
||||
|
||||
/*
|
||||
* ObjectLists.h, part of VCMI engine
|
||||
|
@ -7,7 +7,6 @@
|
||||
#include "GUIClasses.h"
|
||||
|
||||
#include "../CBitmapHandler.h"
|
||||
#include "../CDefHandler.h"
|
||||
#include "../CGameInfo.h"
|
||||
#include "../CMessage.h"
|
||||
#include "../CMusicHandler.h"
|
||||
|
@ -8,7 +8,6 @@
|
||||
#include "GUIClasses.h"
|
||||
|
||||
#include "../CBitmapHandler.h"
|
||||
#include "../CDefHandler.h"
|
||||
#include "../CGameInfo.h"
|
||||
#include "../CMessage.h"
|
||||
#include "../CMT.h"
|
||||
|
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user