]> 4ch.mooo.com Git - 16.git/blobdiff - 16/xlib/xpoint.h
added xlib to the project and i gotta convert the damn makefile -.-
[16.git] / 16 / xlib / xpoint.h
diff --git a/16/xlib/xpoint.h b/16/xlib/xpoint.h
new file mode 100755 (executable)
index 0000000..a820ca2
--- /dev/null
@@ -0,0 +1,51 @@
+/*-----------------------------------------------------------------------\r
+;\r
+; XPOINT - header file\r
+;\r
+;\r
+;\r
+; ****** XLIB - Mode X graphics library                ****************\r
+; ******                                               ****************\r
+; ****** Written By Themie Gouthas                     ****************\r
+;\r
+; egg@dstos3.dsto.gov.au\r
+; teg@bart.dsto.gov.au\r
+;\r
+;  Terminology & notes:\r
+;         VRAM ==   Video RAM\r
+;         SRAM ==   System RAM\r
+;         X coordinates are in pixels unless explicitly stated\r
+;\r
+;-----------------------------------------------------------------------*/\r
+\r
+#ifndef _XPOINT_H_\r
+#define _XPOINT_H_\r
+\r
+\r
+/* FUNCTIONS =========================================================== */\r
+\r
+#ifdef __cplusplus\r
+extern "C" {\r
+#endif\r
+\r
+\r
+ void x_put_pix(           /* Draw a pixel on the screen */\r
+             WORD X,\r
+             WORD Y,\r
+             WORD PageOffset,\r
+             WORD Color);\r
+\r
+ WORD x_get_pix(          /* Read a pixel from the screen */\r
+             WORD X,\r
+             WORD Y,\r
+            WORD PageBase);\r
+\r
+\r
+#ifdef __cplusplus\r
+}\r
+#endif\r
+\r
+\r
+#endif\r
+\r
+\r