mirror of https://github.com/PrimeDecomp/prime.git
41 lines
639 B
C++
41 lines
639 B
C++
#ifndef _CRESFACTORY_HPP
|
|
#define _CRESFACTORY_HPP
|
|
|
|
#include "types.h"
|
|
|
|
#include "rstl/list.hpp"
|
|
|
|
#include "Kyoto/CFactoryMgr.hpp"
|
|
#include "Kyoto/CResLoader.hpp"
|
|
|
|
class IFactory {
|
|
// TODO
|
|
};
|
|
|
|
class CResFactory : public IFactory {
|
|
public:
|
|
CResFactory();
|
|
virtual ~CResFactory() {}
|
|
|
|
void AsyncIdle(uint time);
|
|
|
|
CResLoader& GetResLoader() { return x4_resLoader; }
|
|
|
|
private:
|
|
CResLoader x4_resLoader;
|
|
CFactoryMgr x5c_factoryMgr;
|
|
uint x94_;
|
|
uint x98_;
|
|
uint x9c_;
|
|
uint xa0_;
|
|
uint xa4_;
|
|
uint xa8_;
|
|
uint xac_;
|
|
rstl::list< void > xb0_;
|
|
};
|
|
CHECK_SIZEOF(CResFactory, 0xc8);
|
|
|
|
extern CResFactory* gpResourceFactory;
|
|
|
|
#endif
|