aboutsummaryrefslogtreecommitdiffstats
path: root/src/crt.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/crt.h')
-rw-r--r--src/crt.h15
1 files changed, 11 insertions, 4 deletions
diff --git a/src/crt.h b/src/crt.h
index 683dc2b..9ba699d 100644
--- a/src/crt.h
+++ b/src/crt.h
@@ -12,6 +12,9 @@
/*
* $Log$
+ * Revision 1.16 2008/03/03 06:04:42 james
+ * *** empty log message ***
+ *
* Revision 1.15 2008/03/02 10:37:56 james
* *** empty log message ***
*
@@ -102,25 +105,29 @@
#define CRT_COLOR_NORMAL CRT_MAKE_COLOR(CRT_FGCOLOR_NORMAL,CRT_BGCOLOR_NORMAL)
-typedef struct __attribute__ ((packed)) {
+typedef struct __attribute__ ((packed))
+{
uint32_t chr;
uint8_t attr;
uint8_t color;
} CRT_CA;
-typedef struct {
+typedef struct
+{
int x;
int y;
} CRT_Pos;
-typedef struct {
+typedef struct
+{
CRT_Pos s;
CRT_Pos e;
int dir;
} CRT_ScrollHint;
-typedef struct CRT_struct {
+typedef struct CRT_struct
+{
CRT_CA screen[CRT_CELS];
CRT_Pos pos;
int hide_cursor;