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:
|
2016-11-20 08:09:07 -05:00
|
|
|
virtual Game::XAssetType getType() override { return Game::XAssetType::ASSET_TYPE_XMODELSURFS; };
|
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-26 10:12:41 -05:00
|
|
|
|
|
|
|
private:
|
2016-11-20 08:09:07 -05:00
|
|
|
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
|
|
|
};
|
|
|
|
}
|