ZoneCodeGenerator: Change ContentLoader to use vars for fastfile pointer transfer and change ZoneInputStream API to be able to specify load location to better reflect the way the games do it.

This commit is contained in:
Jan
2019-11-14 14:48:40 +01:00
parent 3839b22f71
commit b7ab2a1aa6
9 changed files with 170 additions and 108 deletions

View File

@ -7,11 +7,13 @@
class ContentLoaderT6 final : public ContentLoader, public IContentLoadingEntryPoint, public IZoneScriptStringProvider
{
std::vector<std::string> m_script_strings;
T6::XAsset* varXAsset;
T6::ScriptStringList* varScriptStringList;
void LoadScriptStringList(T6::ScriptStringList* scriptStringList);
void LoadScriptStringList(bool atStreamStart);
void LoadXAsset(T6::XAsset* pXAsset, bool atStreamStart);
void LoadXAssetArray(T6::XAsset* pArray, size_t count, bool atStreamStart);
void LoadXAsset(bool atStreamStart);
void LoadXAssetArray(bool atStreamStart, size_t count);
public:
ContentLoaderT6();