!.git/config\r
!.gitmodules\r
pcx2vrl\r
+png2vrl\r
pcxsscut\r
vrl2vrs\r
vrsdump\r
-Subproject commit 227be76a9543731cef28e46d2cf690064256515c
+Subproject commit 9d7a9f4b1c40d26949fa730987f6c3eb9cf3e3ec
byte *palette;\r
} planar_buf_t;\r
\r
+typedef struct {\r
+ byte *data;\r
+ word width;\r
+ word height;\r
+ byte *palette;\r
+ word offset;\r
+} bitmap_t;\r
+\r
+typedef struct {\r
+ byte far **data;\r
+ word ntiles; // the number of tiles\r
+ word twidth; // width of the tiles\r
+ word theight; // height of the tiles\r
+ byte *palette; // palette for the tile set\r
+} tileset_t;\r
+\r
//from 16_sprit.h\r
#ifdef __WATCOMC__\r
#include <hw/vga/vrl.h>\r
//struct sprite *spri; //supposively the sprite sheet data\r
//memptr gr;\r
#endif\r
-// bitmap_t *data; //supposively the sprite sheet data//old format\r
-// bitmap_t bmp;\r
+ bitmap_t *data; //supposively the sprite sheet data//old format\r
+ bitmap_t bmp;\r
\r
//input\r
byte near pdir; //previous direction~ used in IN_16 in IN_ReadControl()\r
#include <dos.h>\r
#include <string.h>\r
#include "src/lib/16_vl.h"\r
-#include "src/lib/bitmap.h"\r
+#include "16/src/lib/bitmap.h"\r
#include "16/src/lib/16render.h"\r
#include "src/lib/16_in.h"\r
\r
//---- p = planar_buf_from_bitmap(PCXBMPPTR);\r
\r
VGAmodeX(1, 1, &gvar);\r
- gvar.video.page[0]=modexDefaultPage(&gvar.video.page[0]);\r
+ //--00 gvar.video.page[0]=modexDefaultPage(&gvar.video.page[0]);\r
\r
/* fix up the palette and everything */\r
modexPalUpdate(&PCXBMP->palette);\r
#include <dos.h>\r
#include <string.h>\r
#include "src/lib/16_vl.h"\r
-#include "src/lib/bitmap.h"\r
+#include "16/src/lib/bitmap.h"\r
//----#include "src/lib/planar.h"\r
\r
static word far* clockw= (word far*) 0x046C; /* 18.2hz clock */\r
// bmp = bitmapLoadPcx("16/PCX_LIB/chikyuu.pcx");\r
//---- p = planar_buf_from_bitmap(&bmp);\r
VGAmodeX(1, 1, &gvar);\r
- gvar.video.page[0]=modexDefaultPage(&gvar.video.page[0]);\r
+ //--00 gvar.video.page[0]=modexDefaultPage(&gvar.video.page[0]);\r
gvar.video.page[0].sw+=32;\r
gvar.video.page[0].sh+=32;\r
\r