]> git.jsancho.org Git - lugaru.git/blobdiff - Source/Level/Campaign.hpp
clang-format: Apply to all headers
[lugaru.git] / Source / Level / Campaign.hpp
index 5381672f8fd2402a37079172519a79433a091038..0a3d734202b24ad37cf58dd76197bc3352b2d726 100644 (file)
@@ -1,6 +1,6 @@
 /*
 Copyright (C) 2003, 2010 - Wolfire Games
-Copyright (C) 2010-2016 - Lugaru contributors (see AUTHORS file)
+Copyright (C) 2010-2017 - Lugaru contributors (see AUTHORS file)
 
 This file is part of Lugaru.
 
@@ -18,7 +18,7 @@ You should have received a copy of the GNU General Public License
 along with Lugaru.  If not, see <http://www.gnu.org/licenses/>.
 */
 
-#include "Math/Quaternions.hpp"
+#include "Math/XYZ.hpp"
 
 #include <string>
 #include <vector>
@@ -26,6 +26,7 @@ along with Lugaru.  If not, see <http://www.gnu.org/licenses/>.
 extern bool campaign;
 
 extern int actuallevel;
+extern std::string campaignEndText[3];
 
 std::vector<std::string> ListCampaigns();
 void LoadCampaign();
@@ -34,9 +35,11 @@ class CampaignLevel
 {
 private:
     int width;
-    struct Position {
+    struct Position
+    {
         int x, y;
     };
+
 public:
     std::string mapname;
     std::string description;
@@ -56,8 +59,9 @@ public:
     int getEndY();
     XYZ getCenter();
     int getWidth();
-    std::istream& operator<< (std::istream& is);
-    friend std::istream& operator>> (std::istream& is, CampaignLevel& cl) {
+    std::istream& operator<<(std::istream& is);
+    friend std::istream& operator>>(std::istream& is, CampaignLevel& cl)
+    {
         return cl << is;
     }
 };