From d0caefee7e2a45aebf14a6911021c7af9aed2a9f Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 25 Jan 2026 23:08:40 +0100 Subject: Add chess MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- libcharconv.h | 45 +++++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 43 insertions(+), 2 deletions(-) (limited to 'libcharconv.h') diff --git a/libcharconv.h b/libcharconv.h index 14627c6..fb8fa60 100644 --- a/libcharconv.h +++ b/libcharconv.h @@ -335,6 +335,9 @@ LIBCHARCONV_FUNC_(libcharconv_flipped); /** * Overlay characters + * + * Filled and outlined characters can be combined + * to create a mixed, when there is a mixed version */ LIBCHARCONV_FUNC_(libcharconv_overlaid); @@ -391,13 +394,13 @@ LIBCHARCONV_FUNC_(libcharconv_symbols); LIBCHARCONV_FUNC_(libcharconv_control_characters); /** - * Convert characters Xiangqi pieces, with red + * Convert characters xiangqi pieces, with red * as the default colour */ LIBCHARCONV_FUNC_(libcharconv_xiangqi_red); /** - * Convert characters Xiangqi pieces, with black + * Convert characters xiangqi pieces, with black * as the default colour */ LIBCHARCONV_FUNC_(libcharconv_xiangqi_black); @@ -409,6 +412,44 @@ LIBCHARCONV_FUNC_(libcharconv_xiangqi_black); */ LIBCHARCONV_FUNC_(libcharconv_control_character_representations); +/** + * Convert characters xiangqi pieces, with white + * as the default colour + */ +LIBCHARCONV_FUNC_(libcharconv_chess_white); + +/** + * Convert characters chess pieces, with black + * as the default colour + */ +LIBCHARCONV_FUNC_(libcharconv_chess_black); + +/** + * Convert characters chess pieces, with + * neutral colour + */ +LIBCHARCONV_FUNC_(libcharconv_chess_neutral); + +/** + * Rotate characters 45 degrees clockwise + */ +LIBCHARCONV_FUNC_(libcharconv_rotated_45deg_cw); + +/** + * Rotate characters 45 degrees counter-clockwise + */ +LIBCHARCONV_FUNC_(libcharconv_rotated_45deg_ccw); + +/** + * Rotate characters 90 degrees clockwise + */ +LIBCHARCONV_FUNC_(libcharconv_rotated_90deg_cw); + +/** + * Rotate characters 90 degrees counter-clockwise + */ +LIBCHARCONV_FUNC_(libcharconv_rotated_90deg_ccw); + #undef LIBCHARCONV_FUNC_ #endif -- cgit v1.2.3-70-g09d2