mirror of https://github.com/AxioDL/metaforce.git
27 lines
860 B
C++
27 lines
860 B
C++
#ifndef __URDE_CDECALDATAFACTORY_HPP__
|
|
#define __URDE_CDECALDATAFACTORY_HPP__
|
|
|
|
#include "RetroTypes.hpp"
|
|
#include "CFactoryMgr.hpp"
|
|
#include "IObj.hpp"
|
|
#include "CToken.hpp"
|
|
#include "IOStreams.hpp"
|
|
#include "CDecalDescription.hpp"
|
|
|
|
namespace urde
|
|
{
|
|
class CSimplePool;
|
|
|
|
class CDecalDataFactory
|
|
{
|
|
static bool CreateDPSM(CDecalDescription* desc,CInputStream& in,CSimplePool* resPool);
|
|
static CDecalDescription* CreateGeneratorDescription(CInputStream& in, CSimplePool* resPool);
|
|
static void GetQuadDecalInfo(CInputStream& in, CSimplePool* resPool, FourCC clsId, CDecalDescription::SQuadDescr& quad);
|
|
public:
|
|
static CDecalDescription* GetGeneratorDesc(CInputStream& in,CSimplePool* resPool);
|
|
};
|
|
|
|
CFactoryFnReturn FDecalDataFactory(const SObjectTag& tag, CInputStream& in, const CVParamTransfer& vparms);
|
|
}
|
|
#endif // __URDE_CDECALDATAFACTORY_HPP__
|