2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2025-11-29 07:47:48 +00:00

ObjLoading: Read index section of ipaks and try to open images from it when loading obj data

This commit is contained in:
Jan
2020-01-03 01:13:07 +01:00
parent 204d3aed78
commit 96f2067030
4 changed files with 275 additions and 126 deletions

View File

@@ -2,6 +2,7 @@
#include "IObjLoader.h"
#include "SearchPath/ISearchPath.h"
#include "Game/T6/T6.h"
class ObjLoaderT6 final : public IObjLoader
{
@@ -11,6 +12,9 @@ class ObjLoaderT6 final : public IObjLoader
static void LoadIPakForZone(ISearchPath* searchPath, const std::string& ipakName, Zone* zone);
static void LoadImageDataFromFile(T6::GfxImage* image, FileAPI::IFile* file, Zone* zone);
static void LoadImageData(ISearchPath* searchPath, Zone* zone);
public:
bool SupportsZone(Zone* zone) override;