2017-01-20 08:36:52 -05:00
|
|
|
#pragma once
|
|
|
|
|
2016-01-25 17:47:50 -05:00
|
|
|
namespace Assets
|
|
|
|
{
|
|
|
|
class IPhysCollmap : public Components::AssetHandler::IAsset
|
|
|
|
{
|
2016-01-26 10:12:41 -05:00
|
|
|
public:
|
2016-11-20 08:09:07 -05:00
|
|
|
virtual Game::XAssetType getType() override { return Game::XAssetType::ASSET_TYPE_PHYS_COLLMAP; };
|
2016-01-25 17:47:50 -05:00
|
|
|
|
2016-11-20 08:09:07 -05:00
|
|
|
virtual void save(Game::XAssetHeader header, Components::ZoneBuilder::Zone* builder) override;
|
2016-01-25 17:47:50 -05:00
|
|
|
|
|
|
|
private:
|
2016-11-20 08:09:07 -05:00
|
|
|
void savePhysGeomInfoArray(Components::ZoneBuilder::Zone* builder, Game::PhysGeomInfo* geoms, unsigned int count);
|
|
|
|
void saveBrushWrapper(Components::ZoneBuilder::Zone* builder, Game::BrushWrapper* brush);
|
2016-01-25 17:47:50 -05:00
|
|
|
};
|
|
|
|
}
|