1
Fork 0
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

41 lines
1015 B

#pragma once
#include "skse64/ScaleformState.h"
class NiTexture;
class IMenu;
class GImageInfoBase;
class GFxImageLoader : public GFxState
{
public:
virtual GImageInfoBase* LoadImage(const char * url) = 0;
};
class BSScaleformImageLoader : public GFxImageLoader
{
public:
virtual ~BSScaleformImageLoader();
virtual GImageInfoBase* LoadImage(const char * url);
DEFINE_MEMBER_FN_1(AddVirtualImage, UInt8, 0x00F45350, NiTexture ** texture);
DEFINE_MEMBER_FN_1(ReleaseVirtualImage, UInt8, 0x00F45820, NiTexture ** texture);
};
class GFxLoader
{
public:
UInt64 unk00; // 00
GFxStateBag * stateBag; // 08
UInt64 unk08; // 10
UInt64 unk10; // 18
BSScaleformImageLoader * imageLoader; // 20
static GFxLoader * GetSingleton();
MEMBER_FN_PREFIX(GFxLoader);
DEFINE_MEMBER_FN(ctor, GFxLoader *, 0x00ECE0D0);
// Note: Probably in subclass
DEFINE_MEMBER_FN(LoadMovie, bool, 0x00ECE790, IMenu* menu, GFxMovieView** viewOut, const char* name, int scaleMode, float backGroundAlpha);
};