Subversion Repositories spk

Rev

Rev 126 | Rev 133 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 126 Rev 127
Line 105... Line 105...
105
	void SetCustomStart() { this->SetPackageType(PACKAGETYPE_CUSTOMSTART); }
105
	void SetCustomStart() { this->SetPackageType(PACKAGETYPE_CUSTOMSTART); }
106
	void SetPackageUpdate() { this->SetPackageType(PACKAGETYPE_UPDATE); }
106
	void SetPackageUpdate() { this->SetPackageType(PACKAGETYPE_UPDATE); }
107
	void SetNormalPackage() { this->SetPackageType(PACKAGETYPE_NORMAL); }
107
	void SetNormalPackage() { this->SetPackageType(PACKAGETYPE_NORMAL); }
108
	void SetScriptType(int i) { SetNormalPackage(); m_iScriptType = i; _changed(); }
108
	void SetScriptType(int i) { SetNormalPackage(); m_iScriptType = i; _changed(); }
109
 
109
 
110
	virtual bool LoadPackageData(const Utils::String &sFfirst, const Utils::String &sRest, const Utils::String &sMainGame, Utils::CStringList &otherGames);
110
	virtual bool LoadPackageData(const Utils::String &sFfirst, const Utils::String &sRest, const Utils::String &sMainGame, Utils::CStringList &otherGames, Utils::CStringList &gameAddons);
111
	virtual bool GeneratePackagerScript(bool wildcard, Utils::CStringList *list, int game, bool datafile = false);
111
	virtual bool GeneratePackagerScript(bool wildcard, Utils::CStringList *list, int game, const Utils::CStringList &gameAddons, bool datafile = false) override;
112
 
112
 
113
	CSpkFile();
113
	CSpkFile();
114
	virtual ~CSpkFile();
114
	virtual ~CSpkFile();
115
 
115
 
116
	bool IsMatchingMod(const Utils::String &mod) const;
116
	bool IsMatchingMod(const Utils::String &mod) const;
Line 166... Line 166...
166
 
166
 
167
	// old conversion functions
167
	// old conversion functions
168
	unsigned char *_convert_uncompressFile(const Utils::String &sOldFilename, int *pLen);
168
	unsigned char *_convert_uncompressFile(const Utils::String &sOldFilename, int *pLen);
169
	void _convert_parse(const Utils::String &sCmd, const Utils::String &sRest);
169
	void _convert_parse(const Utils::String &sCmd, const Utils::String &sRest);
170
	Utils::String _convert_fileEndString(const Utils::String &sFile);
170
	Utils::String _convert_fileEndString(const Utils::String &sFile);
171
	int _convert_fileType(const Utils::String &sFile);
171
	FileType _convert_fileType(const Utils::String &sFile);
172
	Utils::String _convert_parseFilename(const Utils::String &sRest, float fVersion, Utils::String *pDir);
172
	Utils::String _convert_parseFilename(const Utils::String &sRest, float fVersion, Utils::String *pDir);
173
	unsigned char *_convert_parseFile(const Utils::String &s_Cmd, const Utils::String &s_Rest, float fVersion, unsigned char *d);
173
	unsigned char *_convert_parseFile(const Utils::String &s_Cmd, const Utils::String &s_Rest, float fVersion, unsigned char *d);
174
 
174
 
175
	// varibles
175
	// varibles
176
	Utils::String m_sOtherAuthor;
176
	Utils::String m_sOtherAuthor;