2016-02-13 09:02:47 +00:00
|
|
|
#ifndef __PSHAG_CDECALDATAFACTORY_HPP__
|
|
|
|
#define __PSHAG_CDECALDATAFACTORY_HPP__
|
2016-02-05 01:27:03 +00:00
|
|
|
|
2016-02-10 22:54:47 +00:00
|
|
|
#include "RetroTypes.hpp"
|
|
|
|
#include "IObj.hpp"
|
|
|
|
#include "CToken.hpp"
|
|
|
|
#include "IOStreams.hpp"
|
|
|
|
|
|
|
|
|
2016-03-04 23:04:53 +00:00
|
|
|
namespace urde
|
2016-02-10 22:54:47 +00:00
|
|
|
{
|
2016-02-23 10:34:19 +00:00
|
|
|
struct SQuadDescr;
|
2016-02-10 22:54:47 +00:00
|
|
|
class CDecalDescription;
|
|
|
|
class CSimplePool;
|
|
|
|
|
|
|
|
class CDecalDataFactory
|
|
|
|
{
|
2016-02-23 10:34:19 +00:00
|
|
|
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);
|
2016-02-10 22:54:47 +00:00
|
|
|
public:
|
|
|
|
static CDecalDescription* GetGeneratorDesc(CInputStream& in,CSimplePool* resPool);
|
|
|
|
};
|
|
|
|
|
2016-02-23 02:08:13 +00:00
|
|
|
std::unique_ptr<IObj> FDecalDataFactory(const SObjectTag& tag, CInputStream& in, const CVParamTransfer& vparms);
|
2016-02-10 22:54:47 +00:00
|
|
|
}
|
2016-02-13 09:02:47 +00:00
|
|
|
#endif // __PSHAG_CDECALDATAFACTORY_HPP__
|