]> 4ch.mooo.com Git - 16.git/blobdiff - src/lib/modex16.h
hmmm let me see what i did before wwww
[16.git] / src / lib / modex16.h
index b5ca74b1714c3c546e27dafbb2f145e323ee2900..81f24beaf5ec59d2c9b33896b41781952a62d5a1 100755 (executable)
@@ -24,9 +24,7 @@
  */
 #ifndef MODEX16_H
 #define MODEX16_H
-//#include <conio.h>
 
-#include "src/lib/types.h"
 #include "src/lib/16_head.h"
 #include "src/lib/bitmap.h"
 #include "src/lib/planar.h"
 #include "src/lib/modex16/192x144_.h"
 #include "src/lib/modex16/160x120.h"
 
+static struct pcxHeader {
+       byte id;
+       byte version;
+       byte encoding;
+       byte bpp;
+       word xmin;
+       word ymin;
+       word xmax;
+       word ymax;
+       word hres;
+       word vres;
+       byte pal16[48];
+       byte res1;
+       word bpplane;
+       word palType;
+       word hScreenSize;
+       word vScreenSize;
+       byte padding[54];
+} head;
+
 //320x240 = 20x15
 //192x144 = 12x9
 
@@ -115,9 +133,6 @@ extern byte far*  VGA;  /* The VGA Memory */
 #define SET_MODE               0x00
 #define VGA_256_COLOR_MODE     0x13
 #define TEXT_MODE              0x03
-//#define SCREEN_WIDTH         320
-//#define SCREEN_HEIGHT                240
-//#define PAGE_SIZE            (word)(SCREEN_WIDTH/4 * SCREEN_HEIGHT)
 
 #define AC_INDEX               0x03c0
 #define SC_INDEX               0x03c4