2018-10-07 03:42:33 +00:00
|
|
|
#pragma once
|
2016-02-05 01:27:03 +00:00
|
|
|
|
2016-02-10 22:54:47 +00:00
|
|
|
#include "RetroTypes.hpp"
|
2016-03-31 00:38:03 +00:00
|
|
|
#include "CFactoryMgr.hpp"
|
2016-02-10 22:54:47 +00:00
|
|
|
#include "IObj.hpp"
|
|
|
|
#include "CToken.hpp"
|
|
|
|
#include "IOStreams.hpp"
|
2016-08-04 22:24:28 +00:00
|
|
|
#include "CDecalDescription.hpp"
|
2016-02-10 22:54:47 +00:00
|
|
|
|
2016-03-04 23:04:53 +00:00
|
|
|
namespace urde
|
2016-02-10 22:54:47 +00:00
|
|
|
{
|
|
|
|
class CSimplePool;
|
|
|
|
|
|
|
|
class CDecalDataFactory
|
|
|
|
{
|
2017-02-13 21:29:00 +00:00
|
|
|
static bool CreateDPSM(CDecalDescription* desc, CInputStream& in, CSimplePool* resPool);
|
2016-02-23 10:34:19 +00:00
|
|
|
static CDecalDescription* CreateGeneratorDescription(CInputStream& in, CSimplePool* resPool);
|
2018-03-17 03:41:01 +00:00
|
|
|
static void GetQuadDecalInfo(CInputStream& in, CSimplePool* resPool, FourCC clsId, SQuadDescr& quad);
|
2017-02-13 21:29:00 +00:00
|
|
|
|
2016-02-10 22:54:47 +00:00
|
|
|
public:
|
2017-02-13 21:29:00 +00:00
|
|
|
static CDecalDescription* GetGeneratorDesc(CInputStream& in, CSimplePool* resPool);
|
2016-02-10 22:54:47 +00:00
|
|
|
};
|
|
|
|
|
2017-02-13 21:29:00 +00:00
|
|
|
CFactoryFnReturn FDecalDataFactory(const SObjectTag& tag, CInputStream& in, const CVParamTransfer& vparms,
|
|
|
|
CObjectReference*);
|
2016-02-10 22:54:47 +00:00
|
|
|
}
|