Line 216... |
Line 216... |
216 |
|
216 |
|
217 |
//TODO: convert this
|
217 |
//TODO: convert this
|
218 |
void ExtractTexts(CCatFile *catFile, CCatFile *secondCatFile, int textId);
|
218 |
void ExtractTexts(CCatFile *catFile, CCatFile *secondCatFile, int textId);
|
219 |
|
219 |
|
220 |
bool GetTextureList(CyStringList *list, const unsigned char *olddata, size_t size);
|
220 |
bool GetTextureList(CyStringList *list, const unsigned char *olddata, size_t size);
|
221 |
bool AddTextFromFile(FILE *id, int textId = -1);
|
- |
|
222 |
bool AddTextFromFile(const Utils::String &file, int textId = -1);
|
221 |
bool AddTextFromFile(const Utils::String &file, int textId = -1);
|
223 |
bool ImportBodies(CyStringList *sceneModels, const Utils::String &filename);
|
222 |
bool ImportBodies(CyStringList *sceneModels, const Utils::String &filename);
|
224 |
bool ImportCockpits(const Utils::String &filename);
|
223 |
bool ImportCockpits(const Utils::String &filename);
|
225 |
Utils::String FormatShipData(CyStringList *cockpits, int *text, int game);
|
224 |
Utils::String FormatShipData(CyStringList *cockpits, int *text, int game);
|
226 |
|
225 |
|
Line 233... |
Line 232... |
233 |
virtual void SetDefaults ();
|
232 |
virtual void SetDefaults ();
|
234 |
virtual bool CheckHeader(const Utils::String header) const;
|
233 |
virtual bool CheckHeader(const Utils::String header) const;
|
235 |
SCockpit *_findCockpit(const Utils::String &sID);
|
234 |
SCockpit *_findCockpit(const Utils::String &sID);
|
236 |
void _addSection(Utils::CList<STypesSection> &list, const Utils::String §ion, const Utils::String &data);
|
235 |
void _addSection(Utils::CList<STypesSection> &list, const Utils::String §ion, const Utils::String &data);
|
237 |
void _addDataSection(CyStringList &list, Utils::CList<STypesSection> §ionList, bool bUseFirst);
|
236 |
void _addDataSection(CyStringList &list, Utils::CList<STypesSection> §ionList, bool bUseFirst);
|
- |
|
237 |
bool _addTextFromFile(CFileIO &F, int textId = -1);
|
238 |
|
238 |
|
239 |
protected:
|
239 |
protected:
|
240 |
C_File *m_pSceneFile, *m_pCockpitFile;
|
240 |
C_File *m_pSceneFile, *m_pCockpitFile;
|
241 |
|
241 |
|
242 |
bool m_bLanguageText, m_bExistingShip;
|
242 |
bool m_bLanguageText, m_bExistingShip;
|