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

17 lines
542 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 IXModelSurfs : public Components::AssetHandler::IAsset
{
2016-01-26 10:12:41 -05:00
public:
2018-05-09 06:04:20 -04:00
virtual Game::XAssetType getType() override { return Game::XAssetType::ASSET_TYPE_XMODEL_SURFS; };
2016-01-25 17:47:50 -05:00
virtual void save(Game::XAssetHeader header, Components::ZoneBuilder::Zone* builder) override;
2016-01-26 10:12:41 -05:00
private:
void saveXSurface(Game::XSurface* surf, Game::XSurface* destSurf, Components::ZoneBuilder::Zone* builder);
void saveXSurfaceCollisionTree(Game::XSurfaceCollisionTree* entry, Components::ZoneBuilder::Zone* builder);
2016-01-25 17:47:50 -05:00
};
}