]> 4ch.mooo.com Git - 16.git/blobdiff - 16/xlib/xpbitmap.h
added xlib to the project and i gotta convert the damn makefile -.-
[16.git] / 16 / xlib / xpbitmap.h
diff --git a/16/xlib/xpbitmap.h b/16/xlib/xpbitmap.h
new file mode 100755 (executable)
index 0000000..6f452f9
--- /dev/null
@@ -0,0 +1,77 @@
+/*-----------------------------------------------------------------------\r
+;\r
+; XPBITMAP - header file\r
+;\r
+;\r
+;\r
+; ****** XLIB - Mode X graphics library                ****************\r
+; ******                                               ****************\r
+; ****** Written By Themie Gouthas                     ****************\r
+; ****** Aeronautical Research Laboratory              ****************\r
+; ****** Defence Science and Technology Organisation   ****************\r
+; ****** Australia                                     ****************\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 _XPBITMAP_H_\r
+#define _XPBITMAP_H_\r
+\r
+\r
+/* FUNCTIONS =========================================================== */\r
+\r
+#ifdef __cplusplus\r
+extern "C" {\r
+#endif\r
+\r
+\r
+ void x_put_masked_pbm(  /* Copy a planar bitmap from SRAM masking */\r
+              WORD X,    /* only non zero pixels to VRAM           */\r
+              WORD Y,\r
+              WORD ScrnOffs,\r
+              BYTE far * Bitmap);\r
+\r
+ void x_flip_masked_pbm(  /* Copy a planar bitmap from SRAM masking */\r
+              WORD X,     /* only non zero pixels to VRAM. Bitmap   */\r
+              WORD Y,     /* is mirrored.                           */\r
+              WORD ScrnOffs,\r
+              BYTE far * Bitmap,\r
+              WORD orientation);\r
+\r
+ void x_put_pbm(         /* Copy a planar bitmap from SRAM to VRAM */\r
+              WORD X,\r
+              WORD Y,\r
+              WORD ScrnOffs,\r
+              BYTE far * Bitmap);\r
+\r
+ void x_flip_pbm(         /* Copy a planar bitmap from SRAM to VRAM */\r
+              WORD X,\r
+              WORD Y,\r
+              WORD ScrnOffs,\r
+              BYTE far * Bitmap,\r
+              WORD orientation);\r
+\r
+ void x_get_pbm(         /* Copy a planar bitmap from VRAM to SRAM */\r
+              WORD X,\r
+              WORD Y,\r
+              BYTE Bw,\r
+              BYTE Bh,\r
+              WORD ScrnOffs,\r
+              BYTE far * Bitmap);\r
+\r
+\r
+#ifdef __cplusplus\r
+}\r
+#endif\r
+\r
+\r
+#endif\r
+\r
+\r