X-Git-Url: https://git.jsancho.org/?a=blobdiff_plain;f=Source%2FLevel%2FCampaign.hpp;h=0a3d734202b24ad37cf58dd76197bc3352b2d726;hb=6a8cb464330e92163c8feaf101b8b5837c973bba;hp=77eb313aa11eb1c32307c2127410f139faac81b2;hpb=03fbcc5b5e18dbf62c48849fc8d02cd250aa744e;p=lugaru.git
diff --git a/Source/Level/Campaign.hpp b/Source/Level/Campaign.hpp
index 77eb313..0a3d734 100644
--- a/Source/Level/Campaign.hpp
+++ b/Source/Level/Campaign.hpp
@@ -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.
@@ -26,6 +26,7 @@ along with Lugaru. If not, see .
extern bool campaign;
extern int actuallevel;
+extern std::string campaignEndText[3];
std::vector 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;
}
};