mirror of
https://github.com/Laupetin/OpenAssetTools.git
synced 2025-05-07 13:04:58 +00:00
26 lines
630 B
C++
26 lines
630 B
C++
#pragma once
|
|
|
|
#include "Game/IW4/IW4.h"
|
|
#include "Loading/ContentLoaderBase.h"
|
|
#include "Loading/IContentLoadingEntryPoint.h"
|
|
|
|
namespace IW4
|
|
{
|
|
class ContentLoader final : public ContentLoaderBase, public IContentLoadingEntryPoint
|
|
{
|
|
public:
|
|
ContentLoader();
|
|
|
|
void Load(Zone* zone, IZoneInputStream* stream) override;
|
|
|
|
private:
|
|
void LoadScriptStringList(bool atStreamStart);
|
|
|
|
void LoadXAsset(bool atStreamStart) const;
|
|
void LoadXAssetArray(bool atStreamStart, size_t count);
|
|
|
|
XAsset* varXAsset;
|
|
ScriptStringList* varScriptStringList;
|
|
};
|
|
} // namespace IW4
|