iw4x-client/src/Components/Modules/AssetInterfaces/IPhysCollmap.hpp

17 lines
532 B
C++
Raw Normal View History

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:
virtual Game::XAssetType getType() override { return Game::XAssetType::ASSET_TYPE_PHYS_COLLMAP; };
2016-01-25 17:47:50 -05:00
virtual void save(Game::XAssetHeader header, Components::ZoneBuilder::Zone* builder) override;
2016-01-25 17:47:50 -05:00
private:
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
};
}