From b136994551a04e5b30bfc5e89b22474efb503c56 Mon Sep 17 00:00:00 2001 From: Kp Date: Thu, 1 Oct 2020 03:25:27 +0000 Subject: [PATCH] Move valptridx to dcx segment is now dcx, so move the valptridx wrapper. --- common/main/fwd-segment.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/common/main/fwd-segment.h b/common/main/fwd-segment.h index 74587aa29..c7bc07fdc 100644 --- a/common/main/fwd-segment.h +++ b/common/main/fwd-segment.h @@ -49,14 +49,17 @@ constexpr std::integral_constant MAX_VERTICES_PER_POLY{}; constexpr std::size_t MAX_SEGMENTS_ORIGINAL = 900; constexpr std::integral_constant MAX_SEGMENT_VERTICES_ORIGINAL{}; constexpr std::integral_constant MAX_SEGMENT_VERTICES{}; -} + #ifdef dsx -namespace dsx { DXX_VALPTRIDX_DEFINE_SUBTYPE_TYPEDEFS(segment, seg); static constexpr valptridx::magic_constant<0xfffe> segment_exit{}; static constexpr valptridx::magic_constant<0xffff> segment_none{}; static constexpr valptridx::magic_constant<0> segment_first{}; +#endif +} +#ifdef dsx +namespace dsx { void delete_segment_from_group(vmsegptridx_t segment_num, unsigned group_num); } #endif