| Line 84... | 
            Line 84... | 
          
          
            | 84 | 
             
  | 
            84 | 
             
  | 
          
          
            | 85 | 
            	static bool ReadAnimations(const Utils::CStringList &lIn, Utils::CStringList &lOut, int startRecord);
  | 
            85 | 
            	static bool ReadAnimations(const Utils::CStringList &lIn, Utils::CStringList &lOut, int startRecord);
  | 
          
          
            | 86 | 
            	static int GetAnimationType(const Utils::String &sType);
  | 
            86 | 
            	static int GetAnimationType(const Utils::String &sType);
  | 
          
          
            | 87 | 
            	static Utils::String TypesListToString(Utils::CList<STypesSection> &list, bool deleteAfter = false);
  | 
            87 | 
            	static Utils::String TypesListToString(Utils::CList<STypesSection> &list, bool deleteAfter = false);
  | 
          
          
            | 88 | 
             
  | 
            88 | 
             
  | 
          
          
            | 89 | 
            	bool WriteHeader(CFileIO &file, int iHeader, int iLength);
  | 
            89 | 
            	bool writeHeader(CFileIO &file, int iHeader, int iLength) const override;
  | 
          
          
            | 90 | 
             
  | 
            90 | 
             
  | 
          
          
            | 91 | 
            	bool IsLanguageText () { return m_bLanguageText; }
  | 
            91 | 
            	bool IsLanguageText () { return m_bLanguageText; }
  | 
          
          
            | 92 | 
            	bool IsExistingShip () { return m_bExistingShip; }
  | 
            92 | 
            	bool IsExistingShip () { return m_bExistingShip; }
  | 
          
          
            | 93 | 
             
  | 
            93 | 
             
  | 
          
          
            | 94 | 
            	int  GetOriginalDescription () { return m_iOrgDesc; }
  | 
            94 | 
            	int  GetOriginalDescription () { return m_iOrgDesc; }
  | 
          
          
            | Line 155... | 
            Line 155... | 
          
          
            | 155 | 
            	bool IsSigned() { return false; }
  | 
            155 | 
            	bool IsSigned() { return false; }
  | 
          
          
            | 156 | 
            	bool IsValid ();
  | 
            156 | 
            	bool IsValid ();
  | 
          
          
            | 157 | 
            	bool IsShipyard(int s) { return (m_iShipyard & s) ? true : false; }
  | 
            157 | 
            	bool IsShipyard(int s) { return (m_iShipyard & s) ? true : false; }
  | 
          
          
            | 158 | 
            	bool AnyShipyards() { return (m_iShipyard > 0) ? true : false; }
  | 
            158 | 
            	bool AnyShipyards() { return (m_iShipyard > 0) ? true : false; }
  | 
          
          
            | 159 | 
            	void AdjustCockpits();
  | 
            159 | 
            	void AdjustCockpits();
  | 
          
          
            | 160 | 
            	virtual Utils::String CreateValuesLine () const;
  | 
            160 | 
            	virtual Utils::String createValuesLine() const override;
  | 
          
          
            | 161 | 
            	virtual bool ParseValueLine(const Utils::String &line);
  | 
            161 | 
            	virtual bool ParseValueLine(const Utils::String &line);
  | 
          
          
            | 162 | 
             
  | 
            162 | 
             
  | 
          
          
            | 163 | 
            	virtual int GetType () { return TYPE_XSP; }
  | 
            163 | 
            	virtual int GetType () { return TYPE_XSP; }
  | 
          
          
            | 164 | 
            	virtual BaseFileType type() const override { return BaseFileType::TYPE_XSP; }
  | 
            164 | 
            	virtual BaseFileType type() const override { return BaseFileType::TYPE_XSP; }
  | 
          
          
            | 165 | 
             
  | 
            165 | 
             
  | 
          
          
            | Line 192... | 
            Line 192... | 
          
          
            | 192 | 
            	void clearCutData();
  | 
            192 | 
            	void clearCutData();
  | 
          
          
            | 193 | 
            	void clearAnimations();
  | 
            193 | 
            	void clearAnimations();
  | 
          
          
            | 194 | 
            	void clearBodies();
  | 
            194 | 
            	void clearBodies();
  | 
          
          
            | 195 | 
             
  | 
            195 | 
             
  | 
          
          
            | 196 | 
            	Utils::String GetShipClass();
  | 
            196 | 
            	Utils::String GetShipClass();
  | 
          
          
            | 197 | 
            	bool UpdateSigned(bool updateFiles) { m_bSigned = false; return false; }
  | 
            197 | 
            	virtual bool computeSigned(bool updateFiles) const override { return false; }
  | 
          
          
            | 198 | 
             
  | 
            198 | 
             
  | 
          
          
            | 199 | 
            	// ship extraction
  | 
            199 | 
            	// ship extraction
  | 
          
          
            | 200 | 
            	bool startExtractShip(CVirtualFileSystem *pVfs, const Utils::String &sId, CProgressInfo *pProgress);
  | 
            200 | 
            	bool startExtractShip(CVirtualFileSystem *pVfs, const Utils::String &sId, CProgressInfo *pProgress);
  | 
          
          
            | 201 | 
            	bool extractShip(CVirtualFileSystem *pVfs, const Utils::String &sId, CProgressInfo *progress);
  | 
            201 | 
            	bool extractShip(CVirtualFileSystem *pVfs, const Utils::String &sId, CProgressInfo *progress);
  | 
          
          
            | 202 | 
            	bool extractSceneFiles(CVirtualFileSystem *pVfs);
  | 
            202 | 
            	bool extractSceneFiles(CVirtualFileSystem *pVfs);
  | 
          
          
            | Line 233... | 
            Line 233... | 
          
          
            | 233 | 
            	virtual void addGeneratedFiles(HZIP &hz);
  | 
            233 | 
            	virtual void addGeneratedFiles(HZIP &hz);
  | 
          
          
            | 234 | 
             
  | 
            234 | 
             
  | 
          
          
            | 235 | 
            protected:
  | 
            235 | 
            protected:
  | 
          
          
            | 236 | 
            	virtual void Delete ();
  | 
            236 | 
            	virtual void Delete ();
  | 
          
          
            | 237 | 
            	virtual void SetDefaults ();
  | 
            237 | 
            	virtual void SetDefaults ();
  | 
          
          
            | 238 | 
            	virtual bool CheckHeader(const Utils::String header) const;
  | 
            238 | 
            	virtual bool _checkHeader(const Utils::String header) const override;
  | 
          
          
            | 239 | 
            	SCockpit *_findCockpit(const Utils::String &sID);
  | 
            239 | 
            	SCockpit *_findCockpit(const Utils::String &sID);
  | 
          
          
            | 240 | 
            	void _addSection(Utils::CList<STypesSection> &list, const Utils::String §ion, const Utils::String &data);
  | 
            240 | 
            	void _addSection(Utils::CList<STypesSection> &list, const Utils::String §ion, const Utils::String &data);
  | 
          
          
            | 241 | 
            	void _addDataSection(Utils::CStringList& list, Utils::CList<STypesSection>& sectionList, bool bUseFirst);
  | 
            241 | 
            	void _addDataSection(Utils::CStringList& list, Utils::CList<STypesSection>& sectionList, bool bUseFirst);
  | 
          
          
            | 242 | 
            	bool _addTextFromFile(CFileIO &F, int textId = -1);
  | 
            242 | 
            	bool _addTextFromFile(CFileIO &F, int textId = -1);
  | 
          
          
            | 243 | 
             
  | 
            243 | 
             
  |