浏览代码

Fix CI builds

MichalZr6 6 月之前
父节点
当前提交
1021928c6b

+ 1 - 0
lib/constants/EntityIdentifiers.h

@@ -9,6 +9,7 @@
  */
 #pragma once
 
+#include "Global.h"
 #include "NumericConstants.h"
 #include "IdentifierBase.h"
 

+ 1 - 0
mapeditor/Animation.h

@@ -13,6 +13,7 @@
 #include "../lib/GameConstants.h"
 #include <QRgb>
 #include <QImage>
+#include <QDir>
 
 VCMI_LIB_NAMESPACE_BEGIN
 class JsonNode;

+ 7 - 1
mapeditor/PlayerSelectionDialog.cpp

@@ -9,8 +9,14 @@
  */
 
 #include "PlayerSelectionDialog.h"
-#include "mainwindow.h"
 #include "../lib/mapping/CMap.h"
+#include "mainwindow.h"
+
+#include <QCheckBox>
+#include <QDialogButtonBox>
+#include <QAction>
+#include <QLabel>
+
 
 PlayerSelectionDialog::PlayerSelectionDialog(MainWindow * mainWindow)
 	: QDialog(mainWindow), selectedPlayer(PlayerColor::NEUTRAL)

+ 1 - 0
mapeditor/PlayerSelectionDialog.h

@@ -11,6 +11,7 @@
 #pragma once
 
 #include <QDialog>
+#include <QVBoxLayout>
 #include "../lib/constants/EntityIdentifiers.h"
 
 class QCheckBox;

+ 2 - 0
mapeditor/mainwindow.h

@@ -3,6 +3,8 @@
 #include <QMainWindow>
 #include <QGraphicsScene>
 #include <QStandardItemModel>
+#include <QTranslator>
+#include <QTableWidgetItem>
 #include "mapcontroller.h"
 #include "resourceExtractor/ResourceConverter.h"
 

+ 1 - 1
mapeditor/mapcontroller.h

@@ -12,9 +12,9 @@
 
 #include "maphandler.h"
 #include "mapview.h"
+#include "lib/modding/ModVerificationInfo.h"
 
 VCMI_LIB_NAMESPACE_BEGIN
-struct ModVerificationInfo;
 using ModCompatibilityInfo = std::map<std::string, ModVerificationInfo>;
 class EditorObstaclePlacer;
 VCMI_LIB_NAMESPACE_END

+ 1 - 0
mapeditor/mapview.h

@@ -12,6 +12,7 @@
 
 #include <QGraphicsScene>
 #include <QGraphicsView>
+#include <QRubberBand>
 #include "scenelayer.h"
 #include "../lib/int3.h"