Commit e5a1d85f authored by Gerhard Stein's avatar Gerhard Stein

Episode Structure improvements

parent 7dcd2d5f
......@@ -25,6 +25,7 @@
#include "CPhysicsSettings.h"
#include "fileio/TypeDefinitions.h"
#include "engine/CEventContainer.h"
#include "engine/galaxy/EGAStructs.h"
#include "common/options.h"
#include "CSingleton.h"
......@@ -68,7 +69,8 @@ class CBehaviorEngine : public CSingleton<CBehaviorEngine>
public:
CBehaviorEngine() : mPlayers(0),
mDifficulty(EASY),
mPausedGamePlay(false) {}
mPausedGamePlay(false),
pEpisodeInfo(NULL) {}
void addMessage(const std::string &name,
const std::string &message);
......@@ -107,6 +109,9 @@ public:
unsigned int mPlayers;
Difficulty mDifficulty;
void setEpisodeInfoStructPtr(const EpisodeInfoStruct* epStruct)
{ pEpisodeInfo = epStruct; }
private:
std::vector<CTileProperties> m_TileProperties[2];
......@@ -119,6 +124,8 @@ private:
size_t m_Episode;
bool mPausedGamePlay;
EpisodeInfoStruct *pEpisodeInfo;
};
#endif /* CBEHAVIORENGINE_H_ */
......@@ -15,6 +15,7 @@
#include "CEGAGraphicsGalaxy.h"
#include "graphics/CGfxEngine.h"
#include "fileio/ResourceMgmt.h"
#include "common/CBehaviorEngine.h"
#include "fileio/compression/CHuffman.h"
#include "FindFile.h"
#include "CLogFile.h"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment