- script manager detected errors don't try to translate the error

This commit is contained in:
SoftCoder 2013-12-30 08:17:05 -08:00
parent 5b445ad388
commit 97d11a9cfd
2 changed files with 152 additions and 133 deletions

File diff suppressed because it is too large Load Diff

View File

@ -51,14 +51,16 @@ private:
string header; string header;
int factionIndex; int factionIndex;
int teamIndex; int teamIndex;
bool messageNotTranslated;
public: public:
ScriptManagerMessage(); ScriptManagerMessage();
ScriptManagerMessage(string text, string header, int factionIndex=-1,int teamIndex=-1); ScriptManagerMessage(string text, string header, int factionIndex=-1,int teamIndex=-1,bool messageNotTranslated=false);
const string &getText() const {return text;} const string &getText() const {return text;}
const string &getHeader() const {return header;} const string &getHeader() const {return header;}
int getFactionIndex() const {return factionIndex;} int getFactionIndex() const {return factionIndex;}
int getTeamIndex() const {return teamIndex;} int getTeamIndex() const {return teamIndex;}
bool getMessageNotTranslated() const { return messageNotTranslated; }
void saveGame(XmlNode *rootNode); void saveGame(XmlNode *rootNode);
void loadGame(const XmlNode *rootNode); void loadGame(const XmlNode *rootNode);