2022-04-10 00:17:06 +00:00
|
|
|
#ifndef _CRESFACTORY_HPP
|
|
|
|
#define _CRESFACTORY_HPP
|
|
|
|
|
|
|
|
#include "types.h"
|
|
|
|
|
|
|
|
#include "rstl/list.hpp"
|
|
|
|
|
2022-08-09 23:03:51 +00:00
|
|
|
#include "Kyoto/CFactoryMgr.hpp"
|
|
|
|
#include "Kyoto/CResLoader.hpp"
|
2022-04-10 00:17:06 +00:00
|
|
|
|
|
|
|
class CResFactory {
|
|
|
|
public:
|
|
|
|
virtual ~CResFactory() {}
|
|
|
|
|
|
|
|
void AsyncIdle(u32 time);
|
|
|
|
|
|
|
|
CResLoader& GetResLoader() { return x4_resLoader; }
|
|
|
|
|
|
|
|
private:
|
|
|
|
CResLoader x4_resLoader;
|
|
|
|
CFactoryMgr x5c_factoryMgr;
|
|
|
|
u32 x94_;
|
|
|
|
u32 x98_;
|
|
|
|
u32 x9c_;
|
|
|
|
u32 xa0_;
|
|
|
|
u32 xa4_;
|
|
|
|
u32 xa8_;
|
|
|
|
u32 xac_;
|
|
|
|
rstl::list< void > xb0_;
|
|
|
|
};
|
|
|
|
|
|
|
|
extern CResFactory* gpResourceFactory;
|
|
|
|
|
|
|
|
#endif
|