Line 128... |
Line 128... |
128 |
CyStringList *GetWebMirrors() { return &m_lMirrors; }
|
128 |
CyStringList *GetWebMirrors() { return &m_lMirrors; }
|
129 |
int GetMaxWebMirrors() { return m_lMirrors.Count(); }
|
129 |
int GetMaxWebMirrors() { return m_lMirrors.Count(); }
|
130 |
CyString GetWebMirror(int i) { if ( i >= 0 && i < m_lMirrors.Count() ) return m_lMirrors.StringAt(i); return NullString; }
|
130 |
CyString GetWebMirror(int i) { if ( i >= 0 && i < m_lMirrors.Count() ) return m_lMirrors.StringAt(i); return NullString; }
|
131 |
void ClearWebMirrors() { m_lMirrors.Clear(); }
|
131 |
void ClearWebMirrors() { m_lMirrors.Clear(); }
|
132 |
|
132 |
|
- |
|
133 |
const CLinkList<C_File> *fileList() const;
|
133 |
CLinkList<C_File> *fileList(int type) const;
|
134 |
CLinkList<C_File> *fileList(int type) const;
|
134 |
C_File *GetFirstFile(int type) const;
|
135 |
C_File *GetFirstFile(int type) const;
|
135 |
C_File *GetNextFile(C_File *prev) const;
|
136 |
C_File *GetNextFile(C_File *prev) const;
|
136 |
C_File *GetPrevFile(C_File *next) const;
|
137 |
C_File *GetPrevFile(C_File *next) const;
|
137 |
|
138 |
|
Line 186... |
Line 187... |
186 |
virtual bool WriteFile ( CyString filename, CProgressInfo * = NULL );
|
187 |
virtual bool WriteFile ( CyString filename, CProgressInfo * = NULL );
|
187 |
virtual bool ReadFile(CyString filename, int readType = SPKREAD_ALL, CProgressInfo *progress = NULL);
|
188 |
virtual bool ReadFile(CyString filename, int readType = SPKREAD_ALL, CProgressInfo *progress = NULL);
|
188 |
virtual bool readFile(const Utils::String &filename, int readType = SPKREAD_ALL, CProgressInfo *progress = NULL);
|
189 |
virtual bool readFile(const Utils::String &filename, int readType = SPKREAD_ALL, CProgressInfo *progress = NULL);
|
189 |
bool readFile(CFileIO &File, int readtype, CProgressInfo *progress);
|
190 |
bool readFile(CFileIO &File, int readtype, CProgressInfo *progress);
|
190 |
|
191 |
|
191 |
virtual bool ExtractFile ( C_File *file, CyString dir, bool includedir = true, CProgressInfo *progress = NULL );
|
192 |
virtual bool ExtractFile(C_File *file, CyString dir, bool includedir = true, CProgressInfo *progress = NULL);
|
192 |
virtual bool ExtractFile ( int file, CyString dir, bool includedir = true, CProgressInfo *progress = NULL );
|
193 |
virtual bool ExtractFile(int file, CyString dir, bool includedir = true, CProgressInfo *progress = NULL);
|
- |
|
194 |
virtual bool extractFile(int file, const Utils::String &dir, bool includedir = true, CProgressInfo *progress = NULL);
|
- |
|
195 |
virtual bool extractFile(C_File *file, const Utils::String &dir, bool includedir = true, CProgressInfo *progress = NULL);
|
- |
|
196 |
virtual bool extractFile(int filenum, const Utils::String &dir, unsigned int game, const Utils::CStringList &gameAddons, bool includedir = true, CProgressInfo *progress = NULL);
|
- |
|
197 |
virtual bool extractFile(C_File *file, const Utils::String &dir, unsigned int game, const Utils::CStringList &gameAddons, bool includedir = true, CProgressInfo *progress = NULL);
|
193 |
virtual bool extractAll(const Utils::String &dir, int game, const Utils::CStringList &gameAddons, bool includedir = true, CProgressInfo *progress = NULL);
|
198 |
virtual bool extractAll(const Utils::String &dir, int game, const Utils::CStringList &gameAddons, bool includedir = true, CProgressInfo *progress = NULL);
|
194 |
|
199 |
|
195 |
virtual bool SaveToArchive(CyString filename, int game, const CGameExe *exes, CProgressInfo *progress = NULL);
|
200 |
virtual bool SaveToArchive(CyString filename, int game, const CGameExe *exes, CProgressInfo *progress = NULL);
|
- |
|
201 |
virtual bool saveToArchive(const Utils::String &filename, int game, const CGameExe *exes, CProgressInfo *progress = NULL);
|
196 |
virtual void addGeneratedFiles(HZIP &hz) {};
|
202 |
virtual void addGeneratedFiles(HZIP &hz) {};
|
197 |
|
203 |
|
198 |
void ClearFileData();
|
204 |
void ClearFileData();
|
199 |
|
205 |
|
200 |
CLinkList<SNames> *GetNamesList() { return &m_lNames; }
|
206 |
CLinkList<SNames> *GetNamesList() { return &m_lNames; }
|
Line 322... |
Line 328... |
322 |
void _addFile(C_File *file, bool dontChange = false);
|
328 |
void _addFile(C_File *file, bool dontChange = false);
|
323 |
void _updateTextDB(C_File *file);
|
329 |
void _updateTextDB(C_File *file);
|
324 |
void _resetTextDB();
|
330 |
void _resetTextDB();
|
325 |
void _addWaresToList(int iLang, CLinkList<SWareEntry> &list, const Utils::String &wares, enum WareTypes eType);
|
331 |
void _addWaresToList(int iLang, CLinkList<SWareEntry> &list, const Utils::String &wares, enum WareTypes eType);
|
326 |
bool _readCommands(int iLang, int iStartID, CLinkList<SCommandSlot> &list);
|
332 |
bool _readCommands(int iLang, int iStartID, CLinkList<SCommandSlot> &list);
|
- |
|
333 |
Utils::String _replaceFilename(const Utils::String &fname);
|
327 |
|
334 |
|
328 |
protected:
|
335 |
protected:
|
329 |
SSPKHeader m_SHeader;
|
336 |
SSPKHeader m_SHeader;
|
330 |
SSPKHeader2 m_SHeader2;
|
337 |
SSPKHeader2 m_SHeader2;
|
331 |
|
338 |
|