From 7eb5b5f064f07bc50cafa1488961fa7be27dee22 Mon Sep 17 00:00:00 2001 From: KatolaZ Date: Mon, 26 Aug 2019 17:30:40 +0100 Subject: up-center trapezium working --- gramscii.h | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) (limited to 'gramscii.h') diff --git a/gramscii.h b/gramscii.h index b8c2161..f82185d 100644 --- a/gramscii.h +++ b/gramscii.h @@ -20,6 +20,7 @@ #define VIS 0x10 #define PAR 0x20 #define REM 0x40 +#define TRP 0x80 /**/ /* directions */ @@ -37,19 +38,21 @@ /* rectangular box */ #define BOX_RECT 0x00 /* parallelograms */ -#define BOX_PAR 0x04 +#define BOX_PAR 0x10 /* parallelogram (leaning right) */ -#define BOX_PARR 0x05 +#define BOX_PARR 0x11 /* parallelogram (leaning left) */ -#define BOX_PARL 0x06 +#define BOX_PARL 0x12 /* trapezium */ -#define BOX_TRAP 0x10 -#define BOX_TRAP_UR 0x11 -#define BOX_TRAP_UC 0x12 -#define BOX_TRAP_UL 0x13 -#define BOX_TRAP_DL 0x14 -#define BOX_TRAP_DC 0x15 -#define BOX_TRAP_DR 0x16 +#define BOX_TRAP 0x20 +#define BOX_TRAP_U 0x24 +#define BOX_TRAP_D 0x28 +#define BOX_TRAP_UR 0x25 +#define BOX_TRAP_UC 0x26 +#define BOX_TRAP_UL 0x27 +#define BOX_TRAP_DL 0x28 +#define BOX_TRAP_DC 0x29 +#define BOX_TRAP_DR 0x2a /**/ #define NOFIX 0x0 -- cgit v1.2.3