mirror of https://github.com/AxioDL/metaforce.git
28 lines
835 B
C++
28 lines
835 B
C++
#ifndef __PSHAG_CDECALDATAFACTORY_HPP__
|
|
#define __PSHAG_CDECALDATAFACTORY_HPP__
|
|
|
|
#include "RetroTypes.hpp"
|
|
#include "IObj.hpp"
|
|
#include "CToken.hpp"
|
|
#include "IOStreams.hpp"
|
|
|
|
|
|
namespace pshag
|
|
{
|
|
struct SQuadDescr;
|
|
class CDecalDescription;
|
|
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, SQuadDescr& quad);
|
|
public:
|
|
static CDecalDescription* GetGeneratorDesc(CInputStream& in,CSimplePool* resPool);
|
|
};
|
|
|
|
std::unique_ptr<IObj> FDecalDataFactory(const SObjectTag& tag, CInputStream& in, const CVParamTransfer& vparms);
|
|
}
|
|
#endif // __PSHAG_CDECALDATAFACTORY_HPP__
|