aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
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;