From c5d4b505e27520a8373894a3382d529a00b6791f Mon Sep 17 00:00:00 2001 From: Nicholas Noll Date: Wed, 3 Jun 2020 15:51:10 -0700 Subject: changed from short to int in vertex --- include/libfont.h | 7 ++++--- include/u.h | 3 +++ 2 files changed, 7 insertions(+), 3 deletions(-) (limited to 'include') diff --git a/include/libfont.h b/include/libfont.h index 42d160a..da44e76 100644 --- a/include/libfont.h +++ b/include/libfont.h @@ -20,11 +20,12 @@ enum font·Vcubic }; +/* fixed point */ struct font·Vertex { - short x, y; - short cx, cy; - short cx1, cy1; + slong x, y; + slong cx, cy; + slong cx1, cy1; uchar type, padding; }; diff --git a/include/u.h b/include/u.h index b430cc5..f481cf0 100644 --- a/include/u.h +++ b/include/u.h @@ -17,6 +17,9 @@ typedef char byte; typedef unsigned char ubyte, uchar; typedef signed char sbyte, schar; +typedef unsigned short ushort; +typedef signed short sshort; + typedef unsigned long ulong; typedef signed long slong; -- cgit v1.2.1