aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorNicholas Noll <nbnoll@eml.cc>2020-06-03 15:51:10 -0700
committerNicholas Noll <nbnoll@eml.cc>2020-06-03 15:51:10 -0700
commitc5d4b505e27520a8373894a3382d529a00b6791f (patch)
tree9183309de3ce32516d72858b7af3ecb826021184 /include
parentd1f071bf9aa394525745f0b4f582f97112ece26e (diff)
changed from short to int in vertex
Diffstat (limited to 'include')
-rw-r--r--include/libfont.h7
-rw-r--r--include/u.h3
2 files changed, 7 insertions, 3 deletions
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;